If you need to add distance awareness to your robot or low altitude sensor for your drone, this is one of the easiest and most commonly used ways.
- Power supply: 5V DC
- Quiescent current: <2mA
- Effectual angle: <15°
- Ranging distance: 2cm – 500 cm
- Resolution: 1 cm
- Ultrasonic Frequency: 40k Hz
A short ultrasonic pulse is transmitted at the time 0, reflected by an object. The sensor receives this signal and converts it to an electric signal. The next pulse can be transmitted when the echo is faded away. This time period is called the cycle period. The recommend cycle period should be no less than 50ms. If a 10μs width trigger pulse is sent to the signal pin, the Ultrasonic module will output eight 40kHz ultrasonic signal and detect the echo back. The measured distance is proportional to the echo pulse width, and can be calculated by the formula above. If no obstacle is detected, the output pin will give a 38ms high level signal.
Ultrasonic Distance Sensor HC-SR04 Example Code
Ultrasonic Distance Sensor HC-SR04
We have 140 units in our Sydney Warehouse available for immediate dispatch.
We can get a further 5240 units in Australia from Little Bird. If you order today, we can dispatch this stock between Aug 17, 2020 - Aug 26, 2020.
|Raspberry Pi Model Compatibility|
|RP4||Works with Raspberry Pi 4 Model B|
|RP3A+||Works with Raspberry Pi 3 Model A+|
|RP3B+||Works with Raspberry Pi 3 Model B+|
|RP3B||Works with Raspberry Pi 3 Model B|
|RP2B||Works with Raspberry Pi 2 Model B|
|RP1B+||Works with Raspberry Pi 1 Model B+|
|RP1A+||Works with Raspberry Pi 1 Model A+|
|RP0W||Works with Raspberry Pi Zero W|
|RP0||Works with Raspberry Pi Zero|
|RPCM3+||Requires other products to use with Raspberry Pi Compute Module 3+|