Introduction: Tiny Billboard (simple Arduino Project)
The Tiny Billboard : Learn How to display a custom message on LCD with this Arduino Project
Step 1: Step One : Gathering Supplies
- Arduino board
- LCD Screen (16 pins)
- 10K Ohm Potentiometer
- 220 Ohm resister
- Wires
- Breadboard
Step 2: Step 2 - Building the Circuit
- Start by connecting 5V to the (+) column next to column J
- Take another wire and connect GND to the (-) column beside J
- Place first PIN of the LCD (corresponding w/ VSS) at A8 - rest of the pins should just go one after the other
- Take a wire and connect ~12 to C11 (which corresponds to RS on the LCD but two over)
- Then, connect ~11 to D13 (which should correspond to E on the LCD but three over)
- Connect ~5 to E18 (connected with in the same row as D4 on the LCD)
- connect 4 to E19 (connected with in the same row as D5 on the LCD)
- connect ~3 E20 (connected with in the same row as D6 on the LCD)
- connect 2 on the arduino to E21 (connected with in the same row as D7 on the LCD)
- Connect a small wire from E22 to F22 and a resistor from I22 to (+)22 (all should be in the same row as A on the LCD
- connect J3 to the second row of the (-) - thus connecting it to GND
- below that small connection, connect J5 to the 5th row under (+)
- place pontentiometer as shown in the photo, side with 2 pins next to the wires on J3 and J5), connect the a wire to F4 to E10)
- connect E8 to the 6th row under (-)
- connect E9 to the 7th row under (+)
- connect E12 to the 10th row under (-). thus connecting to GND
Step 3: Code
#include <LiquidCrystal.h // this is the library needed for LCD
// initialize the library with the numbers of the interface pins (these numbers are used for the dimensions of the custom message)
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2); (these numbers are used for the dimensions of the LCD / where to begin and where to end)
// Print a message to the LCD.
lcd.print("C and M"); // we chose this short message for our's
}
void loop() { //everything listed allows for the message to display continuously
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0): lcd.setCursor(0, 1); // print the number of seconds since reset: lcd.print(millis()/1000);
}
Step 4: You're Almost There
- if code does not verify nor upload
- check your wires, make sure everything is connected and placed where they need to be
- make sure your custom message is less than 16 characters