#50 16*2 LCD problems SOLVED!! | MUST WATCH BEFORE USING LCD WITH ARDUINO

  Рет қаралды 27,872

PR ROBOTICS

PR ROBOTICS

4 жыл бұрын

Hello friends,
In this video we will solve two major errors which you might have encountered if you have ever used 16*2 LCD with arduino NANO via I2C module.
PROBLEM 1: Only first letter of each line is displayed on the screen
This is the problem of library and the library i am using is YWROBOT's LiquidCrystal_I2C.h. This library was compatible with Arduino IDE V1.0 but i am using higher version of it that is why i am getting this error. To solve this error simply open the CPP file of the library and change return 0 to return 1, save the file.
PROBLEM 2: Low brightness of the text
You might think the brightness of the text can be adjusted with the help of potentiometer which is given at the back of I2C module of the LCD. Yes, you are correct and i tried the same but this didn't work for me. So, i provided external 5V to the LCD and common the ground. The brightness of the ṭext get increased.
Channel: Amadeus
Track: Legendary
Watch: • Amadeus - Legendary
******************************************************************************
All the videos on this channel can be used for educational purpose only. Any use or copying of this content in any manner, without the prior written permission of the AUTHOR may result in legal penalty under Copyright Act.
Thanks for watching.
Please ignore the following:
#PRROBOTICS #LCDerrors #only_first_letter_of_each_line_is_displayed #YWROBOT_library_error #how_to_use_LCD_with_I2C_with_arduino #arduino_tutorials #LCD_tutorial #problems_with_I2C_LCD #howtouseLCD #how_to_resolve_ywrobot_library_error #lcd_shows_only_first_letter_of_each_line #arduino_lcd_errors

Пікірлер: 129
@PRROBOTICS
@PRROBOTICS 4 жыл бұрын
Don't forget to like, comment, share and SUBSCRIBE. To learn more about electronics, arduino projects, arduino sensors, breakout boards, raspberrypi, drones, etc. Stay connected with us.
@ajaikumars6948
@ajaikumars6948 3 жыл бұрын
Thank you bro! Finally got my lcd to display text without using array.
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
🤩
@stuartweldon8333
@stuartweldon8333 3 жыл бұрын
Thanks for posting this I have spent many hours scratching my head with this problem.
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
Glad to hear that 😃😀
@nathnaelworku9248
@nathnaelworku9248 Жыл бұрын
It took me a lot of hours to fix this. Thank you bro.
@PRROBOTICS
@PRROBOTICS 10 ай бұрын
Glad it helped
@PhoneMaster0
@PhoneMaster0 3 жыл бұрын
Thanks! i was swearing on every blogger who posted codes thinking that they might have given us a fake code but after watching your video i feel like an idiot 😂✔
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
😂😂😁😁
@studywithmenehal1935
@studywithmenehal1935 Жыл бұрын
Super !! Your first trick works for me.. thanks
@adityabhambhani207
@adityabhambhani207 2 жыл бұрын
THANK YOU THANK YOU THANK YOU......YOU ARE A LIFE SAVER MATE!!!!!!!!
@PRROBOTICS
@PRROBOTICS 2 жыл бұрын
That's all my pleasure 😇😇
@homarlopez449
@homarlopez449 3 жыл бұрын
Hola Profe, resulta que todo va bien en mi proyecto, tengo conectada una bomba y una termorresistencia, sin embargo de vez en cuando la LCD se Corrompe, es decir se borra el mensaje y empieza a mostrar solo caracteres, el sistema sigue funcionando al parecer controla bien pero la imagen se pierde y muestra solo caracteres, que puedo hacer?
@manalalajmi9766
@manalalajmi9766 6 ай бұрын
Thankkkkkkk youuuuuuu soooooooo much you're a life saver , you have no idea how much i appreciate it thank you super helpful video !!!
@DanialADHOfficial
@DanialADHOfficial 3 жыл бұрын
do you know how to fix the lcd display blocky on 1st line
@globalinsights996
@globalinsights996 4 жыл бұрын
I was waiting for the video on your channel for a quite long😔😊
@PRROBOTICS
@PRROBOTICS 4 жыл бұрын
Thank you so much for your patience and support 😊
@globalinsights996
@globalinsights996 4 жыл бұрын
@@PRROBOTICS Thank you sir for such a good content....
@didaraksa779
@didaraksa779 Жыл бұрын
DUDE!! THANK YOU FOR SOLVING THIS PROBLEM!
@PRROBOTICS
@PRROBOTICS 10 ай бұрын
Glad it helped
@rajatnarula949
@rajatnarula949 4 жыл бұрын
Superb content 👍
@m3591_
@m3591_ 3 жыл бұрын
hello, for the first problem i changed the return value but when i close the file he is asking me to save it... so i click save but error happens he is telling me acess denied to C:\program.. file . Can you help please ?
@surindersharma2146
@surindersharma2146 4 жыл бұрын
Awesome content😊
@CaptainGamerz
@CaptainGamerz 3 жыл бұрын
Thanks, I wasted at least 1 week on this problem. You deserve subscribe from my both accounts
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
That's all my pleasure 🙃
@plc.automation
@plc.automation 2 жыл бұрын
I 've same problem , now Fixed , Thank you so much
@PRROBOTICS
@PRROBOTICS 2 жыл бұрын
My pleasure 😉
@Lord_bobby_
@Lord_bobby_ 3 жыл бұрын
bro no text is displayed on my lcd only box in first row and backlight,please help
@OmarMohamed-on2xw
@OmarMohamed-on2xw Жыл бұрын
Thanks man!!!
@PRROBOTICS
@PRROBOTICS 10 ай бұрын
Glad it helped
@kalpanathapliyal5363
@kalpanathapliyal5363 4 ай бұрын
Thanks a lot
@roysoncastelino428
@roysoncastelino428 2 жыл бұрын
Thank u bro for correcting the error
@PRROBOTICS
@PRROBOTICS 2 жыл бұрын
😉
@vinothn4228
@vinothn4228 9 ай бұрын
😮 Such a unique video 😊
@PRROBOTICS
@PRROBOTICS 9 ай бұрын
Thank you :)
@sniperman8697
@sniperman8697 3 жыл бұрын
worked for me thank you very much .. im using 20×4 lcd connected to esp8266 wifi
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
Yay. That's great. Happy learning 🙃
@casukchai8793
@casukchai8793 3 жыл бұрын
why returning 1 can change this error. i'm so confuse.
@fr1ta841
@fr1ta841 Ай бұрын
thank uuuuuu so muuuuuch ❤
@ThivaharanS
@ThivaharanS 2 жыл бұрын
good job.. thank you
@PRROBOTICS
@PRROBOTICS 2 жыл бұрын
Thank you :)
@0124akash
@0124akash Жыл бұрын
Am facing some critical issues with nano. the blink code is properly worked. When upload the hello world code display is blank. Same code upload UNO board working fine. How to solve this problem sir?
@57_praveenkumar38
@57_praveenkumar38 2 жыл бұрын
very helpful solved error on last day of project submission
@PRROBOTICS
@PRROBOTICS 10 ай бұрын
Glad it helped
@charissazandracorrea2573
@charissazandracorrea2573 2 жыл бұрын
NEW SUBSCRIBER HERE!!!! SUPER SUPER THANK YOU!!!!!!
@PRROBOTICS
@PRROBOTICS 2 жыл бұрын
Thank you 😇
@donmarcedwinsilagan9042
@donmarcedwinsilagan9042 2 жыл бұрын
Thanks man
@PRROBOTICS
@PRROBOTICS 2 жыл бұрын
Glad it helped you too😄
@jerungai7681
@jerungai7681 2 жыл бұрын
Why i cant find the word return 0; in it
@gautamgoyal6208
@gautamgoyal6208 4 жыл бұрын
Lajawab bhai😎😎🤟
@PRROBOTICS
@PRROBOTICS 4 жыл бұрын
Thank you🤗
@mohamedeid933
@mohamedeid933 2 жыл бұрын
it dosnt work with me broo its already retuen 1 what is the problem here i dont konw ????
@davidbock5148
@davidbock5148 3 жыл бұрын
Thanks now working, simple when you know how as always.
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
My pleasure 🤗
@nagrajraninga5671
@nagrajraninga5671 Жыл бұрын
thank you so much bro mene ab try kar liya right address bhi dekh liya fir bhi nahi huva meto wapis dene ja raha tha
@geoffwade8144
@geoffwade8144 3 жыл бұрын
Thanks!
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
😊😊
@clashwithdp6000
@clashwithdp6000 2 жыл бұрын
Thank you 😊
@PRROBOTICS
@PRROBOTICS 10 ай бұрын
Glad it helped
@AjayDas-jw1vb
@AjayDas-jw1vb Жыл бұрын
Thank you vai ❤️
@PRROBOTICS
@PRROBOTICS 10 ай бұрын
Glad it helped
@ahmedalhomad178
@ahmedalhomad178 2 жыл бұрын
Good job
@PRROBOTICS
@PRROBOTICS 2 жыл бұрын
Thank you 😇
@tejpalyadav5864
@tejpalyadav5864 3 жыл бұрын
Some of problem face in lcd program one relay on off for analog reference but this time relay on off condition some of unwanted symbol show in lcd u have any solution now please ask me
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
Can you please elaborate it more.
@jackandersonmelgar
@jackandersonmelgar Жыл бұрын
thank you verymuchhhhhhhhh
@PRROBOTICS
@PRROBOTICS 10 ай бұрын
Glad it helped
@fan6268
@fan6268 Жыл бұрын
Nice❤
@PRROBOTICS
@PRROBOTICS 10 ай бұрын
Thanks 🔥
@aturisrinivas9777
@aturisrinivas9777 2 жыл бұрын
thanks bro you are awesome
@PRROBOTICS
@PRROBOTICS 10 ай бұрын
Glad it helped
@aturisrinivas9777
@aturisrinivas9777 10 ай бұрын
@@PRROBOTICS seriously bro you replied to my comment after an year. That shows your dedication to your viewers.
@PRROBOTICS
@PRROBOTICS 10 ай бұрын
@@aturisrinivas9777 Glad to hear that :)
@kristianschembri7165
@kristianschembri7165 3 жыл бұрын
Hi I have an LCD keypad shield and it is mixing sentences of the different menus that I have. can you pls help me and as always great videos!
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
The problem is with setting cursor to the new line. You can use set cursor command for the same.
@sagnikchatterjee8122
@sagnikchatterjee8122 4 жыл бұрын
One question once my lcd display got hit and from after that it stopped displaying anything only the backlight stays on
@PRROBOTICS
@PRROBOTICS 4 жыл бұрын
Can you please elaborate so that i can help you?
@sagnikchatterjee8122
@sagnikchatterjee8122 4 жыл бұрын
@@PRROBOTICS I made a project were I used a lcd hcsr04 to print distance but accidently the lcd got hit during work and after that it stopped working. No letters nothing.
@PRROBOTICS
@PRROBOTICS 4 жыл бұрын
You have to buy new one if it is damaged. There is no solution for that. All these solutions of mine work with those which has I2C interface.
@sagnikchatterjee8122
@sagnikchatterjee8122 4 жыл бұрын
@@PRROBOTICS Oh . Bad luck :( . But thanx for your support.
@sampadsaha4851
@sampadsaha4851 3 жыл бұрын
Thanks
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
That's my pleasure 🙂
@riccardodisalvatore1883
@riccardodisalvatore1883 3 жыл бұрын
thank you salea
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
Welcome 😍
@nehaupadhyay7828
@nehaupadhyay7828 2 жыл бұрын
5v power wire kaya connect karna ha
@PRROBOTICS
@PRROBOTICS 2 жыл бұрын
If you are using the I2C LCD, connect 5V to VCC.
@l319varadkabra2
@l319varadkabra2 2 жыл бұрын
Hi, I am using LCD 16*2, I have connected all the pins correctly but still not getting the output as expected (black boxes in 1st row) Please help me!
@PRROBOTICS
@PRROBOTICS 2 жыл бұрын
Have you tried with another board?
@l319varadkabra2
@l319varadkabra2 2 жыл бұрын
@@PRROBOTICS Yes, the same problem exists
@globalinsights996
@globalinsights996 4 жыл бұрын
Happy holi everyone 🎉🎉❤❣️
@PRROBOTICS
@PRROBOTICS 4 жыл бұрын
Same to you 😇
@ninad0037
@ninad0037 2 жыл бұрын
Hello, I am working on a project with arduino nano and it has a 16*2 lcd display. My problem is everything works fine in it but Can't get anything on the display. How to recover this..plz try to reply as early as possible
@PRROBOTICS
@PRROBOTICS 2 жыл бұрын
Hey, I can't help you with that much information. For troubleshooting I need some more information. Some general errors & their solutions which may help you are- 1. Double check all the connections 2. Replace the jumper wires 3. Connect arduino nano to external power source instead of USB 4. You may have switched SCL & SDA wires. 5. Make sure that you have initialized the lcd in void setup() in code
@ninad0037
@ninad0037 2 жыл бұрын
@@PRROBOTICS thank you very much... I will rectify as per your suggestion
@avinashsiripuram1058
@avinashsiripuram1058 3 жыл бұрын
in cpp file already there is return 1 still facing same issue
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
Are you using the same library?
@avinashsiripuram1058
@avinashsiripuram1058 3 жыл бұрын
@@PRROBOTICS problem solved
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
Okhay. Great 👍
@protonspeed
@protonspeed Жыл бұрын
In Your Function "Liquidcrystal_I2C lcd " You have selected wrong LCD. Your LCD is 16*2 characters & You have wrote 20*4. That is the problem, Not in the Library.
@REZAAEON
@REZAAEON 7 ай бұрын
thank youuuuuuuuuuuuuuuuuuu f 3.3 v
@PRROBOTICS
@PRROBOTICS 7 ай бұрын
Glad that helped 😇😇
@BMW.E30.335i
@BMW.E30.335i Жыл бұрын
It works but this was not your problem. You have a 16, 2 LCD. Your Code is for a 20, 4 LCD 20, 4 Means 20 Character in 4 Rows. But you have to edit your code for the 16 character 2 Rows LCD. Just Edit: (0x27,20, 4) to (0x27,16, 2) Now you can see in your first Row: Hello, world! and in your second line: Ywrobot Arduino. Line 3 and 4 are NOT on your LCD 1602. If you want to show it you must editthe third row 0,2 to 0,0 and the 4 row from 2,3 to 2,1 After lcd.print(Ywrobot Arduino"); you need also a delay otherwise row 1 and 2 with hello world will fast overwrite. delay(5000); // 5000 is for 5 seconds time to read row 1 and 2 ... then it will be overwrite with the next text.
@peeyushdadwal
@peeyushdadwal 3 жыл бұрын
I was getting just boxes instead of text
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
Please use the potentiometer to set the brightness. It happens when the brightness is at its maximum level.
@peeyushdadwal
@peeyushdadwal 3 жыл бұрын
@@PRROBOTICS I tested it nothing happens
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
Please check the I2C wire and reset the code.
@peeyushdadwal
@peeyushdadwal 3 жыл бұрын
@@PRROBOTICS ok
@thriverff4472
@thriverff4472 2 жыл бұрын
my lcd only shows boxes but no text, tried everything and codes still no hope
@PRROBOTICS
@PRROBOTICS 2 жыл бұрын
Use the potentiometer given the back of LCD
@thriverff4472
@thriverff4472 2 жыл бұрын
@@PRROBOTICS tried bro but only box is becoming dark and light no text
@thriverff4472
@thriverff4472 2 жыл бұрын
Only top boxes are visible
@thriverff4472
@thriverff4472 2 жыл бұрын
been trying for 3 days bro, no solution , came to yr channel for help
@thriverff4472
@thriverff4472 2 жыл бұрын
checked the enable pin like u said in yr last video
@wasanthawimaladharm
@wasanthawimaladharm 4 жыл бұрын
TALK LOUDLY WE CAN'T HEAR YOU
@PRROBOTICS
@PRROBOTICS 4 жыл бұрын
Sorry for that, and i have fixed this issue in the new videos. Thank for your suggestion.
@InDust3
@InDust3 Жыл бұрын
Damn bro thank you....
@PRROBOTICS
@PRROBOTICS 10 ай бұрын
Glad it helped
@d.kpandey7099
@d.kpandey7099 4 жыл бұрын
Good content 👌
OLED Displays with Arduino - I2C & SPI OLEDs
41:41
DroneBot Workshop
Рет қаралды 1,1 МЛН
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 28 МЛН
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 37 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 16 МЛН
Interfacing 16x2 LCD with Arduino Uno | 16x2 LCD Arduino I2C
16:00
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 141 М.
How to connect multiple LCD displays to one Arduino
4:11
Garage Geek Guy
Рет қаралды 19 М.
Using Serial.parseInt() with Arduino
15:39
Programming Electronics Academy
Рет қаралды 46 М.
#51 SOLVED!! Every Arduino NANO error || PR ROBOTICS
8:53
PR ROBOTICS
Рет қаралды 31 М.
How to connect i2c module to 16/2 display
4:05
Tech Ideas
Рет қаралды 44 М.
Ouch.. 🤕
0:30
Celine & Michiel
Рет қаралды 24 МЛН
The poor girl couldn't take care of the cat 😢😔
0:38
Ben Meryem
Рет қаралды 14 МЛН