Example Code for Raspberry Pi-Measure Voltage

Measure Voltage by RPi

Hardware Preparation

Software Preparation

Please download the Linux driver:

DFR0316 MCP3424 18-bit ADC Linux Driver v1.0

Wiring Diagram

Refer to the previous tutorial, connect I2C and power in the GPIO of RPi to the MCP3424 module.

Other Preparation Work

Refer to the "Readme" of the Driver.

Was this article helpful?

TOP