How to generate PWM signal in the 8051 microcontroller using C language i will be so glad if someone can assist me with simple code.
Thanks in advance
Erik...Thank you for your help
just another question if you dont mind.
i am currently doing a project of how to : Design a programmable switch mode power supply to simulate solar panels. so far i am trying ways to generate PWM controller part. i thought will be better using 8051 microcrontroller.
what advice would you give choosing either PIC or 8051 microcontroller to do this task of PWM controller.
evaluate how much speed and memory you need if a lot go for a SILabs chip if not a lot go for a NXP9xx all have PWM 'engines'
since this sounds like a one-off why not just use a silabs devboard and attach the power components.
In my opinion, the PIC has no advantage over the '51 till you get to the big PICs e.g. dspic and at that level I'd choose the ARM instead.
Erik