Use the I2C Bus to control a Character LCD with Arduino - Tutorial

preview_player
Показать описание
Let's use the I2C Bus to connect and use a Character LCD the easy way with only 2 wires.

Рекомендации по теме
Комментарии
Автор

Thank You. I searched and searched for nearly 3 hours to have finally found this WORKING SKETCH

Adam-emrg
Автор

there are many tutorials on this topic, but only yours mentiones the step with library renaming.
thank you for this detail!
it was the key to making my 20x4 lcd setup work

a-z-n-b-a-i
Автор

I was struggling to get my LCD working using I2C and this tutorial helped me a lot!
Thank you, keep it up

gulhermepereira
Автор

Tis is awesome, it is by far the best Arduino tutorial for the I2C bus I've watched, and, I've learnt so much from it, thanks for taking the time to create this. Worked after i defined the ADDR for my device. 100%

MichaelSutton
Автор

Really well done. 10 mins and I'm up and running. Thanks.

BobCrimmins
Автор

This is a very well done tutorial. Great video and audio quality.  You presented the material in an order that made sense and pointed out pitfalls along the way. Thank you for posting the code for both Port Scanner and the I2C!  The Brainy-Bits website is very nice as well.

Cheers,
Ron Donovan

ronwayih
Автор

Thank you so much. I could not figure out how to use the I2C. This helped me so much. Thanks!

tsupertsunami
Автор

I didn't know about the address for the display, thank you!

docward
Автор

Thanks brainy bits! it works GREAT for me
:)

FarooqKhan-zrjh
Автор

Great video but the newLCD library does not support teensy 3.1 or 3.2 microcontroller boards. I was able to compile it by changing the board to arduino UNO, but as soon as I change it back to teensy 3.1.I am using 20x4 LCD (2004A) with attached one of those I2C boards (PCF8574A I/O expander) with the address of 0x3F.it wont compile and it gives me an error. Do you have modified code for those processor platforms? Thanks!!!

ainstaink
Автор

This is really a nice tutorial, it works!

Vhbaske
Автор

hi, we would like to ask for help. we connected our arduino uno to 2x16 lcd, but there is a problem..it will not turn on

kittykat-qnzy
Автор

Hi Ivan, great video, thanks for clearly explaining everything out. I am very new to arduino and have one of the 1602/I2C kits on its way. You showed how to get the address of the I2C board and that you can use multiple boards in one project. My question is, how would you change the address of the I2C board (since there is a possibility of having two with the same address in your project). Thanks, Tony.

Thinqb
Автор

I have a LCD where the I2C module is already soldered on the LCD module, and I2C scanner says he can't find an I2C device. Can you help me?

jurrewolters
Автор

I'm having a heck of a time getting this thing to work with a PIC microcontroller. Logic 4 shows that I'm sending all the right commands for a 4 bit initialization of the LCD but it refuses to initialize. The same LCD works in 4 bit mode without using I2C so I'm kind of at a loss here. There is next to no information on using these things with anything but an Arduino library which really doesn't give any insight into the actual workings of it.

KubuntuYou
Автор

Hello I AM new to arduino, I am working on a
rov project and want have a uno as the master due to me only having the 6 wires from the ps2 controller and 2 for the lcd. I would like to use my mega arduino for the depth, compass, motor control and the 8 ch relay board is this possible, thanks

davidmeazel
Автор

Thanks for the i2c scanner but may I know y do I have to connect sda and sca to A4 and A5 but not works great.

alluganesh
Автор

thank you for all friend youre the best

albertojimenez
Автор

I have everything hooked up as shown, but the LCD does not display anything. Any advice? The backlight is on, and I got a good address (0x27). Not sure what to do next.

benjaminhammaker
Автор

I only have a problem with the I2C Scanner, the sketch stays waiting and never returns the hex address, I am using a Uno rev 3. It hangs waiting for the number it stays "Scanning..."

Vhbaske