HC-SR04 and ESP8266 connected
How to Connect HC-SR04 / D1 Mini ESP8266 to Home Assistant
How to Connect HC-SR04 / D1 Mini ESP8266 to Home Assistant
The wiring is pretty straight Forward we’ll use D1 and D2 for trigger and echo. The HC-SR04 needs to be power so we’ll give it 5V (VCC) and GND
Source connection