I am using 5A current sensor using Lm358 op-amp so far i tested with 60w bulb the output is 1.31v dc..
how to calculate actual current
example for ACS714 Current Sensor Board:
sensorValue = analogRead(analogInPin);
// convert to milli amps
outputValue = (((long)sensorValue * 5000 / 1024) - 500 ) * 1000 / 133;
amps = (float) outputValue / 1000;
this is the code for ACS714 Current Sensor Board:
But how to write a code for lm356Ic ?? can u help me ??