Skip to main content
Home / Computer Hardware, Monitors & Peripherals / HC-SR04 Ultrasonic Distance Measurement Module 5V Ranging Sensor for Microcontroller Programming Development Boards

Attributes

Brand -
Category Electronic Components / Maker DIY / Computer Hardware, Monitors & Peripherals
Origin -
Operating Voltage 5V DC
Operating Current 15mA
Operating Frequency 40kHz
Measuring Range 2cm to 400cm
Measuring Angle 15 degrees
Trigger Input Signal 10uS TTL pulse
Echo Output Signal TTL level signal
Module Dimensions 45mm x 20mm x 15mm
Net Weight 8 grams
Interface Type 4-Pin Header

5 reviews

A

Anonymous

Mar 07, 2026

Rating: 5/5

Perfect for Arduino

Works exactly as expected. Easy to wire up with my Uno. Distance readings are consistent within indoor environments.

A

Anonymous

Feb 27, 2026

Rating: 5/5

Standard HC-SR04 quality

If you know this module, you know what you get. Genuine module, good soldering on the pins.

A

Anonymous

Feb 27, 2026

Rating: 4/5

Good value

Solid sensor for the price. Had to tweak the code slightly for better accuracy at close range, but overall happy.

A

Anonymous

Feb 05, 2026

Rating: 5/5

Reliable distance measurement

Bought five of these for a robot car project. All of them functioned perfectly out of the box.

A

Anonymous

Jan 18, 2026

Rating: 5/5

Great for learning

Great for learning ultrasonic sensing. Just remember it needs 5V logic, not 3.3V directly on some pins.

5 FAQ

Q: What is the minimum detection distance?

A: The minimum measurable distance is approximately 2cm. Anything closer may not register accurately.

Q: Does it come with jumper wires?

A: No, this listing is for the module only. Jumper wires are sold separately.

Q: Can I use this outdoors?

A: It can be used outdoors, but wind and temperature may affect accuracy. It is not waterproof.

Q: What library do you recommend for Arduino?

A: The standard NewPing library is highly recommended for better performance than the default example code.

Q: Is this compatible with Raspberry Pi?

A: Yes, but note that the Echo pin outputs 5V. You may need a voltage divider for the GPIO input.

Explore your interests

View More
All Categories
Best Seller (30)
New List (30)
Dust Extraction Sanding Table - Industrial Pulse Cartridge Collector for Polishing, Stone, and Woodworking Dust

Dust Extraction Sanding Table - Industrial Pulse Cartridge Collector for Polishing, Stone, and Woodworking Dust

$600.00

Diamond Tire 255/45R20

Diamond Tire 255/45R20

$518.00

Amusement Park Suspension Bridge - 15m/20m/25m/30m Viral Swing Bridge with Iron and Steel Chains

Amusement Park Suspension Bridge - 15m/20m/25m/30m Viral Swing Bridge with Iron and Steel Chains

$58.00

Paint Spray Catalytic Combustion Equipment - Industrial Exhaust Gas Treatment Device - Activated Carbon Adsorption/Desorption CO Catalytic Combustion

Paint Spray Catalytic Combustion Equipment - Industrial Exhaust Gas Treatment Device - Activated Carbon Adsorption/Desorption CO Catalytic Combustion

$324,999.00

Car Wheel Tire Bolt Rust-Proof Cap Universal Size 17 19 21 Decorative Dust-Proof Protective Cap Cover

Car Wheel Tire Bolt Rust-Proof Cap Universal Size 17 19 21 Decorative Dust-Proof Protective Cap Cover

$15.70

Commercial Electric Vegetable Slicer - Multi-Function Stainless Steel Machine for Potatoes and Canteens

Commercial Electric Vegetable Slicer - Multi-Function Stainless Steel Machine for Potatoes and Canteens

$2,017.28

Irregular Ticket Stub Watercolor Paper Stamp Blank Drawing Paper 300g Cotton Pulp Fine Texture Thickened with Serrated Edges Specialized Paper for Art Students

Irregular Ticket Stub Watercolor Paper Stamp Blank Drawing Paper 300g Cotton Pulp Fine Texture Thickened with Serrated Edges Specialized Paper for Art Students

$5.60

Stainless Steel Electric Buffet Warmer with Visible Lid - Square Flip-Top Chafing Dish for Hotels

Stainless Steel Electric Buffet Warmer with Visible Lid - Square Flip-Top Chafing Dish for Hotels

$251.70

Baohong Cotton Pulp Watercolor Paper Pad 300g Cold/Hot Press, Glued on Four Sides, 16K/8K - Premium Full Cotton Art Paper for Oil Pastels and Professional Artists (Baoding, China)

Baohong Cotton Pulp Watercolor Paper Pad 300g Cold/Hot Press, Glued on Four Sides, 16K/8K - Premium Full Cotton Art Paper for Oil Pastels and Professional Artists (Baoding, China)

$17.00

ORDER Industrial Large Roll Wiper Paper Dispenser, TORK Multi-Convenience Roll Stand

ORDER Industrial Large Roll Wiper Paper Dispenser, TORK Multi-Convenience Roll Stand

$170.00

Lifting Chain Slings Manufacturer, MHU Lifting Gear, G80 Manganese Steel Hoisting Chains, Single and Double Leg Sets

Lifting Chain Slings Manufacturer, MHU Lifting Gear, G80 Manganese Steel Hoisting Chains, Single and Double Leg Sets

$835.00

Multi-Function Bathroom Storage Rack for Toilet, Washroom, and Sanitary Supplies, Over-Toilet Home Organizer

Multi-Function Bathroom Storage Rack for Toilet, Washroom, and Sanitary Supplies, Over-Toilet Home Organizer

$20.30

Portable Travel Art Set for Kids - Watercolor Paint Box with Sketchbook and Mini Drawing Board

Portable Travel Art Set for Kids - Watercolor Paint Box with Sketchbook and Mini Drawing Board

$9.05

Pneumatic Fitting PU Straight Connector Quick-Insert Plastic High-Pressure Air Hose Fitting PU-4681012

Pneumatic Fitting PU Straight Connector Quick-Insert Plastic High-Pressure Air Hose Fitting PU-4681012

$4.90

Chain Sling Lifting Shackle Steel Chain Single Leg with Hooks on Both Ends for Towing, 2m Length, 5 Ton Capacity

Chain Sling Lifting Shackle Steel Chain Single Leg with Hooks on Both Ends for Towing, 2m Length, 5 Ton Capacity

$79.00

Large Brush Set Supply - Watercolor Pen Set for Children's Day Painting, Art, and Coloring

Large Brush Set Supply - Watercolor Pen Set for Children's Day Painting, Art, and Coloring

$25.55

Non-Bleeding Liquid Candle Dye - Macaron Colors for Soy Wax DIY Aromatherapy Candles

Non-Bleeding Liquid Candle Dye - Macaron Colors for Soy Wax DIY Aromatherapy Candles

$21.00

Alloy Wheel Lug Nut Caps Compatible with Buick Excelle, Verano, Regal, LaCrosse, Encore, Cruze, Malibu, and GL8

Alloy Wheel Lug Nut Caps Compatible with Buick Excelle, Verano, Regal, LaCrosse, Encore, Cruze, Malibu, and GL8

$3.40

[Damai Holds Micro-Needle Hair Transplant Patent] AI Robot Precision Hair Transplant | 1000 Units Hairline Planting

[Damai Holds Micro-Needle Hair Transplant Patent] AI Robot Precision Hair Transplant | 1000 Units Hairline Planting

$24,990.00

Premium Ceramic Tea Canister Packaging Box, Empty Gift Box for Black Tea, Pu'er, White Tea, Biluochun, Gift Set Empty Box

Premium Ceramic Tea Canister Packaging Box, Empty Gift Box for Black Tea, Pu'er, White Tea, Biluochun, Gift Set Empty Box

$104.95

Thickened 304 Stainless Steel Planter Box for Home Balcony Vegetable Gardening - Rectangular Large Flower Pot for Rooftop Planting

Thickened 304 Stainless Steel Planter Box for Home Balcony Vegetable Gardening - Rectangular Large Flower Pot for Rooftop Planting

$204.00

Zhongheng Car Tire Stone Hook - Multi-Function Tire Cleaner Tool to Prevent Blowouts

Zhongheng Car Tire Stone Hook - Multi-Function Tire Cleaner Tool to Prevent Blowouts

$7.14

JoanMiro 3D Printing Pen for Kids, Low-Temperature 3D Stereoscopic Drawing Toy, Perfect Gift for Boys and Girls on Children's Day

JoanMiro 3D Printing Pen for Kids, Low-Temperature 3D Stereoscopic Drawing Toy, Perfect Gift for Boys and Girls on Children's Day

$29.90

Stainless Steel Tire Stone Removal Hook - Multi-Function Car Tire Cleaning Tool for Picking and Scraping Stones

Stainless Steel Tire Stone Removal Hook - Multi-Function Car Tire Cleaning Tool for Picking and Scraping Stones

$5.03

Cart Cover Rice Husk Charcoal Premium Plant Ash Grain Shell Carbon Natural Organic Fertilizer for Vegetables Succulents and Flowers

Cart Cover Rice Husk Charcoal Premium Plant Ash Grain Shell Carbon Natural Organic Fertilizer for Vegetables Succulents and Flowers

$6.55

Aojilong Automotive Plastic Restorer – Revives Black Trim, Repairs Aging, Crystal Coating Finish

Aojilong Automotive Plastic Restorer – Revives Black Trim, Repairs Aging, Crystal Coating Finish

$28.80

Hotel Meat Warmer Lamp - Buffet Heating Light for Cafeterias and Restaurants

Hotel Meat Warmer Lamp - Buffet Heating Light for Cafeterias and Restaurants

$5,989.00

Topmodel Children's Watercolor Coloring Book Set with Pens, Baby Graffiti Sketchbook, Fill-in Storybook 3073

Topmodel Children's Watercolor Coloring Book Set with Pens, Baby Graffiti Sketchbook, Fill-in Storybook 3073

$119.09

Children's Potty Training Seat for Boys and Girls, Toddler Toilet Trainer with Urinal Bucket

Children's Potty Training Seat for Boys and Girls, Toddler Toilet Trainer with Urinal Bucket

$17.90

265/70R17 AT Off-Road Tire, Also Available in 205/215/225/235/45/50/55/60R18/20 High-Performance Sizes for 19-inch Wheels

265/70R17 AT Off-Road Tire, Also Available in 205/215/225/235/45/50/55/60R18/20 High-Performance Sizes for 19-inch Wheels

$898.00