10-01-2024, 02:41 AM
yes, use a new 1 meter DS18B20 to test whether work well.
SHT30/DS18B20 errors and warnings in the logs
|
10-01-2024, 02:41 AM
yes, use a new 1 meter DS18B20 to test whether work well.
10-10-2024, 11:48 PM
can you change to use another GPIO port for testing?
10-11-2024, 07:42 AM
(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.
10-11-2024, 10:03 AM
ok, tomorrow i will test DS18B20 with KC868-A2.
10-11-2024, 02:42 PM
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.
10-12-2024, 12:44 AM
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: 32)
10-12-2024, 06:42 PM
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?
10-13-2024, 01:46 AM
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.
10-13-2024, 10:35 AM
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? |
« Next Oldest | Next Newest »
|
Users browsing this thread: |
1 Guest(s) |