How to use an i2c LCD display with arduino - including library install

preview_player
Показать описание
I show how to install the i2c Liquid Crystal library to your Arduino IDE, how to connect the LCD and give code examples.

Buy an i2C LCD on Amazon:

Complete Arduino kit:

Link to the Arduino Liquid Crystal library documentation:

Link to i2c LCD library download for Arduino:

Link to my video on determining your LCD's i2c address:
Рекомендации по теме
Комментарии
Автор

Your footage on how to install the I2C LCD library enabled me ot get up and running. Thanks!

earthlightsmusic
Автор

You saved me there when you mentioned potentiometer, my LCD was new so I was having problem why there were no text displaying. THANKSSS.

DarkNETProduction
Автор

Thank you!! I wish I had found your video about 10 hours ago. I have been fighting wit this thing and as soon as I found your video, everything just worked. Thank you. ANd, I love your easy going style. So well done. Thanks.

ronjones
Автор

Here's how addressing works on the I2C LCD adapter:
The address of this particular adapter will always be a 2-digit hexadecimal number in the range of 20 to 27 (0x20 to 0x27).
There are three address jumper pads on the adapter PC board labeled A0, A1 and A2. The address lines have pull-ups, so an open jumper sets the address line to a 1, while a closed jumper sets it to 0.
The jumpers determine the least significant digit of the address, while the most significant digit is always 2. Therefore, the least significant digit will correspond to this truth table, where a 1 signifies no jumper, a 0 signifies a jumper in place:

A2 A1 A0 I2C addr
0 0 0 0x20
0 0 1 0x21
0 1 0 0x22
0 1 1 0x23
1 0 0 0x24
1 0 1 0x25
1 1 0 0x26
1 1 1 0x27

So, installing no jumpers (the default) results in an address of 0x27 on these adapters.

chuckhole
Автор

Finding sketches and methods for pc hardware monitoring are hard to come by for i2c LCD's. I tried to get one working with LCD Smartie but all I get is random numbers. If you know of any methods of monitoring pc motherboards, i.e. cpu speed, available ram, etc please let me know.

johnlattarulo
Автор

I very2 like this video! very help me. The voice is very clear, very easy to understand. good work dude

profezo
Автор

Nothing displayed on screen, only white boxes.. lcd lights up but no text written
using arduino uno r3

wanjohimuthoni
Автор

HI I am using Arduino IDE and had a problem with the display only printing 1 character. If the library you used updated?
.

RobertJohnson-zsom
Автор

Very helpful upload, thank you! Nice to see you make the mistakes in the video and to think as someone who watches the video what could be wrong and how to fix it. I will surely subscribe.

rolandberendonck
Автор

Thanks a lot, great video :) Btw, do i need to solder all the A0 A1 A2 pins in the i2c to get several adresses, for using only 2 lcd screens and display different text ? Thx in advance and thx again for this great video !

vincentads
Автор

Hi there! I followed exactly along and my ide shows an error with the lcd.begin() comand. It says there is no matching function to call in liquid crystal....Please help!

philipbrits
Автор

I can't get the characters to show ='(, got everything wired and the address right.

samuelcp
Автор

My LCD does not print anything even after I have followed all your steps

nguyenvankhanhduy
Автор

when i compiled and uploaded the sketch it says, "an error occurred when uploading the file" huehue

kevinbelza
welcome to shbcf.ru