Widget Recent Post No.

Labels Max-Results No.

LESSON 20: ARDUINO LCD PROJECT FOR MEASURING DISTANCE WITH ULTRASONIC SENSOR


In LESSON 18 you learned how to use an ultrasonic sensor to measure distance, and in LESSON 19 you learned how to connect an LCD to the arduino. In this lesson we will combine what you have learned to create a circuit for measuring distance, and displaying results on an LCD display.



This circuit displays the distance you measure on a cool LCD.

You can use the schematic below to connect the circuit. If you did LESSON 19,  you should already have the LCD hooked up. For more info on connecting to the LCD, and how it works, review LESSON 19. This schematic is for the LCD in the Sparkfun Inventor Kit, or similar LCD. If you have a different LCD, you will have to determine the proper connections. There are some helps in LESSON 19. If you need the ultrasonic sensor, you can pick one up HERE.



This diagram shows how to connect my LCD to the Arduino.

Be very careful connecting the circuit. Check your work, and it helps to work with a Buddy. Have one person looking at the schematic, and one looking at the circuit. Sometimes it is easier to get it right working in pairs.
Now the objective of this project is to measure distance using the ultrasonic sensor, and then display that value on the LCD display. You should have the skills you need from the earlier lessons. Try and do this project on your own, but if you get stuck, you can look at my code below. As always, don’t copy and paste my code, but it should be used as a guide to help you write yours if you get stuck.
Your assignment is to get this project going, and show that you can measure distance and then display it on the LCD. After showing me your work, then you need to take the project in your own unique direction. What can you make based on what you have learned in the last few lessons. You should use some combination of Ultrasonic Sensor, LCD, and Servo to make a project or product or your own invention. You have the technical skills, you have the equipment, now go be creative!
appeared here
LESSON 20: ARDUINO LCD PROJECT FOR MEASURING DISTANCE WITH ULTRASONIC SENSOR LESSON 20: ARDUINO LCD PROJECT FOR MEASURING DISTANCE WITH ULTRASONIC SENSOR Reviewed by Reshaper on September 21, 2018 Rating: 5

No comments:

Powered by Blogger.