SHT30/DS18B20 errors and warnings in the logs - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A2 (https://www.kincony.com/forum/forumdisplay.php?fid=43) +--- Thread: SHT30/DS18B20 errors and warnings in the logs (/showthread.php?tid=6801) |
RE: SHT30/DS18B20 errors and warnings in the logs - admin - 10-01-2024 yes, use a new 1 meter DS18B20 to test whether work well. RE: SHT30/DS18B20 errors and warnings in the logs - TaurosRMK - 10-10-2024 (10-01-2024, 02:41 AM)admin Wrote: yes, use a new 1 meter DS18B20 to test whether work well. I connected a new sensor with a 1-meter wire. I tested the sensor for over 1 hour and still see the warning in the logs... RE: SHT30/DS18B20 errors and warnings in the logs - admin - 10-10-2024 can you change to use another GPIO port for testing? RE: SHT30/DS18B20 errors and warnings in the logs - TaurosRMK - 10-11-2024 (10-10-2024, 11:48 PM)admin Wrote: can you change to use another GPIO port for testing? Everything is the same, only there are more warnings in a shorter time. Any guesses as to why this is happening? I bought the A2 board expecting it would fit my needs, including using only one DS18B20 sensor (because there is everything needed for this), but I get warnings in the sensor operation, so I can't be sure it is working properly. RE: SHT30/DS18B20 errors and warnings in the logs - admin - 10-11-2024 ok, tomorrow i will test DS18B20 with KC868-A2. RE: SHT30/DS18B20 errors and warnings in the logs - TaurosRMK - 10-11-2024 I tested this sensor with the D1 mini board using a 4K7 pull-up resistor. More than 1 hour passed and I did not receive any warning in the logs. RE: SHT30/DS18B20 errors and warnings in the logs - admin - 10-12-2024 I have tested KC868-A2 board with GPIO33 for DS18B20 here is webpage: here is my ESPHome config file: you can test with my yaml file (just replace DS18B20 sensor ID by yourself): Code: esphome: A2-DS18B20-HA.txt (Size: 2.57 KB / Downloads: 29) RE: SHT30/DS18B20 errors and warnings in the logs - TaurosRMK - 10-12-2024 Perhaps you misunderstood me. I receive data from the sensor, but from time to time the sensor sends a warning in the logs “Scratch pad checksum invalid!” and the connection with it is lost for one sensor update interval (in my case, 5 seconds). This can happen either 3-5 minutes after launching or 15-20 minutes later, there is no regularity. To make sure that everything is fine, you need to connect the detector and leave the log for 1 hour, and then check if everything is fine. But the fact that these warnings appear in the logs must mean something. As I mentioned above, I don't get these warnings on my other D1 Mini board. Your example didn't work either. Could something on the A2 board be damaged and affect the warnings from the DS18B20 sensor? RE: SHT30/DS18B20 errors and warnings in the logs - admin - 10-13-2024 my code is update every 1 minute, you can change to smaller. KC868-A2 1-wire circuit, only use by 4 resistance for two GPIO ports. R11,R12: 4.7K R13,R14: 100ohm Maybe you can use electric ferrochrome to repair the resistor pad and the gpio pad related to the esp32 module. RE: SHT30/DS18B20 errors and warnings in the logs - TaurosRMK - 10-13-2024 Hmm... can you tell me in more detail what exactly I have to do? I don't know what ferrochrome is or what to do with it. Are you suggesting that there might be a problem with the resistors? I can solder other 4.7K and 100Ω resistors in their place, but I have standard resistors with legs, not SMD. But before that, can I somehow make sure that the resistors on the board are not working properly? |