Skip to main content
Home / Computer Hardware, Monitors & Peripherals / HC-SR04 Ultrasonic Module HC-SR04 Ultrasonic Supports 51/STM32

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 - 400cm
Measuring Angle 15 degrees
Trigger Input Signal 10uS TTL pulse
Echo Output Signal TTL level signal
Dimensions 45mm x 20mm x 15mm
Weight 8g
Interface 4-Pin (VCC, Trig, Echo, GND)

5 reviews

A

Anonymous

Mar 31, 2026

Rating: 5/5

Great for learning

Used this for my university robotics project. Easy to code and integrate with standard libraries.

A

Anonymous

Mar 28, 2026

Rating: 3/5

Sensitive to interference

Works well indoors but struggles with noise in my workshop. Shielding might be required.

A

Anonymous

Mar 26, 2026

Rating: 5/5

Reliable and cheap

Bought a pack of five. All worked out of the box. Highly recommended for prototyping.

A

Anonymous

Feb 05, 2026

Rating: 5/5

Perfect for STM32 projects

Works flawlessly with my STM32 board. Distance readings are consistent and easy to interpret.

A

Anonymous

Jan 20, 2026

Rating: 4/5

Good value sensor

Solid performance for the price. Just remember it needs 5V logic levels for best results.

5 FAQ

Q: Can this run on 3.3V logic?

A: The module requires 5V power, but echo output is 5V. Use a voltage divider for 3.3V MCUs.

Q: Is there a library available?

A: Yes, many Arduino and STM32 libraries support HC-SR04 out of the box.

Q: What is the accuracy?

A: Typical accuracy is around 3mm under ideal conditions.

Q: Does it work underwater?

A: No, this is an air-based ultrasonic sensor. It is not waterproof.

Q: Can I use multiple sensors?

A: Yes, but ensure trigger pins are managed sequentially to avoid cross-talk.

Explore your interests

View More
All Categories
Best Seller (30)
New List (30)
Tire Stone Removal Hook with Built-in Screwdriver - Multi-Function Tool for Tire Cleaning, Window Breaking, and Self-Defense

Tire Stone Removal Hook with Built-in Screwdriver - Multi-Function Tool for Tire Cleaning, Window Breaking, and Self-Defense

$8.90

Blower Motor Compatible with Hummer H3, Hummer H2, and Cadillac Escalade

Blower Motor Compatible with Hummer H3, Hummer H2, and Cadillac Escalade

$340.00

Custom Fertilizer Integration Machine for Agriculture and Landscaping - Smart Quantitative Mobile Filtration System

Custom Fertilizer Integration Machine for Agriculture and Landscaping - Smart Quantitative Mobile Filtration System

$1,960.00

High-Speed Cell Sieve with Handle - Stainless Steel Laboratory Sieves (100, 200, 300, 400, 600 Mesh)

High-Speed Cell Sieve with Handle - Stainless Steel Laboratory Sieves (100, 200, 300, 400, 600 Mesh)

$61.74

Stainless Steel Food Warmer for Hotels and Breakfast Buffets - Commercial Flip-Top Chafing Dish with Insulation; Compatible with Induction Cookers

Stainless Steel Food Warmer for Hotels and Breakfast Buffets - Commercial Flip-Top Chafing Dish with Insulation; Compatible with Induction Cookers

$1,288.00

Marie's Blending Stumps Set for Sketching and Shading, Professional Art Supplies for Students

Marie's Blending Stumps Set for Sketching and Shading, Professional Art Supplies for Students

$2.55

National Standard JB/ZQ4606-86 Felt Oil Seal Ring - Bearing Oil Absorption, Dustproof, Industrial Wool Felt Gasket Strip

National Standard JB/ZQ4606-86 Felt Oil Seal Ring - Bearing Oil Absorption, Dustproof, Industrial Wool Felt Gasket Strip

$0.50

Qingzhu Sketching Eraser Knife and Paper Stump Tool Set for Art Students - Includes Replacement Tips, Gray Surface Pens, Makeup Sponge Blenders, Cotton Swabs, Foam Balls, Soft Blending Pens, Precision Insert Knives, and Sketch Eraser Balls

Qingzhu Sketching Eraser Knife and Paper Stump Tool Set for Art Students - Includes Replacement Tips, Gray Surface Pens, Makeup Sponge Blenders, Cotton Swabs, Foam Balls, Soft Blending Pens, Precision Insert Knives, and Sketch Eraser Balls

$7.20

4-Leg Chain Rigging Set - Alloy Steel Lifting Tool (1-200 Tons) with Multi-Leg Electromagnetic Chuck

4-Leg Chain Rigging Set - Alloy Steel Lifting Tool (1-200 Tons) with Multi-Leg Electromagnetic Chuck

$52.50

Commercial 1.8/2.2m Food Warmer Cabinet for Fried Chicken and Burger Shops, French Fry Heating Unit, 1.5m Two-Way Pickup Display Case

Commercial 1.8/2.2m Food Warmer Cabinet for Fried Chicken and Burger Shops, French Fry Heating Unit, 1.5m Two-Way Pickup Display Case

$3,573.50

Commercial Electric Heated Stainless Steel Fast Food Serving Counter Soup Warmer Buffet Cart

Commercial Electric Heated Stainless Steel Fast Food Serving Counter Soup Warmer Buffet Cart

$842.00

Natural Crystal White Azeztulite Loose Beads with Rainbow Luster for DIY Necklaces, Bracelets, and Jewelry Making

Natural Crystal White Azeztulite Loose Beads with Rainbow Luster for DIY Necklaces, Bracelets, and Jewelry Making

$5.54

Ai Zao Fang Six-Cavity Oval Totem Handmade Soap Silicone Mold - Yields Approx. 115g per Bar

Ai Zao Fang Six-Cavity Oval Totem Handmade Soap Silicone Mold - Yields Approx. 115g per Bar

$17.70

Zunjue Wire-Bound 8K Watercolor Notebook 300g Watercolor Sketchbook Loose-Leaf Portable 16K Water-Soluble Colored Pencil Notebook Coil-Bound 32K Medium Coarse Fine Grain 200g Kids Students A4 Watercolor Notebook Plein Air Sketch Drawing Book

Zunjue Wire-Bound 8K Watercolor Notebook 300g Watercolor Sketchbook Loose-Leaf Portable 16K Water-Soluble Colored Pencil Notebook Coil-Bound 32K Medium Coarse Fine Grain 200g Kids Students A4 Watercolor Notebook Plein Air Sketch Drawing Book

$7.65

Yuan Dynasty Calligraphy by Zhao Mengfu - Small Regular Script Diamond Sutra Brush Tracing Long Scroll Copybook, Original Version, Wholesale and Customization Available

Yuan Dynasty Calligraphy by Zhao Mengfu - Small Regular Script Diamond Sutra Brush Tracing Long Scroll Copybook, Original Version, Wholesale and Customization Available

$15.00

Kodak Photo Printing Service - High-Definition Prints from Your Phone with Lamination and Album Binding

Kodak Photo Printing Service - High-Definition Prints from Your Phone with Lamination and Album Binding

$12.47

Shenzhen Custom Storefront Signage and Lightbox Installation - Illuminated Letters and Shop Plaques

Shenzhen Custom Storefront Signage and Lightbox Installation - Illuminated Letters and Shop Plaques

$50.00

Automotive AC Refrigerant Gauge Set – R134a Pressure Meter with Dual Valve Tool for Home R22/R410 Air Conditioning Systems

Automotive AC Refrigerant Gauge Set – R134a Pressure Meter with Dual Valve Tool for Home R22/R410 Air Conditioning Systems

$329.00

Complete Collection of Taoist Talisman Art Copybooks - Zhengyi Thirty-Six Generals, Calligraphy Practice Sheets with Stroke Order and Red Tracing, Classic Taoist Calligraphy

Complete Collection of Taoist Talisman Art Copybooks - Zhengyi Thirty-Six Generals, Calligraphy Practice Sheets with Stroke Order and Red Tracing, Classic Taoist Calligraphy

$38.00

Marie's Blending Knife Replacement Head Set Sketch Blending Tools Sponge Stumps Paper Stumps for Art Students

Marie's Blending Knife Replacement Head Set Sketch Blending Tools Sponge Stumps Paper Stumps for Art Students

$4.25

French Imported Arches Watercolor Paper - Handmade 100% Cotton, 300g-850g, Medium/Rough Grain, Extra-Large Rolls and Sheets (4K, Full, Half, Quarter)

French Imported Arches Watercolor Paper - Handmade 100% Cotton, 300g-850g, Medium/Rough Grain, Extra-Large Rolls and Sheets (4K, Full, Half, Quarter)

$33.10

Commercial Countertop Food Warmer Display Case - For Fried Chicken, Burgers, Egg Tarts, Pies, Youtiao, and Shaobing

Commercial Countertop Food Warmer Display Case - For Fried Chicken, Burgers, Egg Tarts, Pies, Youtiao, and Shaobing

$720.00

Integrated Hospital Wastewater Treatment Unit Underground Integrated Sanitary System Sewage Discharge Unit Eco-Friendly Wastewater

Integrated Hospital Wastewater Treatment Unit Underground Integrated Sanitary System Sewage Discharge Unit Eco-Friendly Wastewater

$10,000.00

Double Loop Lifting Chain with Rebar Bottom Hook - Manganese Steel Sling for Heavy Duty Rigging

Double Loop Lifting Chain with Rebar Bottom Hook - Manganese Steel Sling for Heavy Duty Rigging

$29.00

Screw Press Screw Sludge Dewatering Machine Sewage Treatment Equipment Rotary Type

Screw Press Screw Sludge Dewatering Machine Sewage Treatment Equipment Rotary Type

$17,600.00

Imported INA Needle Roller Bearings: 9NA, NA 2940, 4R22, 4924, 4926, 4928, 4930-XL A

Imported INA Needle Roller Bearings: 9NA, NA 2940, 4R22, 4924, 4926, 4928, 4930-XL A

$109.00

High-Purity Nitrogen Generator for Reflow Soldering and Wave Soldering - Efficient Energy-Saving Transformer Protection for Electronics Factories

High-Purity Nitrogen Generator for Reflow Soldering and Wave Soldering - Efficient Energy-Saving Transformer Protection for Electronics Factories

$46,100.00

Baohong Watercolor Paper 300g Wood Pulp Medium Grain A3 Full Sheet, Coarse/ Fine Grain Academy Grade 4K, A2, A1, A4 Artist Paper 2K for Art Students

Baohong Watercolor Paper 300g Wood Pulp Medium Grain A3 Full Sheet, Coarse/ Fine Grain Academy Grade 4K, A2, A1, A4 Artist Paper 2K for Art Students

$3.40

Manyue Handmade Natural Soy Wax and White Beeswax for DIY Low-Temperature Scented Candles – Includes Candle Cups and Jelly Wax

Manyue Handmade Natural Soy Wax and White Beeswax for DIY Low-Temperature Scented Candles – Includes Candle Cups and Jelly Wax

$5.46

Car Tire Stone Removal Tool Hook and Rake for Cleaning Tread Debris

Car Tire Stone Removal Tool Hook and Rake for Cleaning Tread Debris

$4.53