Introduction: Arduino Interfacing With LCD Without Potentiometer
Aim: To interface 16x2 LCD with arduino without use of any potentiometer, breadboard, resistors
Components required:
1. Arduino Uno: https://www.dnatechindia.com/arduino_uno_r3.html
2. 16x2 Alphanumeric LCD: https://www.dnatechindia.com/Alphanumeric-LCD-2x1...
3. Jumper cables: https://www.dnatechindia.com/jumper-wire-male-to-...
Softwares required:
1. Arduino IDE
About this project:
In this project we will only be using a LCD, Arduino uno, jumper wires to display text on the LCD. We will use the digital pin 6 to control the contrast value of the LCD. The function to display text on the lcd will be | lcd.print (“Your text here”) |
Supplies
Components required:
1. Arduino Uno: https://www.dnatechindia.com/arduino_uno_r3.html 2. 16x2 Alphanumeric LCD: https://www.dnatechindia.com/Alphanumeric-LCD-2x16.html 3. Jumper cables: https://www.dnatechindia.com/jumper-wire-male-to-female-pack-of-40.html Softwares required: 1. Arduino IDE
Step 1: Procedure:
Connect the pins from the LCD on the Arduino digital according to the pins indicated in the table and schematic
Step 2: Code
1) Download the following code.
2) Open the following in Arduino ide.
3) Connect the arduino with your PC.
4) From the tools menu select the port and board correctly.
5) Hit the upload button and the text shall be displayed on your LCD.
Attachments
3 People Made This Project!
- ftlfrm made it!
- WAQAR AHMEDQ made it!
- shreymehra999shrey made it!
11 Comments
Tip 10 months ago
Setting the Contrast to 0 as mentioned below made this work like a charm.
2 years ago
Worked great, we tried two other methods and this was the 1st that worked for us! Thanks :)
Tip 2 years ago
make the constract=0 in the code
2 years ago
lcd not showing anything.
Reply 2 years ago
Try changing the contrast to 0, worked for me.
Reply 2 years ago
thnx bro it worked
Reply 2 years ago
Ok I will try. Thank you
2 years ago
works thankyou
2 years ago
Add a resistor with 220ohm between lcd pin A and 5V.
Question 3 years ago on Step 2
cannot see the text on lcd ? did anyone faced the same problem?
Answer 3 years ago
I have the same problem. while the startup it show the text for 0.5 seconds then disappear if i find any solution i will comment again.