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)
Leyingfang Floating Pen for Kids' Water Drawing, Colorful Water-Soluble Suspended Markers, Erasable Watercolor Pens

Leyingfang Floating Pen for Kids' Water Drawing, Colorful Water-Soluble Suspended Markers, Erasable Watercolor Pens

$13.80

Loose Rose Quartz Beads, Donghai Agate, Chalcedony, Jadeite, and Madagascar Pink Crystal for DIY Jewelry Making

Loose Rose Quartz Beads, Donghai Agate, Chalcedony, Jadeite, and Madagascar Pink Crystal for DIY Jewelry Making

$6.72

Expandable Stainless Steel Sink Rack, Multi-Function Kitchen Drain Board for Fruits, Vegetables, and Utensils

Expandable Stainless Steel Sink Rack, Multi-Function Kitchen Drain Board for Fruits, Vegetables, and Utensils

$14.90

Transparent Retainer Case Aligner Storage Box Portable Carry-On Squeeze Bag Orthodontic Appliance Rubber Band Cleaning Box

Transparent Retainer Case Aligner Storage Box Portable Carry-On Squeeze Bag Orthodontic Appliance Rubber Band Cleaning Box

$18.50

Transparent Data Cable Organizer Bag for Travel - Portable Multi-Use Visible Storage for Digital Chargers and Cable Management

Transparent Data Cable Organizer Bag for Travel - Portable Multi-Use Visible Storage for Digital Chargers and Cable Management

$7.36

Finished Seal Calligraphy Finished Stone Stamp Sellos Chines

Finished Seal Calligraphy Finished Stone Stamp Sellos Chines

$108.58

Chunfei Grocery Store Commuter Hard Fork Low-Beam Mountain Bike for Urban Roads, Suburbs, School, and Outings

Chunfei Grocery Store Commuter Hard Fork Low-Beam Mountain Bike for Urban Roads, Suburbs, School, and Outings

$2,247.00

6-Cavity Large Square French Flower DIY Soap Silicone Mold for Essential Oil and Milk Soap

6-Cavity Large Square French Flower DIY Soap Silicone Mold for Essential Oil and Milk Soap

$4.93

Home Balcony Vegetable Planter - Self-Watering Plastic Pot for Strawberries and Succulents

Home Balcony Vegetable Planter - Self-Watering Plastic Pot for Strawberries and Succulents

$28.00

Pressure Swing Adsorption Nitrogen Generator - High-Purity Nitrogen Device for Heat Treatment

Pressure Swing Adsorption Nitrogen Generator - High-Purity Nitrogen Device for Heat Treatment

$36,456.00

6-Cavity 3D Rose Silicone Mold for DIY Soap Making Heat-Resistant Non-Stick Large Size for Milk Soap and Essential Oil Soap

6-Cavity 3D Rose Silicone Mold for DIY Soap Making Heat-Resistant Non-Stick Large Size for Milk Soap and Essential Oil Soap

$5.80

Traditional Handmade Baby Teething Rattle Sheepskin Wooden Clapper Newborn Toy Intangible Cultural Heritage

Traditional Handmade Baby Teething Rattle Sheepskin Wooden Clapper Newborn Toy Intangible Cultural Heritage

$29.85

Manufacturer Supply ZSJC02 Film Splicing Table, Alignment Table, Film Inspection Table

Manufacturer Supply ZSJC02 Film Splicing Table, Alignment Table, Film Inspection Table

$4,484.00

Box-Type Oxygen Generator Export Equipment - Stable Nitrogen and Oxygen Production for Wastewater Treatment

Box-Type Oxygen Generator Export Equipment - Stable Nitrogen and Oxygen Production for Wastewater Treatment

$25,000.00

Wholesale Acrylic Paint Stick Set, 3ml x 12 Colors, Non-Toxic for Children's DIY and Street Art

Wholesale Acrylic Paint Stick Set, 3ml x 12 Colors, Non-Toxic for Children's DIY and Street Art

$2.01

Cheese Processing Equipment - Small Pasteurized Fresh Milk Production Line, Fully Automatic Cheese Making Machine

Cheese Processing Equipment - Small Pasteurized Fresh Milk Production Line, Fully Automatic Cheese Making Machine

$66,500.00

Household Mini Range Hood, Portable USB Desktop Smoke Extractor for Living Room Hot Pot & BBQ Odor Removal

Household Mini Range Hood, Portable USB Desktop Smoke Extractor for Living Room Hot Pot & BBQ Odor Removal

$41.00

Sanitary Grade Stainless Steel Low-Temperature Vacuum Single-Effect Falling Film Evaporator for Milk Powder and Juice Processing

Sanitary Grade Stainless Steel Low-Temperature Vacuum Single-Effect Falling Film Evaporator for Milk Powder and Juice Processing

$4,158.00

Chain Shortener & Lifting Rigging - Double Chain Hook Assembly for Overhead Cranes and Hoists

Chain Shortener & Lifting Rigging - Double Chain Hook Assembly for Overhead Cranes and Hoists

$130.00

Youlian Toast Shaping Machine Dough Molder Square Bread Shaper Bakery Equipment YSN-T380

Youlian Toast Shaping Machine Dough Molder Square Bread Shaper Bakery Equipment YSN-T380

$9,695.20

Michelin Tire 255/50R20 109V - Compatible with VW Teramont, Trumpchi GS8, AITO M7, Li Auto L7/L8/L9, and NIO ES6

Michelin Tire 255/50R20 109V - Compatible with VW Teramont, Trumpchi GS8, AITO M7, Li Auto L7/L8/L9, and NIO ES6

$550.00

Traditional Wooden Rattle with Sheepskin Head for Early Education Newborns Boys and Girls Visual Tracking Grip and Hearing Training

Traditional Wooden Rattle with Sheepskin Head for Early Education Newborns Boys and Girls Visual Tracking Grip and Hearing Training

$11.88

French Canson Classic Printmaking Paper 100% Cotton 320g for Screen Printing, Woodcut, Copperplate, Lithography; 250g Cotton Pulp 60*76cm Half Sheet 8K Quarter Sheet A4 Printmaking Painting Tool Set Ink Roll Rubbing Paper

French Canson Classic Printmaking Paper 100% Cotton 320g for Screen Printing, Woodcut, Copperplate, Lithography; 250g Cotton Pulp 60*76cm Half Sheet 8K Quarter Sheet A4 Printmaking Painting Tool Set Ink Roll Rubbing Paper

$7.65

Fan Start Capacitor 8uF for ABB ACS800 VFD

Fan Start Capacitor 8uF for ABB ACS800 VFD

$350.00

babycare Baby Rattle with Teether for Newborns, Silicone Shaker Bell Educational Toy for Infants and Toddlers

babycare Baby Rattle with Teether for Newborns, Silicone Shaker Bell Educational Toy for Infants and Toddlers

$39.90

Class 100 Clean Workbench and Laminar Flow Hood, Negative Pressure Weighing Booth, Direct from Manufacturer

Class 100 Clean Workbench and Laminar Flow Hood, Negative Pressure Weighing Booth, Direct from Manufacturer

$2,475.00

1.9m 4-Printhead Digital Sublimation Printer for Diatom Mud, Polyester Fabric, and Garment Heat Transfer Printing

1.9m 4-Printhead Digital Sublimation Printer for Diatom Mud, Polyester Fabric, and Garment Heat Transfer Printing

$600.00

ergo5950 Acrylic Specialty Adhesive - High-Strength Bond for Acrylic Sheets, PMMA, Glass, Fish Tanks, PLA, and PC Boards

ergo5950 Acrylic Specialty Adhesive - High-Strength Bond for Acrylic Sheets, PMMA, Glass, Fish Tanks, PLA, and PC Boards

$57.84

Invisalign Orthodontic Retainer Storage Box - Compact Portable Cleaning Case for Teeth Aligners and Dentures

Invisalign Orthodontic Retainer Storage Box - Compact Portable Cleaning Case for Teeth Aligners and Dentures

$12.30

[Camizong] Lilith's Claw – Gothic-Style Fork Acrylic Check-In Stick for Badge Display with Magnetic Backing

[Camizong] Lilith's Claw – Gothic-Style Fork Acrylic Check-In Stick for Badge Display with Magnetic Backing

$11.70