The Raspberry Pi, unlike some of its competitors, does not offer true analog I/O. Analog input is particularly interesting, as IoT projects often need to monitor things that produce analog signals. In this chapter, we’ll produce a device library for an analog-to-digital converter, or ADC. For this book, I chose the Microchip MCP3008, a member of an extensive family of ADCs manufactured by the company, for a few reasons: