Monitor power supply current/voltage with uC?

Discussion in 'The Projects Forum' started by Dalaran, Dec 7, 2009.

  1. Dalaran

    Thread Starter Active Member

    Dec 3, 2009
    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.
  2. SgtWookie


    Jul 17, 2007
    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: Dec 7, 2009