Using a 16x2 LCD Display with a Raspberry Pi
HTML-код
- Опубликовано: 2 окт 2024
- A quick tutorial demonstrating how to hook up a 16x2 LCD display to a Raspberry Pi and control it with Python. Full notes, code and updates are available on my website: www.rototron.in...
*UPDATE:* The Adafruit Char LCD library used in the video is now deprecated. Therefore, I added an update to my website showing how to use the Adafruit CircuitPython CharLCD library: www.rototron.info/lcd-display-tutorial-for-raspberry-pi/#cp
Thank you for making this video. Although I'm really just at the beginning of my Python adventure...this sort of thing fires my daydreaming.
This was awesome! Thank you so much! I used the first method for code. I didnt have one of those little modules that only makes 4 pins used and they actually are already being used for another device. I'm trying to make an alarm clock for a school project. I hope I can make this work!
Excellent video. I watched the first one too and really appreciate both! Please keep making them!!
Very helpful video, thanks for posting.
Just a clarification, at 10:39, you say "the columns are zero-based so (7,0) is the 6th column on the first line." If in fact the values are zero-based, 7,0 is the 8th column on the first line (7 + 1 = 8. 0 + 1 = 1). I believe the position you'd want to specify would be (5,0) for the 6th column on the first line.
Again, great video and thanks again.
Great catch! I think you’re the first to notice this mistake. Thanks for the feedback.
*UPDATE*: the Adafruit library is now installed using _pip_. It is no longer necessary to use git and the paths are automatically set up. Also the syntax for some of the commands has changed. See my website for details.
how do you get the module using pip?
#newbie
sudo pip install adafruit-charlcd
See my website for updates and more info: www.rototron.info/lcd-display-tutorial-for-raspberry-pi/
Thanks! i somehow got the lcd working from the adafruit library before i read your reply but the problem im having is that when i use scrollDisplayRight() it says Adafruit_CharLCD has no such attribute
i used github.com/adafruit/Adafruit_Python_CharLCD.git and installed using ez_setup.py because the normal setup file wasnt working for me
im working on a music player and im willing to share the code once i complete it, im almost there i guess
EDIT: just found that the function is lcd.autoscroll() but i still cant get that to work after setting it to true
How to Use LED display board instead of LCD??
@@rdagger why have you defined path as /home/pi/lcd ?
lcd.lcd_init()
AttributeError: 'module' object has no attribute 'lcd_init'
i m getting this error...
Very good , I must watch it a few times though haha, thank you for your hard work
I found that it's set_cursor() method in the updated Adafruit CharLCD library instead of setCursor() method as you update in your website today (2023.4.23)
Thanks for reporting the error! I updated the code on my site. Please note that the Adafruit CharLCD library is now deprecated and has been replaced by CircuitPython.
You filled in about 20 blanks in my mind with this video. Most confusing was with the AdaFruit library. Sunfounder's Super Kit 2.0 includes the LCD and some tutorials, but they are not very descriptive as to how thing work. This video is so simple and straight forward, I almost feel like an idiot for needing this stuff explained to me...lol
Feel the same :D
Thanks, I got my display working. :) This was helpful.
+mridul jain There's a link on the bottom of my temperature monitor project: www.rototron.info/projects/pi-temperature-monitor/
I have this 16x2 rgb adafruit LCD display, when i connect it to LCDSMARTIE i can only get characters to show up on the left side of the screen, everything seems to be setup correctly with the MATRIX.DLL in smartie and the screens driver is installed (the com port driver) this has got me baffled
Hello! Is there any c++ library instead of Python?
+Jimmie Aleksic Yes, WiringPi: wiringpi.com/dev-lib/lcd-library/
Using the test script to initiate lcd..py on a raspberry PI 3 failed to display output. import time and added a time.sleep(0.5) after each call and it displayed the messages.
I was going crazy wondering why it didn't work for me - triple checked all the wiring and made sure there were no typos in my code, but all to no avail... that was until I cared to check the comments section. Needless to say you are a real (mental) life saver :) Thank you so much!
why i better off without grounding, if i ground it to the pi i have all light illuminated makes it very difficult to see
+erkki nyfors If you are referring to grounding the contrast pin then you probably need a resistor or a potentiometer to adjust the contrast. My latest video on an international weather clock goes into detail about pots: ruclips.net/video/4l_nsNaMkuQ/видео.html
This tutorial is so helpful and just what I was looking for! Thank you so mu--aaaand I burned out the backlight. FML But thanks!
thanks buddy
You got a new sub :D
Just subscribed and love all the projects you've done. Ive had an Adafruit 16 x 2 LCD with backpack (LCD) for 2 weeks and still haven't managed to send any text to it in python. I know it's a very specific question but have you ever done an example of anything this basic on one of these backpack LCDs?
Thank you so much for the response, I'm going to run through that example tonight. Once again, great tutorials!
I have the pins connected to the gpio pins however i cant get this
working at all. When i run either, i can get is get 2 lines of white
boxes. Originally, before i run the test lcd file i have one line. by
running it , i get 2 . Ive tried rewring it several times. Any
suggestions on what GPIO pins may be the issue?
Using pins 11(rw) 9(e) 10 22 21 17(4-7) on old model b
First I would double check that all your connections to the LCD display have good solder joints. Next I would try adjusting the brightness and contrast using resistors or potentiometers. There is more info on my site.
Very nice. Love the great Video Quality !! Perfect graphics. Lots of Useful information. Thanks!
Man, this was really informative and helpful. I just got my 16 x 2 display in the post this morning. When I get around to hooking it up I will be off to a good start with your video. Thanks for uploading this
Hi,
When I run the lcd.lcd_init(), the screen doesn't initialise? Any idea why?
The most common culprit is wiring. Also check your gpio numbering. Is the backlight coming on? If the backlight or contrast is not set correctly, sometimes it's hard to see if it's working.
do you know how to make that the lcd displays shows the time?
My weather clock video demonstrates how to show the time on an LCD Display:
ruclips.net/video/4l_nsNaMkuQ/видео.html
How to display that for large display
Also at 7:26 when i type "lcd.lcd_string("Raspberry Pi", 2)" it says "TypeError: lcd_string() takes exactly 1 argumant (2 given)"?
Sounds like you have the old code. Matt has a newer version: www.raspberrypi-spy.co.uk/2012/08/16x2-lcd-module-control-with-backlight-switch/
Great! I have learned many things from this video (comments on the code confuses me). Can you please make another video on LCDs but with inputs and what methods are used (for example, a calculator-like program using the LCD screen).
I created a 2nd video for this series that demonstrates using inputs with an LCD Display. I use a hex calculator for the example: ruclips.net/video/a8ozfd_Wd-w/видео.html
after i typed cd Adafruit-Raspberry-Pi-Python-Code i have to type cd Adafruit_CharLCD, right?
because everytime i do this i get an error because it cannot find the right file
its always says (bad translated from german) file or directory not found
can u help me?
This is an old video. Please see my website for updates. There is a link in the video description.
Nice video, thanks :)
can i do this to my old calculator screen?
(fx 991ES PLUS 4)
That specific calculator probably uses a graphic LCD instead of a character LCD display. Depending on the chipset you still might be able to reuse it. I have a separate video on graphic LCD displays: ruclips.net/video/Nn5u9xhHCTM/видео.html
sir plz make a video connecting raspberry pi to rfid reader and showing output in web browser.......we all are waiting for that ......thanks alot sir
okay so i got it all working but how do i put the gksu idle into coding so i can actually use the code, if i use the code i used on the part involving gksu it comes up with no module named Adafruit_CharLCD.(new to raspberry pi & python)
+vSxScopeZz "no module" error would indicate the Adafruit library is not in your system path. In your python code, you can use the sys.path.append method to add the location of the Adafruit library to your path. There is an example on my website.
I had success with this tonight using fivdi/lcd node driver. I found I had to add 10ms sleep after each print, but I'm trying to find a better way using the provided callback but doing successive prints.
Love this video! Thank you so much!
I get the error: bash: cd: Adafruit _CharLCD No such file or directory. Help
The Adafruit library install instructions have changed since the video was released. Did you use pip install? For updated instructions see my website (link in the description).
Im so sad radio shack closed, noe i have to go to frys 1 hour drive. NOOOOOOOOOOOOO!!!!!!!!!!!!1
Check if your city has any surplus electronics stores. Often they have very inexpensive components, helpful staff and cool vintage equipment. Unfortunately, they are becoming rare so I always try to frequent my local shops before a project. Some are now online such as www.allelectronics.com but it's often better to go in person. One store I found has shelves of used circuit boards and miscellaneous electronics that they sell for around a dollar per pound.
I'm getting an error.OSError: No such file or directory: 'home/pi/lcd'
+Viraj Pawar Create a directory called lcd in your home/pi folder and copy the lcd.py file into it. Make sure you put a slash before home. Example: sys.path.append('/home/pi/lcd')
Great and clean tutorial. So here's my problem. I own a Raspberry pi 3. I've done the wiring as shown and added in the dimmer pot. When plugged in, the LCD (sparkfun 16x2) displays the usual solid block of display. I cannot do the idle command, as I'm only ssh'ing in. So I am running under root. I installed all the python bits as shown, downloaded the lcd.py file and made the changes you made. When I fire up python, I can execute all the commands without error, just kind of takes them, but when I get to the init() script, the screen does not clear? Is there something I'm doing wrong?
If you're using the latest version of Raspbian Jessie, you no longer need superuser privileges to access the GPIO. Double check your wiring and that the GPIO pins used match the GPIO pins specified in the code. Also try the Adafruit library to help determine if it is a software or hardware issue.
Doubled checked the wiring, all sound. Tried the Adafruit library as well. No dice. Remembered I had an extra lcd module from my 3d printer. My 16x2 lcd was dead. Must have blown it before I added the potentiometer. I'm in business now, with a 20x4 lcd! :D Again, thanks for the video and help!
I am getting error in console. ImportError: No module named lcd when I execute import lcd in python console
Any answer on how it is to be done
Please see my website for updated installation instructions for the Adafruit LCD library.
Can't init no matter what. Get a row of blocks in the first line and nothing else. Any help?
A single illuminated row sounds like a wiring issue. Double check all your connections and keep them as short as possible. One possible culprit is that the read/write pin is not properly grounded. You might need to add resistors or a pot for the contrast and/or the backlight but I don’t think that would affect only 1 row. Also make sure your display uses an HD44780 driver chip.
Hands up - Super Video Thank you!
So in other words get a god damn hdmi screen
that's not what this is for kid
can i know what you put inside the 16 hole of lcd screen? there some kind of metal
There is a 16 position male pin header (2.54mm pitch) soldered to the display’s through holes 1 to 16. It allows the LCD display to be plugged into the breadboard.
if i want to use a tv via HDMI cable then what will be the code? if i add a motion sensor in this and a 55 inch led TV via HDMI cable. a certain video loop will be playback all the time. Then if someone cross the sensor, another video will be played. after that the first video will playback in a loop! thanks in advance!
So are RPi pins 5V tollerant...i expected 3.3V isn't enough to drive LCD I/O to an high level and 5v of LCD output to destroy RPi
The RPi pins are NOT 5 V tolerant. You can damage the Pi if you connect the GPIO pins to 5V. See 2:30 in the video. The LCD HD44780 data lines operate satisfactorily at 3.3 V.
@@rdagger I knew that HD44780 if you operate at 5V Vih min is 0.7*Vcc >3.6.
But i will read the datasheet again, maybe i remember wrong
Adafruit Library is not working now. It raises runtime error as "RuntimeError: Could not determine platform." can you please do an updated video regarding this library.
Did you check my website because I posted several updates since the video came out in 2014?
@@rdagger yes but it still showing that same error message..please help
@@DebanjanKarmakar The old Adafruit library used in the video is deprecated and probably is unable to recognize your newer Raspberry Pi. Please see my website for an example of using the newer Adafruit library: www.rototron.info/lcd-display-tutorial-for-raspberry-pi/#cp
GPIO 6 is a ground pin. Ground pins are not configurable.
The physical pin number is not the same as the GPIO number which is often called the Broadcom or BCM number.
Hey i have 20x4 will it works the same way u mentioned above ?
It should. You will need to specify a column width of 20 instead of 16.
Thanks. Because of this video I have to buy such a display. What a cool toy...
Very clear and good tutorial. Could you make a tutorial of a raspberry Pi Bluetooth soundboard? Playback activated by a Bluetooth remote or smart device (phone, smartwatch) or possibly a Bluetooth keyboard.
Hi. I want to use the Adafruit library, but my lcd display is 2004a. And with a backpack PCF8574t, how can i change the pins in Adafruit library to match the mine?? Thanks (i dont speak english)
I have a tutorial on the PCF8574: ruclips.net/video/i5A5AsDRRwQ/видео.html
good an error when compiling your code , at line 59, 181, 98 .. someone help me urgent 'm using the raspberry pi .. 2 Model B appears to be me ??
Hello when i use "sudo ./Adafruit_CharLCD_IPclock_example.py" on display i can see some japan signs and some another signs. What can i do to fix it? (Sorry for my english)
+Krzysztof Piechota Double check your wiring and that the GPIO pins you used match the ones specified in the Adafruit_CharLCD.py __init__. Make sure you don't have any other programs also using those GPIO pins. Do you get the same characters each time or are they random?
I repare it, file lcd.py was wrong
7:59 for adafruit library
I am currently running Octoprint from an RPi to control my 3D printer. GPIOs are free, I can run this extract program to monitor Enclosure temperature and IP address etc correct?
I'm note sure about the OctoPi image, but it should work.
great video, everything was working fine but if i put your test code into a new python project and run it it just gives me a load of jibberish on the lcd but it works fine ifi run it line by line on the shell.
this is for the raspberry spi guy code.
many thanks george
Do you get gibberish if you try the Adafruit library too? Please see my website because the Adafruit library has breaking changes since the video. Your program might have another library that is causing a conflict on the GPIO’s used by the LCD. You could try changing the GPIO pins or commenting out sections to see if it fixes the problem. Gibberish is usually caused by incorrect wiring or poor connections which can lead to intermittent problems.
okay thanks ill try it out
The best tutorial for use a 16x2 LCD Display with a Raspberry Pi. I followed the instructions in the Adafruit site with no success. I'll try with this solution. Thanks.
I just installed one of the temp probes on my Pi and was looking for some code or software that will allow me to display my temp in f on the front of my Monitor or even have it email me if it drops or get above a certain deg. I have found some very plan code but again was looking for something that would really stand out. Thank you and your videos are very nicely done !
Help please im stuck at 7:13 when i enter "lcd.lcd_init" it says "Runtime error: No access to /dev/mem. Try running as root !" however how can run as root because sudo dont work?
In order to use GPIO, you need superuser privileges. Take a look at 4:58 where from a terminal window, I use: /usr/bin/gksu -u root idle
rdagger68 oh lol i guess i must have skipped that part
I typed in os.chdir('/home/pi/lcd') and I received a message saying that no such file was found. Can anyone help me figure out this issue?
OG BananaSwag Did you create a folder in your home directory called lcd? The command is case sensitive, so make sure you didn't spell it LCD. When in doubt you can use the file manager to find the folder and then copy the path from the address bar.
rdagger68 THANK YOU SO MUCH lol i appreciate it
Is this a pi 1 b or will the tutorial work for that model ?
The pi used in the video is pi 1 b+ circa 2014. The wiring and code should work for any pi single-board computer. However, the Adafruit library has been deprecated so I recommend the newer Adafruit CircuitPython CharLCD library. There is an updated example on my website: www.rototron.info/lcd-display-tutorial-for-raspberry-pi/#cp
help!
my screen shows squares and no letters or numbres. i´ve rewired it a couple of times and im quite shure it´s ok. can anyone tell me why it doesn´t work???!?
You may have to lower the contrast. Also double check that the pins you specified in the code match the GPIO pins.
hahah thank you, i already fixed it at night... the thing was that my soldering is not the best so i had to re solder all the connections. after that, the lcd worked fine (well... i still need a potenciometer for the contrast but i can barely see the letters
Now making a book reader is a little whistle of a penny! (fluitje van een cent)
@7:13 I get a run time error for line 117 "please set pin numbering mode using GPIO.setmode(GPIO.BOARD) or GPIO.setmode(GPIO.BCM)" did anyone else run into this and fix it? I've been trying to figure it out but can't yet.
Rob Nordberg Sounds like you skipped some of the initialization code. Look at the code that I cut and paste at 5:50 in the video.
rdagger68 That didn't fix it :(
Rob Nordberg Did you trying downloading the code from my website: www.rototron.info?
great=)
why is everyone always using python?
Faster development, easy to learn, less code, very readable syntax, great documentation, supportive community, vast collection of available open source libraries (especially AI).
if the panel is not displaying anything but i am pretty sure there is no error to the connection and code? what could be the reason behind??
+CA Hau The most common problems are the backlight or the contrast. Check the datasheet and make sure you have the proper voltage and resistor, if necessary, for the backlight. Grounding the contrast pin should provide maximum contrast. Next double check that you specified the correct GPIO numbers when you initialized the display and confirm the datasheet pinout. Some displays have different placements for D4-D7. Also make sure you have an LED backlight. Some displays are electroluminescent which are harder to set up. Often you can still see text with the backlight off if you look very carefully at the right angle. Finally try a different library (Adafruit or Raspberry Pi Spy) to confirm it's not software. Also see my website for more info (link in description above).
+rdagger68 thankyou for the prompt reply, i realised that i did some mistake to the declaration for RS and E, it should be gpio pin num not the pin num of the pi
Would it be possible to hook up more than one of these LCD displays to your Raspberry Pi and control them separately from your Pi? I have a project that would require 4 of these LCD displays displaying separate information and data, but I really don't want to have to buy 4 raspberry pi's to accomplish this.
Yes you can daisy chain multiple LCD displays using I2C. You can buy I2C LCD displays or your can convert an LCD display to I2C. I have an I2C LCD display tutorial: ruclips.net/video/i5A5AsDRRwQ/видео.html
You only edited the script live, instead of saving it, then running it as a program.. Could you show that?
Please check out my other videos. I have several that demonstrate how to run programs with LCD displays.
Yep, typical me typing comments before doing research.
More than eager to explore with this...
very nice
I tried the first method ,but instead of characters some symbols are displaying.
Im using Rpi b+ and YJHD 162A 16*2 LCD.What to do?
Sounds like wiring, but there could be several causes. First double check your wiring and your datasheet. Make sure R/W is connected to ground and that RS, Enable and D4-D7 are connected to the GPIO pins you specified in LCD.py. Next I would try the Adafruit library to see if different software works better.
Hi, i don't know what happening. I got it working before using this video and the adafruit library. But today it just isnt working. i re downloaded and did it all and it still runs stuff such as lcd.message() without saying theres a problem but no text will appear on the display?
You should move this question to a forum.
Why do I type commands on Terminal instead of in the Python application itself. Please answer me.
I am typing all the python commands into the IDLE shell which is a great learning tool for python because of its interactivity. IDLE is a simple IDE that comes bundled with most python distributions.
thanks! very useful information
thank you for your time and your knowledge. I have now been able to get a lcd1602 basically functioning. I am unable to get the adafruit_charlcd or ipclock_examples working. i have performed chmod +x but when I run sudo ./Adafruit_CharLCD_IPclock_example.py I get unable to execute.....no such filename or directory. I am trying to get through all your tutorials and I don't know if I was supposed to assume something and chmod something else or if its a result of how I obtained the files. adafruit has modified the repository and so those files are in a legacy tree so when you do a git clone what you get cloned is not the original directory but a readme file that tells you about the move they made and a link to page that tells you how to install something via pip. anyway I'm all over the board and I think this should be much more straightforward based on you video. I've looked at your website but it just reiterates the same info and I need to find out where I'm missing something. Thank you
I updated the IP clock program to work with the latest version of the Adafruit Char_LCD library:
www.rototron.info/lcd-display-tutorial-for-raspberry-pi#ipclock
hi, I have followed your tutorial but I fail both methods with to initial the LCD, with the first method I got error "Traceback (most recent call last): File "", line 1, in File "/home/pi/lcd.py", line 14 import RPi.GPIO as GPIO import time" then I cannot call LCD in the interpreter, and with the second one (the Adafruit) I can not find the where I have to change the pin number. =( i am so sorry I'm very noob with electrical engineering and Raspberry Pi but I'm trying to learn, Thanks you so much for your answer in advance.
You can't have 2 import statements on the same line which is what it looks like, but I'd need to see the full error message to better troubleshoot.
For the Adafruit library, you specify the pins when you instantiate the LCD. For example:
lcd = Adafruit_CharLCD(rs=26, en=19, d4=13, d5=6, d6=5, d7=11, cols=16, lines=2)
There have been breaking changes since I posted this video 3 years ago. Please check out my website for updates: www.rototron.info/lcd-display-tutorial-for-raspberry-pi/
Thank you for this video, my friend, this is very useful. More power to you!
Nicely done mate!
You just scored another subscriber.
nice tutorial sir.I followed each step from above video.make connections as it is. I used adafruit library for LCD Display.after power on raspberry Pi ,back light of 2x16 LCD is activated and getting 16 black boxes on display screen. But unable to show any string on display. please help
You may need to adjust the contrast. Please check my website for more information.
i tried with potentiometer to adjust contrast,and with this now I am able to adjust contrast.But still not showing any string character on LCD display.
Did you try both libraries (Adafruit & Raspberry Pi Spy)? Make sure you specified the correct GPIO pins. Make sure you distinguish between board and BCM pins.
finally sir ,it works. I used Adafruit library.I rechecked all connections.thank you for such nice tutorial .
To lazy for this
awesome video....
keep going//........../
hello,
thanks for your tutorial.
what should i do if i want to display a variable’s content on the 16×2 lcd?
like for example i have a string stored in variable f.
so how would i proceed to print contents of f?
since you showed the displaying of user entered data.
help would be much appreciated.
Format is probably the best approach. I have many examples on my website. For example:
# Display IP address
lcd.message('IP {}'.format(ip))
# Display power usage
lcd.message('
{0:0.1f} Watts'.format(p/1000))
# Display pressure
lcd.message("
{0:0.0f} psi {1:0.1f} bar".format(psi, bar))
# Display time
lcd.message(datetime.now().strftime('%I:%M %p %b %d'))
# Display temperature an humidity
lcd.message("
{0:0.1f}".format(t))
lcd.write8(223, True)
lcd.message("F {0:0.1f}%".format(h))
# Display number of motion detections
lcd.message('Motion Detected
{0}'.format(counter))
Hello! Please let me know as soon as possible
The command should be GPIO.setmode(GPIO.BOARD) instead of GPIO.setmode(BOARD)
You can use either BCM or BOARD mode. I just tested both and they work. If you use BOARD then you have to confirm you have the correct pin numbers for your specific Raspberry Pi.
Hi, I have tried this but get the error "Please set pin numbering mode using GPIO.setmode(GPIO.BOARD) or GPIO.setmode(GPIO.BCM)" does anyone know what i need to do?
Super-user privileges are no longer required for GPIO access with the latest version of Raspbian. GKSU is not recommended any more and has been removed from Raspbian distributions.
It seems to work for a while, but when I restart my raspberry pi or program, it will start to print out weird signs, when I use the "message" command. It prints the right amount of signs on the screen, but not the letters. I'm able to clear the screen though. I'be tried both ways but have the same result. Also by using the instructions at adafruit.com
+Johan Olsson If it works intermittently with multiple libraries then the most common cause would be wiring such as a defective jumper wire or a poorly soldered pin. It could also be a defective LCD display.
I wonder if its possible to make a custom PCB to instantly wire up the hardware. It would save up some time when tinkering with different hardware, such when I would like to use a hat or the display.
Adafruit has an LCD display plate for the older Pi’s (Eagle schematic and board on Github.) You could use it as a template to create a DIY version for the newer Pi’s. You could make or buy an I2c LCD display breakout. They only require 4 wires (2 for power and 2 for I2C). I have a Raspberry Pi I2C LCD display tutorial:
www.rototron.info/using-an-i2c-lcd-display-with-a-raspberry-pi/
Another option would be to buy a USB LCD display which is as easy as just plugging in a USB cable. I have another video on using USB LCD displays on the Pi with LCDProc:
www.rototron.info/lcdproc-tutorial-for-raspberry-pi/
Do you only have to use resistors on the backlight part of the display? Anyone can answer, thanks ahead of time.
The control and data lines don't need resistors. You can use resistors or variable resistors on the contrast pin and the back light anode pin to control contrast and brightness. My weather clock video has a demonstration of using variable resistors to control contrast and brightness: ruclips.net/video/4l_nsNaMkuQ/видео.html
The schematics and code for both videos are available on my website.
Some LCD display backlights will require a resistor. Please check your LCD display datasheet.
how to read the values of the voltage generator and display on lcd using raspberry pi and python ??
I have a video on using an INA219 to read and display voltage and current on an LCD display: ruclips.net/video/BgShCD7xT_A/видео.html
Could you please tell me what brand this LCD happens to be or could you please provide a link as to where you purchased it? I would really appreciate it.
+Justin Whistine There's a link on the bottom of my temperature monitor project: www.rototron.info/projects/pi-temperature-monitor/
good video to the point not too much jib jab
uhm there is no such file or directory in /usr/bin/gksu -u root idle how do i fix this ?
Super-user privileges are no longer required for GPIO access with the latest version of Raspbian. Therefore, GKSU is unnecessary. Also Thonny is now the default Python editor instead of Idle.
can i do this? if particular mobile comes in wi-fi network then lcd screen should show the message
Yes, you could do an ARP scan for MAC addresses. Or if you have a Wi-Fi dongle that supports monitor mode in Raspbian, you could create a Wi-Fi sniffer. There is a Python library called Scapy that would probably work. If you are trying to detect your own phone then I would take a look at Google’s proximity beacons.
Hi,
Great video. Got my LCD display successfully powered up. However, when I send a message using either of the python libraries, no message is shown on the LCD display. Any idea why?
I would check the contrast and the brightness. If you look at some of my other videos or my website I demonstrate how to use potentiometers to adjust them.
Thanks mate, subbed.
Yeah. This is what I was lookin for. Good job
very good. thanks sharing.
5:02 I get "File or directory not found:" :-/
The video is 6 years old. Please see my website for updates (link in the video description).
@@rdagger Ah yeah I saw already that it was a editor and it isn't available anymore. So I wrote it with another editor. But I will continue with your update thanks
Is it possible to set up a 16×2 lcd
And a 3.5" in capacitive touch screen as you monitor?
You can use a DSI or HDMI touch screen for your monitor and a 16x2 LCD to display text.
Great video thanks.