Module capsules_extra::hc_sr04
source · Expand description
HC-SR04 Ultrasonic Distance Sensor Product Link: HC-SR04 Product Page Datasheet: HC-SR04 Datasheet
HC-SR04 ultrasonic sensor provides a very low-cost and easy method of distance measurement. It measures distance using sonar, an ultrasonic (well above human hearing) pulse (~40KHz) is transmitted from the unit and distance-to-target is determined by measuring the time required for the echo return. This sensor offers excellent range accuracy and stable readings in an easy-to-use package.
Structs§
- HC-SR04 Ultrasonic Distance Sensor Driver
Enums§
- Status of the sensor.
Constants§
- Maximum duration for the echo pulse to be measured in milliseconds.
- Speed of sound in air in mm/s.