astronomerroyal
New Member
Sorry if this has been asked 100 times before, but I failed to find the info.
Apparently I just destroyed the cheap current meter I was installing into my bicycle generator. It is the sort that simply measures the voltage across a 20A 75mV shunt resistor.
My question: Is it simple to build such a current meter utilizing a PIC and my shunt resistor?
I'm keen to try, but would like to know potential pitfalls.
The output need only be simple, lighting an LED bar display for example - I don't need great accuracy (5-10% would be fine). The part I'm not sure about is the input; how to measure the very small voltage drop across the shunt resistor (<75mV). On the PIC-side, an ADC port with an appropriate selectable reference voltage would be my favoured approach, but I suppose this is not feasible at mV levels. Should I use an opamp to boost the voltage by, say, 50 and then feed it into the ADC?
I found interesting voltage, resistance, capacitance meters on Microchip's application notes, but no simple current meter. AN939 gives some useful insight but is massively too complex.
As always, any thoughts or links would be appreciated.
Apparently I just destroyed the cheap current meter I was installing into my bicycle generator. It is the sort that simply measures the voltage across a 20A 75mV shunt resistor.
My question: Is it simple to build such a current meter utilizing a PIC and my shunt resistor?
I'm keen to try, but would like to know potential pitfalls.
The output need only be simple, lighting an LED bar display for example - I don't need great accuracy (5-10% would be fine). The part I'm not sure about is the input; how to measure the very small voltage drop across the shunt resistor (<75mV). On the PIC-side, an ADC port with an appropriate selectable reference voltage would be my favoured approach, but I suppose this is not feasible at mV levels. Should I use an opamp to boost the voltage by, say, 50 and then feed it into the ADC?
I found interesting voltage, resistance, capacitance meters on Microchip's application notes, but no simple current meter. AN939 gives some useful insight but is massively too complex.
As always, any thoughts or links would be appreciated.