LCD1602 I2C Address for Arduino explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2018
  • In this video you will see the LCD1602 I2C Address for Arduino explained
    Get I2C Scanner code: robojax.com/L/?id=182
    Banggood: www.banggood.com/custlink/GKD...
    ******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 this LCD1602 from:
    Amazon USA: amzn.to/37MfYbp
    Amazon Germany: amzn.to/3mo86RJ
    Amazon Canada: amzn.to/31KCFJk
    Amazon UK: amzn.to/35E40xZ
    Amazon France: amzn.to/2HBiOoX
    Amazon Italy: amzn.to/2JeP4ix
    Amazon Spain: amzn.to/3kBOIAi
    アマゾンジャパン:: amzn.to/3ovRCc6
    Related videos:
    Introduction to LCD1602 and LCD2004: • How to use LCD LCD160...
    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 ...
    Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
    Tutorial by Ahmad Shamshiri form Canada
    ****************************
    Learn Arduino from a proven instructor with 100s of projects, code, wiring diagram in structured course in one place. Purchase Arduino Course at Udemy.com : robojax.com/L/?id=153
    ****************************
    If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link paypal.me/robojaxTV
    Get early access to my videos by becoming my Patreon and and have your name mentioned at end of very videos I publish on TH-cam: robojax.com/L/?id=97
    If you want to learn Arduino from proven instructor on **Udemy**: bit.ly/rj-udemy
    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 #robojax_LCD1602 #robojax_LCD2004
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 90

  • @ryancoopersnissan240sx8
    @ryancoopersnissan240sx8 4 ปีที่แล้ว +1

    Holy Moly I tried the scanning code , fixed the address and it actually works. Thank you so much

    • @robojax
      @robojax  4 ปีที่แล้ว +1

      You are welcome.

    • @sofiaRajputt
      @sofiaRajputt 3 ปีที่แล้ว

      How to get know about address ...if I don't have soldering at that time

  • @poerwojadoel7992
    @poerwojadoel7992 6 ปีที่แล้ว +3

    Mr. Robojax.
    thank you, this video that i am looking for, because my lcd problem have the same case.
    may God always protect you.

    • @poerwojadoel7992
      @poerwojadoel7992 6 ปีที่แล้ว

      I have been following this video since the beginning.
      I have done it:
      1. 16x2 lcd solder to i2C module which i have done correctly. The result failed.
      2. My potential has spun and still can not be just a line of existing digits.
      3. solder jumper A0, A1, A2 jumper I have tried 0X27,0X25,0X21,0X21. still fail
      So I bought again lcd Module plus i2C still same status failed.
      please infonya when kompile his successful .
      tank u

    • @robojax
      @robojax  4 ปีที่แล้ว

      I just discovered your comment because TH-cam make new tool to check comments that I have not replied to. Sorry.

  • @syedadnan9142
    @syedadnan9142 2 ปีที่แล้ว +1

    sir thank you so much for making this video you clear all doubts

  • @kazzarden70
    @kazzarden70 4 ปีที่แล้ว

    Wow, thanks a lot. Have been struggling all day and with your help the "I2C scanner" solve the problem. Way wrong address, now it's working. Salute too U!

    • @robojax
      @robojax  4 ปีที่แล้ว +1

      You are welcome. Thank you for not skipping the ads and keep watching them. This will help me a lot. Salute to you too. Ahmad form Canada.

    • @sofiaRajputt
      @sofiaRajputt 3 ปีที่แล้ว

      How to scan the address?

  • @90FF1
    @90FF1 4 ปีที่แล้ว +1

    Robojax. Your video was very helpful. The more one learns the more questions arise. The I2C module you demonstrate in the video has two solder pads at A0, A1, and A2. I have several older I2C modules for LCD display where the A0, A1,and A2 each have three solder pads. The two outer pads are marked L and H. (Low and High?) The center pad is not identified. There are no jumpers installed. The address of the I2C modules is 0x20. Could you explain the three solder pads? I need to set address to either 0x27 or 0x3F. Those two addresses are hard coded into an App and are the only options. Thank you very much. You have a new subscriber.

    • @robojax
      @robojax  4 ปีที่แล้ว

      Hello 90FF1, I have not come across the type of I2C module you mentioned.

  • @charissebonos8674
    @charissebonos8674 3 ปีที่แล้ว +1

    You are the man!!!

  • @deadyanothaikiropool1chait713
    @deadyanothaikiropool1chait713 4 ปีที่แล้ว

    Idk If this is working or not But it look fecking great man!
    You are so cool!

    • @robojax
      @robojax  4 ปีที่แล้ว

      Thank you.

  • @shehriyarbinak3776
    @shehriyarbinak3776 3 ปีที่แล้ว

    I have a little confusion with addressing mode when I use 0x27 then LCD not showing anything when I use 0x3F it starts to display can u tell me how can i
    perform this conversion?

    • @robojax
      @robojax  3 ปีที่แล้ว +1

      there is no conversion. whatever number works that is your I2C address and use it. if you want to change it then watch this video carefully. may be watch it 2 or 3 times.

  • @tasmathius8252
    @tasmathius8252 ปีที่แล้ว +1

    Helpful tutorial my friend; keep up the good work.

    • @robojax
      @robojax  ปีที่แล้ว

      Thank you! Cheers!

  • @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 ปีที่แล้ว

      i replied to your other comment on the other video. Please read that.

  • @thepetyo
    @thepetyo 4 ปีที่แล้ว

    So if you think of soldred as 0 and not soldered as 1 (pull up) then the address is 0x20 + what you encoded.

    • @robojax
      @robojax  4 ปีที่แล้ว

      I believe I have explained it but here you can see it again www.ardumotive.com/uploads/1/2/7/2/12726513/screenshot-6_3.png

  • @MuhammadShoaib-yz3ot
    @MuhammadShoaib-yz3ot 4 หลายเดือนก่อน

    Thanks for sharing...
    I'm getting no i2c devices found in serial monitor, what could be the reason

    • @robojax
      @robojax  4 หลายเดือนก่อน

      Check wiring

    • @robojax
      @robojax  4 หลายเดือนก่อน

      Also check if you have connected the wires to the right pins. Each board is different see this page www.arduino.cc/reference/en/language/functions/communication/wire/

  • @vicentematricardi3596
    @vicentematricardi3596 5 ปีที่แล้ว +1

    Muchas Gracias , Excelente canal !!!!!

    • @robojax
      @robojax  5 ปีที่แล้ว +2

      De nada. Me alegro de que te haya gustado.

  • @omoivo6525
    @omoivo6525 6 ปีที่แล้ว

    Can You explain how to dimm Ac light with Arduino and ssr solid State relay
    Please

    • @robojax
      @robojax  6 ปีที่แล้ว

      I will look at it. dimmer will not work with relay but it can be done. Thanks

  • @SETech_Electronics
    @SETech_Electronics 3 ปีที่แล้ว

    Hey, I tried soldering and unsoldering a0, a1 and a2 and tried scanning for the address I first got 0x3F without soldering and tried both address (from chart and serial monitor) in Hello World example and both failed. I tried soldering and every address and failed.
    Please reply

    • @robojax
      @robojax  3 ปีที่แล้ว +1

      Hi, then you must be doing something wrong. Have you connected the power? is the light on? Other than asking you to check the wiring and voltage, it is only possible that the module is dead. Please use first the I2C scanner. good luck.

  • @obsidiantechz1371
    @obsidiantechz1371 4 ปีที่แล้ว

    is it possible to connect the a0,a1,a2 without soldering

    • @robojax
      @robojax  4 ปีที่แล้ว

      what do you mean "connect without soldering" ? you can hold it with wire. if you don't solder, the address 0x27 but if you want different address, then solder it as shown 1:20. I have replied to your comments in other video. check potentiometer settings.

  • @lgflanang
    @lgflanang 5 ปีที่แล้ว

    My LCD is showing only boxes. When I use i2c scanner, I get 0x57. Is it a damaged LCD?

    • @robojax
      @robojax  5 ปีที่แล้ว

      when you get the address, the module communicates. Get the library I've provided and try it gain. here is the video and get library th-cam.com/video/q9YC_GVHy5A/w-d-xo.html

  • @smilegames7280
    @smilegames7280 5 ปีที่แล้ว

    help pls
    exit status 1
    no matching function for call to 'LiquidCrystal_I2C::begin()'

    • @robojax
      @robojax  5 ปีที่แล้ว

      You have not included the LiquidCrystal_i2c library. Include it and it will be resolved.

  • @Artysanz927
    @Artysanz927 2 ปีที่แล้ว

    I noticed a little flickering on the second row at the beggining of the video, then it was gone. What causes that flickering?

    • @robojax
      @robojax  2 ปีที่แล้ว

      I have no idea what you are talking about. Please provide time like 2:30 so I can click and see.

  • @lexie7557
    @lexie7557 5 ปีที่แล้ว +1

    My LCD keeps showing squares after uploading the program and on;y on the first row

    • @robojax
      @robojax  5 ปีที่แล้ว

      either you have non-english characters or you are using another library. Please use the provided one and it should work. Watch this video and get code th-cam.com/video/q9YC_GVHy5A/w-d-xo.html

  • @nugrazakir9094
    @nugrazakir9094 3 ปีที่แล้ว

    i2c address doesn't show up and i've been waiting some time. just "scanning ...". Is there a problem with my i2c?

    • @robojax
      @robojax  3 ปีที่แล้ว

      so incorrect wiring them. of no power on LCd. check it.

  • @deepakbains6755
    @deepakbains6755 5 ปีที่แล้ว

    Hi sir I like your video..It's great description but my LCD is not showing messages..But yellow light is on display..No error in program easily uploaded

    • @robojax
      @robojax  5 ปีที่แล้ว +1

      it means you have got the wrong I2C address. Use this code to find the I2C address:. robojax.com/learn/arduino/?vid=robojax-I2C-scanner

    • @suloman5845
      @suloman5845 5 ปีที่แล้ว

      @@robojax i have same problem. i only have black squares on the screen. this i2c scanner cant find anything too

  • @degrootadrianus
    @degrootadrianus 4 ปีที่แล้ว

    Hello When I run the address program I get the address 0x3F ???? What is this mean ?

    • @robojax
      @robojax  4 ปีที่แล้ว

      perhaps the baud rate of serial monitor is not matching the IDE see this snipboard.io/y3pKwG.jpg

  • @prakashmobilereparingcente784
    @prakashmobilereparingcente784 3 ปีที่แล้ว

    My problum is lcd. Print command give then print frist character.
    Sit whats is the problum

    • @robojax
      @robojax  3 ปีที่แล้ว

      this is the wrong video. This video is to resolve the I2C address and understand it. Please watch the main video th-cam.com/video/q9YC_GVHy5A/w-d-xo.html most people skipp the video. So don't skip and I can assure you all my videos are practical and work.

  • @zeamers3108
    @zeamers3108 4 ปีที่แล้ว

    when im scanning using i2c scanner, the output in the serial monitor is "no i2c devices found" any solution for this?

    • @robojax
      @robojax  4 ปีที่แล้ว

      wiring is incorrect. Check the wiring. Either the module doesn't have power or wrong wiring.

    • @zeamers3108
      @zeamers3108 4 ปีที่แล้ว

      @@robojax SDA - A4 SCL- A5 the VCC-5v GND-GND my lcd lights up but when i test it with i2c still no i2c device found. Do i need a pull up resistor?

    • @robojax
      @robojax  4 ปีที่แล้ว

      You can connect it to A4 and A5, but most arduino also have dedicated pin close to pin 13. There is must be something wrong. If you have another module, try it.

    • @zeamers3108
      @zeamers3108 4 ปีที่แล้ว

      @@robojax I have another question how to stop the timer when set in a certain number for example i want to stop the timer after 0 but after i print time out it countdown again to -1 and so on please help

  • @sathishs5271
    @sathishs5271 3 ปีที่แล้ว

    You have given address explanation thank you sir. 16 and 2 in address mentions?

    • @robojax
      @robojax  3 ปีที่แล้ว +1

      I have explained everything and left nothing out. Please watch it fully without skipping.

    • @sathishs5271
      @sathishs5271 3 ปีที่แล้ว

      @@robojax Sir please do say me how to 16char 1line display with I2C

    • @sathishs5271
      @sathishs5271 3 ปีที่แล้ว

      @@robojax sir please do say me how to connect 16char 1 line LCD to arduino with I2C. LCD address showing 0x3F in i2scaner

    • @robojax
      @robojax  3 ปีที่แล้ว

      I have never see 1 line. but the link to related videos is under the video in the description. Everyone know s that the related link to a video should be under the video in the description section.

  • @michaeljoshuamanallo1742
    @michaeljoshuamanallo1742 2 ปีที่แล้ว +1

    I suggest using female header on the i2c board so if you want the LCD to not to use i2c you can just unplug the i2c board

    • @robojax
      @robojax  2 ปีที่แล้ว +1

      Very nice tip if you need to use the LCD for other propose. But since I saw I2C module, I have not used it with those tones of wires unless I am asked to . Thanks.

  • @manmeth
    @manmeth 4 ปีที่แล้ว

    I2C module is overheating and showing nothing on display.can you solve this problem.if you can please reply

    • @robojax
      @robojax  4 ปีที่แล้ว

      Either you connected + and - incorrectly or the did before and the chip is dead.

    • @manmeth
      @manmeth 4 ปีที่แล้ว

      @@robojax thanks for the reply😉😉😉

  • @omsingharjit
    @omsingharjit 4 ปีที่แล้ว

    0:30 you are touching its pin with hand while its on . I heard that if it touched while working it can burned by ESD of human .

    • @robojax
      @robojax  4 ปีที่แล้ว

      Arduino works with 5V . When voltage goes above 50V depending how moist your body is it will become dangerous.

  • @informativeworld801
    @informativeworld801 3 ปีที่แล้ว

    when I use 0x27 then LCD not showing anything, What should I do?

    • @robojax
      @robojax  3 ปีที่แล้ว

      you can't just use random number. use I2C scanner code that I provided and it will tell you the address.

    • @informativeworld801
      @informativeworld801 3 ปีที่แล้ว

      @@robojax sir I was found 0X27 by the scanner code that you provide in the video, and that 0X27 is the default, what should i do

    • @robojax
      @robojax  3 ปีที่แล้ว +1

      Then watch this video th-cam.com/video/q9YC_GVHy5A/w-d-xo.html

  • @jfrras1065
    @jfrras1065 3 ปีที่แล้ว

    سلام . مثل همیشه عالی . موفق باشید .

    • @robojax
      @robojax  3 ปีที่แล้ว

      وعلیکم السلام. خواهش میکنم. سلامت باشید.

    • @robojax
      @robojax  10 หลายเดือนก่อน

      سلام علیکم. مجرا (کانال) فارسی علم و فن را راه اندازی کردم: لطفا به دوستان تان خبردهید و حمایتم کنید.
      www.youtube.com/@ilmofan

  • @handisc
    @handisc 4 ปีที่แล้ว

    hi the code shows : missing terminating " character
    please help

    • @robojax
      @robojax  4 ปีที่แล้ว

      it means the code you copied is not complete. one or more characters are missing. Try to get the full code.

  • @omoivo6525
    @omoivo6525 6 ปีที่แล้ว

    Wery well Expl.

    • @robojax
      @robojax  6 ปีที่แล้ว

      Thank you.

  • @pyaephyozaw5512
    @pyaephyozaw5512 3 ปีที่แล้ว

    Thank

    • @robojax
      @robojax  3 ปีที่แล้ว

      you are welcome.

  • @fakaralame
    @fakaralame 6 ปีที่แล้ว

    how connect lcd i2c with bluetooth hc06

    • @robojax
      @robojax  6 ปีที่แล้ว +1

      why you need that? this module has 4 pin. Hc-06 has 6 pin. We are using this module to reduce number of wires. Tell me your application and I might be able to to suggest something.

    • @fakaralame
      @fakaralame 6 ปีที่แล้ว

      Robojax I need the code for a project consisting of two parts. The first transmitter containing DHT22 and HC05 is sent to the receiving part which contains the lcd i2c and HC06 screen. I need a code to display the variables from the sensor on the screen

    • @robojax
      @robojax  6 ปีที่แล้ว +1

      To break it down, you need to send the DHT22 data to arduino remotely. Then you need two Bluetooth module. One for Transmitter (TX ) and one as Receiver (RX) but both will also exchange information. The TX will get the data from DHT22 and sends it to base where you have the display.
      First start here making sure you can communicate between two bluetooth. Watch this video th-cam.com/video/zwIQ2nKvjWk/w-d-xo.html or this video th-cam.com/video/hyME1osgr7s/w-d-xo.html
      Then you we will you can use th-cam.com/video/S4ya3Q7uhJs/w-d-xo.html to display the data.
      First make sure you can connected two HS-05 or HC-06 to communicate to one another.

    • @fakaralame
      @fakaralame 6 ปีที่แล้ว

      Robojax You've already connected the Bluetooth with each other but no readings appear on the LCD screen in the receiving pane

    • @robojax
      @robojax  6 ปีที่แล้ว

      Before sending it to LCD, try to see if you get data Serial.print("DATA"). Replace the DATA with the RX line of Bluetooth . If you dont' see the data on the serial monitor, you have to resolve the issue before you connect it to the LCD.

  • @tonyverduga
    @tonyverduga 5 ปีที่แล้ว

    It doesn't make sense. According to this, my brand new (never modified) board should be 0x27. The Scanner code is how I was able to determine that my address is 0x3f, which doesn't exist in this video.

    • @robojax
      @robojax  5 ปีที่แล้ว +1

      The manufacturer might have set different address. That's why the address scanner is a good tool. I am glad you found the issue.

    • @tonyverduga
      @tonyverduga 5 ปีที่แล้ว

      @@robojax Thank you for your response. Is there a chart that corresponds to the numbering system I have to use?