Hi,
How to measure current and voltage using microcontroller ADC input.
voltage range is up to +11v and current is about 5 amps.
I use a voltage divider to get the voltage
Vi=11V
RA=1k2
RB=1k
Vo=RB/RA+RB*Vi -> with about .2 error
are there any better ways to protect the microcontroller input?
thank you.