Introduction: A/D Converter With MCP3428 and Rasberry Pi

Picture of 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

Step 1: Make Connections

Picture of Make Connections

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.

Step 2: Connect MCP3428 and Cell

Picture of Connect MCP3428 and Cell

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

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

Step 3: Run the Program

Picture of Run the Program
  • 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 ;)

Comments

RohitS12 (author)2016-02-26

Hey, The code is not available in the link you posted here. Could you repost it?

Thank you

ryker1990 (author)RohitS122016-02-27

hi rohit ,

I have uploaded the codes again. You can also check them at :

https://github.com/ryker1990/MCP3428

About This Instructable

1,759views

4favorites

License:

More by ryker1990:Current Monitoring with Raspberry PiRASPBERRY PI AND ACCELEROMTER MXC6226XU AS GAMING CONSOLEA/D converter with MCP3428 and Rasberry pi
Add instructable to: