How to use multiple LCD1602 I2C or LCD2004 display with Arduino

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024

Комментарии • 75

  • @charlosvid
    @charlosvid 6 месяцев назад

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

  • @dswilliams7543
    @dswilliams7543 3 года назад +3

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

    • @robojax
      @robojax  3 года назад

      Awesome, thank you!

  • @almostcool9216
    @almostcool9216 3 года назад

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

  • @sameerk12982
    @sameerk12982 4 года назад

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

    • @robojax
      @robojax  4 года назад

      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 5 лет назад +1

    Good content and good channels too. very help. thanks

  • @robertrobert5583
    @robertrobert5583 2 года назад

    Another excellent tutorial. Thank you.

  • @mtalhakhalid1679
    @mtalhakhalid1679 2 года назад

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

    • @robojax
      @robojax  2 года назад +1

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

  • @gavingavingavin7
    @gavingavingavin7 Год назад

    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  Год назад

      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 ruclips.net/video/NXAswOc_2zg/видео.html

  • @voiceoftruth1O1
    @voiceoftruth1O1 5 лет назад

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

    • @robojax
      @robojax  5 лет назад

      You are welcome.

  • @PinballEvangelist
    @PinballEvangelist 5 лет назад

    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  5 лет назад

      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 4 года назад +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'.

  • @MdEmon-wr6fc
    @MdEmon-wr6fc Год назад

    Very good video

  • @trmusa3434
    @trmusa3434 5 лет назад

    Very useful review, thx

    • @robojax
      @robojax  5 лет назад

      you are welcome.

  • @yogeshitaliya473
    @yogeshitaliya473 5 лет назад +1

    Nice sir

  • @beautyofmountain3336
    @beautyofmountain3336 Год назад

    Nice

  • @VArt1998
    @VArt1998 3 года назад

    thank you verry muck

  • @gregorypierson9801
    @gregorypierson9801 Год назад

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

    • @robojax
      @robojax  Год назад +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

  • @ahmetozdemir7173
    @ahmetozdemir7173 Год назад

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

    • @robojax
      @robojax  Год назад

      Please watch this ruclips.net/video/0glBk917HPg/видео.html and it depends on the library you are using.

  • @TheVaskrsija
    @TheVaskrsija 2 года назад

    Great, thanks

    • @robojax
      @robojax  2 года назад

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

  • @aaronlloydlaguna2721
    @aaronlloydlaguna2721 Год назад

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

    • @robojax
      @robojax  Год назад

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

  • @lisandrograciano3916
    @lisandrograciano3916 2 года назад

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

    • @robojax
      @robojax  2 года назад

      Here is bargraph example using ultrasonic sensor ruclips.net/video/V-o32As_Xv4/видео.html but I have it for temperature, distance using laser sensor and voltage. search my channel

    • @robojax
      @robojax  2 года назад

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

  • @subarutan3862
    @subarutan3862 2 года назад

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

    • @robojax
      @robojax  2 года назад

      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 ruclips.net/video/pxUjEsJQW2M/видео.html or old introduction video ruclips.net/video/q9YC_GVHy5A/видео.html

  • @VArt1998
    @VArt1998 3 года назад

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

    • @robojax
      @robojax  3 года назад +1

      Here I have explained the I2C address for this module ruclips.net/video/bqMMIbmYJS0/видео.html

    • @robojax
      @robojax  3 года назад +1

      Always search my channel. You will be surprised

    • @VArt1998
      @VArt1998 3 года назад

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

  • @ANTONIOSTAR
    @ANTONIOSTAR 3 года назад

    Bueno, es possible se fazer com oled ssd1306?

    • @robojax
      @robojax  3 года назад +1

      Yes it should

  • @filiepmaes9071
    @filiepmaes9071 4 года назад

    Good video

  • @slothspunky7763
    @slothspunky7763 4 года назад

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

    • @robojax
      @robojax  4 года назад +1

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

    • @slothspunky7763
      @slothspunky7763 4 года назад

      @@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  4 года назад

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

  • @SebastianWrzesisnki
    @SebastianWrzesisnki 4 года назад

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

    • @robojax
      @robojax  4 года назад +1

      Yes, of course

    • @SebastianWrzesisnki
      @SebastianWrzesisnki 4 года назад

      @@robojax Thank you!

    • @SebastianWrzesisnki
      @SebastianWrzesisnki 4 года назад

      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  4 года назад +1

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

  • @marciogomes5581
    @marciogomes5581 4 года назад

    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  4 года назад +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. ruclips.net/video/bqMMIbmYJS0/видео.html Thank you for not skipping the ads and keep watching them. This will help me a lot.

    • @marciogomes5581
      @marciogomes5581 4 года назад

      @@robojax Perfect now its working thanks !

    • @ahmedrabie9516
      @ahmedrabie9516 4 года назад

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

    • @robojax
      @robojax  4 года назад

      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.

  • @FrannAnthony
    @FrannAnthony 5 лет назад

    the best

  • @ahmedrabie9516
    @ahmedrabie9516 4 года назад

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

    • @robojax
      @robojax  4 года назад

      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 4 года назад

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

    • @ahmedrabie9516
      @ahmedrabie9516 4 года назад

      @@robojax ONE address

    • @ahmedrabie9516
      @ahmedrabie9516 4 года назад

      @@robojax ONE address

    • @ahmedrabie9516
      @ahmedrabie9516 4 года назад

      @@robojax ONE address

  • @user-ie3pj9nq6t
    @user-ie3pj9nq6t 5 лет назад

    Where is the code

    • @robojax
      @robojax  5 лет назад

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

  • @mr-ablo8456
    @mr-ablo8456 Год назад

    Nice