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.

2 People Made This Project!

Recommendations

  • Reclaimed Materials Contest

    Reclaimed Materials Contest
  • Micro:bit Contest

    Micro:bit Contest
  • Audio Challenge (Share a project that produces sound. October 18)

    Audio Challenge (Share a project that produces sound. October 18)

10 Comments

0
je_1972
je_1972

11 months ago

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

0
adyrocks31
adyrocks31

Tip 1 year ago

make the constract=0 in the code

tip.png
0
anoilhero27
anoilhero27

1 year ago

lcd not showing anything.

0
Baguett
Baguett

Reply 1 year ago

Try changing the contrast to 0, worked for me.

0
adyrocks31
adyrocks31

Reply 1 year ago

thnx bro it worked

0
anoilhero27
anoilhero27

Reply 1 year ago

Ok I will try. Thank you

0
Pranav_17
Pranav_17

1 year ago

works thankyou

0
Stud82
Stud82

1 year ago

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

0
namespace_7
namespace_7

Question 2 years ago on Step 2

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

0
Cr3ck3r
Cr3ck3r

Answer 1 year 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.