MIKROE 4-20mA RT Click
RT_Click_Calibration Struct Reference

Structure to hold the [bitval] to [mA] calibration points of either an R Click or a T Click Board. More...

#include <MIKROE_4_20mA_RT_Click.h>

Public Attributes

float p1_mA
 Calibration point 1 in [mA].
 
float p2_mA
 Calibration point 2 in [mA].
 
uint16_t p1_bitval
 Calibration point 1 in [bitval].
 
uint16_t p2_bitval
 Calibration point 2 in [bitval].
 

Detailed Description

Structure to hold the [bitval] to [mA] calibration points of either an R Click or a T Click Board.

Will be linearly interpolated. Point 1 should lie somewhere around 4 mA and point 2 around 20 mA. Use a multimeter to calibrate against. A variable resistor of around 4.7 kOhm can be used on the R Click Board to vary the input current over the range 4 to 20 mA.

Typical calibration values are around {4.0, 20.0, 800, 3980}.


The documentation for this struct was generated from the following file: