Hello, I am trying to measure a DC current of between 0 to 0.5A using the prototyping board. I connect the +ve wire to the I-V convertor input and the -ve wire to ground.
Here is my code:
#define RESISTANCE 0
// Init USB
1 - Without any wire connection to ANALOG4, I measure the I-V convertor output using a multimeter. It is 1.2V. But when I set RESISTANCE to 0, 10, 100, and re-program the Waspmote, the output is the same. Is this correct, or am I making a mistake?
2 - If I know that the input DC current is between 0 to 0.5A, and I want to connect the I-V convertor output to ANALOG4 using a wire, what value of RESISTANCE do you recommend?
3 - If I connect the I-V convertor output to the ANALOG4 input, will the voltage be exceeded?
4 - If I connect the I-V convertor output to ANALOG4 and set RESISTANCE to R
, what is the formula to convert from ANALOG4 reading to input current?