Three thumbs up for pointing out the address values for A0 A1 and A2! I couldn't get my LCD working until I saw that I was using the wrong address from the tutorial example. Cheers!!
I was searching different tutorials to ascertain what code was being used to define pin placement and couldn't find anything with a credible explanation until I found your video. Thank you again for being a great teacher. Jizak Allah.
Thanks for pointing out the trim pot for the back display. I was about to send two displays back because I thought they were faulty, they were only turned down so nothing could be seen. Also the address map might come in handy too, thanks for sharing.
I did just that but I had problems with error code. I coppied and pasted your sketch and still error message. Iused library manager and found a library LiquidCrystalI12C and it now works. You have a different IDE version than mine also. Love your video's thou. Keep it up.
Hello. Thanks for the video. I used it on 8/28/22 and I had to make one small change, maybe the L C library has been updated and changed a bit. My Arduino IDE wouldn't accept "lcd.begin():" so I had to change it to "lcd.init();" Otherwise it works great. This is my first time trying to use an LCD.
you have not installed the correct library. I made another tutorial with the same library here ua-cam.com/video/NXAswOc_2zg/v-deo.html and used lcd.begin() and it works fine. you are using wrong library.
I am doing a project on level controller. I have written the coding. The problem arises when the pump comes on or goes off. There is jumbled worlds. Should I send the coding to you?
When I went to upload the code, I got an error on this point "lcd.begin()" .After this change it works great("lcd.begin(16,2)".Thanks for sharing and good luck with your projects.
Your questions seems very baisc . You need to take a course. Please watch this video ua-cam.com/video/X8OJjMIHCrw/v-deo.htmlsi=p0SVWoynWuSD16t2 this video is Larry of 30 lessons cours
mine doens't work, is it because I haven't soldered the I2C module with the LCD? (wire connection and contrast is fine, I just keep getting a line of white boxes)
Your explanation is very good. Did you have project Arduino control pressure in compressor with wiring and Arduino code explanation. Please give the link. Your videos are very helpful. You should have long life.
The solution for the blue LCD problem is the potentiometer guys. That is the blue box behind your LCD. Screw the grey thing on it tighter and voila.. your there..
I solved my issue. It was the address. I was able to find the correct address using the scanner code. 0x3F is my address. I think this is what most people are experiencing, as the method in video is misleading about the addressing.
Thank you a lot for your excellent video. You helped me to resolve a problem in a project I'm actually working. ( An emulator of an hydronic heating system ) Thanks again, I'm from Montreal. Miguel
SDA and SCL are used for I2C communications and ONLY those pings are using or just use the pins on other side of the board labeled as SDA and SCL. See this video which is part of my Arduino course that might help which has wiring diagram. ua-cam.com/video/pxUjEsJQW2M/v-deo.html the full course is Here is $200 Arduino course for free Arduino Step by Step Course (over 100 video lectures) Starts here robojax.com/L/?id=338
The manufacturers set in hardware. here my video if you want to set different address ua-cam.com/video/bqMMIbmYJS0/v-deo.html also A4 and A4 should work with Arduino UNO for others boards see the pins here www.arduino.cc/en/reference/wire
Hi thank you for great video. Mine is not working at all. I am using UNO with an OLED display, did everything A4 and 5, dedicated SDA and SCX, different libraries, even followed advice to change to lcd(0x3f, 16, 2), it is all dead and showing nothing. I am using an OLED without a shield but it has the four required connections. Any idea where am I going wrong?
Well done RJ, I'm expecting soon in the mail a 20x4 LCD, just wondering if you will intend upload another wiring, instructions, and code links abut that popular LCD sometime soon? Regards
No you don’t. Get the lcd without the I2C module and use. But you need to connect 8 or 10 wires instead of 4 . Here is my video on that ua-cam.com/video/S4ya3Q7uhJs/v-deo.html
you are welcome. Few weeks back I published my Arduino course worth $200 on Udemy. Arduino Step by Step Course (over 100 lectures) Starts here robojax.com/L/?id=338
now turn the potentiometer left or right until you see squares on the screen. this video is outdated .there is better version withy wiring diagram here ua-cam.com/video/pxUjEsJQW2M/v-deo.html which is part of the Arduino step by step course
My LCD won't display anything, the back-light LED is on, but I can't see any text on the screen. I checked the soldering and I didn't spot any problems with that process, and my code is also correct. Do you know what might be the problem? Thanks.
that is not enough. what error? it shows something. perhaps you have not installed the library. Please watch the better version of this video which is part of the course series with full details and wiring diagram here ua-cam.com/video/pxUjEsJQW2M/v-deo.html
Hello Sir, firstly thank you for the great video. Secondly, I would like to know that if it is possible to use RTC3231 which uses I2C, and the LCD1602 that uses the I2C too along with a keypad. For example, if I press a key on the keypad I would like to see it on the LCD. Will the two devices on the I2C bus make a problem?
@@robojax Thank you very much, sir. I follow your channel regularly for the amazing stuff you have made. Actually, I have integrated the RTC and Keypad but now I want to integrate the I2C display. I wanted to know that will it possible to see the pressed key on the keypad on the display without any problem with the display or RTC? But you have discussed the address on the I2C bus. Do I need to specify the address of the LCD when I need to communicate with the display?
any pullup resistors required? bought 3 LCD with I2C. all three not displaying any text. the program downloaded without any error. brightness adjusted.
did you set I2C address? use I2C scanner I've provided. then change the contrast. it should work. if you want to change I2C address, to something else, check the link in description for my other video.
@@robojax connection correct. Tried in another Arduino UNO. Now I2C address displays in scan, but still LCD not display letters. Adjusted contrast too. 🤪
Hello, I did everything as instructed in the video. However, my LCD lights up but doesn't show any text. It's totally blank. what can be the reason for that?
This display is used in this video “for Arduino “ you can connect it to other microcontroller to display text if you know how to program it. Here is introduction 30 minutes course ua-cam.com/video/Mbb2xa1WcRM/v-deo.html
for some reason my lcd doesn't show any text, even tho no "errors" are there, I used the same code and connections, my lcd only turns on and that's all.
adjust the contrast. there is a variable resistor or pot. turn it left or right. Here is a better video with wiring diagram ua-cam.com/video/L1FJ8fJK-pY/v-deo.html
I assume you get the I2C address on serial monitor. if so then turn the potentiometer and adjust the contrast. if you don't set the I2C address correctly, you will not get value. good luck.
I found out information, into the datasheet to LCD 1602 is indicated, that backlight consumption is about 100 mA. As I know, DC current per I/O board's pin is 40 mA. So, using this LCD on maximum output current limit is harmful, is not it?
I have not measured the current, but even if 100mA is the max current of the LCD, it will consume it from the VCC pin. The VCC pin of Arduino uno can supply up to 400mA and you can see it here: playground.arduino.cc/Main/ArduinoPinCurrentLimitations the 40mA is the limit of the IN/OUT pins which in this case we do not use to supply power. The other pins are use to communicate which needs very little current.
Just got the Lcd thing to work but I have a doubt. Suppose you want to change the text After re-uploading the code you have to either adjust the potentiometer in the i2c module or turn the Arduino On/Off to make the new text visible. Is there a simple solution to this?
you can have push buttons like 2 3 or 8 push buttons each with different messages. once pushed you can display them. I have a lot of videos on push buttons. Watch them so you learn how push button works. then if you watched this video fully you would know how to display text. With each push button different text will be displayed. if time permits, I will make a video on that.
Can I connect "VCC" to the +/positive side of a 5V battery, and the GND to the -/negative side of the same battery? (I am going to connect some equipment to my Uno, and I've heard it is easy to burn the card if you try to take too much power from it)
Hi, I just followed the video to test my i2c with LCD on Arduino Uno. Though the LED lit up,, I could not adjust the contrast with the Variable, and hence nothing was visible in the LCD. can you suggest a remedy?
you have not installed the correct library. I made another tutorial with the same library here ua-cam.com/video/NXAswOc_2zg/v-deo.html and used lcd.begin() and it works fine. you are using wrong library.
hello,am using this lcd in my project on an alarm clock,i have difficulties in the code settings and arduino setting.kindly help me out brother.am new in arduino projects.
Hello, if you are new, then you need to start learning. Here is my $200 Arduino course for free ua-cam.com/video/-6qSrDUA5a8/v-deo.html and in this course we have a full section on LCD display. Good luck
sir actually i am not able to found the master library i have checked all the links there is liquid crystal and lcd 1602 download links do u can provide me the master library link
If u use the SDA and SCL pins instead (I have to since I'm also using something that takes the pins u used) do you have to change the code? Is there a line I missed where you declare which pins transfer clock and data?
This is Raju I have tried out more on my project by following your procedure but it is not working Please solve my below problem. SerialDisplay:13:12: error: no matching function for call to 'LiquidCrystal_I2C::begin()' lcd.begin(); Thanks for your answer
you have not installed the correct library. I made another tutorial with the same library here ua-cam.com/video/NXAswOc_2zg/v-deo.html and used lcd.begin() and it works fine. you are using wrong library.
Questions: 1. how to customize the Pins for connecting SDA and SCL in the Arduino? I would like to use A5 and A4 for another purpose. 2. Will this library works for a 20x4 LCD display?? Thanks!
1-See this video which I have explained the I2C address: ua-cam.com/video/bqMMIbmYJS0/v-deo.html 2-Yes I works. I have another video for LCD2004 display: ua-cam.com/video/DKmNSCMPDjE/v-deo.html
The close up photography is good but I stopped after 4 minutes as its unclear what is meant by A0, A1, A2 is not soldered this point can be soldered together. "This point" is singular while "together" is plural. Do you mean "These points" are to be connected to each other by soldering? The photo does not show them connected to each other. Is one to solder all 3 points together (A0 to A1, to A2)? "This point can b soldered together " is similar to saying "one of the legs are both the same". Respectfully the value of this video could be improved with some clarity on what to solder regarding A0, A1, & A2 .
that topic was out of focus of this tutorial. Explaining I2C address would have made the video very long. you may watch it her ua-cam.com/video/bqMMIbmYJS0/v-deo.html
I keep getting this error code... Please help! Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)" sketch_oct24a:2:10: fatal error: LiquidCrystal_I2C.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. exit status 1 LiquidCrystal_I2C.h: No such file or directory This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Excellent tutorial. No BS, and the right amount of technical detail. And no music! Subscribed.
Awesome, thank you!
Three thumbs up for pointing out the address values for A0 A1 and A2! I couldn't get my LCD working until I saw that I was using the wrong address from the tutorial example. Cheers!!
I was searching different tutorials to ascertain what code was being used to define pin placement and couldn't find anything with a credible explanation until I found your video.
Thank you again for being a great teacher.
Jizak Allah.
I am glad you fund it useful. Shukan. Wa Eyakum.
This explanation on LCDs with Aduino is the best I have come across.
thank you i am an arduino beginner and your videos always help me
Changing the address just by soldering... For this technique i searched a lot before seeing ur vedio....ur vedio helped me a lot ....tq
You are welcome. Good to know. Please share and subscribe.
Thanks for pointing out the trim pot for the back display. I was about to send two displays back because I thought they were faulty, they were only turned down so nothing could be seen. Also the address map might come in handy too, thanks for sharing.
You are welcome. I am glad you resolved the issue.
Robojax, you are the best!
So you are. thanks. There is the better video with wiring diagram ua-cam.com/video/pxUjEsJQW2M/v-deo.html which is part of my Arduino course
I love this channel so much. Thank you, Robojax
I did just that but I had problems with error code. I coppied and pasted your sketch and still error message. Iused library manager and found a library LiquidCrystalI12C and it now works. You have a different IDE version than mine also. Love your video's thou. Keep it up.
TYSM Sir
Code explained very well
The best part is you also commented each statement
May GBU 💖😘✌
You are welcome. May GBU too.
honestly i watch a lot tutorial this is one of the best ! keep it up bro !
Thanks, will do!
Great explanation. Thanks for your lesson. One question...can you control the backlight and/ or contrast of the I2C LCD using just the code?
Outstanding explanation 👌
Your videos must surely be of the best on the net👍
Thank you for the lcd library
Hello. Thanks for the video. I used it on 8/28/22 and I had to make one small change, maybe the L C library has been updated and changed a bit. My Arduino IDE wouldn't accept "lcd.begin():" so I had to change it to "lcd.init();" Otherwise it works great. This is my first time trying to use an LCD.
I don't know if your interested in this but I found the "lcd.init();" in the Liquid Crystal I2C example "Serial Display".
you have not installed the correct library. I made another tutorial with the same library here ua-cam.com/video/NXAswOc_2zg/v-deo.html and used lcd.begin() and it works fine. you are using wrong library.
One absolute essential when soldering is to KEEP YOUR SOLDERING IRON TIP CLEAN TO ENABLE EFFECTIVE HEAT TRANSFER!!!
I always watch here. I just want to clarify how can easily code using lcd i2c in a different sensors thank you btw you have always nice content🥰
I have used this display on may be over 50 or more sensors. just search my channel.
Well Done! Comprehensive tutorial on how to use this inexpensive device.
Thank you. Good to hear that.
Hello Robojax :)… I have just watched your tutorial and found it very informative. Thank you very much, John 👍😊
Hell John, you are welcome. I am pleased you found it useful.
Hello John I found your tutorial very informative. I am doing a project for level controller.
I am doing a project on level controller. I have written the coding. The problem arises when the pump comes on or goes off. There is jumbled worlds. Should I send the coding to you?
Thanks for a great video! Very clear explanations and pleasantly helpful!
thank you sir great explanation sir from srilanka
When I went to upload the code, I got an error on this point "lcd.begin()" .After this change it works great("lcd.begin(16,2)".Thanks for sharing and good luck with your projects.
how??
@@Omsharmaji30 explain what you don’t know how to do 🙄
Thankyou bro it really help me
Thanks, been around, finally got it working
You are welcome. I am glad you did.
@@robojax hey my lcd is just lighting up but no text :(
@@fps3689 Same here
This was so helpful for my project, thank you!
Great video! Followed along and it worked perfectly. Thanks!
You are welcome. Good to hear that.
3:37 A0 A1 A2... good but what are they used for? :)
Your questions seems very baisc . You need to take a course. Please watch this video ua-cam.com/video/X8OJjMIHCrw/v-deo.htmlsi=p0SVWoynWuSD16t2 this video is Larry of 30 lessons cours
Very nice Tutorials
Glad you like them!
Well done!
Everything is clear and easy to recreate.
Thank you.
Thanks...Just what I needed to for 1602 LCD I2C Display module.
You are welcome.
mine doens't work, is it because I haven't soldered the I2C module with the LCD? (wire connection and contrast is fine, I just keep getting a line of white boxes)
how would you expect it without soldering. there won't be proper contact. solder it and it will work.
Thanks ......... it really helped
Your explanation is very good. Did you have project Arduino control pressure in compressor with wiring and Arduino code explanation. Please give the link. Your videos are very helpful. You should have long life.
Should we female header pin to solder??
Make a video on i2c keypad interfacing with arduino please
no seen or found keypad using i2C.
Please search on it on google
Please search on it on google
Can we do this without soldering
Yes if you can hold the module with your hand pressed on the display
The solution for the blue LCD problem is the potentiometer guys. That is the blue box behind your LCD. Screw the grey thing on it tighter and voila.. your there..
I solved my issue. It was the address. I was able to find the correct address using the scanner code. 0x3F is my address. I think this is what most people are experiencing, as the method in video is misleading about the addressing.
Thanks Nick. That was all it took to display the characters.
thanks , i was about to smash the thing on the floor
thanks man
omg i finally found it
man thanks
Glad I could help
@@robojax can you subscribe to this channel = ua-cam.com/channels/-z6vzILUoG3FVtW5mWl1ww.html
Thank you very much!
You're welcome!
It helps a lot.. You are so Great my friend :)
I am glad it did. Thank you
Thank you a lot for your excellent video. You helped me to resolve a problem in a project I'm actually working. ( An emulator of an hydronic heating system ) Thanks again, I'm from Montreal. Miguel
My pleasure. You may continue learning Arduino with my course . Link is in description
Thank You Ayak
Ayak?
Possible to explain the analog part? what if I wan other analog pin, rather than analog A05 / A04?
SDA and SCL are used for I2C communications and ONLY those pings are using or just use the pins on other side of the board labeled as SDA and SCL. See this video which is part of my Arduino course that might help which has wiring diagram. ua-cam.com/video/pxUjEsJQW2M/v-deo.html the full course is Here is $200 Arduino course for free Arduino Step by Step Course (over 100 video lectures) Starts here robojax.com/L/?id=338
Mine didn't work on A5 and A4. Only works in SLC1 and SDA1. Also address is 0x3F instead of 0x27 for some reason.
The manufacturers set in hardware. here my video if you want to set different address ua-cam.com/video/bqMMIbmYJS0/v-deo.html also A4 and A4 should work with Arduino UNO for others boards see the pins here www.arduino.cc/en/reference/wire
Hello!! the second part of this comment saved me after messing with this thing for over an hour lol. thank you for sharing this fix :)
Very nice tutorial ! Thanks
You are welcome!
Hi thank you for great video.
Mine is not working at all. I am using UNO with an OLED display, did everything A4 and 5, dedicated SDA and SCX, different libraries, even followed advice to change to lcd(0x3f, 16, 2), it is all dead and showing nothing. I am using an OLED without a shield but it has the four required connections. Any idea where am I going wrong?
you gott install the library mention and shown. over 100,000 people have used this library
شكرا لك متابعك من العراق
مرحبًا بكم في Robojax. أحمد من كندا. أصله من خراسان الكبير.
Well done RJ, I'm expecting soon in the mail a 20x4 LCD, just wondering if you will intend upload another wiring, instructions, and code links abut that popular LCD sometime soon? Regards
there is 20X4 and I will upload the video in coming days. But have not heard 20x5.
Oops ;) you have right, I mistyped the actual size is 20x4 exactly what you say is correct. Regards and thanks very much.
do we really need to solder it?
if it is not already soldered, yes you need. the connection will not be established.
How could I use this display for home theatre monitor?
Search my channel for thermostat
I keep on getting a error message no liquidcrystal .h file exists. What a I doing wrong in down loading you code and folder?
Just watch the video without skipping it will be resolved. Just install the library.
Can Arduino be used to produce business goods? What is your opinion on this?
Yes of course. There are so many companies offering industrial Arduino product.
Thanks you sir for reply
7:48 I put the exact same code on the IDE and arranged the LCD like in the video but nothing happens on the LCD why is that?
I assume you have downloaded the library. then adjust the contrast while the code is running. make sure you see 16 character frames in each line.
@@robojax yes, but how do we adjust the contrast without the potentiometer since like I'm using the LCD I2C
It has to have potentiometer
Do you need to use the i2c bored or can you just use the lcd on its own
No you don’t. Get the lcd without the I2C module and use. But you need to connect 8 or 10 wires instead of 4 . Here is my video on that ua-cam.com/video/S4ya3Q7uhJs/v-deo.html
Thank you very much for this tutorial.
You are welcome. If you watched with other than English subtitle, please let me know. Thanks
thanks bro it helped a lot
you are welcome. Few weeks back I published my Arduino course worth $200 on Udemy. Arduino Step by Step Course (over 100 lectures) Starts here robojax.com/L/?id=338
Hi there, is it possible to use your code with arduino nano? I'm cannot find out how to get your code to work with a nano
Hi, all the codes work with all Arduino board and that's why I did not mention which board.
Hey sir code is getting uploaded and backlight is also glowing but the text r not visible so please help!
now turn the potentiometer left or right until you see squares on the screen. this video is outdated .there is better version withy wiring diagram here ua-cam.com/video/pxUjEsJQW2M/v-deo.html which is part of the Arduino step by step course
My LCD won't display anything, the back-light LED is on, but I can't see any text on the screen. I checked the soldering and I didn't spot any problems with that process, and my code is also correct. Do you know what might be the problem? Thanks.
Adjust using potentiometer. I have shown in video.
@@robojax I tried, but that's not the problem
Please help
I am getting, compilation error: no matching function for call to "Liquid Crystal_I2C::begin()"
Okay I figured it out had to remove the other LCD libraries and restart the IDE
خیلی عالی دستتون درد نکه
سلامت باشید. این هم نسخۀ فارسی خالص اید ویدیو در مجرای "علم وفن" ua-cam.com/video/1-ceRuyDkbQ/v-deo.html
Please help Nothing is apearing on the LCD
The back light is on but no words are showing up
Turn the potentiometer to three left or right
Thank you so much!!!!👍
the shows error, I need help
that is not enough. what error? it shows something. perhaps you have not installed the library. Please watch the better version of this video which is part of the course series with full details and wiring diagram here ua-cam.com/video/pxUjEsJQW2M/v-deo.html
Hello Sir, firstly thank you for the great video. Secondly, I would like to know that if it is possible to use RTC3231 which uses I2C, and the LCD1602 that uses the I2C too along with a keypad. For example, if I press a key on the keypad I would like to see it on the LCD. Will the two devices on the I2C bus make a problem?
Just search my channel and you will be surprised. Here is the code and video ua-cam.com/video/qB0drI56zGE/v-deo.html
@@robojax Thank you very much, sir. I follow your channel regularly for the amazing stuff you have made. Actually, I have integrated the RTC and Keypad but now I want to integrate the I2C display. I wanted to know that will it possible to see the pressed key on the keypad on the display without any problem with the display or RTC? But you have discussed the address on the I2C bus. Do I need to specify the address of the LCD when I need to communicate with the display?
sir i installed the library but i am still getting lcd.begin(); error .. please help me..
Please watch the latest new video which is part of the course ua-cam.com/video/pxUjEsJQW2M/v-deo.html
any pullup resistors required? bought 3 LCD with I2C. all three not displaying any text. the program downloaded without any error. brightness adjusted.
did you set I2C address? use I2C scanner I've provided. then change the contrast. it should work. if you want to change I2C address, to something else, check the link in description for my other video.
@@robojax I2C address correct. used scanner. its not able to find any device. It's stuck up like.. scanning......
If it can’t find , then check wiring. SDA is A4, SCL is A5. And if you still can’t get the address, the your module is bad.
@@robojax connection correct. Tried in another Arduino UNO. Now I2C address displays in scan, but still LCD not display letters. Adjusted contrast too. 🤪
Finally done. Deleted all libraries and installed only one fresh. It's working. Cheers..
how do I put it in the breadboard?
You may mean it from this video ua-cam.com/video/c90NszbNG8c/v-deo.htmlsi=B9cl1QFGcbydyWTO
Or Keane how yise a breadboard here ua-cam.com/video/jTJ-JL2gEuQ/v-deo.html
Good Tutorial, Well explained :):):)
Glad you liked it!
Please help me , I am getting error. It showing an error occurred while uploading the sketch
provide error to help you. most people think they are smart and skip the video and miss the instruction. I hope you are not amongst those.
Hello, I did everything as instructed in the video. However, my LCD lights up but doesn't show any text. It's totally blank. what can be the reason for that?
Adjust the potentiometer until you see the text
@@robojax I had the same problem with her and when I adjusted th pot, only boxes shows
@@robojax pls help
can i run a program after uploading it with arduino then removing arduino and using i2c instead
This display is used in this video “for Arduino “ you can connect it to other microcontroller to display text if you know how to program it. Here is introduction 30 minutes course ua-cam.com/video/Mbb2xa1WcRM/v-deo.html
Sir I used your method but it worked for two days but it is not working now only the lcd screen is full green nothing is coming.
Chang the contrast
Sir it is not working@@robojax
@@robojax I tried to change the contrast using the potentiometer but it is not working
Have you used the I2C scanner? It is on the list and check related videos
@@robojax sir I have used it but it says scanning and nothing else, but when I disconnect the i2c module it says unknown error
i dont know why when i use lcd.begin my script dont working but when i use lcd.init my code is working
it should not work without the lcd.begin. it seems you have the same code twice included. check it
@@robojax thanks
for some reason my lcd doesn't show any text, even tho no "errors" are there, I used the same code and connections, my lcd only turns on and that's all.
adjust the contrast. there is a variable resistor or pot. turn it left or right. Here is a better video with wiring diagram ua-cam.com/video/L1FJ8fJK-pY/v-deo.html
@@robojax yeah I actually searchef further about the problem after writing the comment and solved it, thx for the reply tho !
I'm not getting the output displayed. LCD is on, i also checked the I2C address and its 0x27 only. What should i do?
use potentiometer to set it properly. Watch the video it should work.
Hello sir, i followed everything on the video but it wont display the characters only blank lcd screen that is turned. Help!
I assume you get the I2C address on serial monitor. if so then turn the potentiometer and adjust the contrast. if you don't set the I2C address correctly, you will not get value. good luck.
@@robojax okay sir thank you and btw it works!
you are welcome.
I had subscribed to a bunch of people and I was trying not to subscribe to more people, but I had to subscribe
I found out information, into the datasheet to LCD 1602 is indicated, that backlight consumption is about 100 mA. As I know, DC current per I/O board's pin is 40 mA. So, using this LCD on maximum output current limit is harmful, is not it?
I have not measured the current, but even if 100mA is the max current of the LCD, it will consume it from the VCC pin. The VCC pin of Arduino uno can supply up to 400mA and you can see it here: playground.arduino.cc/Main/ArduinoPinCurrentLimitations the 40mA is the limit of the IN/OUT pins which in this case we do not use to supply power. The other pins are use to communicate which needs very little current.
Ur channel is awesome.
Thank you.
we are original manufactory for LCD display, if you need 1602A pls let me know. mail to maoshengelectronics@gmail.com
Why didn't you use simple LiquidCrystal library? Does the driver change the way of using library or something?
I tried many libraries and this was the best of all without any issue. In every video I made on LCD, I used it.
thank you! worked perfectly
You are welcome.
Just got the Lcd thing to work but I have a doubt. Suppose you want to change the text After re-uploading the code you have to either adjust the potentiometer in the i2c module or turn the Arduino On/Off to make the new text visible. Is there a simple solution to this?
you can have push buttons like 2 3 or 8 push buttons each with different messages. once pushed you can display them. I have a lot of videos on push buttons. Watch them so you learn how push button works. then if you watched this video fully you would know how to display text. With each push button different text will be displayed. if time permits, I will make a video on that.
Can I connect "VCC" to the +/positive side of a 5V battery, and the GND to the -/negative side of the same battery? (I am going to connect some equipment to my Uno, and I've heard it is easy to burn the card if you try to take too much power from it)
Yes you can if your battery is 5V. We don't have 5V battery as for as I know unless there is something else that regulates it to 5V.
Robojax I was thinking about getting a 5v battery eliminator / power supply, instead of a battery. Not sure if it will work
Hi, I just followed the video to test my i2c with LCD on Arduino Uno. Though the LED lit up,, I could not adjust the contrast with the Variable, and hence nothing was visible in the LCD. can you suggest a remedy?
That’s that only way.
lcd.init ();
Error on this line how to solve this sir ?
what error? provide full text. you must install library. Please watch better latest video here ua-cam.com/video/pxUjEsJQW2M/v-deo.html
@@robojax library already installed.
lcd.init (); error
you have not installed the correct library. I made another tutorial with the same library here ua-cam.com/video/NXAswOc_2zg/v-deo.html and used lcd.begin() and it works fine. you are using wrong library.
did we need to solder at A0,A1 and A2 if we use address 0x27 ?
Please see the link in the description for separate video which I2C module is fully explained
hello,am using this lcd in my project on an alarm clock,i have difficulties in the code settings and arduino setting.kindly help me out brother.am new in arduino projects.
Hello, if you are new, then you need to start learning. Here is my $200 Arduino course for free ua-cam.com/video/-6qSrDUA5a8/v-deo.html and in this course we have a full section on LCD display. Good luck
my lcd only light up...does not display anything help pls
1-adjust the contrast 2-run I2C scanner and set proper address
If lcd(0x27, 16, 2) configuration is not working, It is strongly recommended that you try the lcd(0x3f, 16, 2) configuration before giving up.
This solved my issue. I was sure it wouldn't, as it defies logic lol.
thank you
sir actually i am not able to found the master library i have checked all the links there is liquid crystal and lcd 1602 download links do u can provide me the master library link
It has been foliage over 100,000 times . Look at the link in the description
If u use the SDA and SCL pins instead (I have to since I'm also using something that takes the pins u used) do you have to change the code? Is there a line I missed where you declare which pins transfer clock and data?
NO. That is what you should use. A4 and A5 are the same pins.
This is Raju
I have tried out more on my project by following your procedure but it is not working
Please solve my below problem.
SerialDisplay:13:12: error: no matching function for call to 'LiquidCrystal_I2C::begin()'
lcd.begin();
Thanks for your answer
Hi Radu, it is because you have escaped the video. Watch it fully and I can assure you it will work as it did work for over 100,000 people.
Yes sir I will try once again
lcd. Initi (); is working instead of lcd.begin(); in you code I don't know what is the problem
Will re install my library sir
you have not installed the correct library. I made another tutorial with the same library here ua-cam.com/video/NXAswOc_2zg/v-deo.html and used lcd.begin() and it works fine. you are using wrong library.
thanks you
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
No Thai won’t work. This display has I2C module and has only 4 wires shown in the video. For the display without the module see my other video
PINOUT WITHOUT I2C
NORMAL CONNECTION BETWEEN UNO AND 16*2
Questions:
1. how to customize the Pins for connecting SDA and SCL in the Arduino? I would like to use A5 and A4 for another purpose.
2. Will this library works for a 20x4 LCD display??
Thanks!
1-See this video which I have explained the I2C address: ua-cam.com/video/bqMMIbmYJS0/v-deo.html
2-Yes I works. I have another video for LCD2004 display: ua-cam.com/video/DKmNSCMPDjE/v-deo.html
It didn't work for me with a regular LCD shield, but it worked with DFRobot LCD Keypad shield. Not sure why, nothing showed up on the screen
Perhaps you have not installed the right library.
The close up photography is good but I stopped after 4 minutes as its unclear what is meant by A0, A1, A2 is not soldered this point can be soldered together. "This point" is singular while "together" is plural. Do you mean "These points" are to be connected to each other by soldering? The photo does not show them connected to each other. Is one to solder all 3 points together (A0 to A1, to A2)? "This point can b soldered together " is similar to saying "one of the legs are both the same". Respectfully the value of this video could be improved with some clarity on what to solder regarding A0, A1, & A2 .
that topic was out of focus of this tutorial. Explaining I2C address would have made the video very long. you may watch it her ua-cam.com/video/bqMMIbmYJS0/v-deo.html
I keep getting this error code... Please help!
Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"
sketch_oct24a:2:10: fatal error: LiquidCrystal_I2C.h: No such file or directory
#include
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
LiquidCrystal_I2C.h: No such file or directory
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
When I type lcd.backlight, the backlight doesnt become orange in color.Any solutions?
You cant' change the color. Just turn ON or OFF