LCD1602 I2C Address for Arduino explained

  Рет қаралды 51,416

Robojax

Robojax

6 жыл бұрын

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 KZbin: 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 жыл бұрын
Holy Moly I tried the scanning code , fixed the address and it actually works. Thank you so much
@robojax
@robojax 4 жыл бұрын
You are welcome.
@sofiaRajputt
@sofiaRajputt 3 жыл бұрын
How to get know about address ...if I don't have soldering at that time
@poerwojadoel7992
@poerwojadoel7992 6 жыл бұрын
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 KZbin make new tool to check comments that I have not replied to. Sorry.
@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 жыл бұрын
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?
@syedadnan9142
@syedadnan9142 2 жыл бұрын
sir thank you so much for making this video you clear all doubts
@charissebonos8674
@charissebonos8674 3 жыл бұрын
You are the man!!!
@tasmathius8252
@tasmathius8252 Жыл бұрын
Helpful tutorial my friend; keep up the good work.
@robojax
@robojax Жыл бұрын
Thank you! Cheers!
@shehriyarbinak3776
@shehriyarbinak3776 4 жыл бұрын
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 4 жыл бұрын
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.
@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.
@90FF1
@90FF1 4 жыл бұрын
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.
@vicentematricardi3596
@vicentematricardi3596 5 жыл бұрын
Muchas Gracias , Excelente canal !!!!!
@robojax
@robojax 5 жыл бұрын
De nada. Me alegro de que te haya gustado.
@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
@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.
@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 kzbin.info/www/bejne/p2q8dJJ9i62sa6M
@lexie7557
@lexie7557 5 жыл бұрын
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 kzbin.info/www/bejne/p2q8dJJ9i62sa6M
@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 жыл бұрын
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.
@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.
@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
@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.
@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.
@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.
@MuhammadShoaib-yz3ot
@MuhammadShoaib-yz3ot 6 ай бұрын
Thanks for sharing... I'm getting no i2c devices found in serial monitor, what could be the reason
@robojax
@robojax 6 ай бұрын
Check wiring
@robojax
@robojax 6 ай бұрын
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/
@michaeljoshuamanallo1742
@michaeljoshuamanallo1742 2 жыл бұрын
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 жыл бұрын
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.
@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 4 жыл бұрын
My problum is lcd. Print command give then print frist character. Sit whats is the problum
@robojax
@robojax 4 жыл бұрын
this is the wrong video. This video is to resolve the I2C address and understand it. Please watch the main video kzbin.info/www/bejne/p2q8dJJ9i62sa6M 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
@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.
@omoivo6525
@omoivo6525 6 жыл бұрын
Wery well Expl.
@robojax
@robojax 6 жыл бұрын
Thank you.
@jfrras1065
@jfrras1065 3 жыл бұрын
سلام . مثل همیشه عالی . موفق باشید .
@robojax
@robojax 3 жыл бұрын
وعلیکم السلام. خواهش میکنم. سلامت باشید.
@robojax
@robojax Жыл бұрын
سلام علیکم. مجرا (کانال) فارسی علم و فن را راه اندازی کردم: لطفا به دوستان تان خبردهید و حمایتم کنید. www.youtube.com/@ilmofan
@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 жыл бұрын
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
@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.
@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😉😉😉
@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 жыл бұрын
Then watch this video kzbin.info/www/bejne/p2q8dJJ9i62sa6M
@sathishs5271
@sathishs5271 3 жыл бұрын
You have given address explanation thank you sir. 16 and 2 in address mentions?
@robojax
@robojax 3 жыл бұрын
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.
@pyaephyozaw5512
@pyaephyozaw5512 3 жыл бұрын
Thank
@robojax
@robojax 3 жыл бұрын
you are welcome.
@fakaralame
@fakaralame 6 жыл бұрын
how connect lcd i2c with bluetooth hc06
@robojax
@robojax 6 жыл бұрын
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 жыл бұрын
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 kzbin.info/www/bejne/sKisgmWkgNudjc0 or this video kzbin.info/www/bejne/nqqwdmSlqMylbdU Then you we will you can use kzbin.info/www/bejne/iWXckmaHbNqbgNU 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 жыл бұрын
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?
How To Find Unknown I2C Addresses Several Ways
17:32
Gadget Reboot
Рет қаралды 19 М.
Servo Motor with Potentiometer and LCD with Arduino
25:17
Robojax
Рет қаралды 28 М.
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 24 МЛН
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 7 МЛН
Solving I2C Address Conflicts - TCA9548A I2C Multiplexer
24:29
DroneBot Workshop
Рет қаралды 101 М.
How to use an i2c LCD display with arduino - including library install
18:58
OLED Displays with Arduino - I2C & SPI OLEDs
41:41
DroneBot Workshop
Рет қаралды 1,1 МЛН
DIY sonar scanner (practical experiments)
14:30
bitluni
Рет қаралды 1 МЛН
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 141 М.
Connecting Arduino with multiple I2C devices
6:22
BlueDot
Рет қаралды 191 М.
Arduino Multiplexor - MUX INPUTS & OUTPUTS - ANALOG and PWM
13:21
Electronoobs
Рет қаралды 102 М.
How I2C Communication Works and How To Use It with Arduino
9:57
How To Mechatronics
Рет қаралды 1,5 МЛН
#samsung #retrophone #nostalgia #x100
0:14
mobijunk
Рет қаралды 14 МЛН
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1,1 МЛН
My iPhone 15 pro max 😱🫣😂
0:21
Nadir Show
Рет қаралды 1,6 МЛН
Мой новый мега монитор!🤯
1:00
Корнеич
Рет қаралды 316 М.