Follow us on
Facebook Twitter
Login / Register
Robot R Us Robot R Us
0 items / $0.00
Menu
Menu
Robot R Us Robot R Us
0 items / $0.00
HomeSensorsUltrasonic HC-SR04 Ultrasonic Ranging Sensor
Previous product
2MP CSI Camera for pcDuino3 $9.70
Back to products
Next product
Placeholder
Omni Caster Wheel $2.80

HC-SR04 Ultrasonic Ranging Sensor

$2.50

HC-SR04 has stable performance and high ranging accuracy. HC-SR04 is inexpensive but it has the same ranging accuracy and longer ranging distance than more expensive version.

25 in stock

Usually ships in 2 - 3 days
Share
Facebook Twitter linkedin WhatsApp WhatsApp Telegram
  • Description
Description

HC-SR04 has stable performance and high ranging accuracy. HC-SR04 is inexpensive but it has the same ranging accuracy and longer ranging distance than more expensive version.

Specification

  • Power supply: 5V DC
  • Effectual angle: < 30 degrees
  • Ranging distance: 2cm to 500 cm
  • Resolution: 1 cm
  • Ultrasonic Frequency: 40k Hz

A short ultrasonic pulse is transmitted at the time 0, reflected by an object. The senor receives this signal and converts it to an electric signal. The next pulse can be transmitted when the echo is faded away. This time period is called cycle period. The recommend cycle period should be no less than 50ms. If a 10μs width trigger pulse is sent to the signal pin, the Ultrasonic module will output eight 40kHz ultrasonic signal and detect the echo back. The measured distance is proportional to the echo pulse width and can be calculated by the formula above. If no obstacle is detected, the output pin will give a 38ms high level signal.

Sample application

#include 
Ultrasonic ultrasonic(12,13);//Init an Ultrasonic object
int Distance;
void setup() {
Serial.begin(9600);
}

void loop()
{
 Distance=ultrasonic.Ranging(CM);//get the current result;
 delay(100);
 Serial.print("the distance is ");
 Serial.println(Distance);
 delay(1000);
}

References

  • Sample Tutorial
  • Get Ultrasonic library here: http://freecode.com/projects/hc-sr04-ultrasonic-arduino-library

Related products

Close

SRF10 Mounting Kit

$7.00
Add to cart
Close

9-axis MEMS IMU Breakout (MPU-9250)

$17.70
Add to cart
Close

10KG Scale Load Cell

$6.30
Add to cart
Close

LSM303DLHC Compass 3 Axis Accelerometer + 3 Axis Magnetometer

$11.50
Add to cart
Close

Analog EMG Sensor

$57.00
Add to cart
Close

Tiny DS1307 Real Time Clock Module (without battery)

$1.50
Add to cart
Sold out
Close

Electret Microphone Amplifier – MAX4466 with Adjustable Gain

$11.70
Read more
Close

Weight Sensor Amplifier- HX711

$1.80
Add to cart
close

No GST

Purchasing outside of Singapore? Click here!

Product categories
  • ANDROID Stuff
  • Arduino stuff
    • Board
    • Education Kit
    • MISC
    • Shield
  • Audio
    • Sound
    • Voice
  • Books
  • Display & Graphics
    • EL Wire
    • LCD
    • LED
  • DMX Controller
  • Ethernet
  • FPGA
    • CPLD
    • FPGA Kit
    • MISC Boards & Cable
    • PMOD Module
  • Green Energy
  • Logger / Analog / Digital
    • Analog
    • Digital
    • Logger
  • Logic / IO
  • Mechanical
    • MB
    • MISC
  • Medical
  • Microbit Stuff
  • MicroControllers
  • Motor
    • Accessories
    • Brushed
    • Brushless
    • Linear Stroke
    • Motor Controller/Driver
    • Pump (Liquid)
    • Pump (Vacumm)
    • RC Servos
    • Robot Servo
    • Servo Controller
    • Stepper
    • Vibration
  • NI myRIO & myDAQ Accessories
  • Power
    • Battery
    • Charger
    • Power Regulator
  • Programmer / Serial Interface
  • Proto Parts
    • Cable / Wires
    • Components
    • Connectors
    • Cooler
    • Proto Board
    • SMT Board
    • Switch / Button / Joystick
    • USB / uDrive
  • Radio Control Stuff
    • Interface Circuit
    • Propeller
    • Speed Control
  • Raspberry Pi Stuff
  • Relay Modules
  • RF ID System
  • Robot
    • Chassis
    • Humanoid
    • Kit
  • Sensors
    • Accelerometer / Compass / Inertia / Gyro
    • Current / Voltage
    • Dust
    • EMG (Neural)
    • Fingerprint
    • Force / Flex / Pressure
    • Gas / Liquid / Flow / Water / Moisture
    • GPS Module
    • Heart Pulse
    • Light / UV / Flame / Color / Laser/ Infrared
    • Magnet
    • MicroMouse
    • Motion / Gesture / Encoder
    • Sound / Voice
    • Temperature / Humidity
    • Timer / Clock
    • Touch / Switch
    • Ultrasonic
    • Vibration
  • Test & Measurement
  • Vision
    • Cameras
    • Lens / Shields
  • Wearable Electronics
  • Wheel
    • Mecanum
    • Omni
    • Tracks / Casters
  • Wireless
    • 2.4 GHz
    • Bluetooth
    • MISC
    • WiFI
    • Xbee
  • Xpecial Offer
About Us
We at ROBOT R US believe that robots will the next big technological leap after the creation of the personal computer. With this believe in mind, we want to provide a wide range of robotic education and products to schools and robot-centric individuals to prepare for this exciting future.
Useful links
  • Terms and Conditions
  • Payment and Shipment
  • Privacy Policy
  • Contact Us
Contact Us
Queries? Write to us at sales@robot-r-us (dot) com for more information.
Shop
0 Wishlist
0 items Cart
My account
  • Menu
  • Categories
  • ANDROID Stuff
  • Arduino stuff
    • Board
    • Education Kit
    • Shield
    • MISC
  • Audio
    • Sound
    • Voice
  • Books
  • Display & Graphics
    • EL Wire
    • LCD
    • LED
  • DMX Controller
  • Ethernet
  • FPGA
    • CPLD
    • MISC Boards & Cable
    • FPGA Kit
    • PMOD Module
  • Green Energy
  • Logger / Analog / Digital
    • Analog
    • Digital
    • Logger
  • Logic / IO
  • Mechanical
    • MISC
  • Medical
  • Microbit Stuff
  • MicroControllers
  • Motor
    • Accessories
    • Brushed
    • Brushless
    • Motor Controller/Driver
    • Pump (Liquid)
    • Pump (Vacumm)
    • RC Servos
    • Robot Servo
    • Servo Controller
    • Stepper
    • Vibration
  • NI myRIO & myDAQ Accessories
  • Power
    • Charger
    • Battery
    • Power Regulator
  • Programmer / Serial Interface
  • Proto Parts
    • Cable / Wires
    • Components
    • Connectors
    • Cooler
    • Proto Board
    • SMT Board
    • Switch / Button / Joystick
    • USB / uDrive
  • Radio Control Stuff
    • Interface Circuit
    • Propeller
    • Speed Control
  • Raspberry Pi Stuff
  • Relay Modules
  • RF ID System
  • Robot
    • Chassis
    • Humanoid
    • Kit
  • Sensors
    • Accelerometer / Compass / Inertia / Gyro
    • Current / Voltage
    • Dust
    • EMG (Neural)
    • Fingerprint
    • Force / Flex / Pressure
    • Gas / Liquid / Flow / Water / Moisture
    • GPS Module
    • Light / UV / Flame / Color / Laser/ Infrared
    • Magnet
    • MicroMouse
    • Motion / Gesture / Encoder
    • Sound / Voice
    • Temperature / Humidity
    • Timer / Clock
    • Touch / Switch
    • Ultrasonic
    • Vibration
  • Test & Measurement
  • Vision
    • Cameras
    • Lens / Shields
  • Wearable Electronics
  • Wheel
    • Tracks / Casters
    • Mecanum
    • Omni
  • Wireless
    • Bluetooth
    • 2.4 GHz
    • WiFI
    • Xbee
    • MISC
  • Xpecial Offer
  • Home
  • Blog
  • About
  • Contact
  • Wishlist
  • Login / Register

Shopping cart

close
Scroll To Top

No GST charge for our products.

HC-SR04 Ultrasonic Ranging Sensor

$2.50

25 in stock