Skip to main content
Home / Computer Hardware, Monitors & Peripherals / Ultrasonic Sensor Module HC-SR04 for Arduino and Raspberry Pi

Attributes

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

5 reviews

A

Anonymous

Mar 12, 2026

Rating: 3/5

Sensitive to noise

Works okay but struggled in a noisy environment. Fine for indoor use.

A

Anonymous

Mar 09, 2026

Rating: 5/5

Fast delivery

Package arrived quickly. Sensor was well protected in anti-static bag.

A

Anonymous

Feb 27, 2026

Rating: 5/5

Reliable measurement

Tested up to 3 meters accurately. Great for obstacle avoidance.

A

Anonymous

Jan 31, 2026

Rating: 4/5

Good value

Sensor works well but requires a voltage divider for 3.3V logic.

A

Anonymous

Jan 17, 2026

Rating: 5/5

Perfect for robotics

Works exactly as described. Easy to interface with Arduino Uno.

5 FAQ

Q: Is there a library available?

A: Yes, many open-source libraries exist for Arduino and Raspberry Pi.

Q: Can I use this directly with 3.3V GPIO?

A: We recommend a voltage divider for the Echo pin when using 3.3V boards.

Q: Does it work outdoors?

A: It can, but wind and temperature may affect accuracy.

Q: Can I connect multiple sensors?

A: Yes, but ensure trigger and echo pins are managed separately in code.

Q: What is the accuracy?

A: Typically within 3mm under ideal conditions.

Explore your interests

View More
All Categories
Best Seller (30)
New List (30)
Natural Wheat Straw Baby Rattle - Children's Musical Instrument Toy, Maraca, Shaker Bell for Newborns - Orff Music Instrument

Natural Wheat Straw Baby Rattle - Children's Musical Instrument Toy, Maraca, Shaker Bell for Newborns - Orff Music Instrument

$10.80

CANDLE.LAB | 100% Cotton Unwaxed Candle Wick Roll - Thin Stem Chandelier Candle Making Supplies #31

CANDLE.LAB | 100% Cotton Unwaxed Candle Wick Roll - Thin Stem Chandelier Candle Making Supplies #31

$25.00

Pneumatic Rotary Vibrator - Feiyu GT25 Pneumatic Vibrator - Quality Guaranteed

Pneumatic Rotary Vibrator - Feiyu GT25 Pneumatic Vibrator - Quality Guaranteed

$997.00

Quick-Frozen Vegetable Deodorizing Sterilization Washer IRW Zhongfang Ready-to-Cook Vegetable Production Washing Line Semi-Finished Vegetable Processing Oxygen Equipment

Quick-Frozen Vegetable Deodorizing Sterilization Washer IRW Zhongfang Ready-to-Cook Vegetable Production Washing Line Semi-Finished Vegetable Processing Oxygen Equipment

$27,000.00

KETELES 105R7120 Carbon Fiber Road Bike - Lightweight Racing Bicycle with Gear Shifter

KETELES 105R7120 Carbon Fiber Road Bike - Lightweight Racing Bicycle with Gear Shifter

$11,339.00

Natural White Crystal Sugar Cube DIY Crystal Jewelry Accessories Materials Irregular White Crystal Blocks

Natural White Crystal Sugar Cube DIY Crystal Jewelry Accessories Materials Irregular White Crystal Blocks

$2.50

Foldable Silicone Brush Washing Bucket - Portable Water Container for Calligraphy and Painting Students

Foldable Silicone Brush Washing Bucket - Portable Water Container for Calligraphy and Painting Students

$8.42

Cute Cartoon Bird Ceramic Brush Washer - Decorative Pen Cleaning Cup and Photo Prop

Cute Cartoon Bird Ceramic Brush Washer - Decorative Pen Cleaning Cup and Photo Prop

$12.60

Kitchen Storage Rack with Drainage Tray – Organizer for Dishcloths, Faucets, Sink Areas, and Dishwashing Supplies

Kitchen Storage Rack with Drainage Tray – Organizer for Dishcloths, Faucets, Sink Areas, and Dishwashing Supplies

$4.15

Sheng Y Graffiti Paint Brush Set, Children's Stationery Kit with Art Watercolor Pens, Factory Direct Gift Supplies

Sheng Y Graffiti Paint Brush Set, Children's Stationery Kit with Art Watercolor Pens, Factory Direct Gift Supplies

$49.10

Ningbo Manufacturer Display and Storage Rack, Wall-Mounted Tire Storage for Home Garage, Customizable Wall Tire Rack

Ningbo Manufacturer Display and Storage Rack, Wall-Mounted Tire Storage for Home Garage, Customizable Wall Tire Rack

$237.60

Universal Low-Temperature 3D Printing Pen Filament PCL, Eco-Friendly Material Wire 1.75mm Compatible with Deli Pens, 40 Color Options

Universal Low-Temperature 3D Printing Pen Filament PCL, Eco-Friendly Material Wire 1.75mm Compatible with Deli Pens, 40 Color Options

$3.80

Automatic Feeder - Stainless Steel Food Machinery Accessory Equipment

Automatic Feeder - Stainless Steel Food Machinery Accessory Equipment

$20,150.00

Henkel Loctite Super Glue Series: 401, 406, 460, 480, 495, 4011, 4161, 496, 382, 410

Henkel Loctite Super Glue Series: 401, 406, 460, 480, 495, 4011, 4161, 496, 382, 410

$28.00

Over-Toilet Storage Rack with Tissue Organizer for Bathroom, Vanity, and Shower Gel - Multi-Use Bathroom Shelf

Over-Toilet Storage Rack with Tissue Organizer for Bathroom, Vanity, and Shower Gel - Multi-Use Bathroom Shelf

$27.66

15-inch Carbon Fiber FPV Drone Frame - High-Strength Quadcopter Aerial Photography Chassis Direct Sale

15-inch Carbon Fiber FPV Drone Frame - High-Strength Quadcopter Aerial Photography Chassis Direct Sale

$396.44

Petal-Shaped Ceramic Tea Scoop and Holder for Gongfu Tea Ceremony

Petal-Shaped Ceramic Tea Scoop and Holder for Gongfu Tea Ceremony

$97.00

Scented Candle Waxing Cotton Wick with Base Wick Fixer Sticker DIY Materials

Scented Candle Waxing Cotton Wick with Base Wick Fixer Sticker DIY Materials

$0.35

Stainless Steel Fish Tank Converter - Bucket to Aquarium Adapter with Inverted Stand and Faucet Spout for Mineral Water Jugs

Stainless Steel Fish Tank Converter - Bucket to Aquarium Adapter with Inverted Stand and Faucet Spout for Mineral Water Jugs

$13.58

Non-woven Cleaning Cloths, Lint-free Wiping Rags, Oil-absorbing Paper, Machine Cleaning Cloth, Dust Removal Cloth for Subway Use (No Washing Required)

Non-woven Cleaning Cloths, Lint-free Wiping Rags, Oil-absorbing Paper, Machine Cleaning Cloth, Dust Removal Cloth for Subway Use (No Washing Required)

$138.00

Large Paint Brush Set - Watercolor Pen Kit for Children's Day Art and Drawing

Large Paint Brush Set - Watercolor Pen Kit for Children's Day Art and Drawing

$31.25

Foldable Car Tire Stone Removal Tool, Explosion-Proof Scraper Hook for Extracting Pebbles from Tires

Foldable Car Tire Stone Removal Tool, Explosion-Proof Scraper Hook for Extracting Pebbles from Tires

$19.53

Black Swan Watercolor, Gouache, and Acrylic Paint Brush Set - Professional Art Painting Tools for Numbered Paint-by-Number Kits

Black Swan Watercolor, Gouache, and Acrylic Paint Brush Set - Professional Art Painting Tools for Numbered Paint-by-Number Kits

$6.80

Jiangchuan 800 Roll-to-Roll Oil-Heated Roller Heat Transfer Machine – Digital Sublimation Printer for Curtain Fabric Rolls

Jiangchuan 800 Roll-to-Roll Oil-Heated Roller Heat Transfer Machine – Digital Sublimation Printer for Curtain Fabric Rolls

$147,743.75

Traditional Handcrafted Wooden Rattle for Newborns – Safe for Teething, Intangible Cultural Heritage Toy

Traditional Handcrafted Wooden Rattle for Newborns – Safe for Teething, Intangible Cultural Heritage Toy

$10.10

All-Season Quiet and Comfortable Vacuum Tires for Buick Enclave 2013-2014 - Custom Fit, Wear-Resistant

All-Season Quiet and Comfortable Vacuum Tires for Buick Enclave 2013-2014 - Custom Fit, Wear-Resistant

$458.00

Mia Core Paper Stump and Blending Knife Set, Double-Ended Blending Pen for Sketching, Art Student Drawing Tools (S/M/L)

Mia Core Paper Stump and Blending Knife Set, Double-Ended Blending Pen for Sketching, Art Student Drawing Tools (S/M/L)

$4.28

Feileniao Gongbi Painting Draft Sheets – Pre-Outlined Bird-and-Flower Designs on Sized Xuan Paper for Color Filling Practice

Feileniao Gongbi Painting Draft Sheets – Pre-Outlined Bird-and-Flower Designs on Sized Xuan Paper for Color Filling Practice

$8.42

Automatic Retractable Air Hose Reel, Electronic Drum, Water Drum, Yarn Clamp, Air Pump Hose for Auto Repair, Beauty, Gardening, and Washing

Automatic Retractable Air Hose Reel, Electronic Drum, Water Drum, Yarn Clamp, Air Pump Hose for Auto Repair, Beauty, Gardening, and Washing

$280.00

LA Curved Surface Screen Printing Machine - Automatic Cup Printer, Cylindrical Net Printer for Cosmetic Bottles

LA Curved Surface Screen Printing Machine - Automatic Cup Printer, Cylindrical Net Printer for Cosmetic Bottles

$26,750.00