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

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