How to use LCD LCD1602 with I2C module for Arduino - Robojax

  Рет қаралды 551,570

Robojax

Robojax

Күн бұрын

In this video you will learn How to use LCD1602 with I2C module for Arduino
You will see cursor blinking, cursor not blinking and also you will see how to display special characters on the screen.
You buy me a coffe ko-fi.com/robojax
LCD with 3 projects: Voltage, Temperature and distance • Lesson 20: Using LCD16...
Purchase from Affiliated store:
All Products below have full free KZfaq Course
Arduino 3-in-1 ioT Learning Kit from SunFounder:robojax.com/L/?id=367
Purchase The best Ever ESP32 Camera Learning from SunFounder:robojax.com/L/?id=368
Raspberry PI Robot Camera Car kit from SunFounder:robojax.com/L/?id=365
Raspberry PI Pico CAr kit from SunFounder:robojax.com/L/?id=366
Subscribe To my channel now bit.ly/rj-subscribe
Video of LCD with Arduino and Wiring Diagram:
• Lesson 19: Using LCD S...
Dieses Video auf Deutsch
So verwenden Sie LCD 1602 I2C oder LCD2004 mit Arduino - Schritt für Schritt
• So verwenden Sie LCD 1...
$200 Free Arduino Step by Step Course (over 100 lectures) Starts here robojax.com/L/?id=338
******Purchase this LCD1602 I2C from:*****
eBay: ebay.us/66zQYE
Amazon USA: amzn.to/3rBaFTw
Amazon Europe (all countries): amzn.to/38ryLsk
Amazon Canada: amzn.to/2N3B8tM
Banggood: www.banggood.com/custlink/GKD...
AliExpress: s.click.aliexpress.com/e/_A2wvbK
AliExpress 10pcs: s.click.aliexpress.com/e/_AqB4NK
** Purchase Arduino Start Kit **
Amazon USA: amzn.to/3z88F9G or just UNO board amzn.to/3aY7KOL
Amazon Canada: amzn.to/31an88J or just UNO board amzn.to/3pYxSNN
Amazon Europe (all Europe): amzn.to/3pMCHge or Just UNO board amzn.to/2PgGItD
AliExpress: s.click.aliexpress.com/e/_9uc7Xe
Banggood: www.banggood.com/custlink/3GD... or UNO board www.banggood.com/custlink/vKm...
eBay: ebay.us/B1JWLi
***** Purchase Authentic Arduino Uno from ***
Amazon USA: amzn.to/2KApAwK
Amazon Canada: amzn.to/37LZ8sW
All Europe Amazon: amzn.to/36YDSzn
*** Free Course ***
Arduino Step by Step Course (over 100 lectures) Starts here • Lesson 00 What is Ardu...
The best thank you for me is to not skipping ads and Subscribe 🔔 to my channel, like 👍 the video and do not skip the ads.. It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
Download the code for LCD1602 with I2C : robojax.com/L/?id=85
Chapters of this video:
00:00 Start
00:35 LCD1602 and I2C Module explained
04:37 Wiring Explained
05:35 Downloading LCD1602-I2C library
07:13 Code explained for LCD1602
If you found this tutorial helpful, please support me so I can continue creating content like this. You can support me via PayPal: bit.ly/rj-paypal
How to use a breadboard (video) : robojax.com/L/?id=121
Cool smart watch review video robojax.com/L/?id=123
Related videos:
How to change I2C Address : • LCD1602 I2C Address fo...
Introduction to LCD1602 and LCD2004:[this video]
LCD1602 with the I2C: • Using LCD1602 LCD disp...
Using 2 or more LCD1602/2004: • How to use multiple LC...
LCD1602 as bargraph with Ultrasonic sensor: • Display distance from ...
Tutorial by Ahmad Shamshiri form Canada
****************************
Arduino Step by Step Course (over 100 lectures) Starts here • Lesson 00 What is Ardu...
Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
****************************
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link paypal.me/robojaxTV
Follow me on Facebook robojaxTV
Follow me on Twitter: / robojaxtv
Follow me on Instagram: / robojax
Tutorial by Robojax.com
Get other projects code and learn Arduino
robojax.com/learn/arduino
#robojax #robojaxLCD1602

Пікірлер: 460
@yanfoo
@yanfoo 2 жыл бұрын
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!!
@ImamHafizAkhlaqAhmad
@ImamHafizAkhlaqAhmad 5 жыл бұрын
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.
@robojax
@robojax 5 жыл бұрын
I am glad you fund it useful. Shukan. Wa Eyakum.
@paullarj8793
@paullarj8793 10 ай бұрын
This explanation on LCDs with Aduino is the best I have come across.
@DownhillAllTheWay
@DownhillAllTheWay 3 ай бұрын
Excellent tutorial. No BS, and the right amount of technical detail. And no music! Subscribed.
@robojax
@robojax 3 ай бұрын
Awesome, thank you!
@xz6476
@xz6476 4 жыл бұрын
TYSM Sir Code explained very well The best part is you also commented each statement May GBU 💖😘✌
@robojax
@robojax 4 жыл бұрын
You are welcome. May GBU too.
@DodgyBrothersEngineering
@DodgyBrothersEngineering 5 жыл бұрын
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.
@robojax
@robojax 5 жыл бұрын
You are welcome. I am glad you resolved the issue.
@StoneNicolas93
@StoneNicolas93 2 жыл бұрын
thank you i am an arduino beginner and your videos always help me
@AvocadoAtrocity
@AvocadoAtrocity 3 жыл бұрын
I love this channel so much. Thank you, Robojax
@bmckayw
@bmckayw 2 жыл бұрын
Thanks for a great video! Very clear explanations and pleasantly helpful!
@RoyAntaw
@RoyAntaw 5 жыл бұрын
Thanks...Just what I needed to for 1602 LCD I2C Display module.
@robojax
@robojax 5 жыл бұрын
You are welcome.
@rakshithrajpulluri3515
@rakshithrajpulluri3515 4 жыл бұрын
Changing the address just by soldering... For this technique i searched a lot before seeing ur vedio....ur vedio helped me a lot ....tq
@robojax
@robojax 4 жыл бұрын
You are welcome. Good to know. Please share and subscribe.
@maahasakhia9243
@maahasakhia9243 3 жыл бұрын
This was so helpful for my project, thank you!
@terrydsilva5061
@terrydsilva5061 5 жыл бұрын
Well Done! Comprehensive tutorial on how to use this inexpensive device.
@robojax
@robojax 5 жыл бұрын
Thank you. Good to hear that.
@mateuszkrol8029
@mateuszkrol8029 5 жыл бұрын
Well done! Everything is clear and easy to recreate.
@robojax
@robojax 5 жыл бұрын
Thank you.
@slambergamer91
@slambergamer91 4 жыл бұрын
honestly i watch a lot tutorial this is one of the best ! keep it up bro !
@robojax
@robojax 4 жыл бұрын
Thanks, will do!
@johnberry5339
@johnberry5339 4 жыл бұрын
Hello Robojax :)… I have just watched your tutorial and found it very informative. Thank you very much, John 👍😊
@robojax
@robojax 4 жыл бұрын
Hell John, you are welcome. I am pleased you found it useful.
@philipdsouza9521
@philipdsouza9521 3 жыл бұрын
Hello John I found your tutorial very informative. I am doing a project for level controller.
@philipdsouza9521
@philipdsouza9521 3 жыл бұрын
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?
@kaptainkrunch3486
@kaptainkrunch3486 4 жыл бұрын
Great video! Followed along and it worked perfectly. Thanks!
@robojax
@robojax 4 жыл бұрын
You are welcome. Good to hear that.
@robdavidowitz6428
@robdavidowitz6428 Жыл бұрын
Outstanding explanation 👌 Your videos must surely be of the best on the net👍
@clintjakealfante3101
@clintjakealfante3101 7 ай бұрын
Thank you for the lcd library
@ernievirata2551
@ernievirata2551 5 жыл бұрын
It helps a lot.. You are so Great my friend :)
@robojax
@robojax 5 жыл бұрын
I am glad it did. Thank you
@sameerk12982
@sameerk12982 4 жыл бұрын
Thank you very much for this tutorial.
@robojax
@robojax 4 жыл бұрын
You are welcome. If you watched with other than English subtitle, please let me know. Thanks
@Gig2Dave
@Gig2Dave 3 жыл бұрын
Thanks, been around, finally got it working
@robojax
@robojax 3 жыл бұрын
You are welcome. I am glad you did.
@fps3689
@fps3689 3 жыл бұрын
@@robojax hey my lcd is just lighting up but no text :(
@marcrobert2603
@marcrobert2603 3 жыл бұрын
@@fps3689 Same here
@Mgiule
@Mgiule 2 жыл бұрын
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
@robojax
@robojax 2 жыл бұрын
My pleasure. You may continue learning Arduino with my course . Link is in description
@sionau
@sionau Жыл бұрын
Robojax, you are the best!
@robojax
@robojax Жыл бұрын
So you are. thanks. There is the better video with wiring diagram kzfaq.info/get/bejne/pt6Fnaikr7e7YoE.html which is part of my Arduino course
@rakabayuwana4830
@rakabayuwana4830 4 жыл бұрын
thank you! worked perfectly
@robojax
@robojax 4 жыл бұрын
You are welcome.
@tangstudiodotnet
@tangstudiodotnet 3 жыл бұрын
Very nice tutorial ! Thanks
@robojax
@robojax 3 жыл бұрын
You are welcome!
@ayesuzzaman9891
@ayesuzzaman9891 3 жыл бұрын
Thanks ......... it really helped
@Gaylynne1
@Gaylynne1 5 ай бұрын
Great explanation. Thanks for your lesson. One question...can you control the backlight and/ or contrast of the I2C LCD using just the code?
@green_quadrix
@green_quadrix 3 жыл бұрын
Thank you so much!!!!👍
@vithiyananthanesanmanuelje3772
@vithiyananthanesanmanuelje3772 2 жыл бұрын
thank you sir great explanation sir from srilanka
@MegaKbyrne
@MegaKbyrne 2 жыл бұрын
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.
@anjello-fz8ko
@anjello-fz8ko 2 жыл бұрын
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🥰
@robojax
@robojax 2 жыл бұрын
I have used this display on may be over 50 or more sensors. just search my channel.
@1000yahya
@1000yahya 3 жыл бұрын
Very nice Tutorials
@robojax
@robojax 3 жыл бұрын
Glad you like them!
@hexure9663
@hexure9663 6 жыл бұрын
Ur channel is awesome.
@robojax
@robojax 6 жыл бұрын
Thank you.
@ajelzeng8415
@ajelzeng8415 5 жыл бұрын
we are original manufactory for LCD display, if you need 1602A pls let me know. mail to maoshengelectronics@gmail.com
@real_pivot
@real_pivot 3 жыл бұрын
thanks man omg i finally found it man thanks
@robojax
@robojax 3 жыл бұрын
Glad I could help
@real_pivot
@real_pivot 3 жыл бұрын
@@robojax can you subscribe to this channel = kzfaq.info/love/-z6vzILUoG3FVtW5mWl1ww
@ngoquoctuan1354
@ngoquoctuan1354 5 жыл бұрын
Thanks very much !!
@robojax
@robojax 5 жыл бұрын
You are very welcome.
@SpeccyMan
@SpeccyMan 5 жыл бұрын
One absolute essential when soldering is to KEEP YOUR SOLDERING IRON TIP CLEAN TO ENABLE EFFECTIVE HEAT TRANSFER!!!
@carlosmiguelgonzaleztolosa1775
@carlosmiguelgonzaleztolosa1775 5 жыл бұрын
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!
@robojax
@robojax 5 жыл бұрын
1-See this video which I have explained the I2C address: kzfaq.info/get/bejne/mNd9gKyT0r-ug2Q.html 2-Yes I works. I have another video for LCD2004 display: kzfaq.info/get/bejne/erGdgbZ0sraomnk.html
@vaibhavkhatri3435
@vaibhavkhatri3435 3 жыл бұрын
Good Tutorial, Well explained :):):)
@robojax
@robojax 3 жыл бұрын
Glad you liked it!
@naveenprince8050
@naveenprince8050 2 жыл бұрын
Should we female header pin to solder??
@sampsmusik
@sampsmusik 4 жыл бұрын
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?
@robojax
@robojax 4 жыл бұрын
NO. That is what you should use. A4 and A5 are the same pins.
@guliyevshahriyar
@guliyevshahriyar 5 ай бұрын
Thank you very much!
@robojax
@robojax 5 ай бұрын
You're welcome!
@vishvraval2879
@vishvraval2879 3 жыл бұрын
thanks bro it helped a lot
@robojax
@robojax 3 жыл бұрын
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
@FlightSim2703
@FlightSim2703 6 жыл бұрын
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
@robojax
@robojax 6 жыл бұрын
there is 20X4 and I will upload the video in coming days. But have not heard 20x5.
@FlightSim2703
@FlightSim2703 6 жыл бұрын
Oops ;) you have right, I mistyped the actual size is 20x4 exactly what you say is correct. Regards and thanks very much.
@othmanradi1200
@othmanradi1200 2 жыл бұрын
Thank you
@muhammadbilal2000
@muhammadbilal2000 3 жыл бұрын
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
@robojax 3 жыл бұрын
Just search my channel and you will be surprised. Here is the code and video kzfaq.info/get/bejne/p6hgl9V6mpzed3k.html
@muhammadbilal2000
@muhammadbilal2000 3 жыл бұрын
@@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?
@rustystrat50
@rustystrat50 Жыл бұрын
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.
@rustystrat50
@rustystrat50 Жыл бұрын
I don't know if your interested in this but I found the "lcd.init();" in the Liquid Crystal I2C example "Serial Display".
@robojax
@robojax Жыл бұрын
you have not installed the correct library. I made another tutorial with the same library here kzfaq.info/get/bejne/hL5xptqAyMWWqps.html and used lcd.begin() and it works fine. you are using wrong library.
@MrDhilishkumar
@MrDhilishkumar 2 жыл бұрын
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.
@melonrisshya
@melonrisshya Жыл бұрын
Thank You Ayak
@robojax
@robojax Жыл бұрын
Ayak?
@stefandaraban5076
@stefandaraban5076 4 жыл бұрын
Very good video. You've helped me! =) Thank you! =)))
@robojax
@robojax 4 жыл бұрын
You are welcome. Good to hear it helped you.
@kimingseney
@kimingseney 3 жыл бұрын
did we need to solder at A0,A1 and A2 if we use address 0x27 ?
@robojax
@robojax 3 жыл бұрын
Please see the link in the description for separate video which I2C module is fully explained
@robloxia2819
@robloxia2819 2 жыл бұрын
thanks you
@magloirebanza4846
@magloirebanza4846 4 жыл бұрын
Thank u sir
@robojax
@robojax 4 жыл бұрын
You are welcome.
@minhanhnd
@minhanhnd 4 жыл бұрын
Thanks a lot.
@robojax
@robojax 4 жыл бұрын
you are welcome. Thank you for not skipping the ads and keep watching them. This will help me a lot.
@Eng-Qasim
@Eng-Qasim 3 жыл бұрын
شكرا لك متابعك من العراق
@robojax
@robojax 3 жыл бұрын
مرحبًا بكم في Robojax. أحمد من كندا. أصله من خراسان الكبير.
@xiaolimwameishi
@xiaolimwameishi 2 жыл бұрын
Possible to explain the analog part? what if I wan other analog pin, rather than analog A05 / A04?
@robojax
@robojax 2 жыл бұрын
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. kzfaq.info/get/bejne/pt6Fnaikr7e7YoE.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
@Chandhrayaan-4
@Chandhrayaan-4 5 жыл бұрын
May i know What is SCL line Frequency here?
@robojax
@robojax 5 жыл бұрын
The baseline is 100kHz but you can change it. here is the page where you can read further www.arduino.cc/en/Reference/WireSetClock
@salahsoufi8603
@salahsoufi8603 2 жыл бұрын
Thanks 😊
@droneforfun5384
@droneforfun5384 4 жыл бұрын
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)
@robojax
@robojax 4 жыл бұрын
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.
@droneforfun5384
@droneforfun5384 4 жыл бұрын
Robojax I was thinking about getting a 5v battery eliminator / power supply, instead of a battery. Not sure if it will work
@andrewsotnikov5680
@andrewsotnikov5680 5 жыл бұрын
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?
@robojax
@robojax 5 жыл бұрын
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.
@jakagrabner9109
@jakagrabner9109 4 жыл бұрын
Why didn't you use simple LiquidCrystal library? Does the driver change the way of using library or something?
@robojax
@robojax 4 жыл бұрын
I tried many libraries and this was the best of all without any issue. In every video I made on LCD, I used it.
@rajhookay
@rajhookay 3 жыл бұрын
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?
@robojax
@robojax 3 жыл бұрын
That’s that only way.
@NguyenPhuc-hn4yx
@NguyenPhuc-hn4yx 4 жыл бұрын
hi i can't find the library so can you give me the link of it please
@robojax
@robojax 4 жыл бұрын
Hi, 1000s of people have downloaded it. Under the video we have description and I have links there. see this image snipboard.io/EG4O2l.jpg
@nadermk7
@nadermk7 Жыл бұрын
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?
@robojax
@robojax Жыл бұрын
you gott install the library mention and shown. over 100,000 people have used this library
@alexnikoo244
@alexnikoo244 6 жыл бұрын
Hey, I am new in this, I will shop same for Arduino but instruction says the I2C 0*24 is not possible to be changed , what is this and do I need to get another type? I will use the microcontroller with a encoder on a machine. Best
@robojax
@robojax 6 жыл бұрын
sorry I did not understand the 0*24 in the "I2C 0*24". what are you referign to 0*24?
@thierrybertho4801
@thierrybertho4801 4 жыл бұрын
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
@robojax
@robojax 4 жыл бұрын
Perhaps you have not installed the right library.
@declanreel4537
@declanreel4537 5 жыл бұрын
Can you please advice! I keep having a persistent issue with this part - lcd.begin(); This text consistently displays an error when trying to upload which states - 'no matching function for call to 'LiquidCrystal_I2C::begin()' What is the issue? Thanks
@robojax
@robojax 5 жыл бұрын
Please download and include the library.
@zeke432
@zeke432 5 жыл бұрын
change lcd.begin(); to lcd.init();
@wingsdesire1
@wingsdesire1 4 жыл бұрын
for those who are still searching I had exactly this error, >open the Arduino app; >click in sketch >add file then finally add the file here or search for the "Arduino" folder - Mac >command + space to search >type in "Arduino" without the " " >select the folder > Drag & drop the downloaded library into here or search for the "Arduino" folder - PC >windows + f to search >type in "Arduino" without the " " >select the folder > Drag & drop the downloaded library into here *** please correct me if I'm wrong and ill edit accordingly everything will now run as it should (I wish this was included in the tutorial for us noobs) on a side note here's more info on how to add libraries moving forwards; www.arduino.cc/en/Guide/Libraries if anyone is curious the file extension ending in .h is written in the c language and can be read with Xcode or visual studio
@robojax
@robojax Жыл бұрын
you have not installed the correct library. I made another tutorial with the same library here kzfaq.info/get/bejne/hL5xptqAyMWWqps.html and used lcd.begin() and it works fine. you are using wrong library.
@shkolatif7764
@shkolatif7764 5 жыл бұрын
when i installed the library it wasnt as yours, i did not get the DHC library. what should i do?
@robojax
@robojax 5 жыл бұрын
You must get it from the link I provided.
@obsidiantechz1371
@obsidiantechz1371 4 жыл бұрын
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?
@robojax
@robojax 4 жыл бұрын
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.
@darryl1398
@darryl1398 3 жыл бұрын
I need help please. I have connected a MPU9250 accelerometer to the arduino at pin A4 and pin A5 already. Where can i connect the SCL and SDA of the LCD screen and how do i change the code?
@robojax
@robojax 3 жыл бұрын
Hi, you are asking questions which have been all answered in the video. Please watch, have patience as for 15 minuets. I am reading this comment after 7 hours. if you had watched the video, you would have had the answer 6 hours and 45 minuets ago.
@heisenburger5261
@heisenburger5261 Жыл бұрын
Do you need to use the i2c bored or can you just use the lcd on its own
@robojax
@robojax Жыл бұрын
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 kzfaq.info/get/bejne/iZqplJaCnNvMeqc.html
@burstfireno1617
@burstfireno1617 9 ай бұрын
3:37 A0 A1 A2... good but what are they used for? :)
@robojax
@robojax 9 ай бұрын
Your questions seems very baisc . You need to take a course. Please watch this video kzfaq.info/get/bejne/jp5_fc1-rq6noqs.htmlsi=p0SVWoynWuSD16t2 this video is Larry of 30 lessons cours
@thebokaj4228
@thebokaj4228 2 жыл бұрын
thx🙂
@Manan_rana
@Manan_rana 3 жыл бұрын
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
@robojax
@robojax 3 жыл бұрын
It has been foliage over 100,000 times . Look at the link in the description
@obsidiantechz1371
@obsidiantechz1371 4 жыл бұрын
is it important to solder a0 a1 and a2 pin for 0x27 address
@robojax
@robojax 4 жыл бұрын
Once you receive it, do not touch it. it will work. unless you want use another address.
@chrisliddiard725
@chrisliddiard725 3 жыл бұрын
If in doubt use the ic2 scanner sketch to find the address of the ic2 device you are using. Also as mentioned in the vid, a lot of the modern revision [r3] boards use SDA & SCL instead of pins A4 & A5. You'll find a lot of the older sketches showing pins connected to A4 & A5.
@arsiveparkour6251
@arsiveparkour6251 4 жыл бұрын
I'm not getting the output displayed. LCD is on, i also checked the I2C address and its 0x27 only. What should i do?
@robojax
@robojax 4 жыл бұрын
use potentiometer to set it properly. Watch the video it should work.
@ml_bowes
@ml_bowes 2 жыл бұрын
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
@robojax
@robojax 2 жыл бұрын
Hi, all the codes work with all Arduino board and that's why I did not mention which board.
@toheedrabbani6865
@toheedrabbani6865 3 жыл бұрын
can i run a program after uploading it with arduino then removing arduino and using i2c instead
@robojax
@robojax 3 жыл бұрын
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 kzfaq.info/get/bejne/g8iSZduSlr3HgoE.html
@raymi9612
@raymi9612 4 жыл бұрын
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.
@robojax
@robojax 4 жыл бұрын
Adjust using potentiometer. I have shown in video.
@raymi9612
@raymi9612 4 жыл бұрын
@@robojax I tried, but that's not the problem
@nickthewinner2194
@nickthewinner2194 5 жыл бұрын
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..
@tonyverduga
@tonyverduga 5 жыл бұрын
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.
@lgflanang
@lgflanang 5 жыл бұрын
Thanks Nick. That was all it took to display the characters.
@hamoudaabidi8705
@hamoudaabidi8705 5 жыл бұрын
thanks , i was about to smash the thing on the floor
@Aryan-dy4sr
@Aryan-dy4sr 4 жыл бұрын
When I type lcd.backlight, the backlight doesnt become orange in color.Any solutions?
@robojax
@robojax 4 жыл бұрын
You cant' change the color. Just turn ON or OFF
@faroekjuthan89
@faroekjuthan89 3 жыл бұрын
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.
@Omsharmaji30
@Omsharmaji30 2 жыл бұрын
how??
@Ice-fl9et
@Ice-fl9et 2 жыл бұрын
@@Omsharmaji30 explain what you don’t know how to do 🙄
@EducationalTheatre
@EducationalTheatre 2 жыл бұрын
Thankyou bro it really help me
@MegaKbyrne
@MegaKbyrne 2 жыл бұрын
I keep on getting a error message no liquidcrystal .h file exists. What a I doing wrong in down loading you code and folder?
@robojax
@robojax 2 жыл бұрын
Just watch the video without skipping it will be resolved. Just install the library.
@sajigeorge4990
@sajigeorge4990 Жыл бұрын
How could I use this display for home theatre monitor?
@robojax
@robojax Жыл бұрын
Search my channel for thermostat
@REZAAEON
@REZAAEON 7 ай бұрын
خیلی عالی دستتون درد نکه
@robojax
@robojax 7 ай бұрын
سلامت باشید. این هم نسخۀ فارسی خالص اید ویدیو در مجرای "علم وفن" kzfaq.info/get/bejne/Z5OTmLWm3qrPkoU.html
@MohammedAli-de7uw
@MohammedAli-de7uw 3 жыл бұрын
any pullup resistors required? bought 3 LCD with I2C. all three not displaying any text. the program downloaded without any error. brightness adjusted.
@robojax
@robojax 3 жыл бұрын
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.
@MohammedAli-de7uw
@MohammedAli-de7uw 3 жыл бұрын
@@robojax I2C address correct. used scanner. its not able to find any device. It's stuck up like.. scanning......
@robojax
@robojax 3 жыл бұрын
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.
@MohammedAli-de7uw
@MohammedAli-de7uw 3 жыл бұрын
@@robojax connection correct. Tried in another Arduino UNO. Now I2C address displays in scan, but still LCD not display letters. Adjusted contrast too. 🤪
@MohammedAli-de7uw
@MohammedAli-de7uw 3 жыл бұрын
Finally done. Deleted all libraries and installed only one fresh. It's working. Cheers..
@alkemaatje
@alkemaatje 4 жыл бұрын
Hi Robojax, thanks for the video but i still can't get my lcd to work. I soldered the I2C backpack on the 16x2 lcd, connected the pins right, checked the adress with the I2C scanner (result was 0x27), installed the right library, tried every angle of the potentiometer of the backpack, closed and opened arduino, resetted the UNO, reinstalled the library, summarized: I tried everything but the only thing my LCD gives is a very bright blue screen with no boxes, lines or anything on it. Just blue light. What could it be? I am trying this for days now. Hope you can help me. Thanks in advance.
@alkemaatje
@alkemaatje 4 жыл бұрын
Never mind. Took my time soldering it again and it worked. Probably didn't solder it right the fist time.
@robojax
@robojax 4 жыл бұрын
good luck with your project.
@yelkovany
@yelkovany 5 жыл бұрын
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.
@tonyverduga
@tonyverduga 5 жыл бұрын
This solved my issue. I was sure it wouldn't, as it defies logic lol.
@koshan12
@koshan12 5 жыл бұрын
thank you
@neelranade6322
@neelranade6322 2 жыл бұрын
Make a video on i2c keypad interfacing with arduino please
@robojax
@robojax 2 жыл бұрын
no seen or found keypad using i2C.
@neelranade6322
@neelranade6322 2 жыл бұрын
Please search on it on google
@neelranade6322
@neelranade6322 2 жыл бұрын
Please search on it on google
@oximas-oe9vf
@oximas-oe9vf 5 ай бұрын
Please help I am getting, compilation error: no matching function for call to "Liquid Crystal_I2C::begin()"
@oximas-oe9vf
@oximas-oe9vf 5 ай бұрын
Okay I figured it out had to remove the other LCD libraries and restart the IDE
@gastondibble4827
@gastondibble4827 4 жыл бұрын
Hi, Your video is excellent!, But I downloaded library, I intalled, Connect all and LCD did´t work. I checked the Program,Libraries and circuit several times. The program ran without error, the LEDs on Arduino blicked, and LCD is on, but message had not show. Is very strange.! I saw other video about issue address 0x27 issue. Are there any way of check pins 4 and 5?, I check with a LED, and it pins have a behaivor of pulse of clock. I am using Arduino UNO and LCD 1602 Any idea? Best Regards
@robojax
@robojax 4 жыл бұрын
Hi, turn the potentiometer. Most of the times it is the contrast that makes the text disappear. Did you run the I2C scanner? it is in the same page as the code. robojax.com/learn/arduino/?vid=robojax-LCD1602-I2C install i2C scanner, get the address and use it if the issue is with the I2C. Most people don't watch the video and kip. I have left nothing. it should work as it did for over 100k people.
@arjunkudikilla8839
@arjunkudikilla8839 11 ай бұрын
Can we do this without soldering
@robojax
@robojax 10 ай бұрын
Yes if you can hold the module with your hand pressed on the display
@nafisashamimrafa4492
@nafisashamimrafa4492 2 жыл бұрын
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?
@robojax
@robojax 2 жыл бұрын
Adjust the potentiometer until you see the text
@kawaii7054
@kawaii7054 2 жыл бұрын
@@robojax I had the same problem with her and when I adjusted th pot, only boxes shows
@kawaii7054
@kawaii7054 2 жыл бұрын
@@robojax pls help
@ishmummonjurnilock8950
@ishmummonjurnilock8950 5 жыл бұрын
Hello. I have been facing problem of arduino automatically turning off after I am connecting VCC port of I2C LCD to the 5V port of arduino. How can I get rid off this problem?
@robojax
@robojax 5 жыл бұрын
your display has wrong connection. it is the USB power that is shutting down because too much current is drawn from USB. find out where the problem is.
@Damian-sh8hu
@Damian-sh8hu 6 жыл бұрын
Code for handling LCD in Arduino IDE is the same as in example, but when the code is uploaded to Arduino, nothing displays on the LCD. Please help. I tried various versions of librares for i2c lcd and no one works. Thank you
@robojax
@robojax 6 жыл бұрын
did you run the I2C scanner? Your issue is with I2C module. watch this video kzfaq.info/get/bejne/mNd9gKyT0r-ug2Q.html
@Damian-sh8hu
@Damian-sh8hu 6 жыл бұрын
Thank you. Now everything works as expected.
@chernoblyat1901
@chernoblyat1901 3 жыл бұрын
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?
@robojax
@robojax 3 жыл бұрын
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.
@chernoblyat1901
@chernoblyat1901 3 жыл бұрын
@@robojax yes, but how do we adjust the contrast without the potentiometer since like I'm using the LCD I2C
@robojax
@robojax 3 жыл бұрын
It has to have potentiometer
@edfx
@edfx 4 жыл бұрын
Mine didn't work on A5 and A4. Only works in SLC1 and SDA1. Also address is 0x3F instead of 0x27 for some reason.
@robojax
@robojax 4 жыл бұрын
The manufacturers set in hardware. here my video if you want to set different address kzfaq.info/get/bejne/mNd9gKyT0r-ug2Q.html also A4 and A4 should work with Arduino UNO for others boards see the pins here www.arduino.cc/en/reference/wire
@lukes9783
@lukes9783 Жыл бұрын
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 :)
@ebrahimmomin7518
@ebrahimmomin7518 3 жыл бұрын
I had subscribed to a bunch of people and I was trying not to subscribe to more people, but I had to subscribe
@kaparqru7718
@kaparqru7718 2 жыл бұрын
the shows error, I need help
@robojax
@robojax 2 жыл бұрын
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 kzfaq.info/get/bejne/pt6Fnaikr7e7YoE.html
@nem0103
@nem0103 Жыл бұрын
do we really need to solder it?
@robojax
@robojax Жыл бұрын
if it is not already soldered, yes you need. the connection will not be established.
Get Started in Electronics #11 - Use the LCD Screen with an Uno
12:13
BV3D: Bryan Vines
Рет қаралды 35 М.
Using LCD Displays with Arduino
46:23
DroneBot Workshop
Рет қаралды 1,7 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 35 МЛН
бесит старшая сестра!? #роблокс #анимация #мем
00:58
КРУТОЙ ПАПА на
Рет қаралды 3,6 МЛН
Datasheets: 16x2 LCD By Hand (No microcontroller)
26:35
Mitch Davis
Рет қаралды 94 М.
OLED Displays with Arduino - I2C & SPI OLEDs
41:41
DroneBot Workshop
Рет қаралды 1 МЛН
Arduino LCD I2C tutorial | how to program LCD
6:09
Mission Critical
Рет қаралды 111 М.
Display examples - which one to use?
12:41
Electronoobs
Рет қаралды 250 М.
Sensors - which one to use
17:06
Electronoobs
Рет қаралды 1,3 МЛН
Arduino Tutorial 35- Real Time Clock using DS1302 RTC Module
10:07
Enjoy Mechatronics
Рет қаралды 74 М.
LCD 1602: Step-by-Step Guide to Arduino Display Integration
12:37
Mario's Ideas
Рет қаралды 45 М.
DIY sonar scanner (practical experiments)
14:30
bitluni
Рет қаралды 1 МЛН
Using Keypads with Arduino - Build an Electronic Lock
28:17
DroneBot Workshop
Рет қаралды 223 М.
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,8 МЛН
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,3 МЛН
Clicks чехол-клавиатура для iPhone ⌨️
0:59
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 2,8 МЛН