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

July 26, 2013 AT 12:00 pm

Interfacing an SPI ADC (MCP30008) chip to the Raspberry Pi using C++ (spidev) @Raspberry_Pi #piday #raspberrypi

gg1

Via hertaville.com:

In this entry I will demonstrate how to interface the MCP3008; an SPI-based analog to digital converter (ADC) integrated chip; to the Raspberry Pi. This enables the the Raspberry Pi to interpret analog voltages that are in turn typically emitted by analog-based sensors to reflect a measure of a physical characteristic such as acceleration, light intensity or temperature. We will start by briefly examining the SPI interface.

Read more here!


als

We also have python code & wiring example at the Adafruit Learning System!

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!



No Comments

No comments yet.

Sorry, the comment form is closed at this time.