Give your robot the ability to "see" with sound using the HC-SR04 Ultrasonic Sensor. Utilizing the same echolocation principle as bats and dolphins, this module emits high-frequency sound waves to accurately calculate the distance to an obstacle. It is the most reliable, low-cost solution for range finding that works perfectly in the dark or under bright sunlight where infrared sensors often fail.
- Long-Range Detection: Capable of measuring distances from 2cm up to 400cm (13 feet), giving your robot plenty of warning time to slow down before hitting a wall.
- Color & Light Immunity: Unlike IR sensors that struggle with black surfaces or direct sunlight, this sonar module relies on sound, making it effective on glass, mirrors, and dark materials.
- High-Precision Echolocation: Offers excellent accuracy with a margin of error as low as 3mm, perfect for mapping room dimensions or maintaining a steady hovering altitude for drones.
- Split-Pin Logic: Features separate Trigger (Input) and Echo (Output) pins, allowing for clear signal management and compatibility with the popular NewPing library for advanced coding control.
