September 7, 2012 AT 2:00 am

Raspberry Pi hardware SPI analog inputs using the MCP3008 #piday #raspberrypi @Raspberry_Pi


Raspberry Pi hardware SPI analog inputs using the MCP3008.

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.

Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

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!

Maker Business — @adafruit interviews the @microcenter CEO Rick Mershad ! (video)

Wearables — Thinking of involving your pet in your next wearables project?

Electronics — Higher isn’t always better

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

No Comments

No comments yet.

Sorry, the comment form is closed at this time.