How to use multiple LCD1602 I2C or LCD2004 display with Arduino

Sdílet
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

Komentáře • 75

  • @charlosvid
    @charlosvid Před 5 měsíci

    This is just the video I needed to make two 20x4 screen work together in one sketch... A great simple solution thank you

  • @almostcool9216
    @almostcool9216 Před 3 lety

    Thanks ...I like how you explain the cold...err code!

  • @dswilliams7543
    @dswilliams7543 Před 3 lety +3

    I'm learning a lot with your good explanations thank you!!!!!!

  • @robertrobert5583
    @robertrobert5583 Před 2 lety

    Another excellent tutorial. Thank you.

  • @sameerk12982
    @sameerk12982 Před 4 lety

    Thank you very much Sir for sharing this useful and easy to learn tutorial..... Really helpful...appreciated.

    • @robojax
      @robojax  Před 4 lety

      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.😊 .

  • @banonnugroho7761
    @banonnugroho7761 Před 5 lety +1

    Good content and good channels too. very help. thanks

  • @voiceoftruth1O1
    @voiceoftruth1O1 Před 5 lety

    It's great project. We can use it in various way. Thanks

  • @PinballEvangelist
    @PinballEvangelist Před 5 lety

    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 ?

    • @robojax
      @robojax  Před 5 lety

      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.

    • @chrisliddiard725
      @chrisliddiard725 Před 3 lety +1

      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'.

  • @mtalhakhalid1679
    @mtalhakhalid1679 Před 2 lety

    you can use 8 bit shift register and Arduino library to display on multiple display

    • @robojax
      @robojax  Před 2 lety +1

      we are using I2C communication which uses only 4 wires. we don't need to use any external hardware like shift register.

  • @gregorypierson9801
    @gregorypierson9801 Před rokem

    Hello is it possible to connect multiple st7789 to make big animation with one arduino? thanks

    • @robojax
      @robojax  Před rokem +1

      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

  • @gavingavingavin7
    @gavingavingavin7 Před rokem

    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

    • @robojax
      @robojax  Před rokem

      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

  • @ahmetozdemir7173
    @ahmetozdemir7173 Před rokem

    How can 5 identical modules (LIS3MDL) be connected to esp32-e using the i2c protocol?

    • @robojax
      @robojax  Před rokem

      Please watch this czcams.com/video/0glBk917HPg/video.html and it depends on the library you are using.

  • @trmusa3434
    @trmusa3434 Před 5 lety

    Very useful review, thx

  • @MdEmon-wr6fc
    @MdEmon-wr6fc Před rokem

    Very good video

  • @VArt1998
    @VArt1998 Před 2 lety

    thank you verry muck

  • @marciogomes5581
    @marciogomes5581 Před 4 lety

    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 ?

    • @robojax
      @robojax  Před 4 lety +1

      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.

    • @marciogomes5581
      @marciogomes5581 Před 4 lety

      @@robojax Perfect now its working thanks !

    • @ahmedrabie9516
      @ahmedrabie9516 Před 4 lety

      @@robojax It has to beboth are the same address Or different

    • @robojax
      @robojax  Před 4 lety

      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.

  • @ANTONIOSTAR
    @ANTONIOSTAR Před 3 lety

    Bueno, es possible se fazer com oled ssd1306?

  • @aaronlloydlaguna2721
    @aaronlloydlaguna2721 Před rokem

    Can I mix 12x2 and 20x6 LCD I2C display?

    • @robojax
      @robojax  Před rokem

      If you can make them work independently then you can use them.

  • @subarutan3862
    @subarutan3862 Před 2 lety

    Sir is it possible to send the data of 1st LCD to 2nd LCD?

    • @robojax
      @robojax  Před 2 lety

      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

  • @slothspunky7763
    @slothspunky7763 Před 4 lety

    Hwy, RoboJax! Where can I find the code for this project of yours? Is there any way to download it?

    • @robojax
      @robojax  Před 4 lety +1

      Hello, it is under the video in the description. I mentioned this in the first 1 minuet of video.

    • @slothspunky7763
      @slothspunky7763 Před 4 lety

      @@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.

    • @robojax
      @robojax  Před 4 lety

      you are welcome. Thank you for your interest into my videos. I will do my best to keep it up.

  • @yogeshitaliya473
    @yogeshitaliya473 Před 5 lety +1

    Nice sir

  • @VArt1998
    @VArt1998 Před 2 lety

    why is the address from 20 to 27. when scanned back to 0x3f (not in 0-27)? Thanks a lot

    • @robojax
      @robojax  Před 2 lety +1

      Here I have explained the I2C address for this module czcams.com/video/bqMMIbmYJS0/video.html

    • @robojax
      @robojax  Před 2 lety +1

      Always search my channel. You will be surprised

    • @VArt1998
      @VArt1998 Před 2 lety

      @@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

  • @SebastianWrzesisnki
    @SebastianWrzesisnki Před 4 lety

    Can i handle a 1602 i2c + 2004 i2c with this method? Thanks

    • @robojax
      @robojax  Před 4 lety +1

      Yes, of course

    • @SebastianWrzesisnki
      @SebastianWrzesisnki Před 4 lety

      @@robojax Thank you!

    • @SebastianWrzesisnki
      @SebastianWrzesisnki Před 4 lety

      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?

    • @robojax
      @robojax  Před 4 lety +1

      You are welcome. You can it more than one way.

  • @TheVaskrsija
    @TheVaskrsija Před 2 lety

    Great, thanks

    • @robojax
      @robojax  Před 2 lety

      you are welcome. here is free Arduino Step by Step Course (over 100 video lectures) Starts here robojax.com/L/?id=338

  • @lisandrograciano3916
    @lisandrograciano3916 Před 2 lety

    thanks for the explanation! In addition to this, can i add a magnometer with the 2 displays with I2C protocol?

    • @robojax
      @robojax  Před 2 lety

      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

    • @robojax
      @robojax  Před 2 lety

      I searched for the video and provided the link for you, but you did not acknowledge if saw the video or not.

  • @beautyofmountain3336
    @beautyofmountain3336 Před rokem

    Nice

  • @filiepmaes9071
    @filiepmaes9071 Před 4 lety

    Good video

  • @FrannAnthony
    @FrannAnthony Před 5 lety

    the best

  • @ahmedrabie9516
    @ahmedrabie9516 Před 4 lety

    I have a problem in writing the text shows in the two displays

    • @robojax
      @robojax  Před 4 lety

      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.

    • @ahmedrabie9516
      @ahmedrabie9516 Před 4 lety

      @@robojax ONE display address IS (27x0)
      AND THE second display IS(22X0)

    • @ahmedrabie9516
      @ahmedrabie9516 Před 4 lety

      @@robojax ONE address

    • @ahmedrabie9516
      @ahmedrabie9516 Před 4 lety

      @@robojax ONE address

    • @ahmedrabie9516
      @ahmedrabie9516 Před 4 lety

      @@robojax ONE address

  • @user-ie3pj9nq6t
    @user-ie3pj9nq6t Před 5 lety

    Where is the code

    • @robojax
      @robojax  Před 5 lety

      Watch the video again. snag.gy/EG4O2l.jpg

  • @mr-ablo8456
    @mr-ablo8456 Před rokem

    Nice