{"title":"Ultrasonic Distance Sensor HC-SR04","handle":"ultrasonic-distance-sensor-hc-sr04","url":"/products/ultrasonic-distance-sensor-hc-sr04","description":"The HC-SR04 is one of the most popular and affordable ultrasonic distance sensors for robotics and electronics projects. It uses sound waves to measure distance, making it perfect for obstacle avoidance, proximity detection, and level sensing applications.\n\nSimply send a trigger pulse and measure the echo return time to calculate distance. Works with Arduino, Raspberry Pi, micro:bit, and virtually any microcontroller.\n\nKey Features\n\n\n2cm to 500cm Range – Wide detection range for most applications\n\n1cm Resolution – Accurate distance measurements\n\nLow Power – Under 2mA quiescent current\n\nSimple Interface – Just trigger and echo pins\n\n5V Operation – Standard logic level\n\n\nSpecifications\n\n\nPower Supply – 5V DC\n\nQuiescent Current – &lt;2mA\n\nDetection Range – 2cm to 500cm\n\nResolution – 1cm\n\nEffective Angle – &lt;15°\n\nUltrasonic Frequency – 40kHz\n\nTrigger Pulse – 10µs minimum\n\nCycle Period – 50ms minimum recommended\n\n\nHow It Works\nSend a 10µs trigger pulse to initiate measurement. The sensor transmits eight 40kHz ultrasonic pulses and listens for the echo. The echo pulse width is proportional to the measured distance. If no obstacle is detected, the echo pin goes high for 38ms.\n\nIdeal For\n\nRobot obstacle avoidance\nProximity and presence detection\nLiquid level sensing\nParking sensors\nDrone altitude sensing\n\n\n\nNote: When using with 3.3V systems like Raspberry Pi, use a voltage divider on the echo pin to avoid damage.\n","vendor":"Pi Australia","in_stock":true,"options":[{"name":"Title","values":["Default Title"]}],"variants":[{"id":208,"title":"Default Title","sku":"LB-LR0230","price":4.05,"compare_at_price":4.54,"on_sale":true,"in_stock":true,"available_quantity":1143,"option1":"Default Title"}]}