Skip to main content
Home / Computer Hardware, Monitors & Peripherals / Ultrasonic Module HC-SR04 - Distance Measurement Sensor, Electronic DC5V

Attributes

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

5 reviews

A

Anonymous

Apr 04, 2026

Rating: 5/5

Perfect for Arduino Robotics

Works exactly as expected. Easy to wire and plenty of libraries available. Measured distances accurately in my obstacle avoidance robot.

A

Anonymous

Apr 01, 2026

Rating: 5/5

Best value ultrasonic sensor

Can't beat the price for this quality. Used it for a parking sensor project and it was responsive enough.

A

Anonymous

Mar 29, 2026

Rating: 4/5

Good sensor, mind the voltage

Great module overall. Just be careful if connecting to 3.3V logic boards without a level shifter. Otherwise, solid performance.

A

Anonymous

Feb 09, 2026

Rating: 3/5

One defective unit

Ordered a pack of two. One worked great, the other didn't echo any signal. Seller replaced it quickly though.

A

Anonymous

Jan 27, 2026

Rating: 5/5

Reliable Distance Measurement

I bought five of these for a project. All of them worked out of the box. Consistent readings within the specified range.

5 FAQ

Q: Can this be used outdoors?

A: It can be used outdoors, but wind and temperature may affect the speed of sound and readings.

Q: How many pins does this module have?

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

Q: What is the accuracy of this sensor?

A: Typically within 3mm under ideal conditions, but surface material affects accuracy.

Q: Is there a library available for Arduino?

A: Yes, there are many open-source libraries available on the Arduino Library Manager.

Q: Can I use this with a 3.3V microcontroller?

A: Yes, but we recommend using a voltage divider or level shifter for the Echo pin to protect your board.

Explore your interests

View More
All Categories
Best Seller (30)
New List (30)
Cashmir Blending Knife Replacement Head Set, Sketch Neony Blending Heads, Sponge Blending Heads, Breathing Cotton for Art Students

Cashmir Blending Knife Replacement Head Set, Sketch Neony Blending Heads, Sponge Blending Heads, Breathing Cotton for Art Students

$4.34

Natural Amethyst, Rose Quartz, Clear Quartz, and Lemon Quartz Double-Pointed Tumbled Beads for DIY Bracelets, Necklaces, and Earrings

Natural Amethyst, Rose Quartz, Clear Quartz, and Lemon Quartz Double-Pointed Tumbled Beads for DIY Bracelets, Necklaces, and Earrings

$1.70

Accordion-Style Watercolor Sketchbook, 32k Foldable Blank Paper, 300g Cotton Pulp Fine Texture for Painting, A4 Stamp Collection Travel Journal, DIY Sticker Art Notebook

Accordion-Style Watercolor Sketchbook, 32k Foldable Blank Paper, 300g Cotton Pulp Fine Texture for Painting, A4 Stamp Collection Travel Journal, DIY Sticker Art Notebook

$9.70

Electric Watercolor Spray Pen Children Hand-painted Color Pa

Electric Watercolor Spray Pen Children Hand-painted Color Pa

$52.55

VFD 2.2kW 9.8A Single Phase 220V

VFD 2.2kW 9.8A Single Phase 220V

$1,919.00

Printmaking Press Machine - Large Format Etching and Woodblock Printer for School Art Classes and Clubs

Printmaking Press Machine - Large Format Etching and Woodblock Printer for School Art Classes and Clubs

$583.11

Bread Rattle Superman Maraca Baby 0-1 Year Soothing Tool Newborn Safe to Chew Grip Training Hand Rattle

Bread Rattle Superman Maraca Baby 0-1 Year Soothing Tool Newborn Safe to Chew Grip Training Hand Rattle

$8.80

Direct Supply 0.75kw Laboratory Frame Mixer - Suitable for Mixing Fluid Materials, Adhesives, and Lithium Battery Applications

Direct Supply 0.75kw Laboratory Frame Mixer - Suitable for Mixing Fluid Materials, Adhesives, and Lithium Battery Applications

$2,395.00

Yonghe Hair Transplant Follicle Detection and Scalp Health Assessment - Consultation and Photodynamic Therapy Experience

Yonghe Hair Transplant Follicle Detection and Scalp Health Assessment - Consultation and Photodynamic Therapy Experience

$0.10

Continental CSC5 Tires – Sizes 215/225/235/245/255 x 40/45/50/55 R17/18/19/20/21

Continental CSC5 Tires – Sizes 215/225/235/245/255 x 40/45/50/55 R17/18/19/20/21

$725.00

Commercial High-Speed Fruit and Vegetable Crusher and Puree Maker, Continuous Processing Equipment for Galangal, Fresh Ginger, Bell Peppers, and Tomatoes

Commercial High-Speed Fruit and Vegetable Crusher and Puree Maker, Continuous Processing Equipment for Galangal, Fresh Ginger, Bell Peppers, and Tomatoes

$17,980.00

DIY Scented Candle Molds - 24 Popular Korean Acrylic PC Styles: Cylinder, Pointed Top, Flat Top, Square, Shell

DIY Scented Candle Molds - 24 Popular Korean Acrylic PC Styles: Cylinder, Pointed Top, Flat Top, Square, Shell

$10.80

Custom Solid Wood Plaque and Couplet Carving - Wooden Shop Signage, Arched Door Headers, and Grand Opening Engravings

Custom Solid Wood Plaque and Couplet Carving - Wooden Shop Signage, Arched Door Headers, and Grand Opening Engravings

$174.00

New Direct-Sale 326 Instant Glue - High-Strength Structural Adhesive for Metal, Heat Resistant, Anti-Aging, Ideal for Car Rearview Mirrors

New Direct-Sale 326 Instant Glue - High-Strength Structural Adhesive for Metal, Heat Resistant, Anti-Aging, Ideal for Car Rearview Mirrors

$26.54

Zhong Shaojing Lingfei Jing Small Regular Script Water Writing Cloth for Calligraphy Practice - Reusable Quick-Dry Mat

Zhong Shaojing Lingfei Jing Small Regular Script Water Writing Cloth for Calligraphy Practice - Reusable Quick-Dry Mat

$22.53

New 968 Fast-Drying Super Glue - Strong Bond for Metal, Magnets, Rubber, and Aluminum Alloy

New 968 Fast-Drying Super Glue - Strong Bond for Metal, Magnets, Rubber, and Aluminum Alloy

$18.20

German Imported Stone Removal Hook Car Tire Stone Cleaning Tool Vehicle Foldable Multi-Function Stone Remover

German Imported Stone Removal Hook Car Tire Stone Cleaning Tool Vehicle Foldable Multi-Function Stone Remover

$11.34

[10% Off for 2 Items] Double-Sided Wool Felt Mat for Calligraphy and Painting, Student Practice Sheet, Brush Writing Desk Pad, Four Treasures of the Study Set

[10% Off for 2 Items] Double-Sided Wool Felt Mat for Calligraphy and Painting, Student Practice Sheet, Brush Writing Desk Pad, Four Treasures of the Study Set

$6.63

In Stock Special Offer: QS18VP6LLPQ8 Sensor - Price Negotiable

In Stock Special Offer: QS18VP6LLPQ8 Sensor - Price Negotiable

$600.00

Broccoli Vegetable Washing Machine for Pre-made Dishes, Water Bath Cleaning Equipment with Bubble System for Herbs and Export-Grade Produce

Broccoli Vegetable Washing Machine for Pre-made Dishes, Water Bath Cleaning Equipment with Bubble System for Herbs and Export-Grade Produce

$615.00

Hongkedou Oxford Fabric Bag-in-Bag Divider Insert, Stiff Makeup Organizer with Zipper, Waterproof Small Women's Pouch

Hongkedou Oxford Fabric Bag-in-Bag Divider Insert, Stiff Makeup Organizer with Zipper, Waterproof Small Women's Pouch

$22.00

Pad Printing Machine Accessories: Positioning Clamps, T-Shaped Holders, and Locking Irons

Pad Printing Machine Accessories: Positioning Clamps, T-Shaped Holders, and Locking Irons

$0.60

Japanese High-Concentration Oxalic Acid Toilet Cleaner, Powerful Urine Scale Remover and Stain Eliminator

Japanese High-Concentration Oxalic Acid Toilet Cleaner, Powerful Urine Scale Remover and Stain Eliminator

$23.82

Biliansheng No-Shave Hair Transplant - Hairline and Crown Thinning Treatment, Hair Loss Detection Service

Biliansheng No-Shave Hair Transplant - Hairline and Crown Thinning Treatment, Hair Loss Detection Service

$86.00

Laorentou Paper Blending Stump for Sketching - Professional Art Supply for Highlighting and Pastel Work

Laorentou Paper Blending Stump for Sketching - Professional Art Supply for Highlighting and Pastel Work

$6.80

Fast-Drying Glue for ABS Plastic - Transparent, High-Strength, Odorless, Non-Whitening Instant Adhesive for ABS and PC Plastics

Fast-Drying Glue for ABS Plastic - Transparent, High-Strength, Odorless, Non-Whitening Instant Adhesive for ABS and PC Plastics

$58.96

Manufacturer Supply Oxygen Absorber Oxygen Generator Stable Performance Hydrogen-Rich Machine Hydrogen Generator

Manufacturer Supply Oxygen Absorber Oxygen Generator Stable Performance Hydrogen-Rich Machine Hydrogen Generator

$5,058.00

POPMART CRYBABY Vacation Mode On - Vinyl Plush Keychain Blind Box

POPMART CRYBABY Vacation Mode On - Vinyl Plush Keychain Blind Box

$106.99

Portable Travel Potty for Kids, Outdoor Toilet, Foldable Car Seat Potty for Babies, Travel Urinal for Outdoors

Portable Travel Potty for Kids, Outdoor Toilet, Foldable Car Seat Potty for Babies, Travel Urinal for Outdoors

$29.90

Wen Zhengming Red Cliff & Tengwang Pavilion Copybook - 2-Volume Running Script Long Scroll for Calligraphy Practice

Wen Zhengming Red Cliff & Tengwang Pavilion Copybook - 2-Volume Running Script Long Scroll for Calligraphy Practice

$22.00