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.
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!
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
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!
@mike – thanks, we’ll take a look at it. We’ll have a hardware SPI distribution/tutorial shortly