Arduino Interfacing With LCD Without Potentiometer

Introduction: Arduino Interfacing With LCD Without Potentiometer

About: I like doing automation projects, 3d printing, and learning new engineering skills. Also at the same time, I believe in sharing whatever I learn with people around me and on the internet.

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.

3 People Made This Project!

Recommendations

  • Make It Bridge

    Make It Bridge
  • Big and Small Contest

    Big and Small Contest
  • For the Home Contest

    For the Home Contest

11 Comments

0
ftlfrm
ftlfrm

Tip 10 months ago

Setting the Contrast to 0 as mentioned below made this work like a charm.

0
je_1972
je_1972

2 years ago

Worked great, we tried two other methods and this was the 1st that worked for us! Thanks :)

0
adyrocks31
adyrocks31

Tip 2 years ago

make the constract=0 in the code

tip.png
0
anoilhero27
anoilhero27

2 years ago

lcd not showing anything.

0
Baguett
Baguett

Reply 2 years ago

Try changing the contrast to 0, worked for me.

0
adyrocks31
adyrocks31

Reply 2 years ago

thnx bro it worked

0
anoilhero27
anoilhero27

Reply 2 years ago

Ok I will try. Thank you

0
Pranav_17
Pranav_17

2 years ago

works thankyou

2
Stud82
Stud82

2 years ago

Add a resistor with 220ohm between lcd pin A and 5V.

1
namespace_7
namespace_7

Question 3 years ago on Step 2

cannot see the text on lcd ? did anyone faced the same problem?

4
Cr3ck3r
Cr3ck3r

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.