Making LCD 16x2 driver with Arduino using 3 wires

preview_player
Показать описание
Hi, everyone.
As we know LCD needs 6 pins to connect with Arduino, So this is a lot of pins, Thus in the large projects, we need every single pin of Arduino to use it.
In this video, I'm going to show you how to control LCD 16x2 with Arduino UNO using a shift register and saving 3 pins of Arduino.
Basically, we use the SPI protocol for sending the data to LCD.
Interfacing LCD with Arduino.

Note: You can also use pin 12 & 11 with any device uses SPI protocol. You can only change pin 9 to any pin you want for controlling LCD.
-----------------------------------------------------------------------------------------------------------
Arduino code and the diagram:
-----------------------------------------------------------------------------------------------------------
Music: Fredji - Happy Life (Vlog No Copyright Music)
-----------------------------------------------------------------------------------------------------------
If you like this video don't forget to Like and Share.
Don't be a stranger, hit the Subscribe button, It will be awesome having you here.
Comment if you have any questions.
Thanks for watching.
Рекомендации по теме
Комментарии
Автор

Hi. I have an RTC working with the SPI port and also an LCD. But I can't run both devices at the same time sharing spi. do you know is it possible?

ramoncho
Автор

That's what i'm talking about. Finally, i got it.
Thanks very much.

pcibra
Автор

I have been all over the web looking for something like this. Did run into an error with the example code, used the ShiftLCD library instead, other than that, thank you - worked perfectly, best example I found.

ollydouglas