For a charge pump circuit, I need complementary PWM outputs - one going high when the other goes low. This can be achieved by flipping the invert bit in one of the timer registers. But what about non-overlapping pulses? Turns out this is possible too.
Arduino ATmega328P Pin Mapping:
http://arduino.cc/en/Hacking/PinMapping168
Arduino Timer PWM Cheat Sheet:
http://playground.arduino.cc/Main/TimerPWMCheatsheet
Arduino ATmega328P Pin Mapping:
http://arduino.cc/en/Hacking/PinMapping168
Arduino Timer PWM Cheat Sheet:
http://playground.arduino.cc/Main/TimerPWMCheatsheet
I'm trying to adapt this to a more reasonable high-voltage version…
Hi Julian, How can I make this pulse with variable frequency?
how to get 120KHz with 50% duty ratio
can you make tutorial for "how to generate 3 phase PWM signal using arduino" with deadtime like this video 👆
Did you update Wikipedia with a little more info?
Great explanation. It has been very useful for my Cockcroft-Walton multiplier prototype. Thanks a lot.
bada-ba-bah-ba.. im lovin it
Could you please help me to add a pot to change the frequency of signal(both1 & 2 independently) in this same program, Is it works in ATTiny 85 ?,
Awesome, thank you for your help
Julian, this has been an absolute gift for me. Thanks for sharing your work.
thanks a lot
When you change frequency and after that upload different sketch, does it set PWM frequency to default?