Skip to main content
Home / Computer Hardware, Monitors & Peripherals / HC-SR04 Ultrasonic Ranging Module Sensor for Arduino Smart Car Obstacle Avoidance

Attributes

Brand -
Category Electronic Components / Maker DIY / Computer Hardware, Monitors & Peripherals
Origin -
Operating Voltage 5V DC
Current Consumption 15mA
Measuring Range 2cm - 400cm
Measuring Angle 15 degrees
Trigger Input 10uS TTL pulse
Echo Output TTL level signal
Dimensions 45mm x 20mm x 15mm
Weight 10g
Interface 4-pin Header (VCC, Trig, Echo, GND)
Compatibility Arduino, Raspberry Pi, STM32

5 reviews

A

Anonymous

Mar 11, 2026

Rating: 5/5

Perfect for robotics

Works great with Arduino Uno. Stable readings and easy to integrate into my smart car project.

A

Anonymous

Mar 07, 2026

Rating: 5/5

Beginner friendly

This is the standard module for learning ultrasonic sensing. Plenty of tutorials available online.

A

Anonymous

Mar 07, 2026

Rating: 3/5

Mixed bag

Bought a pack of 5. One unit was DOA, but the rest work fine. Customer service was helpful.

A

Anonymous

Feb 04, 2026

Rating: 5/5

Reliable sensor

Used this for a parking sensor project. Accuracy is decent for the price point and consistent.

A

Anonymous

Jan 21, 2026

Rating: 4/5

Good value

Works well for the price. Only giving 4 stars because the pins were slightly loose on one unit.

5 FAQ

Q: Is there a library available for this?

A: Yes, many Arduino libraries support HC-SR04 out of the box, including the standard NewPing library.

Q: How many pins does it have?

A: It has 4 pins: VCC, Trigger, Echo, and Ground.

Q: What is the accuracy of the measurement?

A: Typically within 3mm under ideal conditions, though surface material can affect results.

Q: Can I use this with 3.3V logic boards?

A: Yes, but a voltage divider is recommended for the Echo pin to protect 3.3V boards from 5V signals.

Q: Can it work outdoors?

A: It can, but wind and temperature changes may affect accuracy. Best suited for indoor use.

Explore your interests

View More
All Categories
Best Seller (30)
New List (30)
Tire Stone Removal Hook with Built-in Screwdriver - Multi-Function Tool for Tire Cleaning, Window Breaking, and Self-Defense

Tire Stone Removal Hook with Built-in Screwdriver - Multi-Function Tool for Tire Cleaning, Window Breaking, and Self-Defense

$8.90

Blower Motor Compatible with Hummer H3, Hummer H2, and Cadillac Escalade

Blower Motor Compatible with Hummer H3, Hummer H2, and Cadillac Escalade

$340.00

Custom Fertilizer Integration Machine for Agriculture and Landscaping - Smart Quantitative Mobile Filtration System

Custom Fertilizer Integration Machine for Agriculture and Landscaping - Smart Quantitative Mobile Filtration System

$1,960.00

High-Speed Cell Sieve with Handle - Stainless Steel Laboratory Sieves (100, 200, 300, 400, 600 Mesh)

High-Speed Cell Sieve with Handle - Stainless Steel Laboratory Sieves (100, 200, 300, 400, 600 Mesh)

$61.74

Stainless Steel Food Warmer for Hotels and Breakfast Buffets - Commercial Flip-Top Chafing Dish with Insulation; Compatible with Induction Cookers

Stainless Steel Food Warmer for Hotels and Breakfast Buffets - Commercial Flip-Top Chafing Dish with Insulation; Compatible with Induction Cookers

$1,288.00

Marie's Blending Stumps Set for Sketching and Shading, Professional Art Supplies for Students

Marie's Blending Stumps Set for Sketching and Shading, Professional Art Supplies for Students

$2.55

National Standard JB/ZQ4606-86 Felt Oil Seal Ring - Bearing Oil Absorption, Dustproof, Industrial Wool Felt Gasket Strip

National Standard JB/ZQ4606-86 Felt Oil Seal Ring - Bearing Oil Absorption, Dustproof, Industrial Wool Felt Gasket Strip

$0.50

Qingzhu Sketching Eraser Knife and Paper Stump Tool Set for Art Students - Includes Replacement Tips, Gray Surface Pens, Makeup Sponge Blenders, Cotton Swabs, Foam Balls, Soft Blending Pens, Precision Insert Knives, and Sketch Eraser Balls

Qingzhu Sketching Eraser Knife and Paper Stump Tool Set for Art Students - Includes Replacement Tips, Gray Surface Pens, Makeup Sponge Blenders, Cotton Swabs, Foam Balls, Soft Blending Pens, Precision Insert Knives, and Sketch Eraser Balls

$7.20

4-Leg Chain Rigging Set - Alloy Steel Lifting Tool (1-200 Tons) with Multi-Leg Electromagnetic Chuck

4-Leg Chain Rigging Set - Alloy Steel Lifting Tool (1-200 Tons) with Multi-Leg Electromagnetic Chuck

$52.50

Commercial 1.8/2.2m Food Warmer Cabinet for Fried Chicken and Burger Shops, French Fry Heating Unit, 1.5m Two-Way Pickup Display Case

Commercial 1.8/2.2m Food Warmer Cabinet for Fried Chicken and Burger Shops, French Fry Heating Unit, 1.5m Two-Way Pickup Display Case

$3,573.50

Commercial Electric Heated Stainless Steel Fast Food Serving Counter Soup Warmer Buffet Cart

Commercial Electric Heated Stainless Steel Fast Food Serving Counter Soup Warmer Buffet Cart

$842.00

Natural Crystal White Azeztulite Loose Beads with Rainbow Luster for DIY Necklaces, Bracelets, and Jewelry Making

Natural Crystal White Azeztulite Loose Beads with Rainbow Luster for DIY Necklaces, Bracelets, and Jewelry Making

$5.54

Ai Zao Fang Six-Cavity Oval Totem Handmade Soap Silicone Mold - Yields Approx. 115g per Bar

Ai Zao Fang Six-Cavity Oval Totem Handmade Soap Silicone Mold - Yields Approx. 115g per Bar

$17.70

Zunjue Wire-Bound 8K Watercolor Notebook 300g Watercolor Sketchbook Loose-Leaf Portable 16K Water-Soluble Colored Pencil Notebook Coil-Bound 32K Medium Coarse Fine Grain 200g Kids Students A4 Watercolor Notebook Plein Air Sketch Drawing Book

Zunjue Wire-Bound 8K Watercolor Notebook 300g Watercolor Sketchbook Loose-Leaf Portable 16K Water-Soluble Colored Pencil Notebook Coil-Bound 32K Medium Coarse Fine Grain 200g Kids Students A4 Watercolor Notebook Plein Air Sketch Drawing Book

$7.65

Yuan Dynasty Calligraphy by Zhao Mengfu - Small Regular Script Diamond Sutra Brush Tracing Long Scroll Copybook, Original Version, Wholesale and Customization Available

Yuan Dynasty Calligraphy by Zhao Mengfu - Small Regular Script Diamond Sutra Brush Tracing Long Scroll Copybook, Original Version, Wholesale and Customization Available

$15.00

Kodak Photo Printing Service - High-Definition Prints from Your Phone with Lamination and Album Binding

Kodak Photo Printing Service - High-Definition Prints from Your Phone with Lamination and Album Binding

$12.47

Shenzhen Custom Storefront Signage and Lightbox Installation - Illuminated Letters and Shop Plaques

Shenzhen Custom Storefront Signage and Lightbox Installation - Illuminated Letters and Shop Plaques

$50.00

Automotive AC Refrigerant Gauge Set – R134a Pressure Meter with Dual Valve Tool for Home R22/R410 Air Conditioning Systems

Automotive AC Refrigerant Gauge Set – R134a Pressure Meter with Dual Valve Tool for Home R22/R410 Air Conditioning Systems

$329.00

Complete Collection of Taoist Talisman Art Copybooks - Zhengyi Thirty-Six Generals, Calligraphy Practice Sheets with Stroke Order and Red Tracing, Classic Taoist Calligraphy

Complete Collection of Taoist Talisman Art Copybooks - Zhengyi Thirty-Six Generals, Calligraphy Practice Sheets with Stroke Order and Red Tracing, Classic Taoist Calligraphy

$38.00

Marie's Blending Knife Replacement Head Set Sketch Blending Tools Sponge Stumps Paper Stumps for Art Students

Marie's Blending Knife Replacement Head Set Sketch Blending Tools Sponge Stumps Paper Stumps for Art Students

$4.25

French Imported Arches Watercolor Paper - Handmade 100% Cotton, 300g-850g, Medium/Rough Grain, Extra-Large Rolls and Sheets (4K, Full, Half, Quarter)

French Imported Arches Watercolor Paper - Handmade 100% Cotton, 300g-850g, Medium/Rough Grain, Extra-Large Rolls and Sheets (4K, Full, Half, Quarter)

$33.10

Commercial Countertop Food Warmer Display Case - For Fried Chicken, Burgers, Egg Tarts, Pies, Youtiao, and Shaobing

Commercial Countertop Food Warmer Display Case - For Fried Chicken, Burgers, Egg Tarts, Pies, Youtiao, and Shaobing

$720.00

Integrated Hospital Wastewater Treatment Unit Underground Integrated Sanitary System Sewage Discharge Unit Eco-Friendly Wastewater

Integrated Hospital Wastewater Treatment Unit Underground Integrated Sanitary System Sewage Discharge Unit Eco-Friendly Wastewater

$10,000.00

Double Loop Lifting Chain with Rebar Bottom Hook - Manganese Steel Sling for Heavy Duty Rigging

Double Loop Lifting Chain with Rebar Bottom Hook - Manganese Steel Sling for Heavy Duty Rigging

$29.00

Screw Press Screw Sludge Dewatering Machine Sewage Treatment Equipment Rotary Type

Screw Press Screw Sludge Dewatering Machine Sewage Treatment Equipment Rotary Type

$17,600.00

Imported INA Needle Roller Bearings: 9NA, NA 2940, 4R22, 4924, 4926, 4928, 4930-XL A

Imported INA Needle Roller Bearings: 9NA, NA 2940, 4R22, 4924, 4926, 4928, 4930-XL A

$109.00

High-Purity Nitrogen Generator for Reflow Soldering and Wave Soldering - Efficient Energy-Saving Transformer Protection for Electronics Factories

High-Purity Nitrogen Generator for Reflow Soldering and Wave Soldering - Efficient Energy-Saving Transformer Protection for Electronics Factories

$46,100.00

Baohong Watercolor Paper 300g Wood Pulp Medium Grain A3 Full Sheet, Coarse/ Fine Grain Academy Grade 4K, A2, A1, A4 Artist Paper 2K for Art Students

Baohong Watercolor Paper 300g Wood Pulp Medium Grain A3 Full Sheet, Coarse/ Fine Grain Academy Grade 4K, A2, A1, A4 Artist Paper 2K for Art Students

$3.40

Manyue Handmade Natural Soy Wax and White Beeswax for DIY Low-Temperature Scented Candles – Includes Candle Cups and Jelly Wax

Manyue Handmade Natural Soy Wax and White Beeswax for DIY Low-Temperature Scented Candles – Includes Candle Cups and Jelly Wax

$5.46

Car Tire Stone Removal Tool Hook and Rake for Cleaning Tread Debris

Car Tire Stone Removal Tool Hook and Rake for Cleaning Tread Debris

$4.53