Hi,
I'm currently trying out Toit and wanted to log some environmental data. Unfortunately, I'm not getting any values out of a DHT11 with the example and DHT11.toit code of this repository. I'm only getting "Error reading sensor".
Could you please explain how you wired up the DHT11 and ESP32, to retrieve data with your example code and the DHT11 library?
Hi Kai,
Sorry to hear about your issues. First of all, if you are using this DHT11 you do not need any 10 kOhm resistor. It is built into the PCB. Also, have you tried using GPIO12 and 13 also without any success?
Hi, I'm currently trying out Toit and wanted to log some environmental data. Unfortunately, I'm not getting any values out of a DHT11 with the example and DHT11.toit code of this repository. I'm only getting "Error reading sensor".
Could you please explain how you wired up the DHT11 and ESP32, to retrieve data with your example code and the DHT11 library?
My current wiring looks like:
I've adapted your example code to use GPIO 22 and 23, instead of GPIO 12 and 13. Using 5V instead of 3.3V didn't worked either.
Thanks in advance for your support. Kai