Voltmeter click

PID: MIKROE-2436

Weight:27 g

Voltmeter click is a mikroBUS™ add-on board for measuring voltage in an external electric circuit.
The board is designed to measure Direct Current only, and has a measurement range from 0 to 24V (it’s possible to measure both positive and negative charges).

Table of contents

The design of the board is based on an OpAmp set up as a differential amplifier with a buffered input.Two onboard screw terminals (probe+ and probe-) are bringing in the current, which then flows through a row of four resistors. A voltage – proportional to the input charge – is generated across the last two resistors. From there it is sent to the differential amplifier that further intensifies the difference between the two inputs (+/-).

The resulting charge is exactly 33 times lower than the actual measured voltage. It is converted by an onboard 12-bit ADC before being outputted through the mikroBUS™ SPI interface (the firmware in the target board MCU should be set up to multiply the ADC value to get the actual voltage). It is also possible to output the analog value directly through the mikroBUS™ AN pin (useful if the target MCU has a higher resolution ADC).The board can work with either a 3.3V or a 5V power supply.

Features and usage notes

Voltmeter click is designed to measure Direct Current only, and has a measurement range from 0 to 24V (it’s possible to measure both positive and negative charges).

The design of the board is based on an OpAmp set up as a differential amplifier with a buffered input.

Two onboard screw terminals (probe+ and probe-) are bringing in the current, which then flows through a row of four resistors (R1, R2, R14, R15). A voltage – proportional to the input charge – is generated across the last two resistors (R14, R15). From there it is sent to the differential amplifier that further intensifies the difference between the two inputs (+/-).

The board can work with either a 3.3V or a 5V power supply. This is configured by soldering the onboard PWR SEL jumper in the appropriate position. Note that it’s not possible to power the board with the same current you wish to measure.

Programming

The following code snippet shows how to send temperature readings from Voltmeter click to a TFT display.