Project
2 ways of measuring distance to stars, 6 ways measuring distance surveying, 6 ways of measuring distance, 8051 distance measuring sensor, a unit for measuring distance, advantages of distance measuring equipment, an electromagnetic distance-measuring instrument, application of distance measuring with matlab simulink, components of distance measuring equipment, distance measuring android, distance measuring app, distance measuring app android, distance measuring app for blackberry, distance measuring app for ipad, distance measuring app iphone, distance measuring app windows phone, distance measuring apparatus, distance measuring application, distance measuring arduino, distance measuring based on stereoscopic pictures, distance measuring beacon, distance measuring between cities, distance measuring between two places, distance measuring binoculars, distance measuring bosch, distance measuring by laser, distance measuring calculator, distance measuring camera, distance measuring chart, distance measuring chip, distance measuring circuit, distance measuring circuit diagram, distance measuring company, distance measuring company brooklyn ny, distance measuring converter, distance measuring device, distance measuring device crossword clue, distance measuring device for running, distance measuring device for vehicles, distance measuring device golf, distance measuring device laser, distance measuring device local rule, distance measuring device wheel, distance measuring devices golf reviews, distance measuring devices reviews, distance measuring equipment, distance measuring equipment advantages, distance measuring equipment antenna, distance measuring equipment avionics, distance measuring equipment for golf, distance measuring equipment for vehicle, distance measuring equipment history, distance measuring equipment hold, distance measuring equipment laser, distance measuring equipment manufacturers, distance measuring equipment navigation, distance measuring equipment pdf, distance measuring equipment ppt, distance measuring equipment questions, distance measuring equipment video, distance measuring for android, distance measuring for pc, distance measuring for runners, distance measuring for running, distance measuring formula, distance measuring gadget, distance measuring gauge, distance measuring golf, distance measuring golf rules, distance measuring google, distance measuring google earth, distance measuring google maps, distance measuring gps, distance measuring gun, distance measuring ic, distance measuring in google maps, distance measuring instrument for vehicle, distance measuring instrument gps, distance measuring instrument laser, distance measuring instruments, distance measuring instruments india, distance measuring instruments vehicles, distance measuring interferometer, distance measuring iphone, distance measuring iphone app, distance measuring laser, distance measuring laser gun, distance measuring laser instrument, distance measuring laser sensor, distance measuring laser tool, distance measuring map, distance measuring map for runners, distance measuring meter, distance measuring methods, distance measuring monocular, distance measuring new google maps, distance measuring nz, distance measuring on google, distance measuring on google maps, distance measuring on map, distance measuring pedometers, distance measuring pen, distance measuring potentiometer, distance measuring program, distance measuring project, distance measuring proximity sensor, distance measuring radar, distance measuring radio, distance measuring reticle, distance measuring rfid, distance measuring robot, distance measuring robot – project report, distance measuring robot ppt, distance measuring running, distance measuring running device, distance measuring running watch, distance measuring scope, distance measuring sensor, distance measuring sensor arduino, distance measuring sensor unit, distance measuring sensor wiki, distance measuring sensors infrared, distance measuring software, distance measuring software for mobile, distance measuring stick, distance measuring system, distance measuring table, distance measuring techniques, distance measuring technology, distance measuring telescope, distance measuring tool, distance measuring tool google, distance measuring tool home depot, distance measuring tool in google maps, distance measuring tool maps, distance measuring tool new google maps, distance measuring tools laser, distance measuring transducer, distance measuring ultrasonic, distance measuring ultrasonic sensors, distance measuring units, distance measuring using 8051, distance measuring using arduino, distance measuring using image processing, distance measuring using infrared, distance measuring using ir sensor, distance measuring using laser, distance measuring using mobile, distance measuring using ultrasonic technology, distance measuring watch, distance measuring website, distance measuring wheel, distance measuring wheel bunnings, distance measuring wheel harbor freight, distance measuring wheel hire, distance measuring wheel home depot, distance measuring wheel lowes, distance measuring wheel meters, distance measuring wheel name, distance measuring wheel new zealand, distance measuring wheel nsn, distance measuring wheel nz, distance measuring wheel price, distance measuring wheel south africa, distance measuring with laser, function of distance measuring equipment, history of distance measuring equipment, how to make a distance measuring sensor, how to make a distance measuring wheel, is there a distance measuring app, jamar distance measuring device, jamar distance measuring instruments, johnson distance measuring tool, laser distance measuring how it works, laser distance measuring meter, measuring a distance, measuring a distance on google maps, measuring distance 3ds max, measuring distance between 2 places, measuring distance between 2 points, measuring distance between coordinates, measuring distance between jumps, measuring distance between stars, measuring distance between two points, measuring distance between zip codes, measuring distance covered football, measuring distance cycled, measuring distance early years, measuring distance from earth to sun, measuring distance from home plate to pitcher's mound, measuring distance from home to school, measuring distance from lightning, measuring distance from one place to another, measuring distance google earth ipad, measuring distance grade 2, measuring distance grade 3, measuring distance history, measuring distance horizon, measuring distance how the crow flies, measuring distance in 2 point perspective, measuring distance in 3d, measuring distance in 3d space, measuring distance in arcmap 10, measuring distance in autocad 2010, measuring distance in autocad 2012, measuring distance in imagej, measuring distance in light years, measuring distance in visio, measuring distance in visio 2010, measuring distance in yards, measuring distance jogging, measuring distance jpg, measuring distance kilometres, measuring distance kindergarten, measuring distance ks1, measuring distance ks2, measuring distance ks3, measuring distance lab, measuring distance latitude longitude, measuring distance lesson plans, measuring distance lightning and thunder, measuring distance london, measuring distance map geography, measuring distance map worksheet, measuring distance metric system, measuring distance moon, measuring distance nautical chart, measuring distance of lightning, measuring distance of stars, measuring distance on a map worksheet, measuring distance on a nautical chart, measuring distance on google earth, measuring distance on google earth ipad, measuring distance on google maps running, measuring distance on maps ks3, measuring distance parallax, measuring distance pd, measuring distance physics, measuring distance ppt, measuring distance qgis, measuring distance questions, measuring distance quiz, measuring distance quizlet, measuring distance to jupiter, measuring distance to nearby stars, measuring distance to quasars, measuring distance to venus, measuring distance type ia supernova, measuring distance using kinect, measuring distance using your feet, measuring distance via google maps, measuring distance video, measuring distance vision, measuring distance vmd, measuring distance while jogging, measuring distance with 1/8 graduations, measuring distance with kinect, measuring distance with your feet, measuring distance with your hand, measuring distance with your thumb, measuring distance xbee, measuring distance year 3, measuring distance you run, measuring jogging distance google maps, operation of distance measuring equipment, pd 4 distance measuring tool, pd 4 distance measuring tool price, r&a distance measuring, r&a distance measuring devices, types of distance measuring equipment, types of distance measuring sensors, use of distance measuring devices in golf, virtual distance measuring tape with graphical lcd, what is a distance measuring equipment, what is a distance measuring wheel, working of distance measuring equipment, zygo distance measuring interferometer
Amisha
0 Comments
Arduino Uno and HC-SR04 Distance Measuring Using Lcd
Arduino Uno and HC-SR04 Distance Measuring Using Lcd
Introduction
One of the first projects are starting to learn the Arduino using HC-SR04 ultrasonic proximity sensor, and 2 × 16 LCD display, to measure the distance of the obstacles facing the robot and it will display on the screen. Here, let’s do this project together. First, let’s talk about the materials we need.
Used materials
- 1 Piece Arduino Uno
- 1 piece HC-SR04 ultrasonic distance sensor
- 1 Piece 16 × 2 LCD Screen
- 1 Piece Breadboard
Enough jumper cables and optional potentiometer. We will use the potentiometer to adjust the brightness of the LCD screen.
If you want fritzing scheme, let’s create a circuit diagram of looking at the pictures you want.
After installing the circuit in this way we are sticking necessary code and open a new code we load our Arduino Arduino project.
/ *
HC-SR04 Ultrasonic Sensor with LCD dispaly
Connections:
HC-SR04 Ultrasonic Sensor
To the Arduino 5V VCC
GND GND to the Arduino
Echo to the Arduino pin 12
Timing to the Arduino pin 13
LCD display (I used to JHD162)
VSS to GND Arduino
To the Arduino 5V VCC
And to the Arduino GND
RS to the Arduino pin 11
R / W to the Arduino pin 10
E to the Arduino pin 9
DB4 to the Arduino pin 2
DB5 to the Arduino pin 3
DB6 to the Arduino pin 4
DB7 to the Arduino pin 5
LED + 5V to the Arduino
LED light to the Arduino GND
Modified by Hedo hardworking (June, 2015).
* /
# Include <liquidcrystal.h> // Load Liquid Crystal Library
Liquidcrystal LCD (11,10,9,2,3,4,5); // Create Object called Liquid Crystal LCD
#define trigp 13 // Echo is connected to the Arduino pin 13 pin Sensor
#define echop 12 is connected to the Arduino // Sensor Trig pin to 12 pin
void setup ()
{
In pinmo (trigp the OUTPUT); // 13. so upfront as output trigp
In pinmo (echop the INPUT); // 12. so as upfront entry echop
Lcd.beg of (16.2); // we say in running the Arduino to lcdy
Lcd.setcurs is (0,0); // cursor We say bring the first column of the first row
LCD. Print (“www.engineersgallery.com”); // we are writing the message to appear on the first line
}
void loop () {
long duration, distance;
digitalwrit to (trigp the LOW);
delaymicroseconds (2);
digitalwrit to (trigp’s, HIGH);
delaymicroseconds (10);
digitalwrit to (trigp the LOW);
The pulse duration = (echop’s, HIGH);
distance = (duration / 2) / 29.1; // before the departure time is measured after the advent of sound measure the flow rate of just dividing by dividing the distance we find the speed of sound.
Lcd.setcurs is (0,1); // cursor to the second line, we bring the first column
LCD. Print (“”); // we print space to clear the screen.
Lcd.setcurs is (0.1), second row from the first column we bring // cursor again
LCD. Print (“Distance”);
Lcd.setcurs is (7,1); // write from the cursor to the beginning of the line 7. We götörüy column
LCD. Print (distance); // we print the measured distance
LCD. Print (“cm”); // we print the unit of measurement
delay (250); // we are holding 250 milliseconds.
}
if you do everything right, you have to get a result as follows. If you did not receive your cable connection should check again
Hc-SR04 is the end of our ultrasonic distance sensors and distance measurement using 16 × 2 LCD screen project
Post Comment
You must be logged in to post a comment.