Search found 1 match

by DTC1957
Sun May 13, 2018 7:31 pm
Forum: ESP-IDF
Topic: How to measure pulse width on an HC-SR04
Replies: 3
Views: 6969

How to measure pulse width on an HC-SR04

Hi I would like to use an HC-SR04 to measure distances. The way that device works is to return a pulse whose length is proportional to the distance being measured (ultrasonic reflection). I saw that there is a way to do this on Arduino (pulseIn - see http://www.instructables.com/id/Distance-Measurem...