A hardware SPI remake of the bit-banged Adafruit project: Analog Inputs for Raspberry Pi Using the MCP3008. Take a look at the Adafruit project and particularly the datasheet for the MCP3008 - what we’re making is a hardware volume control using a 10K potentiometer. Instead of using the GPIO pins and bit-banging the SPI protocol I’m using the proper SPI pins and the hardware driver.
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.
Want a FREE Raspberry Pi? For limited time and while supplies last – Adafruit is including a FREE Raspberry Pi in all orders over $350 (not including shipping). This offer is for online customers only, not distributors/resellers/hackerspaces.