1/ Software Update on the integration of Remzibi OSD and APM
I am just updating Blake's and binzi's Blog contents: Blake and binzi
I do not know how to make a firmware for APM Planner, so you will need to use Arduino GUI tool
Replace your ArduPilotMega folder with the ArduPilotMega folder from APM2.1.2-OSD.zip: APM2.1.2-OSD.zip
Configure the APM_Config.h to your need
//to deactivate use OSD_PROTOCOL_NONE
//#define OSD_PROTOCOL OSD_PROTOCOL_NONE
#define OSD_PROTOCOL OSD_PROTOCOL_REMZIBI
// port 3 is the telem port on the shield
#define OSD_PORT 3
// set a radio switch to activate/deactivate the OSD output :
// below 1450 will display the OSD
// above 1450 will stop displaying the OSD
#define OSD_MODE_CHANNEL 6
// choose your unit to display the disctance to waypoint in feet or meter
#define OSD_UNIT OSD_UNIT_METER
//#define OSD_UNIT OSD_UNIT_FEET
Then follow the normal process from the wiki above.
http://code.google.com/p/ardupilot-mega/wiki/Code
2/ Hardware
To connect your APM with the Remzibi OSD, you need to have a cable from Telem port to Remzibi GPS port. GND and TX (from APM) are enough.
If you do not see any OSD info at first, stop your camera feed to see if the OSD shows up anything. You might be starting in the wrong TV mode (PAL/NTSC). You just have to push the OSD button for about 1 second.
3/ Remzibi
You need to use Remzibi OSD software from Remzibi site and update your layout with APM.bin and flash the firmware using ARDU firmware (Announcement) in the same software.
Note: for metric or feet units , be carefull to use the right unit in the Remzibi OSD software. You need to change the APM_Config.h for feet/meter of the next waypoint in the status at the bottom
4/Usage
Once everything is connected, normally the APM sets HOME for the OSD once it gets a GPS_fix. If you connected your OSD after that, then you can just push the OSD button once to force the HOME location on the OSD.
The arrow and distance from home will always display home direction and distance to home direction. It won't show the next waypoint direction (too complicated yet )
5/ what's new
I have updated all the units and it should be displaying proper values now
Forgot to add :
You need to change the following if you want the OSD to show Meters or feet
int nMeters=0; //Change this to 1 for meters, 0 for feet
Comment by Kevin Vertucio on May 17, 2011 at 8:06pm The mode switch display is not a standard remzibi information, therefore we have to add it explicitly in APM code.
void print_osd_data(void)
{
...
SendSer("$M");
SendSer("83"); // Hex Column (01h - 1Eh) for small fonts add 80h (81h - 9Eh)
SendSer("0C"); // Hex Row (01h - 0Dh for NTSC, 01h - 10h for PAL)
SendSer("E9"); // Hex address of First Character
SendSer("00"); // Hex address of Last Character
Column 0x83 - 0x80 (small font) = 3
Row 0x0c = 1
All the messages type are in the ARDUV1_71.zip at http://www.rcgroups.com/forums/showpost.php?p=10512929&postcount=1
Comment by Johann Van Niekerk on May 18, 2011 at 12:40am Hi Matthias
Thank you for the update, I just finised installing Ritchie awesome camera code and next step is the remzibi library , one question do you think the Simple osd connected in the same way will work the same?
Regards
Johann
Not quite sure which "Simple OSD" you are talking about (Flytron ?) but currently the protocol being used is Remzibi specific and would not work on anything else except if it specifically programmed for.
I am begging Flytron to release an open source version of his firmware to make this possible but to not avail yet.He is talking about summer or after summer.
There should be way to send NMEA sentences from APM to any OSD but we need to know what each OSD needs (NMEA protocol is extremly flexible)
Comment by Johann Van Niekerk on May 18, 2011 at 4:24am Don't get me wrong, the OSD is meant to become open source in the future. Flytron is commited to open-source (look at open-lrs) and I have huge respect for them thanks to this and bought lots of stuff from them. It needs work to make it arduino compliant though as it is low-level closed-code for the moment
Currently I used the telem port for OSD and it do not if using xbee stuff at the same time works on not. some people may have tried.
Remzibi OSD accepts analog input like RSSI to be showed on the screen out of the box (check on RC group).It should be possible to route all the RSSI signals through the analog port on APM and display them on the OSD as well. I am just not sure about the advantages of doing this.
It looks like you might have your pitch and roll negative. The artificail horizon is backwards.... but that's an easy fix.
Nice work!
The video is outdated but the code is ok. I flew yesterday and it is fine, the AH is correct now.
Glad to see you fly with OSD !
You can add pins to port 0 send TM down to GCS. I send at 38400 but 57600 will work too.
Good work!
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.671 members
183 members
1278 members
182 members
24 members
© 2013 Created by Chris Anderson.
Powered by

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