With Instructables you can share what you make with the world and tap into an ever-growing community of creative experts.
share what you made with text, photos, video, and files
gather your favorite instructables together
Make your first project with an arduino UNO or any arduino, and a range finder sensor
Your gunna need- 4 jumper wires 1 arduino ( I used UNO) 1 breadboard 1 data cable to program the arduino 1 hc-sro4 sensor
Put your sensor into the breadboard along with 4 jumper wires.
Gnd - gnd Echo- digital pin 2 Trig - digital pin 3 Vcc - 5v
Just copy from photo
Plug your arduino into your pc and upload. Open serial monitor in top right corner and have fun. You can use this with hundreds of projects good luck
We have a be nice comment policy. Please be positive and constructive.
#define trigPin 3
#define echoPin 2
int duration, distance;
duration = pulseIn(echoPin, HIGH);
distance = (duration/2) / 29.1;
Nice, simple, very well done.
Excellent basic tutorial, it helped me set mine up with a minimum of problems.
How to use Arduino Mega 2560 as Arduino ispby tsillen
Program Arduino Pro Mini Using Arduino Unoby vigneshraja
Control Arduino Board Wirelessly With iPhone, iPad or iPod Using iArduino App and Ether…by DjTronix
Read analog data directly in Processingby snebtor
How to Arduino #1 - Installing Arduino and uploading a sketchby meanpc
How to connect Arduino to a PC through the serial portby dvdllms87
Arduino Wifi Redbackby yhtomitsy
LittleBits Arduino MacBook Air Blink Sketchby JesusG1
Wireless upload program to Arduino without USB cableby ITEAD STUDIO
Turn Your Arduino Into an ISPby mr_mac3
Download our new apps for iOS, Android and Windows 8!
© 2015 Autodesk, Inc.
By clicking "Create Account" you are indicating that you have read and agree to the Terms of service.
Already a member? Login »
Enter the email associated with your account and we will send you your username and a temporary password.
Not a member? Sign Up »