A/D Converter With MCP3428 and Rasberry Pi

by Qatalytic Technologies in Circuits > Sensors

5793 Views, 4 Favorites, 0 Comments

A/D Converter With MCP3428 and Rasberry Pi

thumb_IMG_1715_1024.jpg
A/D converter with MCP3428 and Rasberry pi

The tutorial below shows how to read the ADC values from the MCP3428 16-Bit, Multi-Channel Analog-to-Digital Converter with I2C Interface from controleverything.com and the Raspberry Pi using Java.

Hardware Required : Raspberry pi , I2C adapter , MCP3428 board , A cell , Connecting wires , I2C cables

You can find the I2C adapter , MCP3428 board and I2C cables at www.controleverything.com

https://www.controleverything.com/content/I2C-Master?sku=TOUTPI2

https://www.controleverything.com/content/I2C-Cables?sku=I2CAFF12

https://www.controleverything.com/content/Analog-Digital-Converters?sku=MCP3428_I2CADC

Check the video at :

https://www.youtube.com/watch?v=yjHhU3ruWWE

Make Connections

thumb_IMG_1716_1024.jpg
IMG_1726.jpg
IMG_1725.jpg

Connect I2C adapter over GPIO pins on Raspberry pi and press it.

As it gets fixed connect a I2C cable with I2C adapter and MCP3428 board.

Connect MCP3428 and Cell

IMG_1723.jpg
thumb_IMG_1710_1024.jpg
thumb_IMG_1720_1024.jpg

Connect the MCP3428 with connecting wire to Channel 1 on MCP3428 board.

Connect the wires to cell and MCP3428 channel 1 as depicted.

Run the Program

IMG_20151229_185116017.jpg
  • Run the Program from command line and see the cell voltage displayed in terminal.

Voltage of the cell will be displayed on terminal.

Code for python and java can be found here

Instructions to run code are provided in code comments.

Do try this at home ;)