HCSR04 Ultrasonic Transducer¶
Shows how to use an HCSR04 module to measure distances.
Warning
Ultrasonic_HCSR04 modules usually work with 5v power and TTL levels, so you NEED voltage divider or level shifter for ECHO pin.
Trigger pin is tolerant to 3.3v and should work without problems.
References¶
Sming (main) Component
Ultrasonic Library