Zedman
Full Member level 6
csla1cd
Please help me,
Iam trying to detect if there is any AC current flow in a wire. Iam using Honeywell CSLA1CD current sensor. It needs 12V and GND and outputs Vcc/2 +/- 50mV per Amper (flows through the wire).
So if there are 2 amps than I (should) get 6V + 2x50mV -> 6.1V
I would like to measure this with a PIC16F690's ADC channel 0, with the following small divider to divide the voltage into the 0-5V range.
The problem is if I measure the voltage in every second that I get the correct value for the 3.05V and than it starts to decrement and then back and decrement again and so on.
Why is this?
What am I missing here?
Please help me,
Iam trying to detect if there is any AC current flow in a wire. Iam using Honeywell CSLA1CD current sensor. It needs 12V and GND and outputs Vcc/2 +/- 50mV per Amper (flows through the wire).
So if there are 2 amps than I (should) get 6V + 2x50mV -> 6.1V
I would like to measure this with a PIC16F690's ADC channel 0, with the following small divider to divide the voltage into the 0-5V range.
The problem is if I measure the voltage in every second that I get the correct value for the 3.05V and than it starts to decrement and then back and decrement again and so on.
Why is this?
What am I missing here?