Skip to main content
Home / Computer Hardware, Monitors & Peripherals / HC-SR04 Ultrasonic Distance Measurement Module 5V Ranging Sensor for Microcontroller Programming Development Boards

Attributes

Brand -
Category Electronic Components / Maker DIY / Computer Hardware, Monitors & Peripherals
Origin -
Operating Voltage 5V DC
Operating Current 15mA
Operating Frequency 40kHz
Measuring Range 2cm to 400cm
Measuring Angle 15 degrees
Trigger Input Signal 10uS TTL pulse
Echo Output Signal TTL level signal
Module Dimensions 45mm x 20mm x 15mm
Net Weight 8 grams
Interface Type 4-Pin Header

5 reviews

A

Anonymous

Mar 07, 2026

Rating: 5/5

Perfect for Arduino

Works exactly as expected. Easy to wire up with my Uno. Distance readings are consistent within indoor environments.

A

Anonymous

Feb 27, 2026

Rating: 5/5

Standard HC-SR04 quality

If you know this module, you know what you get. Genuine module, good soldering on the pins.

A

Anonymous

Feb 27, 2026

Rating: 4/5

Good value

Solid sensor for the price. Had to tweak the code slightly for better accuracy at close range, but overall happy.

A

Anonymous

Feb 05, 2026

Rating: 5/5

Reliable distance measurement

Bought five of these for a robot car project. All of them functioned perfectly out of the box.

A

Anonymous

Jan 18, 2026

Rating: 5/5

Great for learning

Great for learning ultrasonic sensing. Just remember it needs 5V logic, not 3.3V directly on some pins.

5 FAQ

Q: What is the minimum detection distance?

A: The minimum measurable distance is approximately 2cm. Anything closer may not register accurately.

Q: Does it come with jumper wires?

A: No, this listing is for the module only. Jumper wires are sold separately.

Q: Can I use this outdoors?

A: It can be used outdoors, but wind and temperature may affect accuracy. It is not waterproof.

Q: What library do you recommend for Arduino?

A: The standard NewPing library is highly recommended for better performance than the default example code.

Q: Is this compatible with Raspberry Pi?

A: Yes, but note that the Echo pin outputs 5V. You may need a voltage divider for the GPIO input.

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