I measuring in inch, and centimeters the distance between the sensor and some object.
I create this for measuring distance with an ESP8266 an make some test.
I connect an ESP8266 shield of Sparkfun, HCSR-4, and jumpers.
NO Triggers & Alerts
Here Dashboard Screenshots
The code here Cayenne_ECHO.txt (2,2 KB)
The video in my youtube channel here: Here Video
Share knowledge, it’s the best way to learn !!!