DC-DC converter based on AVR microcontroller with voltage and current stabilisation