Happy Halloween from Adafruit! Check out some scary #electronichalloween posts, the frightening Halloween section and spooky videos!

July 20, 2012 AT 2:14 pm

How-to: Use analog Inputs for Raspberry Pi Using the MCP3008 #piday #raspberrypi @Raspberry_Pi

Twist

How-to: Use analog Inputs for Raspberry Pi using the MCP3008 #piday #raspberrypi @Raspberry_Pi @ The Adafruit Learning System –

Teaching the Raspberry Pi how to read analog inputs is easier than you think! The Pi does not include a hardware analog to digital converter, but a external ADC (such as the MCP3008) can be used along with some bit banged SPI code in python to read external analog devies. Here is a short list of some analog inputs that could be used with this setup.

Read more & this goes great with our MCP3008 – 8-Channel 10-Bit ADC With SPI Interface.


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!



2 Comments

  1. There is a bit of repeated text on page two.

    Thanks for this tutorial and stocking this part, exactly what I was looking for.

    A suggestion would be to add the info for hardware SPI for those distributions that allow it, it’ll free up some GPIOs.

    Keep up the good work!

  2. @mike – thanks, we’ll take a look at it. We’ll have a hardware SPI distribution/tutorial shortly

Sorry, the comment form is closed at this time.