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.
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!
No comments yet.
Sorry, the comment form is closed at this time.