@tibbo-tps/tibbit-53
v0.0.3
Published
Tibbit #53 (Isolated 4-20mA ADC)
Downloads
4
Readme
Tibbit #53 (Isolated 4-20mA ADC)
The node module for data collection from Tibbit #53 (Isolated 4-20mA ADC) block.
Installation Instructions
The module is available as precompiled binary and C source code.
Install the module
npm install @tibbo-tps/tibbit-53
Usage
var ADC = require("@tibbo-tps/tibbit-53").init(socket);
API Methods:
init(socket, channel, singleReadMode)
- socked - TPP socket number
Returns an object with a singe method:
.getCurrent()
Returns an object with the following properties:
- error - error message, is undefined if no error occured
- status - operation status, 0 if no error occured
- current - current, A
Example:
var tibbit53 = require("@tibbo-tps/tibbit-53").init("S13");
setInterval(function(){
var data = tibbit53.getCurrent();
if(data.status === 0){
console.log("Current: "+data.current)
}else{
console.log("Error: "+data.error)
}
},1000);
About the Tibbit #53 block
This ADC Tibbit uses an RCV420 current loop receiver front-end and an ADC1100 16-bit analog-to-digital converter IC. To lower noise and improve resolution, this Tibbit has its own isolated power domain.
The full-scale conversion error for this Tibbit does not exceed 2%, and the effective flicker-free resolution is 15 bits.
Combine this Tibbit with #21 (four terminal blocks), #20 (nine terminal blocks) or #19 (DB9M connector). It's not common but possible to use the latter for wiring into the meter's inputs.
There is one red and one yellow LED. The red LED is connected to the SCL line of the I2C interface; the yellow LED – to the SDA line.