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)
Marie's Paper Blending Stumps Thickened Xuan Paper Blending Stumps Marie's Student Sketch Set Blending Stumps Rubbing Cotton Painting Special Paper Blending Stumps Smudging Pens Art Supplies Xuan Paper Sketch Fixative

Marie's Paper Blending Stumps Thickened Xuan Paper Blending Stumps Marie's Student Sketch Set Blending Stumps Rubbing Cotton Painting Special Paper Blending Stumps Smudging Pens Art Supplies Xuan Paper Sketch Fixative

$5.09

Inner Mongolia Milk Skin Processing Equipment - Condensed Milk and Butter Production Line, Fully Automatic Cheese Making Machine

Inner Mongolia Milk Skin Processing Equipment - Condensed Milk and Butter Production Line, Fully Automatic Cheese Making Machine

$13,580.00

Yijiayi Plastic Surgery - Hair Follicle Analysis to Assess Growth, Prevent Hair Loss, and Plan Transplants

Yijiayi Plastic Surgery - Hair Follicle Analysis to Assess Growth, Prevent Hair Loss, and Plan Transplants

$10.00

Hell Training Rock Guitar by Shinichi Kobayashi - Electric Guitar Speed Playing Tutorial

Hell Training Rock Guitar by Shinichi Kobayashi - Electric Guitar Speed Playing Tutorial

$106.00

Mai Da Chu Commercial Food Warmer Cabinet, Large-Capacity Constant-Temperature Heating Cart for Banquets, Hotels, and Kitchens

Mai Da Chu Commercial Food Warmer Cabinet, Large-Capacity Constant-Temperature Heating Cart for Banquets, Hotels, and Kitchens

$8,165.00

Children's Activity Appliance Storage Box - Case for Braces, Underbite Correctors, Expanders, and Denture Cleaning

Children's Activity Appliance Storage Box - Case for Braces, Underbite Correctors, Expanders, and Denture Cleaning

$16.80

Stainless Steel Cable Raceway Arc-Shaped Anti-Step Floor Metal Surface Mount Decorative Invisible Wire Channel

Stainless Steel Cable Raceway Arc-Shaped Anti-Step Floor Metal Surface Mount Decorative Invisible Wire Channel

$2.50

Electric Watercolor Spray Pen Children Hand-painted Color Pa

Electric Watercolor Spray Pen Children Hand-painted Color Pa

$46.55

408 Fast-Drying Glue - Strong Low-Whitening Instant Adhesive for Metal and Plastic, Heat Resistant

408 Fast-Drying Glue - Strong Low-Whitening Instant Adhesive for Metal and Plastic, Heat Resistant

$53.12

UE5.1-5.7 Ancient Sci-Fi Gate Model Instrument Consultation

UE5.1-5.7 Ancient Sci-Fi Gate Model Instrument Consultation

$2.00

Biliansheng Hair Transplant - Non-Shave Female Hairline Restoration & Density Enhancement

Biliansheng Hair Transplant - Non-Shave Female Hairline Restoration & Density Enhancement

$19,999.00

Water Brush Pen Set Large Capacity Beginner Gouache Solid Watercolor Paint Brush Tools Line Drawing Art Student

Water Brush Pen Set Large Capacity Beginner Gouache Solid Watercolor Paint Brush Tools Line Drawing Art Student

$32.00

Beginner Watercolor Painting Line Art Coloring Book, Hua Meng Lv Ren by Stan, Fine Texture, 2-Pack Free Shipping

Beginner Watercolor Painting Line Art Coloring Book, Hua Meng Lv Ren by Stan, Fine Texture, 2-Pack Free Shipping

$10.60

New Wanli Tire 265/45R21 SU306+ - Compatible with AITO M7, BYD Tang, Range Rover, Li Auto, and NIO

New Wanli Tire 265/45R21 SU306+ - Compatible with AITO M7, BYD Tang, Range Rover, Li Auto, and NIO

$528.00

Suzhou Factory Wholesale Chain Store Logo - RGB Illuminated Letters, Acrylic Neon Signs for Window and Counter Display

Suzhou Factory Wholesale Chain Store Logo - RGB Illuminated Letters, Acrylic Neon Signs for Window and Counter Display

$1,911.00

RoHS 1.0 Environmental Tester for Alloy Analysis and Heavy Metal Detection in Plastic Toys

RoHS 1.0 Environmental Tester for Alloy Analysis and Heavy Metal Detection in Plastic Toys

$15.30

Mont Marte Long-Handle Bristle Brush – Professional Art Brush for Acrylics, Oil Painting, and Flat Wash Techniques

Mont Marte Long-Handle Bristle Brush – Professional Art Brush for Acrylics, Oil Painting, and Flat Wash Techniques

$37,500.00

Portable Plastic Backpack Fertilizer Bucket for Manual Fruit Picking, Seed Feeding, and PPC Fertilization

Portable Plastic Backpack Fertilizer Bucket for Manual Fruit Picking, Seed Feeding, and PPC Fertilization

$9.50

Chinese-Style Hand-Drawn Plant Line Art Coloring Book on 100% Cotton Watercolor Paper

Chinese-Style Hand-Drawn Plant Line Art Coloring Book on 100% Cotton Watercolor Paper

$15.80

Eagle Brand 99021 Industrial Scouring Pads, Cleaning Cloths, and Polishing Pads Supply

Eagle Brand 99021 Industrial Scouring Pads, Cleaning Cloths, and Polishing Pads Supply

$666.00

Pad Printing Machine Parts - Zhongke 4-Inch Blade Clamp, Blade Holder, and Doctor Blade Frame (In Stock)

Pad Printing Machine Parts - Zhongke 4-Inch Blade Clamp, Blade Holder, and Doctor Blade Frame (In Stock)

$4.50

Pneumatic Throttle Valve Quick Connect Fitting SL4-01/4-02/4-03 Air Pressure Regulator Flow Control Valve

Pneumatic Throttle Valve Quick Connect Fitting SL4-01/4-02/4-03 Air Pressure Regulator Flow Control Valve

$8.60

Pad Printing Silicone Rubber Heads Electric Long Round Square Durable Customizable 30-Year Established Store

Pad Printing Silicone Rubber Heads Electric Long Round Square Durable Customizable 30-Year Established Store

$3.00

Specialized Vegetable Growing Box - Foam Balcony Planter, Rectangular Plastic Pot for Home Gardening

Specialized Vegetable Growing Box - Foam Balcony Planter, Rectangular Plastic Pot for Home Gardening

$41.70

Candy Naoko Gujima Mr. Saxophone City Pop Sheet Music with Accompaniment Demo

Candy Naoko Gujima Mr. Saxophone City Pop Sheet Music with Accompaniment Demo

$37.00

Multi-Color Detachable Water Bucket Stand - Office Purified Water Dispenser Holder (Inverted)

Multi-Color Detachable Water Bucket Stand - Office Purified Water Dispenser Holder (Inverted)

$60.95

Oil-Based Original Strong Fast-Drying Adhesive for Metal, Plastic, Rubber, Ceramics, and Wood, Multi-Purpose Transparent Glue (Not 502)

Oil-Based Original Strong Fast-Drying Adhesive for Metal, Plastic, Rubber, Ceramics, and Wood, Multi-Purpose Transparent Glue (Not 502)

$21.60

Jay Chou - Feng BROTHER_CHAO Piano Accompaniment Sheet Music

Jay Chou - Feng BROTHER_CHAO Piano Accompaniment Sheet Music

$50.00

Toplip Automatic Retractable Air Hose Reel, Water Drum, High-Pressure Foam Drum for Pneumatic Tools and Auto Repair

Toplip Automatic Retractable Air Hose Reel, Water Drum, High-Pressure Foam Drum for Pneumatic Tools and Auto Repair

$118.00

500L Yogurt Production Line - Stand-Up Pouch Filling Machine with Complete Dairy Processing Equipment and Fermentation Tank

500L Yogurt Production Line - Stand-Up Pouch Filling Machine with Complete Dairy Processing Equipment and Fermentation Tank

$13,720.00