Using a 16x2 LCD Display with a Raspberry Pi

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

*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.

rdagger
Автор

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.

iscromanpc
Автор

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.

MattVarner
Автор

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

dcc
Автор

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

Havanacuba
Автор

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.

Nāmarūpa
Автор

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.

patricktucci
Автор

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!

Yeeter_Inbound
Автор

Excellent video. I watched the first one too and really appreciate both! Please keep making them!!

andyc
Автор

Also at 7:26 when i type "lcd.lcd_string("Raspberry Pi", 2)" it says "TypeError: lcd_string() takes exactly 1 argumant (2 given)"? 

Unknown-vkbh
Автор

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

Synthematix
Автор

why i better off without grounding, if i ground it to the pi i have all light illuminated makes it very difficult to see

erkkinyfors
Автор

@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.

boston_rob
Автор

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.

jjffreeland
Автор

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?

Unknown-vkbh
Автор

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!

fahimferdous
Автор

Hi i dont have programming background. How do you open lcd.py at 5:14 mark when you edit the GPIO pins. what window is that i dont recognize it. thanks

satheeshsam
Автор

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.

simon
Автор

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

barryburketv
Автор

Very nice. Love the great Video Quality !! Perfect graphics. Lots of Useful information. Thanks!

JohnBerkPhx