Hello, this is my first post here, so I’ll try to follow the guidelines as much as I can.
I’ve been trying to use my Arduino Mega 2560 to control a servo. I’ve found that the analogWrite is for PWM, not PPM, which is what the servos use(?)
I’ve tried it with both a continuous rotation Futaba S3003 and an unmodified Spektrum Z270. The Z270 goes to it’s left endpoint, while the S3003 just turns at full speed clockwise. The servos are powered with a 4.5VDC wall plug, with a signal wire to the headers. I’ve tried different ports (PWM and non-PWM), and they all yield the same results. The servos aren’t faulty, since I can control them with a FlySky radio.
I’m powering the Arduino itself off of the supplied USB connector, although I’ve tried with a 9.7VDC input from a power supply.
I also haven’t been able to find anybody else with this problem on Google.
The program I’m using is the unmodified Sweep example, except for the pin changes.
Any help is appreciated, thanks in advance.