Difference in controllers

Thread Starter

Saiteja chinthalapati

Joined Oct 25, 2018
Hi all,

I made a circuit to dim 54v DC LED using PIC16f and Atmega 328 controller. In both all IC's and components are same except the microcontroller and in coding both i maintained frequency of 7.8KHz. To achieve smooth dimming in PWM i used a delay while increasing and decreasing the PWM value. In pic16f takes less delay to achieve smooth dimming but atmega328 is taking more delay to achieve the reason. What might be the reason?
Last edited:


Joined Mar 10, 2018