Ultrasonic Rangefinder with Processing
Obstacle distance is measured using ultrasonic sensor and Arduino. The data is processed using Processing and the distance is marked.
Components and supplies
1
Ultrasonic Sensor - HC-SR04 (Generic)
1
Jumper wires (generic)
1
Arduino UNO
Apps and platforms
1
Arduino IDE
Project description
Code
processing code
processing
run this code on processing to plot the disatance
Arduino code
arduino
upload the code into the arduino
processing code
processing
run this code on processing to plot the disatance
Arduino code
arduino
upload the code into the arduino
Downloadable files
Circuit diagram
connect the sensor to the arduino board as shown in the picture
Circuit diagram

Comments
Only logged in users can leave comments