MCP3424 18‐Bit ADC‐4 Channel with Programmable Gain
Amplifier (SKU:DFR0316)
Contents
1 Introduction
2 Applications
3 Specifications
4 Interface
5 Tutorial
5.1 Measure Voltage by Arduino
5.2 Measure Voltage by RPi
Introduction
The module integrates MCP3432 A/D converter chip. The module can provide analog input function
for Raspberry Pi and provide high accuracy analog input for Arduino.
MCP3424 is one of the low noise and high accuracy 18-Bit delta-sigma analog-to-digital (∆Σ A/D)
converter family members of the MCP342X series. Its characteristic is:
Self calibration of internal offset and gain per each conversion.
The user can select the PGA gain before the analog-to-digital conversion takes place. This allows
the device to convert a very weak input signal with high resolution.
The device have two conversion modes:
(a)One-Shot mode: the device performs a single conversion and enters a low current standby mode
automatically until it receives another conversion command.
(b)Continuous mode: the conversion takes place continuously at the set conversion speed.
Applications
Temperature Sensing with RTD, Thermistor, and Thermocouple
Bridge Sensing for Pressure, Strain, and Force
Weigh Scales
Battery Fuel Gauges
Specifications
Operating Voltage: 2.7 - 5.5V
Standy Current: 300nA (5V)
Operating Temperature: -40°C ~ +125°C
On-Board Voltage Reference: 2.048V ± 0.05%, Drift 15 PPM /°C
On-Board Programmable Gain Amplifier (PGA): x1,x2,x4,x8
Differential Input Full Scale Range: -2.048V / PGA ~ 2.048V / PGA (e.g., PGA=4, Range is -0.512 ~
0.512V)
Programmable Resolution: 12, 14, 16, 18bits
Programmable Data Rate: 240, 60, 15, 3.75 SPS
Gain Error: 0.05% (PGA = 1, 18bits)
Offset Error: 15uV (PGA = 1, 18bits)
Input Interface: 4 differential channels, PIN header of 2.54mm spacing
Output Interface: I2C, PIN header of 2.54mm spacing
Size: 27x16mm
Interface
Input and output pins showed in the diagram.
Switch: set I2C address.
Tutorial
Measure Voltage by Arduino
a) Target: Measure voltage by Arduino
b) Hardware List
DF_UNO 1
MCP3432 module 1
Regulated power or AA battery 1
Dupont wires
c) Software List
Arduino IDE
Arduino MCP3424 library
d) Connected diagram
e) Step by step
1.
2.
3.
4.
Adjust voltage of Regulated Power to 0-2.085V, and then power on.
Install Arduino MCP3424 library, see Install Arduino MCP3424 library
Open Arduino IDE
Upload code to UNO
/* MCP 3424 version 1.2 example sketch OneShotConversion
Written by B@tto
Contact : batto@hotmail.fr
In this example, one conversion per second is performed on channel 1 and 16
bits resolution.
A new conversion has to be initiated by the user
*/
#include
#include
MCP3424 MCP(0x68);
// Decaration of MCP3424 with Address of I2C
long Voltage;
void setup(){
Serial.begin(9600);
MCP.Configuration(1,16,0,1); // Channel 1, 16 bits resolution, one-shot mo
de, amplifier gain = 1
}
void loop(){
MCP.NewConversion();
// New conversion is initiated
Voltage=MCP.Measure();
lete conversion
// Measure, note that the library waits for a comp
Serial.print("Voltage = ");
Serial.print(Voltage);
Serial.println("uV");
// unit: microVolt
delay (1000);
}
f) Result
Open Ardino serial monitor, the voltage will be displayed.
Measure Voltage by RPi
a) Target: Measure voltage by RPi
b) Hardware List
Raspberry Pi B+ 1
Regulated power or AA battery 1
Dupont wires
c) Software List
MCP3424 I2C Linux driver
d) Connected Diagram: refer to the previous tutorial, connect I2C and power in the GPIO of RPi to
the MCP3424 module.
e) Step by step: refer to the "Readme" of the Driver.
Powered By DFRobot © 2008-2017
很抱歉,暂时无法提供与“DFR0316”相匹配的价格&库存,您可以联系我们找货
免费人工找货- 国内价格
- 1+116.15067
- 3+109.82628
- 国内价格 香港价格
- 1+104.668331+12.56804