Tags:
Permalink Reply by Andrew Boos on March 1, 2012 at 11:58pm Well, no replies but I have made a ton of progress! I wrote a simple app that allows me to send data over serial and it is working beautifully! Next step is to figure out how to send commands over the xbee to the ArduPilot
Permalink Reply by James masterman on March 2, 2012 at 12:46am Sounds good. I'd like to use my iPad for a ground station some day. It makes more sense than a laptop. I'll just need to wrestle it back off my kids.....
Permalink Reply by ZacCom on March 2, 2012 at 9:11am
Permalink Reply by Andrew Boos on March 2, 2012 at 9:56am How are you planning on communicating with the xbee? The only way I can think of is through the serial pins of the iPhone and that requires root level access. You said that you were planning on publishing through iTunes, did you find another way to communicate with the xbee?
Anyways, I plan on buying an xbee pair within a few weeks and making sure I can communicate between the two. Then in a couple months when I get out for the summer and start my job i'll have enough money to buy the ardupilot and throw it in my rc plane.
Permalink Reply by ZacCom on March 2, 2012 at 10:32am
Permalink Reply by Andrew Boos on March 2, 2012 at 10:38am This is my very simple application to send serial over the iPhone's 12 and 13 pins. The advantage of this method is that it would not require a separate microprocessor to send the serial data, instead the iPhone would do all the calculations and could even power the xbee.
Permalink Reply by Andrew Boos on March 2, 2012 at 10:40am Also, since i don't have the ardupilot yet, i'm still fuzzy on how to xbee communication works. I know its serial but is there like a list of commands?
I did find this though:
http://diydrones.com/profiles/blogs/ardupilot-telemetry-protocol
Permalink Reply by Don Brooks on March 2, 2012 at 11:25am Assuming you will use the Mission Planner, all of the mavlink commands that are passed to and from the APM over xbee are dealt with behind the scenes.It's all point and click.
Permalink Reply by Don Brooks on March 2, 2012 at 11:28am my bad, i should haver read the initial post more attentively. There is a full list of mavlink protocol commands somewhere in the wiki: http://code.google.com/p/ardupilot-mega/
Permalink Reply by Andrew Boos on March 2, 2012 at 12:01pm
Permalink Reply by ZacCom on March 2, 2012 at 1:28pm
Permalink Reply by Andrew Boos on March 2, 2012 at 1:41pm Kinda, but i had to write the "drivers" for the iPhone so that it can handle the UART serial data.
As you can see, I connect the "tx/rx" cables to the iPhone pinout along with the 3.3v and gnd. this allows me to communicate and power the arduino. I will eventually switch it for an xbee.
Also, have you gotten MAVlink to work on the arduino? I don't really understand the protocol at all.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.51 members
185 members
24 members
133 members
1298 members
© 2013 Created by Chris Anderson.
Powered by
