Skip to main content
Home / Computer Hardware, Monitors & Peripherals / Distance Sensor Transmitter/Receiver Ultrasonic Ranging Module Ultrasonic Sensor

Attributes

Brand -
Category Electronic Components / Maker DIY / Computer Hardware, Monitors & Peripherals
Origin -
Brand Xinwei
Model Number XW-HC-SR04
Supply Voltage 5V DC
Measuring Range 2cm to 400cm
Resolution 3mm
Interface Type GPIO / UART
Operating Temperature -20 to 70 Celsius
Product Size 45 x 20 x 15 mm
Net Weight 12 grams
Warranty 1 Year Limited

5 reviews

A

Anonymous

Mar 14, 2026

Rating: 3/5

Documentation needed

Hardware is fine but guide was vague. Had to search online for proper wiring diagrams.

A

Anonymous

Feb 27, 2026

Rating: 4/5

Good accuracy

Works well indoors, struggles slightly outdoors with wind noise, but overall good value for the price.

A

Anonymous

Feb 23, 2026

Rating: 5/5

Excellent module

Very stable readings over time. I have been using it in a tank level monitoring system without issues.

A

Anonymous

Feb 16, 2026

Rating: 5/5

Great for robotics

Integrated easily with my Arduino Uno project. The readings are stable and consistent for indoor navigation.

A

Anonymous

Feb 01, 2026

Rating: 5/5

Fast delivery

Product matches description perfectly. Arrived well packaged and tested working immediately.

5 FAQ

Q: Can it detect transparent objects?

A: Ultrasonic waves may pass through some transparent materials, detection is not guaranteed.

Q: Does it come with mounting hardware?

A: No, please use standard M3 screws for mounting the module to your chassis.

Q: What is the trigger signal requirement?

A: Requires a 10us TTL pulse to trigger the measurement cycle.

Q: Does this support 3.3V microcontrollers?

A: It operates at 5V, use a level converter for 3.3V logic systems to ensure safety.

Q: Is there a maximum sampling rate?

A: Recommended interval is 60ms between measurements to avoid echo interference.

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