Is it possible to generate a 50 ms PWM with Arduino?


I have a DC motor controller which specifies a PWM input of 50 ms (20Hz). Unfortunately, the board which generates that PWM signal is faulty. I'm looking for the possibilty of building a small prototype where I can provide that PWM signal of 20 Hz and vary the duty cycle with a pot. Is this possible with Arduino?
Note: The board won't work with higher frequencies. I think that it could work with something between 20 to 50 Hz. But the designer specifies 20 Hz.

Thank you


Yes its perfectly possible. But are you sure your controller needs a true 0-100% duty cycle PWM and not the servo/ESC standard of roughly 1-2ms pulses repeated at 20ms intervals?


You a friend of hers?