Raspberry Pi Chained Shift Registers #piday #raspberrypi @Raspberry_Pi


From Les Orchard’s flickr:

I need to blog about this. This photo includes:

* A Raspberry Pi with a T-Cobbler
* Two 74HC595 shift registers
* A 20×4 LCD display with negative RGB backlight (currently hard-wired to purple)

Put together, this is a Raspberry Pi running a Python script that uses 3 GPIO pins to control 16 outputs.

Driving the LCD itself is a dirty, dirty hack that fools some code from Adafruit into thinking it’s talking directly to GPIO pins, when really it’s talking to my shift registers.

It’s that last part which made me bounce in my chair – because I don’t quite yet understand how to talk to the LCD display, yet my hack worked the first time. (Albeit very, very slowly.) \o/

In the near future, I want to figure out how to control the red / blue / green backlight pins from the Raspberry Pi, in order to change colors on the display

Original post here.

Featured Adafruit Products


Adafruit Pi T-Cobbler Breakout Kit for Raspberry Pi – Now that you’ve finally got your hands on a Raspberry Pi® , you’re probably itching to make some fun embedded computer projects with it. What you need is an add on prototyping Pi T-Cobbler from Adafruit, which can break out all those tasty power, GPIO, I2C and SPI pins from the 26 pin header onto a solderless breadboard. This mini kit will make “cobbling together” prototypes with the Pi super easy. Designed for Raspberry Pi Model B Revision 1 or Revision 2. (read more)

Join 6,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

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!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

Maker Business — Aquarium troubles: the cost of iteration and troubleshooting with a manufacturers abroad

Wearables — Victorian Arduino pizzazz

Electronics — Counting Pin Numbers

Biohacking — Exploring Our Inner Reality : Entopic Visions

Python for Microcontrollers — CircuitPython 3.0.0 Release Candidate 0 released!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !

1 Comment

  1. Hey, I just finished a quick proof of concept project using about 10 different adafruit products, including the T-Cobbler and wanted to show it off. (not sure this is the best place to do so, but here it is)


Sorry, the comment form is closed at this time.