Skip to content

ncdcommunity/Raspberry_Pi_MCP3428_16Bit_4Channel_ADC_Python_library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

 MCP3428.

MCP3428

The MCP3428 is a 4-Channel Analog to Digital Converter with 16-Bit resolution, ideally suited for low-speed high-resolution sensor monitoring. The MCP3428 is capable of reading analog voltages at 15 samples per second with 16-Bit resolution or 240 samples per second at 12-bit resolution. This Device is available from www.ncd.io

[SKU: MCP3428]

(https://store.ncd.io/product/mcp3428-4-channel-analog-to-digital-converter-16-bit-i2c-mini-module/) This Sample code can be used with Raspberry Pi.

Hardware needed to interface MCP3428 16Bit 4Channel ADC With Raspberry Pi :

  1. MCP3428 16Bit 4Channel ADC
  2. Raspberry Pi I2C Shield
  3. I2C Cable

Python

Download and install smbus library on Raspberry pi. Steps to install smbus are provided at:

https://pypi.python.org/pypi/smbus-cffi/0.5.1

Download (or git pull) the code in pi. Run the program.

$> python MCP3428.py

The lib is a sample library, you will need to calibrate the sensor according to your application requirement.

About

MCP3428 16Bit 4Channel Analog To Digital Converter Interfacing with Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages