Tutorial: Drive a 16×2 LCD with the Raspberry Pi @ The Adafruit Learning System – Adding a LCD to any project immediately kicks it up a notch. This tutorial explains how to connect a inexpensive HDD44780 compatible LCD to the raspberry pi using 6 GPIOs. While there are other ways to connect using I2C or the UART this is the most direct method that get right down to the bare metal.
- allows for inexpensive LCDs to be used
- does not require any i2c drivers
- won’t steal the only serial port on the Pi
The example python code sends date, time and the ip address to the display. If you are running a Pi in headless mode being able to determine the IP address at a glance is really handy.
Then we take the tutorial to the next level, showing you how to have the display code launch when the Pi boots so it’s always on. Finally, we also show how you can update your timezone so that the displayed time is correct for your region.
Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi.
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Kickstarter Hardware Studio
Wearables — A soft glow
Electronics — Through Hole SMD
Biohacking — Ultra Runner Kilian Jornet Summits Everest in 26 Hours
Sorry, the comment form is closed at this time.