I2C 20 x 4 LCD Display on Arduino

  Рет қаралды 17,605

Eli the Computer Guy

Eli the Computer Guy

Күн бұрын

Пікірлер: 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.
@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?
@rho35100
@rho35100 4 жыл бұрын
Eli.... just a perfectly well explained video!! thanks you very much
@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
@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?
@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
@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.
@Max-lq9bi
@Max-lq9bi 2 жыл бұрын
your code DOES NOT work. Waste time
@robertheer4043
@robertheer4043 4 жыл бұрын
i can't find where to download the file called: New Liquid Crystal Library
@jondrayna6978
@jondrayna6978 Жыл бұрын
Um, thanks, but this is useless because one of the the libraries you link to asks for a login.
@motaharabedy2982
@motaharabedy2982 3 жыл бұрын
Where to get LCD.h?
@رجلالسلام-خ2و
@رجلالسلام-خ2و 4 жыл бұрын
It works with me so great thanks to you
@borpborp5710
@borpborp5710 5 жыл бұрын
You could make a toddler develop an AI
@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.
@jenshoumann5646
@jenshoumann5646 5 жыл бұрын
Thanks, works perfectly.
@rodo19724
@rodo19724 3 жыл бұрын
Sorry men, but your link says 404 page not found.....
@imwhatim7259
@imwhatim7259 Жыл бұрын
You look like you are from GTA 4 guy
@Dan-ro6nj
@Dan-ro6nj 5 жыл бұрын
i prefer smaller bezels and also does it even have a grafix cart this aint no technology
@chanukadananjaya2096
@chanukadananjaya2096 5 жыл бұрын
thanks lot of.it works
@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.
@patlaroche608
@patlaroche608 4 жыл бұрын
Merci!
@ZiktheProgrammingGuy
@ZiktheProgrammingGuy 5 жыл бұрын
ohh another one
@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
@MerakiLovesU
@MerakiLovesU 5 жыл бұрын
Nice
@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
Eli the Computer Guy
Рет қаралды 3,8 М.
Display examples - which one to use?
12:41
Electronoobs
Рет қаралды 259 М.
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 19 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 7 МЛН
Find I2C Addresses on Arduino (I2C Scanner)
11:14
Eli the Computer Guy
Рет қаралды 22 М.
Print Text to OLED Screen on Arduino
21:07
Eli the Computer Guy
Рет қаралды 18 М.
Soil Moisture Sensor LED Alert with Arduino Uno
19:19
Eli the Computer Guy
Рет қаралды 9 М.
Using LCD Displays with Arduino
46:23
DroneBot Workshop
Рет қаралды 1,7 МЛН
128 x 64 OLED Screen for Arduino Setup/ Demo
13:52
Eli the Computer Guy
Рет қаралды 7 М.
LCD Display ansteuern, mein kleines Tutorial
10:53
Bastelbruder
Рет қаралды 43 М.
#23 LCD BIG DIGITS for your Arduino using I2C - Easy!
20:57
Ralph S Bacon
Рет қаралды 26 М.
Internal structure of a liquid crystal or LCD TV screen
9:45
e-learning électronique
Рет қаралды 125 М.
【For Beginner】How to start electronics and what item is needed
18:16
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН