Knowledge Base

The AB Electronics UK Knowledge Base provides support solutions, tutorials and troubleshooting guides.

Knowledge Base


2 Channel ADC and 2 Channel DAC for the Raspberry Pi
Created: 23/11/2016 | Last Updated: 02/02/2019

This item has been replaced with the ADC DAC Pi Zero

The ADC-DAC Pi V1.0 is a 2 channel 12 bit analogue to digital converter and 2 channel 12 bit digital to analogue converter designed to work with the Raspberry Pi. 

The ADC-DAC Pi is based on the Microchip MCP3202 A/D converter containing 2 analogue inputs with 12 bit resolution with a Microchip MCP4822 dual channel 12-bit DAC with internal voltage reference.

Max ADC Sample Rate: 100 ksamples/sec

Max ADC Sample Rate under Python: 12,000 samples per second.

The ADCDAC Pi is compatible with all Raspberry Pi models.

Not sure which ADC you need ? Check our Analogue to Digital Buyers guide to compare our ADC expansion boards.

Power to the board is provided through the host Raspberry Pi using the GPIO port. Only one ADC-DAC Pi can be used on a Raspberry Pi but the extended pins on the GPIO connector allow you to stack the ADC-DAC Pi along with other expansion boards.

The A/D and D/A converters communicate with the Raspberry Pi through the SPI interface. 

Datasheets for the MCP3202 and MCP4822  can be found on the technical information tab.




Compatibility Chart

Model Compatible
Model A Yes
Model B Yes
Model A+ Yes
Model B+ Yes
Model 2B Yes
Model 3B Yes
Pi Zero Yes

Input Ratings & Specifications

Maximum voltage on ADC inputs: 3.3V


Click to download
Click to download schematic PDF.

Mechanical Drawings

Mechanical Drawing

Click image to enlarge

Sample Code

We have Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries available for this expansion board.  You can download all of the libraries from github at:

Download the Arduino libraries from:

To download the C libraries to your Raspberry Pi type in terminal:

git clone

To download the Python 2 libraries to your Raspberry Pi type in terminal:

git clone

To download the Python 3 libraries to your Raspberry Pi type in terminal:

git clone

Download the Windows 10 IOT libraries from:

Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view, download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.

Was this article helpful? Yes / No