LCD Display Coding With Arduino UNO

Hey, I was just trying to code a 2x16 LCD component by just using an Arduino Uno board and the LCD itself... I've searched quite a lot online, but all I've come across are videos or websites concerning the circuit of a LCD, potentiometer and UNO. Can anyone help me in finding a website that can assist me in coding just a LCD?
Thanks a lot :slight_smile:

What interface does your LCD use ?

Does it use just 2 pins or a lot more ?

Screenshot 2024-08-10 at 12.01.21

1 Like

That will not help much if the LCD that @MathCoder has does not use an I2C interface, hence the questions in earlier replies here

2 Likes

a lot more

I have an ESP32 component, though... I would prefer not using it, but if nothing else works, I'd
do it.
Thanks

OK the question is how many wired are running from LCD to your Arduino? Some LCD Displays include the I2C interface where we use SCL and SCA 2 wire and some do not. So post the display you have and the code you are using. People need to know what you have and how it's setup.

Ron

Hi,
I'm using this LCD - https://www.amazon.com/HiLetgo-Display-Backlight-Controller-Character/dp/B00HJ6AFW6/ref=sr_1_5?dib=eyJ2IjoiMSJ9.NHHShKxQ3uIocjrDetOFygbUPeyCr1bJbacy61KRJobQYPbzmIJps87wTn_Zch3X5OycYlHxnF8TZX-ciJNR3vKdHaz5NY6iAAheRhdZFzh3fThi2CBdHxGAYhY6HgTfgChonFbClGj_zGvYK7yo5VCLuVxr93_OyL_3I9deT4ajX4ypmNbdmfj9AhvPDEFzThIrMF70Pf3AdHpc14NYdXrXYmPrCMVXBqVurTlxlGo.aCaBQbcOh1kxZikYT6sr30uAn_dZymp6E0_ohOWY4LA&dib_tag=se&keywords=lcd+display+2x16&qid=1723338604&sr=8-5

I don't know about the code, because I've not been able to find anything without using a potentiometer or ESP32. I just want it to display plain text, as of now.

Thanks

LiquidCrystal - Arduino Reference

GitHub - arduino-libraries/LiquidCrystal: Liquid Crystal Library for Arduino

1 Like

Sample code is with the Library. You can lose the pot but you will need to replace it with a resistor, it is an LCD after all.
The library in the pic supports UNO. There are 10 example sketches in the library.

1 Like

thanks

thank you

Try looking here https://web.alfredstate.edu/faculty/weimandn/.

For many LCD modules you can do without the potentiometer, just connect pin 3 to GND. If there's too much contrast then a low value resistor (try 1000 ohms) between pin 3 and GND will help.

Don

2 Likes

One quick 5 sec search.

1 Like

thanks!