Getting Started With The Raspberry Pi 16 Channel ADC HAT V2
In this revamped tutorial we are going to go over the basics of using both versions of our Raspberry Pi 16 Channel Analog Input HAT. These boards are designed to give the Raspberry Pi analog read capabilities similar to those found on the Arduino. Our boards can provide 16 channels of analog input at 10 bit resolution using two onboard MCP3008 Analog to Digital Converters (ADCs). The tutorial will start with the very basics including soldering the header, configuring the Raspberry Pi’s operating system, how to connect different analog sensors to the board, the pull up/pull down resistor options, and how to read each channel using Python.
This tutorial has been updated to use a new library as of July 28, 2021. See Step 9 through Step 13 for installation and usage.
About The Board:
The 16 Channel Analog Input HAT was designed right here at BC Robotics – it isn’t the most complicated board out there – just a few components and two MCP3008 ADCs. It is common to see the MCP3008 chipset used with the Raspberry Pi – in this case we have just made it into a finished board – something a little more suited to permanent applications. The board uses both SPI channels on the Pi (one per MCP3008 chip) and features 10 bit resolution, 0 – 3.3V range, and integrated resistor pads for creating voltage dividers with basic resistive sensors. The board is available unassembled (no headers installed) and fully assembled (no soldering required).
If you have any questions, or need further clarification please post in the comments section below; this way future users of this tutorial can see the questions and answers!