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.

Be the First to Share

    Recommendations

    • The 1000th Contest

      The 1000th Contest
    • Battery Powered Contest

      Battery Powered Contest
    • Hand Tools Only Challenge

      Hand Tools Only Challenge

    9 Discussions

    0
    adyrocks31
    adyrocks31

    Tip 5 weeks ago

    make the constract=0 in the code

    tip.png
    0
    anoilhero27
    anoilhero27

    6 months ago

    lcd not showing anything.

    0
    Baguett
    Baguett

    Reply 4 months ago

    Try changing the contrast to 0, worked for me.

    0
    adyrocks31
    adyrocks31

    Reply 5 weeks ago

    thnx bro it worked

    0
    anoilhero27
    anoilhero27

    Reply 4 months ago

    Ok I will try. Thank you

    0
    Pranav_17
    Pranav_17

    2 months ago

    works thankyou

    1
    Stud82
    Stud82

    7 months ago

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

    1
    namespace_7
    namespace_7

    Question 1 year ago on Step 2

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

    4
    Cr3ck3r
    Cr3ck3r

    Answer 9 months 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.