07-Oct-2016, 02:27 AM (This post was last modified: 07-Oct-2016, 10:08 PM by beadybiddle.)
Hello! I'm very new here (first post).
I've been working on a unique project that has a weird requirement: using the Pixhawk on a 500 mm custom X-quad, I need to set up an micro Arduino to command the controller to activate a short pre-loaded flight plan. The Aruino will ideally send the PPM signal to the Pixhawk when it gets a discrete signal (digital switch), not part of an RC. No RC is intended to be used at all- so the Arduino output should be very simple- an initial arm command (throttle off, full right yaw) for a couple seconds, then the Pixhawk waits for the digital switch- when it commands auto mode and then >10% throttle to start the autotakeoff and then executes the short flight plan, followed by autoland.
BTW- the quad flies great using a Taranis plus and D4R-II rcvr; it executes the flight plan perfectly, but requires me to arm in stabilize mode, then switch to auto mode, and finially kick trhe throttle a bit. I would like to automate all of that.
My thought is to adapt some Arduino code to send a signal to the Pixhwak that first arms the system (I've already disabled the push button, and disabled auto-disarm).
There were several references to the folks at this site as my research was done, so here I am to ask if anyone has done something similar, or how difficult it would be to implement.
My Arduino skills are solid but not exceptional.
Any help or points to sources that could help would really be appreciated! Searches for this solution on this site didn't yield anything, but I may have been looking in the wrong places.
Thanks!
Beads
I've been working on a unique project that has a weird requirement: using the Pixhawk on a 500 mm custom X-quad, I need to set up an micro Arduino to command the controller to activate a short pre-loaded flight plan. The Aruino will ideally send the PPM signal to the Pixhawk when it gets a discrete signal (digital switch), not part of an RC. No RC is intended to be used at all- so the Arduino output should be very simple- an initial arm command (throttle off, full right yaw) for a couple seconds, then the Pixhawk waits for the digital switch- when it commands auto mode and then >10% throttle to start the autotakeoff and then executes the short flight plan, followed by autoland.
BTW- the quad flies great using a Taranis plus and D4R-II rcvr; it executes the flight plan perfectly, but requires me to arm in stabilize mode, then switch to auto mode, and finially kick trhe throttle a bit. I would like to automate all of that.
My thought is to adapt some Arduino code to send a signal to the Pixhwak that first arms the system (I've already disabled the push button, and disabled auto-disarm).
There were several references to the folks at this site as my research was done, so here I am to ask if anyone has done something similar, or how difficult it would be to implement.
My Arduino skills are solid but not exceptional.
Any help or points to sources that could help would really be appreciated! Searches for this solution on this site didn't yield anything, but I may have been looking in the wrong places.
Thanks!
Beads