Hi guys,
My classmates and I are working on a project for a competition where we have to make an object fall down from a certain height (more than 1km). The school provided us with a drone that uses the SpeedyBee flight controller and told us to use ArduPilot to control it. Everything went as planned and we learned how to fly the drone; however, when we tried to actually connect a servo to it we encountered a problem that the servo didn’t move.
We spent the next few days troubleshooting, and in the end the servo still doesn’t move. We tried reading the official documentation, but the only thing that was written in it was how to make it work with missions, whereas we need it to be controlled “live” (with a controller). Could anyone please help us figure out what we did wrong and guide us through the process of making it work? Directing us to a source with good documentation would also be fine. We are out of options and don’t know how to move forward with this project. The school also prohibited us from using any other software, so we’re stuck with this one.
Our current setup is:
On the drone the servo is connected to GND and 5 V from the flight controller (we tested the power output with a voltmeter), and the data pin is connected to the S9 pin (which is marked as an extra PWM pin in the datasheet).
In the servo output we have the 9th position (for a button on our controller; when the button is pressed the value changes) set as RCIN9.
The RCIN9 config file is configured so that SERVO9_FUNCTION is set to RCIN9 (we have also tried setting it as a gripper but then the program gave us an invalind channel (19) error). The servo minimum, trim, and maximum values are 1100, 1500, and 1900 respectively.
Could anyone tell us what we’re doing wrong?
I am also going to post this to the forum beacuse we are quite desperate for help.