Raspberry Pi - Mini LCD Display Tutorial

  Рет қаралды 140,103

TheRaspberryPiGuy

TheRaspberryPiGuy

Күн бұрын

Пікірлер: 215
@craiggriffin2555
@craiggriffin2555 8 жыл бұрын
To get my one to work I used i2cdectect to get the address of the lcd screen then with this I went into theh lcddriver file and changed the lcd address from 0x20 to 0x3f. Hope this helps someone!
@TheRaspberryPiGuy
@TheRaspberryPiGuy 8 жыл бұрын
+Craig Griffin glad you got it all sorted!
@tassenmensch6849
@tassenmensch6849 8 жыл бұрын
Hello, I have a liddle Problem: I bought this Display : www.amazon.de/Schnittstelle-1602-Serielle-Display-Modul-Arduino/dp/B01JZ75AG2/ref=sr_1_4?ie=UTF8&qid=1473947258&sr=8-4&keywords=16x2+Serielle+LCD+Display-Modul My question now is, does it work with the Raspberry Pi, because it needs 5V to run.
@M808_Tech
@M808_Tech 8 жыл бұрын
yes it does raspberry pi have 5v input. no worries.
@AriffSuffian
@AriffSuffian 8 жыл бұрын
Still having the same problem, kept switching back an forth between 20 and 3f, heck even 27. Any other possible solutions? I2C is enabled in the raspi-config
@okvalem
@okvalem 8 жыл бұрын
Thx! Made my day. :-)
@Taran72
@Taran72 6 жыл бұрын
AWESOME! the only code I found online that actually works!! this is the only package that has a I2C for RPi3 fully working. I tried two different scripts from two kits and they are both wrong. Thank you so much for sharing your knowledge! you made my day!!!
@lucasi8455
@lucasi8455 5 жыл бұрын
Undoubtedly, the best raspberry pi channel
@donlovejoy857
@donlovejoy857 4 жыл бұрын
I feel like I am about to spend hours watching these things and trying them out. Good stuff!
@SethGlover
@SethGlover 6 жыл бұрын
Dude you rock. Thank you so much for passing on your knowledge. You've just ended my 3 hour journey of trying to get this to work!
@irg008
@irg008 4 жыл бұрын
mine was even longer aaahh!! but thank god you helped me!!! @theraspberrypiguy
@joebashour
@joebashour 2 жыл бұрын
This is THE BEST video I have found while browsing the internet for a guide to set up an LCD with my Pi 4. THANK YOU @TheRaspberryPiGuy
@JohnBaronian
@JohnBaronian 7 жыл бұрын
Thanks so much. I went through about 5 tutorials until I got to yours... each had a little bit more info but ultimately I got it working with your code... Rock on!
@davidgreenwitch
@davidgreenwitch 4 жыл бұрын
Wow, I searched for days finding the reason why my display did not show anything. Thanks for the tutorial. And thanks for the hint how to change the contrast. 😄
@hashan-sandeepa
@hashan-sandeepa 3 жыл бұрын
I could be able to fix messages not showing issue by adjusting the brightness as mentioned in this tutorial. Thanks a lot.
@bierjan5043
@bierjan5043 7 жыл бұрын
Thanks alot! I didn't know you could lower the brightness with a screwdriver!! I thought my LCD screen didn't work, but it was the brightness!!
@yudhobaskoro8033
@yudhobaskoro8033 4 жыл бұрын
Ummm, its not the brightness its the contrast setting, u can change the brightness by placing somekind of resistors between gnd and vcc from the pi itself, i personally use 3x1k ohm resistor in paralel
@benjaminparsons6337
@benjaminparsons6337 7 жыл бұрын
Thanks piguy, great tutorial for beginners!! just getting into playing pi with the 37 in 1 pack of sensors and having this output for some basic feedback is cool ... thanks!!
@robertpendergast2620
@robertpendergast2620 8 жыл бұрын
Thanks and works well. I had the same I/O error 5 issue as the guys below and it cleared when I went to raspi config and added ssh and camera and then rebooted (nonsense, right?) MY REAL INQUIRY: how can I keep my lcd clock going when I switch to an other directory in linux terminal? Thanks.
@prettyboyfloyd5841
@prettyboyfloyd5841 5 жыл бұрын
So could hook one of these up to a pi running retropie to display what game I'm currently playing. And or the fps?
@loopylysa7
@loopylysa7 7 жыл бұрын
Great video! What are your thoughts on whether or not a level shifter is needed to protect the Pi pins?
@lolqsim
@lolqsim 4 жыл бұрын
Thank You very much, great job PiGuy! Cheers from Poland :)
@worldentropy
@worldentropy Жыл бұрын
Great work, thanks. Now; how about modd'ing it for a 20x4 display?
@KaienSander10Official
@KaienSander10Official 8 жыл бұрын
Thanks! :D I had one of these displays and it didnt want to work with my arduino, so i thought it was broken since i tryed soo Many example codes. And now i tryed it with my raspberry pi and it worked! Again thanks!
@IncredibleSolv
@IncredibleSolv 6 жыл бұрын
thats an address issue... look at the back of the display and take note of the address
@DaumbFauckProduction
@DaumbFauckProduction 3 жыл бұрын
diy perks does a video on making a 4k projector using a lcd screen with hdmi. the problem is you cant run a display without connecting a computer. ideally I would want to connect a streaming device or xbox or bluray. so my question is: can you use a raspberry pi to run the display on the lcd screen by connecting a xbox or what not without having a laptop out?
@jamesalanjob
@jamesalanjob 3 жыл бұрын
Absolutely super, one question, in the netmonit is there a way to light an led or flash the lcd screen if it reports down?
@adrianmanikowski2451
@adrianmanikowski2451 Жыл бұрын
Is there any possibility to make something like - lcd.cursor_mode = CursorMode.blink ? For blinking the cursor?
@madapativenkatesh958
@madapativenkatesh958 3 жыл бұрын
Brk it enough or should we declare pins
@themarcarts
@themarcarts Ай бұрын
is the any way to install this globally? I can only get it to work inside the install dir
@mhan6601
@mhan6601 5 жыл бұрын
Where do I put the Fan Pins, because both those are in the black and red spots you have. I can choose any 5v and ground location? (I guess I could just put the fan red in the 3.5v location and just have low power maybe?)
@muhammadsameer883
@muhammadsameer883 7 жыл бұрын
Thank you pi guy and thank you Craig Griffin for giving quick solution.
@rodolfolucas6383
@rodolfolucas6383 5 жыл бұрын
Hello my friend. This tutorial works on Upboard 2?
@youreale
@youreale 7 жыл бұрын
What about a level shifter since the device uses 5v e pi's use 3v???
@graham9473
@graham9473 3 жыл бұрын
Hi i change the text to say something different, however on the lcd it shows as mixed up letters and numbers. Any help would be great. Thanks.
@rpitime2051
@rpitime2051 3 жыл бұрын
Is there a way to turn off the display for when it is not being used?
@abw_creator
@abw_creator 5 жыл бұрын
I am running 0*27 display with raspberrypi. display not giving any output but it is chaging brightness. i tried different display and it is working. i want to check problem with older display
@hanneshein9721
@hanneshein9721 2 жыл бұрын
how do i write my own text into it. The document always says that i cant pls help
@leonpiscopo8515
@leonpiscopo8515 4 жыл бұрын
The code is good and it shows 'Writing to display' but shows nothing on the LCD screen.What could it be please?
@ShakeYaBamBam
@ShakeYaBamBam 4 жыл бұрын
i have the same, all suggestions here don't help to get it to work. did you find a solution that worked for you ?
@leonpiscopo8515
@leonpiscopo8515 4 жыл бұрын
@@ShakeYaBamBam I have put a video on my KZbin channel showing it working :)
@tuobraun
@tuobraun 3 жыл бұрын
Hi, what a great video, thank you! But is there any way to connect a second LCD module to the same Pi and display different data on both screens?
@1996JRC
@1996JRC 4 жыл бұрын
Is it possible to change the orientation of the text? It is upside down for me at the moment
@RichardT2112
@RichardT2112 8 жыл бұрын
Stupid question, if I wanted to have multiple displays, I would need to have different addresses, then change the lcddriver file accordingly. Or is this really written for just one display and I should consider any other driver library?
@davidb.5911
@davidb.5911 3 жыл бұрын
Amazing stuff man, thank you so much! Very clear and easy to understand!
@danmarkvillaplana4207
@danmarkvillaplana4207 Жыл бұрын
I received an Errno 121 saying Remote I/O error. I saw fix to this by editing the address in the lcddriver.py but that file didn't appear in my folder when I cloned it from git. Any advice on how to fix this error?
@cordikland3454
@cordikland3454 5 жыл бұрын
Raspberry 4 ERROR: This example works fine on any of my RaspPi3 but can not get this to work on my Raspberry Pi 4.It appears to be an address error but running i2cdetect -y 1 does not work on this cpu either (raises an error) which works fine on the 3.
@bkhaas488
@bkhaas488 8 жыл бұрын
I keep getting several errors. Here the first. Line 11, in . display = lcddriver.lcd(). Can you help? I can see you a pic of all the errors if you want
@HUNVilly
@HUNVilly 7 жыл бұрын
ok same thing happened to me, I did 2 things to fix it. First of all, I had my SDA and SCL wires switched by accident, second of all i gave the command: sudo i2cdetect -y 1 And in the lcddriver.py file I changed the ADDRESS = 0x value to what I saw after giving out the previous command, in my case 3f, so i changed it to 0x3f.
@carotoby
@carotoby 7 жыл бұрын
thx - the socond one was the solution!!!
@mauritsvlot5138
@mauritsvlot5138 7 жыл бұрын
HUNVilly thx man it workt with the second thing
@mauritsvlot5138
@mauritsvlot5138 7 жыл бұрын
HUNVilly its pretty hard to find for a beginner
@AdityaRajKapoorLordFuseBox
@AdityaRajKapoorLordFuseBox 5 жыл бұрын
Thanks a lot. How can I get a news ticker?
@Zozo-ke2dl
@Zozo-ke2dl 4 жыл бұрын
I’m really struggling here, for some reason when I’m entering the lcd stuff to clone it’s asking for my GitHub login and won’t let me type ANYTHING for the input of the password meaning I’m not authenticated to access the stuff ... help??
@voltifer5267
@voltifer5267 4 жыл бұрын
Zozo just log in ur GitHub or sign up and it will work
@potaziio7174
@potaziio7174 3 жыл бұрын
the password never shows up when you're typing, it will be blank
@Zozo-ke2dl
@Zozo-ke2dl 3 жыл бұрын
@@potaziio7174 whaaaaaaat??? I'll try it again soke day - unfortunately my pi broke 💔
@f.magalhaes
@f.magalhaes 2 жыл бұрын
Will this work in a Pico?
@loganbyrne3054
@loganbyrne3054 6 жыл бұрын
i am currently using my RaspPi as a portable computer. Do you have the codes to make this with the same board on an Arduino?
@CyberErnie
@CyberErnie 3 жыл бұрын
Hi, could you please help me!? ;) I want to display the IP-Adress and the CPU-Temp to the display. Do you have a python-script for this? Thanks in advance.
@garettrose2156
@garettrose2156 3 жыл бұрын
I want system monitoring as well so I can view cpu temp & usage while mining
@dalerobinsuk
@dalerobinsuk 7 жыл бұрын
You should be using a Logic Level Converter, those I2C backpacks have 5v pullups!
6 жыл бұрын
What will happen if I don't use it though?
@carlosnissan838
@carlosnissan838 6 жыл бұрын
hello, how do i check the temperature of the pi 3? cheers and thanks
@AdityaRajKapoorLordFuseBox
@AdityaRajKapoorLordFuseBox 7 жыл бұрын
hello: doing this for the first time in my life. using yr video. Thank you!
@owenhobbs1758
@owenhobbs1758 7 жыл бұрын
Thank you TheRaspberryPiGuy, this really helped me a lot!
@GeorgeTJ
@GeorgeTJ 8 жыл бұрын
Excellent tutorial. Is there a way to display playing info from Volumio?
@ikkepic
@ikkepic 8 жыл бұрын
Now if I could only make this LCD display work with MPD. That would a super audio player! 👍
@johnnywest5445
@johnnywest5445 5 жыл бұрын
Excellent tutorial, thank you!. I had to 'pip install smbus', but everything worked great after that.
@Bullet55NL
@Bullet55NL 5 жыл бұрын
Johnny West thanks for this
@emilius1238
@emilius1238 4 жыл бұрын
*OH, HOW SURPRISING! YOU HAVE TO INSTALL LIBRARIES*
@BenyBenator
@BenyBenator 4 жыл бұрын
Question: I am already using the GND and one of the 5V pins on the GPIO for my case's fan. I see the GPIO has another 5V and GND. Can I use any of them for power, and use SDA and SCL for the data/clock?
@dynamicallyvirtual603
@dynamicallyvirtual603 2 жыл бұрын
Yeap
@ExhaustedFish
@ExhaustedFish 7 жыл бұрын
Great tutorial. I am trying to make a display that shows my current subscribers using API keys is it possible to do that with this screen? Thanks!
@bradgillap
@bradgillap 8 жыл бұрын
How do I turn off the screen on and off in python or use the blinkon / blinkoff in the lcddriver?
@gymzaal4412
@gymzaal4412 3 жыл бұрын
Amazing tutorial, great work!
@thepeacockk
@thepeacockk 7 жыл бұрын
thanks man! this made my setup very easy to complete!
@Dre3ed
@Dre3ed 7 жыл бұрын
is it possible to display cpu temp and cpu usage or ram usage ?
@franshejhejhej
@franshejhejhej 6 жыл бұрын
Works fine on Python 2.7! Is there any version for python 3?
@lutz4tech
@lutz4tech 2 жыл бұрын
Yes Here you Go: kzbin.info/www/bejne/epi8eZWgpZ2eh5I
@thaddeusnoffsinger2410
@thaddeusnoffsinger2410 5 жыл бұрын
Can you use the mini LCD somehow without it being connected to the raspberry pi?
@4_shore
@4_shore 5 жыл бұрын
Check out the 3 part series by the 8-bit guy
@thaddeusnoffsinger2410
@thaddeusnoffsinger2410 5 жыл бұрын
@@4_shore Okay
@XW0RKS
@XW0RKS 6 жыл бұрын
what's the code for displaying IP address... cause every other tutorial use lcd without module and it's more complicated.
@ardhifibrianto2089
@ardhifibrianto2089 8 жыл бұрын
i used mfrc522 and this lcd, but but the problem comes. please share tutorial for uninstall this packed
@TheBontenbal
@TheBontenbal 5 жыл бұрын
Check your i2c address in the lcddriver.py file. I had to change mine. After that it worked. Thanks RPi Guy!
@kylecachia6706
@kylecachia6706 3 жыл бұрын
what exactly do I need to do?
@ConsistentImprovement
@ConsistentImprovement 8 жыл бұрын
You're awesome man. Thanks for the video, it helped me setup my lcd display.
@gavinreniers7569
@gavinreniers7569 8 жыл бұрын
you are a god !!! thought mine was faulty can you make same type video for librelec i have asked many people on forms but no luck and i thought my display was faulty
@benitoa6238
@benitoa6238 5 жыл бұрын
can you please do the same example in C tutorial
@alexfernandesportrai
@alexfernandesportrai 2 жыл бұрын
Hi, I am new to Python. After 'sudo sh install.sh' in the lcd directory, I got this error 'install.sh: 21: ./setup.sh: Permission denied'. What am I doing wrong?
@michellew.1919
@michellew.1919 2 жыл бұрын
i got the same error, did you ever figure it out?
@RichardEricCollins
@RichardEricCollins 8 жыл бұрын
Very nicely presented video. Thanks for sharing. :)
@boggybudgie
@boggybudgie 7 жыл бұрын
not sure if i have a dodgy display, its wired correctly, i changed the lcd address to 0x3f, ran the sh file and rebooted, ran the demo but the screen is blank, twisting the potentiometer on the back does nothing, i have a red power light on the back of the screen so i'd assume it works and maybe i did something wrong
@JoeyLindsay
@JoeyLindsay 5 жыл бұрын
turn the pot the other way
@calico_cy
@calico_cy 5 жыл бұрын
I couldn't get this to work with pi 1 old model, any help
@donlovejoy857
@donlovejoy857 4 жыл бұрын
Great video, thank you for sharing! My display doesn't have a physical adjustment for the contrast but terminal says 'Writing to display' and my screen is black. I feel like the contrast/brightness is where I need to look to fix this, any idea if it can be controlled via coding? ps, thank you Craig Griffin for your comment, you got me over my first challenge with this!
@dynamicallyvirtual603
@dynamicallyvirtual603 2 жыл бұрын
Sorry I'm late lol. but I think you should get another backpack for it with a physical adjustment.
@dynamicdog1535
@dynamicdog1535 8 жыл бұрын
Hello, I currently have my LCD screen hooked up and I'm intermittently getting gibberish instead of the desired text. I've gotten the desired text a few times, but upon restarting the script it goes back to gibberish. Do you have any ideas to fix this?
@JoeyLindsay
@JoeyLindsay 5 жыл бұрын
try reinstalling the files or check to see if something is shorting the lcd driver
@freemanfreed1581
@freemanfreed1581 5 жыл бұрын
I need to display month year and date on a large display screen each day . but large screens have no such kinds of pins to connect them to a raspberry pi. Can anyone help me please ??? thank you
@ConstructionGuy
@ConstructionGuy 2 жыл бұрын
It’s asking me for a user name and password for GitHub when I type the Command in. Any help?
@walkriz
@walkriz 8 жыл бұрын
Thanks for you video, very clear and explains in detail!!! super
@boggybudgie
@boggybudgie 7 жыл бұрын
my 3f is in the colum f and row 30 when i run the i2cdetect command, should i change the lcd address to fx3f or something?
@JoeyLindsay
@JoeyLindsay 5 жыл бұрын
no hex addresses start with 0x to tell the system that it is hex so it is simply '0x3f'
@johngonsalves5268
@johngonsalves5268 5 жыл бұрын
Well done! Thanks for the great upload
@kevinbaines9709
@kevinbaines9709 8 жыл бұрын
great video thanks got mine going at last
@pipeopipe
@pipeopipe 6 жыл бұрын
Hello, i used i2cdetect -y 1 and my display apperas as "3f", however, when i run any of the scripts, no characters are displaying on the screen. i changed the address in lcddriver.py to 3f. Any clue on what can be happening? My LCD is turned on, but no characters are displaying on the screen. I'm wiring directly to a Raspberry Pi Model B like you show in the video. Thanks in advance!
@JoeyLindsay
@JoeyLindsay 5 жыл бұрын
can you see rectangles on the screen? If no, you need to change the value of the potentiometer on the back of the LCD with a screwdriver. I had the same issue. did you leave the address = 0x3f?
@PAUL-wn5iy
@PAUL-wn5iy 5 жыл бұрын
Thank you very much. You helped a lot.
@yudhobaskoro8033
@yudhobaskoro8033 4 жыл бұрын
Traceback (most recent call last): File "demo_lcd.py", line 6, in import lcddriver File "/home/yudho/lcd/lcddriver.py", line 12, in import i2c_lib File "/home/yudho/lcd/i2c_lib.py", line 1, in import smbus ImportError: No module named smbus I ended up with this code on ubuntu mate, but it doesnt do this when i use raspberry os, can someone help me please
@ishanrajesh9528
@ishanrajesh9528 4 жыл бұрын
I have the same issue Does anyone have a fix for it
@yudhobaskoro8033
@yudhobaskoro8033 4 жыл бұрын
@@ishanrajesh9528 an update on september fixed it for me, and now i can run this code on any OS, except android ofc
@kraftyw1999
@kraftyw1999 Жыл бұрын
Has anyone figured out a way to display the same message just by turning on the Pi (not having it hooked up to an external monitor to code anything)?
@thiloreiche4703
@thiloreiche4703 7 жыл бұрын
Very Nice!!! Me helped it so much
@TerraRiley
@TerraRiley 4 жыл бұрын
Error 121, remote I/o error? Followed everything but nothing upon i2cdetect. I2C is enabled under config.. idk what my deal is but I keep failing and I want to quit! But that's lame, so if anyone has pointers, please lmk!
@MrWallyGattor
@MrWallyGattor 6 жыл бұрын
Thank you, very helpful screen setup and working fine, i have been playing with the clock.py code, i want it to show the ip address instead but i can't seem to get the command right. pleas point me in the right direction
@JoeyLindsay
@JoeyLindsay 5 жыл бұрын
import os os.system("ifconfig") hope this gets you closer to your goal!
@diegonavarro4007
@diegonavarro4007 5 жыл бұрын
Why I can´t run the code of demo_lcd.py on thonny IDE???
@djmello7305
@djmello7305 2 жыл бұрын
I’m trying to make my display show the stats like the temp of the cpu and stuff like that while running retropie, anyone know anything that could help me?
@tubeDude48
@tubeDude48 7 жыл бұрын
The link to get the LCD w/ i2c is dead!
@kylecachia6706
@kylecachia6706 3 жыл бұрын
This is telling me that the module drivers could not be found
@hallenraharja
@hallenraharja 7 жыл бұрын
Can anyone give some reference about how to print data from sensor to lcd 2x16+i2c ?? please thanks
@igot_hacked3038
@igot_hacked3038 5 жыл бұрын
Pls share any answers u found that worked for u. Im working on a similar project where the lcd could read the sensor readings
@sudarshanbandyopadhyay9052
@sudarshanbandyopadhyay9052 4 жыл бұрын
Hi, i was wondering can we control the backlight brightness level using some python codes?
@VanishingTacos
@VanishingTacos 4 жыл бұрын
Use a resistor or you might be able to use the 3v pin and not 5v.
@sudarshanbandyopadhyay9052
@sudarshanbandyopadhyay9052 4 жыл бұрын
@@VanishingTacos hmm...using resitor will be a fixed solution right? Suppose i want to dynamically control the brightness, i have a code which uses the lcd display 24hrs a day, i want 8hrs during night time as low brightness and rest 16hrs on normal brightness. Can we do it using some coding implementation?
@VanishingTacos
@VanishingTacos 4 жыл бұрын
@@sudarshanbandyopadhyay9052 Look into pulse-width modulation. I know you can use that to control the brightness LEDs.
@sudarshanbandyopadhyay9052
@sudarshanbandyopadhyay9052 4 жыл бұрын
@@VanishingTacos thanks, will look into it.
@fantacho
@fantacho 8 жыл бұрын
hey buddy, I've got a problem when I executed the program "File demo_lcd.py, line 11, in display = lcddriver.lcd() File /home/pi/lcd/lcddriver.py, line 67, in__init__ self.lcd_device = i2c_lib.i2c_device(ADDRESS) File /home/pi/lcd/i2c_lib.py, line 7, in __init__ self.bus = smbus.SMBus(port) IOError: [Errno 13] Permission denied"
@szymex73
@szymex73 8 жыл бұрын
+Diego Riveros Did you turned on the I2C option in the RPi configuration program? If you didn't, than that's your problem. (sorry for my english, if it isn't too good)
@fantacho
@fantacho 8 жыл бұрын
+Szymon Borecki it's working! I added the line: i2c-bcm2708 in the file /etc/modules, then I updated the system and installed i2c python libraries(version 2): sudo apt-get install -y python-smbus i2c-tools , and rebooted the Pi
@piumalkothalawala4783
@piumalkothalawala4783 6 жыл бұрын
Please Help self.lcd_device.write_cmd(data | LCD_BACKLIGHT) File "/home/pi/Desktop/Research/lcd/i2c_lib.py", line 11, in write_cmd self.bus.write_byte(self.addr, cmd) IOError: [Errno 121] Remote I/O error
@nortrap
@nortrap 8 жыл бұрын
nice video as always, do you know where can I buy just the I2C adapter?
@TheRaspberryPiGuy
@TheRaspberryPiGuy 8 жыл бұрын
+nortrap this looks like the one: www.dx.com/p/lcd1602-adapter-board-w-iic-i2c-interface-black-works-with-official-arduino-boards-216865#.VvzeYPkrJhE
@nortrap
@nortrap 8 жыл бұрын
Great, they are now on the way, found them on ebuy too :)
@TheRaspberryPiGuy
@TheRaspberryPiGuy 8 жыл бұрын
+nortrap let me know how it goes!
@nortrap
@nortrap 8 жыл бұрын
No problem, i should have it here in a few weeks time, LCD is ready to be updated. PT
@nortrap
@nortrap 8 жыл бұрын
+TheRaspberryPiGuy Got the I2C interface board today, and voila! I now have a I2C driven LCD :)
@battlecampkhimmay2981
@battlecampkhimmay2981 3 жыл бұрын
DS18B20 temp with lcd pls
@vintagecafe4540
@vintagecafe4540 4 жыл бұрын
Ohhhhh thank you so much sir!!!
@plankalkulcompiler9468
@plankalkulcompiler9468 7 жыл бұрын
PLEASE HELP!! IT GIVES ERROR! I OError: [Errno 121] Remote I/O error
@yoeriyoeri4264
@yoeriyoeri4264 6 жыл бұрын
same, any solution??
@brianronstrom1542
@brianronstrom1542 6 жыл бұрын
same!
@IncredibleSolv
@IncredibleSolv 6 жыл бұрын
check the address on the back of the display module....you might have a config issue and need to change the address, this is a common issue with arduino so look that up if you need more help
@robinlow3889
@robinlow3889 6 жыл бұрын
Hi, I am learning how to use LCD screen so how do you check the address and change it on raspberry pi? I need help thanks, I am also facing remote I/O error 121 from running codes that others have proved to work, so I believe it is my problem.
@IncredibleSolv
@IncredibleSolv 6 жыл бұрын
not enough information to answer your question. if it has the four pin on the back and you're using linux you can dmesg... usually the module has the address at the rear
@GregBernhardt
@GregBernhardt 4 жыл бұрын
Where the hell doe VCC hook into?
@raysrcsandtech
@raysrcsandtech 8 жыл бұрын
Will your code work with a SainSmart LCD keypad module based on the HD44780 controller, this is what I can get locally to me it's the same but a 4 line display, it has the same pins as the display you have used.
@TheRaspberryPiGuy
@TheRaspberryPiGuy 8 жыл бұрын
+Rays RCs hi there, do you have a link to your display?
@raysrcsandtech
@raysrcsandtech 8 жыл бұрын
www.amazon.ca/SainSmart-Module-Arduino-Board-White/dp/B003B22UR0/ref=sr_1_1?ie=UTF8&qid=1459424758&sr=8-1&keywords=SainSmart+LCD+keypad+module
@raysrcsandtech
@raysrcsandtech 8 жыл бұрын
But I can't seems to find it on the Sain Smart website, s oI'm not sure of the model number
@TheRaspberryPiGuy
@TheRaspberryPiGuy 8 жыл бұрын
+Rays RCs that looks very similar (if not the same) as the style that I use in this tutorial. It *should* work.
@raysrcsandtech
@raysrcsandtech 8 жыл бұрын
Thank you for a fast replay, I shall order one and see. Some reviews say it work with the Pi no issues, so even if your code does not run it it should be easy to set up. :)
@balgruufthegreater9072
@balgruufthegreater9072 8 жыл бұрын
I just bought that LCD display (i2c interface module included) for €2,75 on eBay
@emilius1238
@emilius1238 4 жыл бұрын
Late to the party, but was it used?
@natman151
@natman151 8 жыл бұрын
I have on of the original rev 1 pi's and i'm getting this error. noticed in the comments others are having the same issue Traceback (most recent call last): File "demo_lcd.py", line 11, in display = lcddriver.lcd() File "/root/lcd/lcddriver.py", line 69, in __init__ self.lcd_write(0x03) File "/root/lcd/lcddriver.py", line 93, in lcd_write self.lcd_write_four_bits(mode | (cmd & 0xF0)) File "/root/lcd/lcddriver.py", line 88, in lcd_write_four_bits self.lcd_device.write_cmd(data | LCD_BACKLIGHT) File "/root/lcd/i2c_lib.py", line 11, in write_cmd self.bus.write_byte(self.addr, cmd) IOError: [Errno 5] Input/output error Any help would be grand. Thank you :)
@craiggriffin2555
@craiggriffin2555 8 жыл бұрын
+Nat Klopper To get my one to work I used i2cdectect to get the address of the lcd screen then with this I went into theh lcddriver file and changed the lcd address from 0x20 to 0x3f. Hope this helps
@natman151
@natman151 8 жыл бұрын
+Craig Griffin Thanks Craig, worked superbly. Totally forgot about the i2c addresses!!
@VAN_production.mp4
@VAN_production.mp4 4 жыл бұрын
Finallllyyyyy!!! Now I can make my own BOMB which will display remaining time! Before everyone thought I was joking since there was no time for detonation 🤔🤔🤔🤔🤔🤔🤔😅😅😅😅😅😅😅😅
@stevetrapp1095
@stevetrapp1095 5 жыл бұрын
Links to wires ???
LCD Basics for the Pi Pico
7:31
Tinkernut
Рет қаралды 118 М.
Using a 16x2 LCD Display with a Raspberry Pi
12:19
rdagger68
Рет қаралды 400 М.
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,7 МЛН
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 9 МЛН
Raspberry Pi LESSON 25: Using an LCD1602 LCD Display with I2C
29:12
Paul McWhorter
Рет қаралды 14 М.
Raspberry Pi 5: Getting Started
24:43
Jeff Geerling
Рет қаралды 504 М.
The Raspberry Pi 5 is a $80 Gaming Beast
14:56
Modern Vintage Gamer
Рет қаралды 682 М.
Add an OLED Stats Display to Raspberry Pi OS Bullseye
8:05
Michael Klements
Рет қаралды 86 М.
Use Your Android Phone Or Tablet As A Raspberry Pi 400 Screen!
8:03
How To Run TensorFlow Lite on Raspberry Pi for Object Detection
10:48
Edje Electronics
Рет қаралды 884 М.
How to Use an LCD Screen with an Arduino (Lesson #21)
10:00
Science Buddies
Рет қаралды 87 М.
Raspberry Pi Pico 2 | Everything You Need To Know
7:04
Core Electronics
Рет қаралды 60 М.
Datasheets: 16x2 LCD By Hand (No microcontroller)
26:35
Mitch Davis
Рет қаралды 107 М.
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,7 МЛН