I'm trying to make my own quadrotor using Arduino Pro Mini as the "brain" of it. I have had no problems till the moment I have to control the ESC's. I need to generate a 50Hz PWM signal, so I thought about using "software" interrupts using timers in order to let the loop function calculate all other variables without having to generate that signal.
However, I can't find how many timers has this arduino. Are they the same as the atmega328, 3?
Brushless motor is not a servo tho.
WIth a servo, you are only sending a control signal.
With a motor, you are controlling the voltage/current being applied.
CrossRoads:
Brushless motor is not a servo tho.
WIth a servo, you are only sending a control signal.
With a motor, you are controlling the voltage/current being applied.
Well, I know that.
I was just omiting the ESC. The correct question is: "How many ESC can I control with Arduino pro mini?"
As far as I know, on the 328, pins 3, 5, 6, 9, 10 and 11 support hardware PWM. I have heard of using software PWM on other pins but have never done so myself. I don't know if the Servo lib supports software PWM. 6 servos (ESC's) shouldn't be a problem. I have used 3 before so I know that works.