The new Raspberry Pi B Model B+ is here - Pick one up in the store and check our detailed guide!

June 18, 2012 AT 1:00 pm

How to use your Raspberry Pi like an Arduino

piGPIO

Tedb0t writes:

Finally got to experiment with the Raspberry Pi’s GPIO (General Purpose Input/Output) pins. I tried three methods: Python, Bash and C, and will describe each.

via MAKE

Window-207

GPIO Ribbon Cable for Raspberry Pi®. That new Raspberry Pi® computer you just got has a row of 2×13 pin headers soldered on – those are the GPIO (general purpose input/output) pins and for those of us who like to hack electronics they are where the real fun is. By programming the Pi, you can twiddle those pins high or low, send and receive I2C and SPI data, and access the 3V and 5V power rails.

Window-1-122

If you want to bridge those contacts out onto another PCB, you’ll want this cable! It’s 6″ long and has 26 socket & wire sets. Pin #1 is marked with a red wire. If you have one of our nice Pi Box cases, you can even have this plugged in while the case is closed by passing the ribbon cable through the slot on the side.

Related

“D is for Diode” – Circuit Playground Episode 4 is out now! CLICK HERE TO WATCH!

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!



1 Comment

  1. Very nice! I was just coming here to share this with you. I can’t wait to GET a Pi… uhg.. tough livin’ with out some Pi and Icecream :)

Sorry, the comment form is closed at this time.