0

Raspberry Pi Chained Shift Registers #piday #raspberrypi @Raspberry_Pi

8747957195_109b344ede_b

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

ID1105_MED

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)


Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.

Join 7,500+ 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 — Fewer startups, and other collateral damage from the 2018 tariffs

Wearables — Light as a Worbla feather

Electronics — How to make your own magnetic field probe!

Biohacking — The State of DNA Analysis in Three Mindmaps

Python for Microcontrollers — One year of CircuitPython weeklies!

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)

    http://www.youtube.com/watch?v=n6u-H1sza-w

Sorry, the comment form is closed at this time.