Hello there , i am new to node red and i am trying to set up a simple task . I have connected to my Raspberry Pi a ADS1x15 ADC with a CT clamp and i am trying to measure current( AC) .I am getting data in my node red flow in the debug area .My problem is that i connect a gauge and i cant convert the huge number that i read from the ADS1x15 which is from 0 to 2V to ampere in my gauge .The whole idea is to have 2 gauges in my dashboard ,one to measure current and the other energy .Every help is appreciated .Below is my code in node
[{"id":"93c2c569.31c028","type":"ads1x15-raspi","z":"7ecad0b5.cbf5e","property":"payload","name":"ads","chip":"IC_ADS1115","i2c_address":"ADDRESS_0x48","channel":"CHANNEL_0","samplesPerSecond0":"SPS_920","samplesPerSecond1":"SPS_128","progGainAmp":"PGA_0_512V","x":290,"y":240,"wires":[["111335cd.99dfca"]]}]
!