Тёмный

I2C 20 x 4 LCD Display on Arduino 

Eli the Computer Guy
Подписаться 1,1 млн
Просмотров 18 тыс.
50% 1

Опубликовано:

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@johnmichalak4862
@johnmichalak4862 4 года назад
I've spent a few hours messing around trying different things that didn't work. I downloaded Eli's code and it worked on the first attempt. I will now go through it line by line and learn how it works and use it in my project. Many Thanks :)
@user-vn7ce5ig1z
@user-vn7ce5ig1z 5 лет назад
It's especially helpful while prototyping because you don't have to constantly worry about one of the dozen wires coming loose while messing with it.
@scottstewart1660
@scottstewart1660 4 года назад
The BEST Arduino tutorial on the internet. Great explanation, Eli.
@rho35100
@rho35100 4 года назад
Eli.... just a perfectly well explained video!! thanks you very much
@NikolaTesla-tn9br
@NikolaTesla-tn9br 4 месяца назад
Hi Eli, I want my LCD to have inverted characters (the reason is I have a screen installed upside down), how would you do it without making custom characters?
@bperrybap
@bperrybap 4 года назад
This is not a good tutorial. It gets it wrong when talking about the libraries at 3:12 The sketch is not using the LiquidCrystal_I2C library at all. It is only using fm's NewLIquidCrystal library. Given the sketch code, there was no need to install the LiquidCrystal_I2C library as LCD.h and LiquidCrystal_I2C.h header files are both part of fm's NewLiquidCrystal library. And while you have installed the LiquidCrystal_I2C library, which also has a LiquidCrystal_I2C.h header file. the LiquidCrystal_I2C.h and LiquidCrystal_I2C class is coming from the NewLiquidCrystal library. The LiquidCrystal_I2C object constructors between the two libraries are very different. The one being used in the example sketch is the one from LiquidCrystal_I2C class that is in NewLiquidCrystal. My suggestion for an easy to use "it just works" solution is to use the hd44780 library which can be installed using the IDE library manager. Just search for in the IDE then click [Install]. This library comes with an i/o class called hd44780_I2Cexp which is for hd44780 LCDs that use either PCF8574 or MCP23008 based i2c backpacks. The library can self configure itself so it will auto locate the i2c address and auto detect the pin mapping used by the backpack so it will work with any of the various h/w variations of the PCF8574 based backpacks. The library includes documentation and extensive examples. The library being used in this tutorial (NewLiqudCrystal with the LiquidCrystal_I2C i/o class) requires manual configuration of the i2c address and 7 or 9 parameters for configuring pin mapping used on the backpack between the PCF8574 chip and the LCD. If any of the constructor parameters is incorrect, it won't work. And keep in mind that there is more than one pin mapping used on PCF8574 backpacks. With the hd44780 library and the hd44780_I2Cexp i/o class, the library figures it all out for you. The hd44780_I2Cexp i/o class also comes with a diagnostic sketch, I2CexpDiag, that will test the i2c connections and LCD h/w and report an issues on serial port. The hd44780 library includes additional features like long line wrapping, and is quite a bit faster than the other libraries. You can also read more about the hd44780 library on the github page: github.com/duinoWitchery/hd44780
@irfanayan2448
@irfanayan2448 5 лет назад
i have done all the things as you showed. bt my display doesn't show any characters. It only shows some like white boxes on the screen. what should I do?
@LikeAGuardian
@LikeAGuardian 5 лет назад
J'ai eu le même problème. C'était un problème d'adresse de l'I2C. J'ai fais un nouveau sketch avec le code de ce lien forum.arduino.cc/index.php?topic=439436.0. (avec un baudrate de 115200). J'ai obtenu 0x3F et le l'ai rempacé dans la ligne lcd(0x3F,2,1,0,4,5,6,7); et là ca fonctionne parfaitement
@inspiringengineer
@inspiringengineer 4 года назад
SOLVED - had the problem fixed - see 5:22 - you have to turn on the serial monitor before running the sketch at 7:32 (link in the description) Hi - everything works and all connections are correct but my display doesn't show any characters. It only shows some like white boxes on the screen. what should I do?
@Clip7heApex
@Clip7heApex 2 года назад
Link for the the 'New Liquid Crystal Library' is broken. Does anyone have a link?
@full_time_motorhome
@full_time_motorhome 5 лет назад
Great set of videos. Very easy to follow. Just getting into Arduino. Mine is blinking, so cool. Have I graduated to tech geek yet? Probably just inventing the wheel at the moment.
@robertheer4043
@robertheer4043 4 года назад
i can't find where to download the file called: New Liquid Crystal Library
@jenshoumann5646
@jenshoumann5646 4 года назад
Thanks, works perfectly.
@رجلالسلام-خ2و
@رجلالسلام-خ2و 4 года назад
It works with me so great thanks to you
@motaharabedy2982
@motaharabedy2982 3 года назад
Where to get LCD.h?
@jondrayna6978
@jondrayna6978 Год назад
Um, thanks, but this is useless because one of the the libraries you link to asks for a login.
@Max-lq9bi
@Max-lq9bi 2 года назад
your code DOES NOT work. Waste time
@emildaramirez1487
@emildaramirez1487 5 лет назад
Hello, I have bougth an i2c for a 16x2 LCD screen. Does this i2c will work with a 20x4 LCD?
@paulfordhammer3165
@paulfordhammer3165 4 года назад
El I2C trabaja con 2004, 1602 etc
@yes_man_lol
@yes_man_lol 3 года назад
Yes but buy a new one that has 20x4 with i2c with it.
@borpborp5710
@borpborp5710 5 лет назад
You could make a toddler develop an AI
@rodo19724
@rodo19724 3 года назад
Sorry men, but your link says 404 page not found.....
@patlaroche608
@patlaroche608 4 года назад
Merci!
@imwhatim7259
@imwhatim7259 Год назад
You look like you are from GTA 4 guy
@chanukadananjaya2096
@chanukadananjaya2096 5 лет назад
thanks lot of.it works
@Dan-ro6nj
@Dan-ro6nj 5 лет назад
i prefer smaller bezels and also does it even have a grafix cart this aint no technology
@MerakiLovesU
@MerakiLovesU 5 лет назад
Nice
@uthamnepal
@uthamnepal 5 лет назад
Hi. :-) big fan of your channel. I got some question buddy . How do i creat money transfer business like Wester Union . Wann a create my own and your advise . Thanks alot in advance buddy
@ZiktheProgrammingGuy
@ZiktheProgrammingGuy 5 лет назад
ohh another one
@willynebula6193
@willynebula6193 5 лет назад
Isn't it "I squared c"
@user-vn7ce5ig1z
@user-vn7ce5ig1z 5 лет назад
Both are generally accepted because it isn't always possible to write a superscript 2. Also, IIC.
@filip3195
@filip3195 5 лет назад
First
@DomingosMarques-os2ue
@DomingosMarques-os2ue Год назад
Link the 'New Liquid Crystal Library' is broken. Does anyone have a link?
Далее
16 x 2 LCD Screen on Arduino
13:58
Просмотров 3,8 тыс.
Find I2C Addresses on Arduino (I2C Scanner)
11:14
Просмотров 22 тыс.
Print Text to OLED Screen on Arduino
21:07
Просмотров 18 тыс.
Fun with Transistors
24:33
Просмотров 478 тыс.
OLED Displays with Arduino - I2C & SPI OLEDs
41:41
Просмотров 1,1 млн
Connecting an LCD to our computer - 6502 part 4
28:10
Using LCD Displays with Arduino
46:23
Просмотров 1,7 млн