Skip to main content
Home / Computer Hardware, Monitors & Peripherals / Ultrasonic Distance Measurement Module HC-SR04/HC-SR04+/HC-SR04-P for Obstacle Avoidance and Smart Robot Cars

Attributes

Brand -
Category Electronic Components / Maker DIY / Computer Hardware, Monitors & Peripherals
Origin -
Model Version HC-SR04 Standard
Operating Voltage DC 5V
Operating Current 15mA
Ultrasonic Frequency 40kHz
Measuring Range 2cm to 400cm
Measuring Angle 15 Degrees
Trigger Input Signal 10uS TTL Pulse
Module Dimensions 45mm x 20mm x 15mm
Interface Type 4-Pin Header (VCC, Trig, Echo, GND)
Compatible Platforms Arduino, Raspberry Pi, STM32

5 reviews

A

Anonymous

Mar 23, 2026

Rating: 5/5

Perfect for Robotics

Works exactly as described. Used it for my obstacle avoidance robot and the readings are consistent.

A

Anonymous

Feb 13, 2026

Rating: 5/5

Accurate Distance

Tested against a tape measure and it was within 1cm accuracy.

A

Anonymous

Feb 09, 2026

Rating: 3/5

Sensitive to Noise

Works well indoors but struggles with background noise outdoors.

A

Anonymous

Jan 30, 2026

Rating: 4/5

Good Value

Quality is decent for the price. Wiring diagram could be clearer.

A

Anonymous

Jan 18, 2026

Rating: 5/5

Great for Students

Bought 10 for my classroom. All functioning perfectly.

5 FAQ

Q: Can I use this with 3.3V logic?

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

Q: Can I use multiple sensors?

A: Yes, but ensure trigger pulses do not overlap to avoid interference.

Q: Is there a library available?

A: Yes, many open-source libraries exist for Arduino and Python.

Q: What is the minimum distance?

A: The minimum measurable distance is approximately 2cm.

Q: Is this module waterproof?

A: No, this module is not waterproof and should be kept dry.

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