Exo
Active Member
I was trying this in order to measure a DC motor's current using a PIC - the motor in question can draw 3A max.
**broken link removed**
I had to add the 100µF capacitor because the measurement was wildely fluctuating, can anyone explain why this is and how to caculate the optimal capacitance required - the current value was just a bit trial and error.
Also, should i add a circuit to prevent the analog input from going over the pic's allowed maximum for protection, or do the internal clamp diodes also function in analog input mode ?
Thx.
**broken link removed**
I had to add the 100µF capacitor because the measurement was wildely fluctuating, can anyone explain why this is and how to caculate the optimal capacitance required - the current value was just a bit trial and error.
Also, should i add a circuit to prevent the analog input from going over the pic's allowed maximum for protection, or do the internal clamp diodes also function in analog input mode ?
Thx.
Last edited: