Creativity and Computation Lab
Arduino Uno
Practice using LCD Panel and Ultrasonic Sensor
Elements Used:
In this assign, I used the following elements:
- Arduino Uno
- Wires/Cables
- USB connector for the Arduino
- LCD Panel
- Ultrasonic Sensor
- RGB LED
Logic:
There are two parts to this assignment:
Part 1: Displaying a message on the LCD Panel and doing a justified alignment on the text.
Part 2: Connecting an ultrasonic sensor to an RGB LED to display a color pattern
Connections:
Part 1: LCD Panel
Part 2: Ultrasonic Sensor
Code:
Result:
Part 1: LCD Panel
Part 2: Ultrasonic Sensor