Dual Ultrasonic Sensor Module for Arduino Projects
Great for robotic applications
SKU: TA0037
Dual Ultrasonic Sensor Module for Arduino Projects
Great for robotic applications
This HC-SR04 dual Ultrasonic Sensor module accurately measures the distance of an object. Great for robotics, obstacle guidance and reverse parking applicatrions.
Features:
- Detecting range: 3cm-4M
- Best in 30 degree angle
- Electronic brick compatible interface
- 5VDC power supply
- Breadboard friendly
- Dual transducer
- Arduino library ready
Specifications:
- Working Voltage : 5V(DC)
- Static current: Less than 2mA.
- Output signal: Electric frequency signal, high level 5V, low level 0V.
- Sensor angle: Not more than 15 degrees.
- Detection distance: 2cm-450cm.
- High precision: Up to 0.3cm
- Working temperature:-20C--+60C
Please download above PDF for Wiring Instructions and Sample Code
3 Month Warranty
Step 1: Components Required
To interface an Ultrasonic Sensor with an Arduino and view the distance on the serial monitor you'll need:
- Arduino Uno
- HC-SR04 Module
- BreadBorad
- Jumper wires
You'll need a laptop or a PC to upload code to the Arduino and view the Distance on the Serial Monitor.
Step 2: A Little About HC-SR04
The HC-SR04 is an ultrasonic ranging module. This economical sensor provides 2cm to 400cm of non-contact measurement functionality with a ranging accuracy that can reach up to 3mm. Each HC-SR04 module includes an ultrasonic transmitter, a receiver and a control circuit.
There are Four Pins on the HC-SR04. They are :
- Vcc (5V supply)
- Gnd (Ground)
- Trig (Trigger)
- Echo (Receive)
The key features to be noted are:
- Operating Voltage: 5V DC
- Operating Current: 15mA
- Measure Angle: 15°
- Ranging Distance: 2cm - 4m
Step 3: The Arduino Serial Monitor
The Serial Monitor is a part of the Arduino IDE. It is also available in the Web IDE. It allows you to send and receive data from the board connected via USB. This is using the concept of Serial Communication.
You can send the commands by typing in the window on the top and pressing 'Enter' or clicking 'Send'. The data from the board is displayed below that.
This is very useful when debugging the code, or if you need to give inputs to the board, This is probably the most useful tool in the IDE. The more you use it, the better you get at testing complex projects that takes inputs and provides consequent outputs.
Step 4: The Circuit
The connections are as follows:
- Vcc to 5V Pin of the Arduino.
- Gnd to Gnd Pin of the Arduino.
- Trig to Digital Pin 9 .
- Echo to Digital Pin 10.
Refer the schematics for more clarity on the connections.
. Few things to remember while building the circuit
- Avoid placing the sensor on metal surfaces to avoid short circuits which might burn the sensor.
- It is recommended to put electrical tape on the back side of the sensor.
- You can also directly connect the Ultrasonic sensor to the Arduino with jumper wires directly.
Step 5: The Code
Step 6: Uploading and Testing
SKU | TA0037 |
Barcode # | 9351634002740 |
Brand | iduino |
Shipping Weight | 0.0600kg |
Shipping Width | 0.130m |
Shipping Height | 0.040m |
Shipping Length | 0.100m |
Shipping Cubic | 0.000520000m3 |
Unit Of Measure | ea |
Ultrasonic Sensor
24 November 2019Can be used in many types of ways. Only 4 pins means fewer wires.
(5)
Great Product
By: Ben Royal on 18 June 2018A+ product at a reasonable price.
(5)
HC SR04 - ultrasonic sensor
By: Harry on 27 April 2017an intuitive and effective sensor for beginners projects, their price also makes them very attractive. for projects for autonomous guidance, consider buying 2 or more of these sensors.
(4)
HC SR04 - ultrasonic sensor
By: Harry on 27 April 2017an intuitive and effective sensor for beginners projects, their price also makes them very attractive. for projects for autonomous guidance, consider buying 2 or more of these sensors.
(4)
Delivery of order
By: Russell Kelly on 1 April 2017All of what I ordered was what I expected and the delivery was faster than what I expected. What else can you ask for .
(5)