Single microcontroller based 12v to 230v inverter with intelligent battery charging
Single microcontroller based 12v to 230v inverter with intelligent battery charging (Made by me) Here I describe the circuit as: *single microcontroller/controller (ATMEGA16/32) *no op-amps, only chips are the micro, opto-couplers and regulator (7805) *low-battery/overload/short-circuit protection *thyristor controlled battery charger, using the MOSFET body diode as the AC-DC rectifier *charger maintains the battery voltage (top) between 13.2-13.5v (adjustable) to maximize the battery life *6-LED display *Only 93 parts in entire control circuit *Delay between switchover to prevent inrush current The method used here, described for those who may benefit from it: -Initialize all ports and peripherals[ADC, Timers, Compare Modules] -Initialize interrupts for Timer0 and compare module for -For PWM, use Timer1 and 16-bit Phase and Frequency Correct PWM mode so the PWM runs completely on the hardware level without need for interaction to keep it running -The AVR senses whether mains is p...