Ultrasonic Rangefinder with Processing

Obstacle distance is measured using ultrasonic sensor and Arduino. The data is processed using Processing and the distance is marked.

Oct 16, 2017

26496 views

19 respects

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

Vaisakh1997

0 Followers

0 Projects

+1

Work attribution

Table of contents

Intro

19

0