Printing Your Name on an LCD Display

by 629048 in Circuits > Arduino

5945 Views, 0 Favorites, 0 Comments

Printing Your Name on an LCD Display

LCD.PNG

In this instructable, I will be teaching you guys on how to print your name on an LCD display. This project can be done on tinkercad which is the software I'm using, or it can be done in real-life. The main purpose of this project is to learn something new because I have never used an LCD display myself but now that I have its cool to teach others how to. I hope you have fun with this project!

Materials Needed and Costs

finalmat.PNG

Since I'm making this project on a website called tinkercad where access to circuit materials are free, I'll have everything available. But if you want to make it in real-life I'll let you know the cost estimate of the materials.

Materials needed and costs (Canadian Dollars):

1. Arduino Uno $30

2. LCD 16*2 $15

3. Breadboard $13

4. Jumper Wires $12

5. Resistors (1000ohms) $17

6. Potentiometer $20

Schematic Drawing

IMG-1616.JPG

Before we start making this project, I wanted to show you how the schematic drawing will look like for this project. A schematic is a drawing or sketch of a circuit.

Assemble Circuit

assem1.PNG

Now you can start making your circuit by using the following image above. Remember to make it exact because the code that will be given will be based on the circuit design and Arduino pins. If you want to change the pins possibly for neatness, you will have to change the code accordingly. If you are not using tinkercad and you are making it in real life, the following process is just the same but it's hands-on.

Assemble Circuit (Continued)

assem2.PNG

Continue to assemble the circuit. I have broken down the circuit into 2 separate images, this way it will be easier to follow and assemble.

Code

Now that you are finished assembling the circuit, you can now move on to the coding aspect. For those doing this project in real-life, you can open up your coding software and start coding. For those who are using tinkercad, right beside where it says "start simulation" there will be a place where it says "code". Hit that code button, then you will see how there are code blocks, you don't want the blocks, you want the text. Then you will see the section where it says "blocks" click it and then you can select the code option. Finally copy the code that is given to you. The place where it says lcd.print("YOUR NAME") you can print your name there or change up what you want the LCD display to say. All you have to do is change the code in the brackets where it says "lcd.print".

Here's the code if the file above which has the code doesn't work:

LiquidCrystal lcd (1,2,4,5,6,7);
void setup()

{ lcd.begin(16,2);

lcd.setCursor(5,0);

lcd.print("WELCOME!");

lcd.setCursor(3,1);

lcd.print("HOW TO MAKE");

delay(2000);

lcd.setCursor(5,0);

lcd.print("YOUR NAME");

lcd.setCursor(3,1);

lcd.print("PRINT ON LCD");

delay(2000);

lcd.clear();

}

void loop()

{

lcd.setCursor(2,0);

lcd.print("COOL PROJECT");

lcd.setCursor(2,1);

lcd.print("By SAHIL");

delay(500); lcd.clear();

lcd.setCursor(2,0);

lcd.print(":)");

delay(500); }

Downloads

Run Simulation

LCD.PNG

Once you are finished writing or copying down the code. You can click the start simulation button for those who are using tinkercad. For those who are using a real-life Arduino just click "run" on your coding software, just remember to save your code file before clicking "run".

Project Done!

LCD.PNG

I hope you found my tutorial straight forward and were successful in making this project! Please check out my other Instructables if you want to make more fun projects like this one! Thank you!