Connect LCD Directly to Your Arduino Mega

About: Completes Bachelor of engineering (electronics and instrumentation engineering). Worked in Tamil nadu textile processing Ltd erode. Working as service engineer in a reputed company. Intraday trader, DIY ...

Since I am a lazy DIY enthusiast I made a lazy way to connect my lcd 16*2 into my arduino mega

I hope it will be useful for those like me :)

Step 1: Components

arduino mega

lcd 16*2

Step 2: Code :

Step 3: LCD CONTRAST ADJUST

I have connected 1k resistor between lcd pin 1 &3

you can also put your desired value

Step 4: Connection

connect lcd to mega

lcd pin 16 -24th pin of mega and followed by other pins in the same row

Step 5: Burn It

upload the code and enjoy connection less LCD

I have already put some text to show you

Happy DIY....

Share

    Recommendations

    • Make it Glow Contest 2018

      Make it Glow Contest 2018
    • Optics Contest

      Optics Contest
    • Plastics Contest

      Plastics Contest

    Discussions

    0
    None
    PanW4

    Tip 5 months ago on Step 2

    LCD doesn't work correctly when pins 26 to 32 aren't set LOW. I suggest adding the following code (this worked for me :) )

    pinMode(26,OUTPUT);
    pinMode(28,OUTPUT);
    pinMode(30,OUTPUT);
    pinMode(32,OUTPUT);

    digitalWrite(26,LOW);
    digitalWrite(28,LOW);
    digitalWrite(30,LOW);
    digitalWrite(32,LOW);