Hello guys, I would like to share my project which measures, Temperature, Humidity and Distance using the DHT11 and ultrasonic sensor HC-SR04.
DHT11-HC-SR04-ESP8266.txt (1.5 KB)
Code attached as txt file, and libraries are in .log files, please rename the .log into .zip files… if you need help please let me know.
Please remember to remove the TX and RX wires of ESP module from Arduino while upload the code or you will get errors.
IMPORTANT: I have used the Arduino 3.3 power supply for the ESP8266 and the 5V for the sensors just for test purposes, please consider using and external power supply and avoid any damage to your Arduino power supply as the current is very low.