Knowledge Base
The AB Electronics UK Knowledge Base provides support solutions, tutorials and troubleshooting guides.
Using the ADC Pi with Arduino
Using the ADC Pi with the Arduino range
The ADC Pi can also be used with the Arduino range of development boards or any other processor with an I2C interface.
The Arduino library for MCP3424 from ArduSat allows you to easily use the 8 different analogue inputs on the ADC Pi with your Arduino project and stack up to 4 ADC Pi boards, giving you up to 32 x 18-bit ADC inputs.
You can download the library and sample code from
https://github.com/abelectronicsuk/ABElectronics_Arduino_Libraries
The image below shows how you can connect your ADC Pi to your Arduino UNO using only 4 wires.
Address Table for ADC Pi inputs
Pin 1 | Pin 2 | ADC Address |
---|---|---|
Low or Float |
Low or Float |
0x68 |
Low |
Float |
0x69 |
Low |
High |
0x6A |
Float |
Low |
0x6B |
High |
Low |
0x6C |
High |
Float |
0x6D |
High |
High |
0x6E |
Float |
High |
0x6F |
(images created with Fritzing)