Może wlej tutaj to co tam się wyświetla?lukasz06 wrote: Fri Aug 18, 2023 7:16 pmJa też nie wiem co to jest błąd płytki (wybierałem Esp8266, Esp 82285 i Esp32)
Prościej by było gdyby ktoś wrzucił zgrany soft
Termostat DIY do testowania :)
-
klew
- Posts: 13907
- Joined: Thu Jun 27, 2019 12:16 pm
- Location: Wrocław
- Has thanked: 134 times
- Been thanked: 137 times
Najlepsze suple dla Twojego domu 
-
YoMan
- Posts: 3521
- Joined: Thu Apr 30, 2020 5:18 pm
- Location: Częstochowa
- Has thanked: 3 times
- Been thanked: 3 times
@klew
Zainstalowałem biblioteki DallasTemperature i one wire, skompilowałem sobie i wrzuciłem na Wemosa. DS podłączam pod GPIO4-D2 ale temperatura sie nie wyświetla.
Czy przeoczyłem jeszcze jakąś czynność? Czy szukać błędu w podłączeniu/sprzęcie?
EDIT: sensor sprawdzony, kabelki sprawdzone, na S2 mini działa na gpio4
EDIT2: OK. Doczytałem chyba .... adres DS .... no to może ktoś podpowie? Samo zakomentowanie
wywala błąd. Chyba nie można zakomentować:
ewentualnie jak zdobyć adres DS?
Zainstalowałem biblioteki DallasTemperature i one wire, skompilowałem sobie i wrzuciłem na Wemosa. DS podłączam pod GPIO4-D2 ale temperatura sie nie wyświetla.
Czy przeoczyłem jeszcze jakąś czynność? Czy szukać błędu w podłączeniu/sprzęcie?
EDIT: sensor sprawdzony, kabelki sprawdzone, na S2 mini działa na gpio4
EDIT2: OK. Doczytałem chyba .... adres DS .... no to może ktoś podpowie? Samo zakomentowanie
Code: Select all
DeviceAddress ds1addr = {0x28, 0xFF, 0xC8, 0xAB, 0x6E, 0x18, 0x01, 0xFC};
DeviceAddress ds2addr = {0x28, 0xFF, 0x54, 0x73, 0x6E, 0x18, 0x01, 0x77};Code: Select all
new Supla::Sensor::DS18B20(DS18B20_GPIO, ds1addr);
new Supla::Sensor::DS18B20(DS18B20_GPIO, ds2addr);
YoMan
________________________________________
Wziąłem udział w SOP2023 & SOP2024
________________________________________
Wziąłem udział w SOP2023 & SOP2024
-
klew
- Posts: 13907
- Joined: Thu Jun 27, 2019 12:16 pm
- Location: Wrocław
- Has thanked: 134 times
- Been thanked: 137 times
Jeśli jest poprawnie podłączone, to w logach z urządzenia pojawiają się adresy wykrytych DSów.YoMan wrote: Fri Aug 18, 2023 8:43 pm
EDIT2: OK. Doczytałem chyba .... adres DS .... no to może ktoś podpowie? Samo zakomentowanie
ewentualnie jak zdobyć adres DS?
Możesz też użyć 1 DS na GPIO, wtedy można tych adresów nie podawać
Najlepsze suple dla Twojego domu 
-
YoMan
- Posts: 3521
- Joined: Thu Apr 30, 2020 5:18 pm
- Location: Częstochowa
- Has thanked: 3 times
- Been thanked: 3 times
no właśnie w międzyczasie odgrzebałem twój post sprzed 2 lat i zakomentowałem te adresy i kolejne dwie linijki a wstawiłem:klew wrote: Fri Aug 18, 2023 9:55 pmJeśli jest poprawnie podłączone, to w logach z urządzenia pojawiają się adresy wykrytych DSów.YoMan wrote: Fri Aug 18, 2023 8:43 pm
EDIT2: OK. Doczytałem chyba .... adres DS .... no to może ktoś podpowie? Samo zakomentowanie
ewentualnie jak zdobyć adres DS?
Możesz też użyć 1 DS na GPIO, wtedy można tych adresów nie podawać
Code: Select all
new Supla::Sensor::DS18B20(2);Code: Select all
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
Code: Select all
OneWire(pin 4) Found 1 devices:
Index 0 - address {0x28, 0xFF, 0x3F, 0xB0, 0x02, 0x19, 0x8A, 0xD1}
HVAC: thermometer not found for channel 2Code: Select all
DeviceAddress ds1addr = {0x28, 0xFF, 0x3F, 0xB0, 0x02, 0x19, 0x8A, 0xD1};
// DeviceAddress ds2addr = {0x28, 0xFF, 0x54, 0x73, 0x6E, 0x18, 0x01, 0x77};
// new Supla::Sensor::DS18B20(DS18B20_GPIO);
new Supla::Sensor::DS18B20(DS18B20_GPIO, ds1addr);
// new Supla::Sensor::DS18B20(DS18B20_GPIO, ds2addr);YoMan
________________________________________
Wziąłem udział w SOP2023 & SOP2024
________________________________________
Wziąłem udział w SOP2023 & SOP2024
-
YoMan
- Posts: 3521
- Joined: Thu Apr 30, 2020 5:18 pm
- Location: Częstochowa
- Has thanked: 3 times
- Been thanked: 3 times
chyba że to tak ma działać ??klew wrote: Fri Aug 18, 2023 9:55 pmJeśli jest poprawnie podłączone, to w logach z urządzenia pojawiają się adresy wykrytych DSów.YoMan wrote: Fri Aug 18, 2023 8:43 pm
EDIT2: OK. Doczytałem chyba .... adres DS .... no to może ktoś podpowie? Samo zakomentowanie
ewentualnie jak zdobyć adres DS?
Możesz też użyć 1 DS na GPIO, wtedy można tych adresów nie podawać
Code: Select all
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
Channel(1) value changed to 24.31
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
HVAC: invalid temperature readout - check if your thermometer is correctly connected and configured
YoMan
________________________________________
Wziąłem udział w SOP2023 & SOP2024
________________________________________
Wziąłem udział w SOP2023 & SOP2024
-
YoMan
- Posts: 3521
- Joined: Thu Apr 30, 2020 5:18 pm
- Location: Częstochowa
- Has thanked: 3 times
- Been thanked: 3 times
lukasz06 wrote: Fri Aug 18, 2023 7:16 pm Ja też nie wiem co to jest błąd płytki (wybierałem Esp8266, Esp 82285 i Esp32)
Prościej by było gdyby ktoś wrzucił zgrany soft
You do not have the required permissions to view the files attached to this post.
YoMan
________________________________________
Wziąłem udział w SOP2023 & SOP2024
________________________________________
Wziąłem udział w SOP2023 & SOP2024
-
YoMan
- Posts: 3521
- Joined: Thu Apr 30, 2020 5:18 pm
- Location: Częstochowa
- Has thanked: 3 times
- Been thanked: 3 times
A na jakim pinie ma termometr?lukasz06 wrote: Sat Aug 19, 2023 6:54 am YoMan dzięki. Juz sobie poradziłem na innym lapku
Ale ns sonof basic temp nie pokazuje. Muszę jeszcze raz skompilowac
YoMan
________________________________________
Wziąłem udział w SOP2023 & SOP2024
________________________________________
Wziąłem udział w SOP2023 & SOP2024
-
Lector
- Posts: 2470
- Joined: Fri Nov 17, 2017 2:26 pm
- Location: Poznań
- Has thanked: 13 times
- Been thanked: 25 times
Mam pytanie, udało mi skompilować firmware, jak bym chciał w przyszłości wykorzystać do chłodzenia i będzie tylko jeden termometr.
To czy w kodzie wystarczy wywalić tylko dwie koniki kodu z konfiguracją drugiego DeSa?
To czy w kodzie wystarczy wywalić tylko dwie koniki kodu z konfiguracją drugiego DeSa?
Niespełniony automatyk. 
https://3d-lamp.photos/
https://pool.lector.top/
https://3d-lamp.photos/
https://pool.lector.top/
