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

All Categories
Best Seller (30)
New List (30)
Biliansheng Hair Transplant – No-Shave Technique for Eyebrows, Beard, Widow's Peak, and Sideburns; Aesthetic Design and Hair Restoration

Biliansheng Hair Transplant – No-Shave Technique for Eyebrows, Beard, Widow's Peak, and Sideburns; Aesthetic Design and Hair Restoration

$2.55

Oil Pastel Blending Stumps and Smudging Tools for Painting, Mixing, and Highlighting

Oil Pastel Blending Stumps and Smudging Tools for Painting, Mixing, and Highlighting

$4.76

Jingyangge Calligraphy Wool Felt Arm Rest Pad, Mini Felt Mat for Chinese Painting, Inkstone Protector, Creative and Exquisite Practice Mat

Jingyangge Calligraphy Wool Felt Arm Rest Pad, Mini Felt Mat for Chinese Painting, Inkstone Protector, Creative and Exquisite Practice Mat

$9.90

Concrete Mixing Plant Gantry Car Wash Platform, Shiji Runde Tunnel-Style Gantry Car Wash Machine

Concrete Mixing Plant Gantry Car Wash Platform, Shiji Runde Tunnel-Style Gantry Car Wash Machine

$20,000.00

Baohong Watercolor Paper Artist Grade 1/2/Full/Half Sheet, Student Grade 300g 100% Cotton Pulp, Rough/Medium/Fine Grain Roll

Baohong Watercolor Paper Artist Grade 1/2/Full/Half Sheet, Student Grade 300g 100% Cotton Pulp, Rough/Medium/Fine Grain Roll

$33.00

Metal Garden Bed - Large Size Vegetable Planter for Balcony and Home Gardening

Metal Garden Bed - Large Size Vegetable Planter for Balcony and Home Gardening

$1,033.00

Custom Travertine Stone Signage with Natural Marble 3D Lettering and Spherical Characters for Cafes, Clothing Stores, and Studios

Custom Travertine Stone Signage with Natural Marble 3D Lettering and Spherical Characters for Cafes, Clothing Stores, and Studios

$170.00

CANDLE.LAB | Realistic Cookie Series DIY Aromatherapy Plaster Candle Diffuser Handmade Silicone Mold

CANDLE.LAB | Realistic Cookie Series DIY Aromatherapy Plaster Candle Diffuser Handmade Silicone Mold

$12.00

Zhao Mengfu Calligraphy Copybook - Running Script 'Qingyun Zhi', Red-Traced Practice Paper for Beginners in Calligraphy

Zhao Mengfu Calligraphy Copybook - Running Script 'Qingyun Zhi', Red-Traced Practice Paper for Beginners in Calligraphy

$15.80

Aesthetic Street Scene Watercolor Line Art for Coloring, 16K Landscape Watercolor Coloring Book, Painting Book, Cotton Pulp Watercolor Album

Aesthetic Street Scene Watercolor Line Art for Coloring, 16K Landscape Watercolor Coloring Book, Painting Book, Cotton Pulp Watercolor Album

$15.80

Warehouse Nitrogen Sealing Generator - High-Purity Food-Grade PSA Skid-Mounted Container Equipment

Warehouse Nitrogen Sealing Generator - High-Purity Food-Grade PSA Skid-Mounted Container Equipment

$959.00

Ransheng UV Resin Gel, UV Crystal Glue for Gemstones, Ear Cuff Sealing, Dried Flower Molds, DIY Quick-Dry UV Epoxy

Ransheng UV Resin Gel, UV Crystal Glue for Gemstones, Ear Cuff Sealing, Dried Flower Molds, DIY Quick-Dry UV Epoxy

$44.00

Dairy Processing Production Line, Pasteurized Milk Equipment, Low-Temperature Sterilization and Fermentation Machine for Cow and Camel Milk

Dairy Processing Production Line, Pasteurized Milk Equipment, Low-Temperature Sterilization and Fermentation Machine for Cow and Camel Milk

$8,203.00

Blue Lint-Free Wiping Paper - Industrial Large Roll Oil-Absorbent Shop Towels

Blue Lint-Free Wiping Paper - Industrial Large Roll Oil-Absorbent Shop Towels

$62.00

Green-Red AB Glue 5-Minute Fast-Drying Acrylate AB Glue for Glass Ceramic Metal Structural Adhesive Quick Set

Green-Red AB Glue 5-Minute Fast-Drying Acrylate AB Glue for Glass Ceramic Metal Structural Adhesive Quick Set

$18.13

Northern Wei Dynasty Inscriptions: Twenty Pieces from Longmen [Rubbing] - Original Size Wei Bei Calligraphy Copybook from Luoyang Longmen Grottoes

Northern Wei Dynasty Inscriptions: Twenty Pieces from Longmen [Rubbing] - Original Size Wei Bei Calligraphy Copybook from Luoyang Longmen Grottoes

$40.30

Ru Kiln Celadon Ceramic Brush Washer Set - Large, Medium, and Small Ink Dishes for Chinese Calligraphy and Painting Supplies

Ru Kiln Celadon Ceramic Brush Washer Set - Large, Medium, and Small Ink Dishes for Chinese Calligraphy and Painting Supplies

$88.80

Multi-Layer Over-Toilet Storage Rack for Bathroom, Laundry Room, and Balcony - Floor Standing Organizer

Multi-Layer Over-Toilet Storage Rack for Bathroom, Laundry Room, and Balcony - Floor Standing Organizer

$44.96

Wrought Iron Solid Stainless Steel Letters – Minimalist Space Signage, Custom Metal Advertising Letters for Storefronts & Feature Walls

Wrought Iron Solid Stainless Steel Letters – Minimalist Space Signage, Custom Metal Advertising Letters for Storefronts & Feature Walls

$10.00

Shimoyama 304 Stainless Steel Telescopic Rod - Kitchen Sink Cutting Board Support Rack for Dish Drying and Cloth Hanging

Shimoyama 304 Stainless Steel Telescopic Rod - Kitchen Sink Cutting Board Support Rack for Dish Drying and Cloth Hanging

$74.80

Modified Wheel Lug Nuts Forged Steel High Strength for Lafesta Regal CT4 Civic Accord Crown Mazda3

Modified Wheel Lug Nuts Forged Steel High Strength for Lafesta Regal CT4 Civic Accord Crown Mazda3

$209.00

Milk Separator Machine - Electric Cream Skimmer and Butter Churn for Home and Commercial Use (Cow and Goat Milk)

Milk Separator Machine - Electric Cream Skimmer and Butter Churn for Home and Commercial Use (Cow and Goat Milk)

$946.00

Three-Phase Auto-Reclosing Leakage Circuit Breaker - Smart Phase Loss, Undervoltage, Overload Protection with 485 Communication for PV Grid Connection

Three-Phase Auto-Reclosing Leakage Circuit Breaker - Smart Phase Loss, Undervoltage, Overload Protection with 485 Communication for PV Grid Connection

$693.20

Multi-Function Vegetable Cutter Commercial Electric for Cafeterias Fully Automatic Chili Scallion Chopper Imitation Hand-Cut Leek Machine

Multi-Function Vegetable Cutter Commercial Electric for Cafeterias Fully Automatic Chili Scallion Chopper Imitation Hand-Cut Leek Machine

$1,600.00

Zhengtong ZT30 Fog Cannon - Micron-Level Humidification & Cooling Spray System for Steel Mills

Zhengtong ZT30 Fog Cannon - Micron-Level Humidification & Cooling Spray System for Steel Mills

$6,000.00

100Pcs Custom Clothing Hang Tags Personalized Plastic Securi

100Pcs Custom Clothing Hang Tags Personalized Plastic Securi

$125.94

Wall-Mounted Bathroom Storage Shelf, No-Drill Organizer for Sink, Shower, and Toilet Area

Wall-Mounted Bathroom Storage Shelf, No-Drill Organizer for Sink, Shower, and Toilet Area

$5.76

Thickened 5mm Wool Felt Mat for Calligraphy Practice - Premium Writing Pad for Students and Beginners, Part of Four Treasures of the Study Set

Thickened 5mm Wool Felt Mat for Calligraphy Practice - Premium Writing Pad for Students and Beginners, Part of Four Treasures of the Study Set

$2.80

Multi-Function Car Tire Stone Removal Tool with Hook for Picking Out Rocks

Multi-Function Car Tire Stone Removal Tool with Hook for Picking Out Rocks

$4.06

Label Stripping Machine – Semi-Automatic Unit for Beer, Baijiu, and Glass Bottle Label Removal; Custom Manufacturing Available

Label Stripping Machine – Semi-Automatic Unit for Beer, Baijiu, and Glass Bottle Label Removal; Custom Manufacturing Available

$19,980.00