You are on page 1of 16
instructables) 2's Make Featured (featured!) Write an Instructablé ebattounsecei | ion Up (ic Classes (/classes!) Contests (contest) Forums (/eommunity/%categoryGroup=all&category=all) _AfWEIRERBAYPe-question!?QRYfe ARGENT Teachers (Neachers!) stectoeant This is a simple guide on how to make a distance detector using an Arduino, a HC-SRO4 Ultrasonic Sensor, a Buzzer, and some LED's. The ultimate goal of this tutorial is to use the buzzer and LED's to display how far the object is from the ultrasonie sensor, Step 1: Materials Needed About This Instructable © 250,064 views Lesnas 147 favorites flynn_munroe (imernberiflynn_mu: Fotiow | 20 ((memberttynn_munroe!) The Materials needed for this project are: (1x) Arduino Uno (1x) Breadboard (1x) HC-SRO4 Ultrasonic Sensor (1) Buzzer (2x) Green LEDs (2x) Yellow LEDs (2x) Red LEDs (7x) 330 ohm Resistors Alot of jumper wires Step 2: Setup | The photo above shows the setup of the project. The jumper wires should be connected as follows: Connect a jumper wire from the 5 volt pin on the Arduino to the bottom channel of the breadboard Connect another jumper wire from a ground pin on the arduino to the upper channel of the breadboard Buzzer -> pin 3 (On Ultrasonic Sensor) Echo > pin 6 Trig > pin 7 (In Order from Right to Left) LED1-> pin 8 LED2 > pin 9 LED3 -> pin 10 LED4-> pin 11 LEDS -> pin 12 LED6 -> pin 13, The jumper wires connected to the LEDs should be connected to the lead on the right, while the left lead of the LED should connected to the ground channel via a 330 ohm resistor. Step 3: Assembly: Breadboard First things first, let's connect the 5 volt and ground pin to the breadboard. ‘Again, the wire attached to the 5 volt pin should be connected to the bottom channel of the breadboard, while the wire attached to the ground pin should be connected to the upper channel of the breadboard. Step 4: Assembly: Ultrasonic Sensor

You might also like