Generating PWM @400Hz for multicopter's ESC
Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
PWM_400Hz.ino
README.md

README.md

Arduino_Fast_PWM_Atmega32u4

Generating PWM @400Hz for quadcopter's ESC

The main issue using the Servo Library is that you can hardly go faster than 125Hz, with a huge amount of interrupts generated. I use instead 16bit Timer1 and Timer3 to generate PWM signals @400Hz on 4 pins (up to 6 pins). No interrupts are required.