PWM generation | Microcontroller › AVR › PWM generation This topic has 1 reply, 2 voices, and was last updated 10 years, 10 months ago by AJISH ALFRED. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts May 10, 2013 at 4:44 pm #2392 tridibParticipant Hi Ajish i want to regulate AC mains voltage by generating PWM waves at zero crossing instance of AC mains, for charging lead acid battery using avr atmega 32 microcontroller.Kindly help me figuring out ckt.diagram as well as c codes. May 10, 2013 at 4:50 pm #9705 AJISH ALFREDParticipant Hi Tridib, There are somany methods of generating PWM, using simple electronic components or with the help of microcontroller. Please share more details about the requirement so that we can help you better. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In