Monitor power supply current/voltage with uC?

Thread Starter

Dalaran

Joined Dec 3, 2009
168
I have recently built a home power supply using a lm317 and wall-wart. I am now looking to add on to this project by displaying voltage/current measurements on an LCD.

My initial idea was just to add a very low valued resistor in series with the positive output of the supply. I could then measure the voltages using 2 pins and the ADC of the uC. Then solve for the current and use the latter value as the output voltage.

Would this work? Any suggestions/ideas are appreciated.


ps thanks Sgt, didn't want to bump old post.
 

SgtWookie

Joined Jul 17, 2007
22,230
You could use a resistor in series with the load. However, keep in mind that will affect the voltage regulation across the load.
 
Last edited:
Top