In this tutorial I go through the steps of setting up a Raspberry Pi ADC (Analog to digital converter). As you may already know the Pi doesn’t have any GPIO pins that are analog. This makes connecting analog sensors a little more complex.
There are several solutions to the lack of Analog pins like the one I did in the Raspberry Pi LDR tutorial which involved using a capacitor to measure the resistance of the LDR (Light Dependent Resistor). A better solution to this would be to use what is known as an analog digital converter (MCP3008). This involves a little bit of setting up which I will go into below
Featured Adafruit Product!
Assembled Pi T-Cobbler Plus – GPIO Breakout – for RasPi A+/B+/Pi 2/Pi 3: The Raspberry Pi B+, Pi 2 and Pi 3 have landed on the Maker World like a 40-GPIO pinned, quad-USB ported, credit card sized bomb of DIY joy. And while you can use most of our great Model B accessories by hooking up our downgrade cable, its probably a good time to upgrade your set up and accessorize using all of the Model B+’s, Pi 2’s and Pi 3’s 40 pins.
That’s why we now carry the Assembled Adafruit Pi T-Cobbler Plus – Breakout + Cable for Raspberry Pi B+/Pi 2 / Pi 3. This Cobbler is in a fancy T-shape, which is not as compact, but is a little easier to read the labels. We also have the more compact original Cobbler Plus. (read more)
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
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 — Lessons Learned Scaling Airbnb 100X
Wearables — ABS ABC
Electronics — When do I use X10?
Biohacking — The Quantified Self Approach to Lowering Blood Glucose
No comments yet.
Sorry, the comment form is closed at this time.