How to use multiple LCD1602 I2C or LCD2004 display with Arduino
Vložit
- čas přidán 24. 07. 2024
- Learn how to use two or more LCD screen with Arduino
******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
Jump to different section of this video:
00:00 Start
00:27 Introduction
01:15 Wiring Explained
04:28 Code Explained with demonstration
Download code for this tutorial: robojax.com/L/?id=198
***** Purchase Authentic Arduino Uno from ***
Amazon USA: amzn.to/2KApAwK
Amazon Canada: amzn.to/37LZ8sW
Related videos:
Introduction to LCD1602 and LCD2004: • How to use LCD LCD160...
LCD1602 with the I2C: • Using LCD1602 LCD disp...
LCD1602 I2C address explained • LCD1602 I2C Address fo...
Using 2 or more LCD1602/2004: • How to use multiple LC...
LCD1602 as bargraph with Ultrasonic sensor: • Display distance from ...
I2C Pins for All Arduino Modules: www.arduino.cc/en/Reference/Wire
Tutorial by Ahmad Shamshiri form Canada
****************************
Arduino Step by Step Course (over 150 lectures) Starts here • Lesson 00 What is Ardu...
****************************
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
*** AFFILIATE PROGRAM ***
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
#robojax #robojax_LCD1602 #robojax_LCD2004 - Věda a technologie
This is just the video I needed to make two 20x4 screen work together in one sketch... A great simple solution thank you
Thanks ...I like how you explain the cold...err code!
I'm learning a lot with your good explanations thank you!!!!!!
Awesome, thank you!
Another excellent tutorial. Thank you.
Thank you very much Sir for sharing this useful and easy to learn tutorial..... Really helpful...appreciated.
you are welcome. I am glad you found it useful. 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.😊 .
Good content and good channels too. very help. thanks
Thank you.
It's great project. We can use it in various way. Thanks
You are welcome.
Thanks for the video.... I am building a device using several sensors and a LCD like the one shown and several require to use A4 or A5.... Is it possible specify to use different analogue pins for LCD or the various sensors ?
NO. I mentioned that we are using I2C pins which are at A4 and A4. But you have SDA and SCL pin on the other side of after digital 13 pin.
I2C is precisely for these situations where you have multiple devices connected to the same communication pins. The address of each device is how you speak to each one. This vid shows how to modify those device addresses so they can be connected to the same communication pins. As shown you can also use the 'I2C scanner' sketch to find the i2c device address'.
you can use 8 bit shift register and Arduino library to display on multiple display
we are using I2C communication which uses only 4 wires. we don't need to use any external hardware like shift register.
Hello is it possible to connect multiple st7789 to make big animation with one arduino? thanks
Hello, you can use multiple display of st7789 but to display portion of text on each display, I am not sure if there is a library. you might need to work and write your own code. try some bing/google search. Good luck
The I2C scanner doesn't work, even when I have the displays attached correctly and addressed separately. Serial monitor will show scan and then no I2C devices found
There just be a wiring issue or both lcd has the Sam I2C address. Starry with one LCD then got for two. Here is a better video czcams.com/video/NXAswOc_2zg/video.html
How can 5 identical modules (LIS3MDL) be connected to esp32-e using the i2c protocol?
Please watch this czcams.com/video/0glBk917HPg/video.html and it depends on the library you are using.
Very useful review, thx
you are welcome.
Very good video
thank you verry muck
Hello !! In my Arduino project i have 2 LCD 16x2 I2C but the scanner just recognize 1 ... i dont understand why... can you help me ?
Hello, disconnect ONE and check the the address and then remove the first and connect the 2nd and read the address. if both are the same, you need to set I2C address Watch this video to learn how to set the address. czcams.com/video/bqMMIbmYJS0/video.html Thank you for not skipping the ads and keep watching them. This will help me a lot.
@@robojax Perfect now its working thanks !
@@robojax It has to beboth are the same address Or different
they can't be the same. should be different. I have separate video on how to change I2C address. The link is in the description.
Bueno, es possible se fazer com oled ssd1306?
Yes it should
Can I mix 12x2 and 20x6 LCD I2C display?
If you can make them work independently then you can use them.
Sir is it possible to send the data of 1st LCD to 2nd LCD?
what do you mean to send from one to other? Arduino is displaying anything you want. so if you want display something on display1, then display it on display2. this is I believe you wanted. not sure. but it should be very easy. I have explained everything. Make sure to watch the introduction new video czcams.com/video/pxUjEsJQW2M/video.html or old introduction video czcams.com/video/q9YC_GVHy5A/video.html
Hwy, RoboJax! Where can I find the code for this project of yours? Is there any way to download it?
Hello, it is under the video in the description. I mentioned this in the first 1 minuet of video.
@@robojax Thanks, I found that page already, but it was hard to find this video among the other links. Anyway, I had to find it by using the combination CTRL+F. By the way, I just love your content, Robojax! Please don't stop making videos.
you are welcome. Thank you for your interest into my videos. I will do my best to keep it up.
Nice sir
why is the address from 20 to 27. when scanned back to 0x3f (not in 0-27)? Thanks a lot
Here I have explained the I2C address for this module czcams.com/video/bqMMIbmYJS0/video.html
Always search my channel. You will be surprised
@@robojax i don't understand because in the address list there is no 0x3f, only 0x20 to 0x27, i have followed you a lot but i don't think you support so much, thanks a lot
Can i handle a 1602 i2c + 2004 i2c with this method? Thanks
Yes, of course
@@robojax Thank you!
Why not to send a string variable called "lcdName" as a parameter to your function lcdDisplay(). That way you dont have to repeat the code for every lcd inside your function. What you think?
You are welcome. You can it more than one way.
Great, thanks
you are welcome. here is free Arduino Step by Step Course (over 100 video lectures) Starts here robojax.com/L/?id=338
thanks for the explanation! In addition to this, can i add a magnometer with the 2 displays with I2C protocol?
Here is bargraph example using ultrasonic sensor czcams.com/video/V-o32As_Xv4/video.html but I have it for temperature, distance using laser sensor and voltage. search my channel
I searched for the video and provided the link for you, but you did not acknowledge if saw the video or not.
Nice
Good video
Thank you.
the best
Thanks.
I have a problem in writing the text shows in the two displays
you must be NOT following the instruction. Watch it again without skipping. or watch the introduction to LCD video if you didn't understand it.
@@robojax ONE display address IS (27x0)
AND THE second display IS(22X0)
@@robojax ONE address
@@robojax ONE address
@@robojax ONE address
Where is the code
Watch the video again. snag.gy/EG4O2l.jpg
Nice