With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
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.
We noticed you attached photosto your comment.
#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
Arduino Uno Intro Plus Projectsby electronics for everyone
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
How to Download Arduino Software for Windows / Linux / MacOSby TechPonder
How to Restore the Arduino UNO R3 ATmega16U2 Firmware Using the Arduino IDEby dmjlambert
Join 2 million + to receive instant inspiration in your inbox.
Download our apps!
© 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 »
Want to go pro?
First step is to sign up.
By clicking "Sign me up!" you are indicating that you have read and agree to the Terms of service.