HC-SR04 distance sensor in Mega firmwares: possible bug
Posted: 21 Jul 2018, 18:55
Hi,
I would like to share my experience:
I tried to make an HC-SR04 ultrasonic distance sensor work on a NodeMCU V3 in both firmwares "ESPEasy_mega-20180625" and "ESPEasy_mega-20180720" but I couldn't get it to work.
My wiring is done as shown on the Wiki: trigger to GPIO-13 and echo to GPIO-12 with a voltage divider using a 1K2 and 2K2 resistor.
VCC of the sensor is connected to 5V.
This setup didn't work in both firmwares.
I downgraded the firmware to R120, still with the same wiring, and it worked!
Best regards,
Bart
I would like to share my experience:
I tried to make an HC-SR04 ultrasonic distance sensor work on a NodeMCU V3 in both firmwares "ESPEasy_mega-20180625" and "ESPEasy_mega-20180720" but I couldn't get it to work.
My wiring is done as shown on the Wiki: trigger to GPIO-13 and echo to GPIO-12 with a voltage divider using a 1K2 and 2K2 resistor.
VCC of the sensor is connected to 5V.
This setup didn't work in both firmwares.
I downgraded the firmware to R120, still with the same wiring, and it worked!
Best regards,
Bart