Tutorial 23 & 24: Analog Sensor Programming
Alright we have our MCP3004 or MCP3008 wired up to our Raspberry Pi. It's now time to start writing scripts that allow us to take readings from the sensors connected to the chips. In the following two tutorials I show you how to read an analog-digital convertor connected to your Pi via SPI.
This tutorial is a little older (published in 2015!). The main principles are still relevant, so I haven't needed to update this lesson.