Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Arduino for completely Autonomous Pixhawk?
#1
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
Reply
Login to remove this ad | Register Here


Possibly Related Threads...
Thread Author Replies Views Last Post
  Seeking advice for an autonomous ping pong drone player rau07 2 374 19-Jul-2020, 02:35 AM
Last Post: voodoo614
  Autonomous flight manjulaltn 0 625 21-Dec-2018, 08:51 AM
Last Post: manjulaltn
  Help Arduino avrude error message when flashing MWOSD oyvinla 6 4,859 22-Jun-2016, 10:44 AM
Last Post: KonradS
Sad Help Problems flashing Littlebee 20A with Arduino Uno Relic 9 6,730 07-Mar-2016, 10:22 AM
Last Post: t0pcat


Login to remove this ad | Register Here