I am building a quadcopter and I am using a Turnigy 10amp ESC to work with the DYS 3100kv motor. I am trying to use an Arduino as a radio controller, but I have unsuccessfully been able to get the ESC to begin its startup sequence. I have only heard the startup sequence once or twice, but at completely random occurrences. I have been using the PWM pins on the Arduino to send these signals and the .write() function as well. If anyone has any information or has worked with these products, I would be very grateful to hear your suggestions.
In the picture the battery is plugged in plus the signal is connected to pin 9 and ground is connected to ground on the Arduino.
JohnBonilla:
I have been using the PWM pins on the Arduino to send these signals and the .write() function as well. If anyone has any information or has worked with these products, I would be very grateful to hear your suggestions.
My suggestion is to show us the sketch you are using. I hope you are using the Servo library since that is the right library for talking to an ESC. Note: You don't need to use PWM pins for servo outputs.
How is your Arduino MEGA getting power?
I am using the Servo library to attach the esc to the PWM pins on the Arduino. As of now I am using the power from my computer to power the Arduino, but a Lipo battery to power the ESC. I have been working with a multitude of sketches, but I believe that by using serial and finding the correct number that acts as the signal of the position that a throttle stick would produce in order to arm the ESC I would be able to get the motor to function.
Here is a Turnigy ESC manual. It shows the throttle limits and normal arming sequences:
Since your Arduino can't hear the tones you will need to use timers to move through the sequence of tones. Are you getting any tones when you set the output to zero degrees (servo.write(0) or servo.writeMilliseconds(1000)) and plug in the battery?