Arduino LCD I2C - Tutorial with Arduino Uno
HTML-код
- Опубликовано: 31 июл 2024
- SUBSCRIBE: ruclips.net/user/aymaanrahman?...
In this video, I show you how to use a I2C LCD Display with an Arduino Uno!
♦ PARTS LIST
Arduino Uno: amzn.to/32HLuUw
Jumper Wires: amzn.to/3nmeElC
LCD 16X2 I2C Display: amzn.to/32EvWRt
♦ CODE & LIBRARY
Code: drive.google.com/open?id=1jYC...
Liquid Crystal I2C Library: github.com/fdebrabander/Ardui...
I2C Scanner Code: playground.arduino.cc/Main/I2...
♦ SUBSCRIBE: ruclips.net/user/aymaanrahman?...
♦ PATREON(To further support me): / aymaanra
♦ MY SOCIAL
PODCAST: anchor.fm/aymaanra
WEBSITE: aymaanrahman.com
TWITTER: / aymaanra
INSTAGRAM: / aymaanra
FACEBOOK: / aymaanra
LINKEDIN: / aymaanra
♦ BUSINESS INQUIRIES - aymaanrahman05@gmail.com
DISCLAIMER: This video description contains affiliate links. If you click on one of them, I'll receive a commission.
#arduino #electronics #arduinotutorial
_
Timestamps:
0:12 Wiring
1:10 Arduino Library
1:40 I2C Scanner Sketch to know the I2C Address of the LCD Display
2:13 Programming the Arduino to print "Hello World" on the LCD Display
3:35 The LCD Display showing the message "Hello World"
3:44 Uploading a different code to the Arduino to display multiple messages showing up one after another
4:35 The LCD Display showing multiple messages one after another
4:47 If the LCD Display is not working, adjusting the contrast potentiometer on the back of the display Наука
♦ PARTS LIST
Arduino Uno: amzn.to/3bHgqtq
LCD 16X2 I2C Display: amzn.to/3rN6dRL
♦ SUBSCRIBE: ruclips.net/user/aymaanrahman
♦ PATREON: patreon.com/aymaanra
good luck, i like your energy keep going and learn more
Thanks!
Thanks man! You were really straight to the point in this tutorial! You have been such a great help :)) Thanks again! ^^
I am very thankful I was trying many videos but this the best; simple' clear; and direct to the goal; Jazak All Khaira
I can’t thank you enough for this video, I was troubled with bunch of wiring on another lcd connections which require many wires and hard to troubleshoot it but this is soo useful.TQ
Thank you!! Glad I could help!
the potentiometer advice was the one I was missing thanks a lot
Who says you can't teach a 65 year old new stuff, Thanks
Thank you!! Appreciate it a lot!!
Thank you very much this video was awesome and it taught me a great thing which was troubling me. thank you a lot
thanku very very much bro
I am searching for this content for 2 days
that part which you explained that 16,2
Straight to the point and quick, thanks alot.
Great vid, lots of energy good on you, and thx for showing how to identify the I2C ID in the monitor.
thanks
Thank you. A great tutorial that is clear and to the point. Again thank you very much sir👍👍✌️
welcome!
my problem was at contrast potentiometer, thanks a lot bro, life savior
VERY EASY TO UNDERSTAND! That's it! Very good and congratulations
thanks
thank you so much I wanted to know how to control an lcd display and it works I had difficulty but I am glad it work thanks you :)
Glad it helped!
That was very helpful Thank you so much
At 4:50 you solved my problem that I'd been fighting with for an hour. Thanks!
welcome
Thanks Bro. I was literally just doing this a day before my competition. Lol.
My screen has no pins to plugin they came not soldered? Should I solder it
Thank you sir! That was very useful for me 👍
You’re welcome!
Good tutorial man! Love the enthusiasm!
Thanks a lot bro!!
finally got my display to work thanks!
You're welcome!
Thanks for the information! Very useful
thank you!
I almost thought my LCD was broken because it was displaying lol. Thanks for the tip on adjusting the potentiometer!
You're welcome !
thanks bro, u saved our research
Thank you man, very good video!
thank you!
Bhaii opp...
Love you Bhai last din me lcd chalu ho gaya 😍😘
You're welcome!
ho bro thanks for amzing vedio i like and lov vry mchu u r the bhest enginery or softwar thnx for the vedio
Thanks! Super Helpful! Subscribed!
you're welcome!
thank you, it's very helpful guide !!
welcome!
tqq for info,,,glad that i found your vid
Glad I could help!
Very good tutorial thank you
I can’t Thank You enough to for this . I was traying so many examples but NO one worked ... Thank You again 🤝
do I need to use resistors if i will use breadboard and make an RFID locker?
is that the exact form of putting the i2c or for as long as you solder the i2c to the 16 pins ?
please enlighten me.
really thank you it helps me alot
You're welcome!
thanks for your video,i want to know if there is a way to connects SDA and SCL t odigital pins not A4 and A5
thanks dude, helped me :)
welcome
Hello, how do we use the LCD screen with on/off switch. Thanks
Awesome video man, worked like a charm 🍀, saludos from Ecuador,
glad it helped you! Saludos!
@@aymaanra , yeah man.very concise and to the point, didn't leave anything out!
@@elgracko How? Mine simply not working and everything i tried it hasn't worked
@@exploreworldx , did you follow all of his instructions?
@@elgracko Yep but will do and check again
I've got lost watching your hand gestures, now I'm playing rock paper scissor alone lol. great video though
Please help me, it does not display text, but an empty boxes. And when i upload the code you gave it says no matching function for call to LiquidCrystal_2C::begin()'
did you solve it?
بارك الله فيك،Thank you so much brother
welcome!
thanks for the knowledge 💖💖💖💖
You da man...Your code worked while a major tutorial I found elsewhere was in error.
thank you!
How can scroll the second line without moving the 1 line.like 1st line, print hello. It static. While the 2nd line is scrolling to right to left. Hope you help me
Hi, i had adjusted the potentiometer for the lcd.. bur why still it doesn't appear any text ? I did upload the exactly code you share and no error at all
Hi i cannot get your link as i want the text on the led need your guide
i have a problem, i used 5 pins of 6 analog pins, and i need to connect lcd with i2c also. where can i put sda, scl pins on arduino?
I'm unable to open the example file. The library is downloaded, but whenever I go to open the HelloWorld example, nothing happens upon clicking it. Do you know any way to tackle this issue?
THANK YOU
MY LIFE IS SAVED
you're welcome!
Can a png be used? I have converted it to .h format. What code do I need to add to my ino file?
Hola buenas. No sé si podrías poner las librerías para descargar. Estoy buscando las librerías por internet pero no encuentro las buenas. Gracias!
Cool, I subbed
Hello friend thank you. Can you tell me how to run the messages continously
What if the LCD I use is "LCD 1602 Module (with pin header)?
how to code where using 16x2 lcd I2C the text display on the row 1 will move from left to right and same goes to row 2 the text moving from left to right ...
thank you so much ❤
Good Content keep this up
thanks dude!
Hi please tell me how connect PCB and jumpers wire
awesome video sir
the library in github is now read only... it has been archived by owner.... Where else can we get it....????
what if a5 and a4 is used by another device? lixe adxl345?
Great video
i tried adjusting potentio meter as well its not working
great video, thanks
You’re welcome!!
it says this how to fix the code Compilation error: no matching function for call to 'LiquidCrystal_I2C::begin()'
I2C module me 4 wire as input use hote hain 16wire as output. Kya koi aisa module aata hai 16wire as input ho aur 4 wire as output ?
Who knows. It is possivle to leave this lcd on with text what we wrote on script without connect with pc?
PIN 1 》GROUND
PIN 2 》POSITIVE
PIN 3 》10K POT
PIN 4 》A12
PIN 5 》GROUND
PIN 6 》A11
PIN 11 》A5
PIN 12 》A4
PIN 13 》A3
PIN 14 》A2
PIN 15 》220Ω
PIN 16 》GROUND
Mine just display white square dots, what is wrong
Thank you bro. It works.
You're welcome
Hi i'm not an expert so i would like to ask you if you can add some lines on the sketch to add the reading of microSievert/h as well as the CPM? The conversion index is equal to 151, which means that: 151 CPM = 1 μSv/h
1 CPM = 1/151 μSv/h = 0,00662252 μSv/h.
Thank you
Nice video, Keep it up
Thanks!
Thank you so much
Only getting white printed boxes, that is, pixels displayed but not message
really helpfull
thanks man
You're welcome
no matching function for call to 'LiquidCrystal_I2C::begin()' what is this bro
I did everything but nothing is working, no readings in the LCD even if i switch the LCD
thank you very muuuchh!!!!
You're welcome!
Whenever I interface, i2c heats up. Can I know the reason behind it???
no matching function for call to 'LiquidCrystal_I2C::begin()'
thats the error im getting when i upload the code to display hello world
did you install any other LCD i2c library before this? if so then try deleting that one and install the library linked in the description of this video.
There are far to many LCD I2C library's out there that are out of date and do not work :(
The one in this video does work as of 26/6/20, I spent a whole day trying to fix the LCD only displaying one character and compile errors caused by the published fix's for it :(
This worked straight out of the box, although I downloaded the zip and extracted it to C:/Program Files/Arduino/libraries instead of using the include method.
Thank you :)
I'm glad it worked! Cool! Any projects you are planning to implement the LCD Display into?
@@aymaanra I am initially going to use it to display values to help debugging code, the current project is temperature controlled cooling for a large radio control aircraft to automatically open and close the vents. This will eventually be on a custom PCB using an atmega328p-pu with the option of connecting the LCD to show the sensor temperature.
While not from my project this gives an example of what it will operate ruclips.net/video/mC9z6QMkgFo/видео.html
Interestingly all the DIY arduino tutorials that I have seen appear to be wrong, they either do not mention the load capacitance of the 16mhz crystal or they use the wrong value load capacitors e.g. using 20pf capacitors with a 20pf crystal instead of the correct value of 36pf. Indeed many sellers of 16mhz crystals on ebay, amazon, etc. do not give the load capacitance :(
@@steverpcb wow, very cool!!!
@@steverpcb oh so are you planning to use atmega then or an arduino nano or something similar?
Sir what are the functions of SDA and SCL pins and why we connect them to A4 and A5?????
I thought same, note that some Ards have dedicated pins labelled as such on the digital side north of pins 12, 13. Mine Ard Uno does.
My lcd shows first character only .. ie "h" of the hello world
Heya , it was nice explained!!
Can u tell me why we attached the ir sensor to back of lcd display?
What is that's use ?
Can we add lcd to aurdino without that sensor
It is for background contrast of display
Can I connect SCA and SCL with other than A4 and A5, because they are already used.
Connect to the 2 digital pins closest to the USB port labeled SDA and SCL
Good day sir! Please help me, it does not display text, but an empty boxes. And when i upload the code you gave it says no matching function for call to LiquidCrystal_2C::begin()'
did you find the solution
@@ourabigidk
Same is happend with me, try typing "lcd.begin(16, 2);" if you have lcd 16 x 2, and then upload the code, for me it disabled the backlight, then I typed the previous statement lcd.begin() and it worked.
bro help me pls
i get a error showing
avrdude: ser_open(): can't open device "\\.\COM6": The system cannot find the file specified.
pls help asap! im working on a project
hey, try changing your COM port in the Arduino IDE
how to print a,b,c,,,,? what is the code?
That's pretty simple 😗
NOT SHOWING AS WELL AS SERIAL MONITOR NOT GET ANY THING ITS EMPTY
They say, lcd.begin(); is wrong why?
hey can you tell me why it is showing nothing to me in my serial monitor
try adjusting the potentiometer on the back of the display with a screwdriver!
I upload the code but when i hit the serial monitor it is not giving me an address only a bunch of squares.
Try adjusting the potentiometer on the I2C board, the one with the screw driver print
thank you
Welcome
didn't work for me unable to see any msg on the display
Aymaan - I'm looking for a scketch using this display, for lap timing, for my slot car track. Can't find any, any suggestions? Thanks
Your thoughts or suggestions?
Hello!! Just found this, hope it helps!: forum.arduino.cc/index.php?topic=516838.0
@@dane7205 There are some people in that forum post who have some code and projects, you can check it out, I haven't worked with lap timing or slot car track circuits before so I don't know about them in detail. thanks!
Thanks bro .
You're welcome
Bro circuit diagram plzz
Mine is showing in the LCD but in the compiler it says that
"An error occurred while uploading the sketch
avrdude: verification error, first mismatch at byte 0x046c
0x51 != 0xd1
avrdude: verification error; content mismatch"
How can I fix this problem? Thank you
Did you install any other LCD library before?
I didn't install any library. All I did was your instructions.
Is the correct arduino board selected in the IDE?