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.


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

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


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.