I'm working on making a power supply that supplies different fixed regulated voltages and also a + and - variable voltage (actually all the configurations I will have are +5, +8, +12, +15, +15 and +24 along with a + and - variable from 0 to 20 volts).
Now, I also plan on using an LCD to display the voltages and currents for each(but using one 24x1 LCD).
My question is how can I control for automatic "resolution" for the voltage meter? like I can use a fet(or maybe an op amp) to detect the voltage but I need some kinda variable resistor that I can controll with my microprocessor(which has build in 10bit ADC). I know there are ways to do this but I'm not exactly sure what I need... I'd like 4 places of accuracy from uA and mV to A(1.5A max) and V's(25V max).
I also have a fan in my case and I'd like to controll it depending on the temperature... what device will return the temperature in the case that I can use with my MCU to control the fan current?
Last thing I'm not to sure on is where to place my on off switch in the circuit.
right now I have mains->fuse->varistor->filtering->switch->transformer but it seems that I would want the switch right after the fuse?
Thanks, Jon