Sei sulla pagina 1di 4

technology workshop living food play outside

Arduino LCD Project for Measuring Distance


by AhmedDjebali on June 1, 2015

Table of Contents

Arduino LCD Project for Measuring Distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Intro: Arduino LCD Project for Measuring Distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 1: Parts Required . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 2: Connect the components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Step 3: Upload the code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

http://www.instructables.com/id/Arduino-LCD-Project-for-Measuring-Distance/
Intro: Arduino LCD Project for Measuring Distance
Hello :)

May be you don't know how to use an ultrasonic sensor to measure distance with an LCD display, so I decided to make this instructable to help you getting started.

Step 1: Parts Required


- Arduino UNO R3

- 1x HC-SR04 Ultrasonic Sensor http://www.ebay.com/bhp/hc-sr04

- 1x LCD Display (I made this project with JHD162A) http://www.ebay.com/itm/More-Colors-162-1602-16X2-...

- Some wires

http://www.instructables.com/id/Arduino-LCD-Project-for-Measuring-Distance/
Step 2: Connect the components
Connect the components and wires as shown in the two pictures.

Step 3: Upload the code


Upload the sketch to your Arduino and watch the measurement.

Good luck

File Downloads

http://www.instructables.com/id/Arduino-LCD-Project-for-Measuring-Distance/
HC-SR04 with LCD.ino (2 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'HC-SR04 with LCD.ino']

Related Instructables

Hc-sr04
Arduino based Arduino HC- GoPro Arduino-Using Smart Distance Ultrasonic
Distance SR04 (with LCD) Ultrasonic shift registers Measuring Tape Distance Sensor
Measure Box by by samuel123abc Motion Sensor with ultrasonic v1 by by
mi.vasilakis HC-SR04 sensors by ThisIsSteve
controled by appleman123987
MrSirLRD
arduino by
animes25

Advertisements

Comments

http://www.instructables.com/id/Arduino-LCD-Project-for-Measuring-Distance/

Potrebbero piacerti anche