Programing Ardu with original USB is easy - modyfications and compiling of sources in Ardu IDE is also easy .

First how to connect GPS from OSD to Ardupilot .
We must made a small hardware modyfication - add diode to suplly Vcc to GPS module and that all .
[img]http://rc-cam.info/files/dioda_213.jpg[/img]




Next thing is modyfication in software - so in easystar.h file we must modyfiy line for GPS configuration like that:
[code]#define GPS_PROTOCOL 0 [/code]

Then in GPS_NMEA file like on picture :
[img]http://rc-cam.info/files/symul_comment_740.jpg[/img]



On bottom we see information send by Ardupilot - all is working in simulation mode with OSD GPS emulator software using two OTi cables - one is playning GPS with GPS emulator from remzibiOSD PC programand another port is monitoring TX line of Ardupilot .
[img]http://rc-cam.info/files/s6301095s_117.jpg[/img]



Also GPS is working as well with Ardupilot :
[img]http://rc-cam.info/files/s6301098s_212.jpg[/img]



As on simulation picture there are ATL problem - all time is 0 so I must to look closer why , maybe this is Ardupilot normal work .

So in future - instead of monitoring cable will be pilot's TX to OSD's RX one connection to get Ardupilot data .
Ok first practical try is done :) - all works fine , for next I will made some debug printing from Ardupilot and will start practical Ardupilot-OSD cooperation .

Lastly - the main problem I have is a very short time I can spend for this nice playing with all this nice toys :) .

Views: 876

Comment by helitron on July 12, 2009 at 7:30am
remzibi,

glad to see you've found the time finally to play/work with ArduPilot. As a lucky owner of four ArduPilots and one remzibi OSD already, I'm still waiting hard for the "marriage" of those excellent gadgets. Good luck further on your great work ...

Erwin
Comment by helitron on July 12, 2009 at 7:38am
remzibi,

forgot to mention, would be great when it would be possible to use the ublox protocol also for both ArduPilot and remzibi OSD. Just received one of those new GPSRx with LEA-5H chipset and Helix antenna, recommended from Jordi: http://www.sparkfun.com/commerce/product_info.php?products_id=8889

Erwin
Comment by remzibi on July 12, 2009 at 7:58am
Yes - it will be possible to use any GPS , Ublox , SIRF binary or standard NMEA - all depends what GPS anybody have - with autopilot can be used any .
The idea is that autopilot work as "master" unit and OSD will serve as "slave display terminal" to display any data provided by autopilot by TX output , the ardupilot baud rate will be detected by OSD .
So my first try will be use the math of autopilot and provide only displaying ability and scalerd and calibrated ADC (this will remaid as is in OSD inputs) .
First problem why I have ALT as 0 all the time :) .
Comment by helitron on July 12, 2009 at 8:57am
remzibi,

great, thanks for the info, exactly what I wish to have :-).

Erwin

Developer
Comment by Jordi Muñoz on July 12, 2009 at 1:37pm
Hello Remzibi!

"As on simulation picture there are ATL problem - all time is 0 so I must to look closer why , maybe this is Ardupilot normal work" The Ardupilot"

You mean ALT? Ardupilot always zero your altitude. =)

This Monday i will ship your Infrared sensors!
Comment by remzibi on July 12, 2009 at 1:59pm
That explain me ALT problem :) (no problem) .
Thanks for IR , confirm on my email when you got package from me :) .
Comment by helitron on July 13, 2009 at 7:04am
@Jordi,

a bit off topic question, from where have you got this nice black cap for the helical antenna of the ublox GPS-Rx ? Have got one but with the naked antenna only (I know you mentioned that before).

Erwin

Developer
Comment by Jordi Muñoz on July 13, 2009 at 9:40am
I dont know! Sparkfun just stop giving it for free.
Comment by helitron on July 13, 2009 at 11:03am
Thanks Jordi !

Erwin

Developer
Comment by Mark Colwell on July 13, 2009 at 2:51pm
I shrink wrapped mine, not water tight, but protects unit.

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service