Digital power supply with AVR ATMEGA8 and current voltage limiter