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

// 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.



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



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


Views: 3827

Comment by Matthias Badaire on May 17, 2011 at 5:23pm

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
Is it posdible to configure the osd layout bin as usual in Remzibi software? I cant seem to change the position of the mode switch display.
Comment by Matthias Badaire on May 18, 2011 at 12:36am

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("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 Matthias Badaire on May 18, 2011 at 1:29am

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 Matthias Badaire on May 18, 2011 at 5:48am

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.

Comment by Paul Mather on May 18, 2011 at 8:14am

It looks like you might have your pitch and roll negative. The artificail horizon is backwards.... but that's an easy fix.


Nice work!

Comment by Matthias Badaire on May 18, 2011 at 8:18am

The video is outdated but the code is ok. I flew yesterday and it is fine, the AH is correct now.

Comment by Mark Colwell on May 18, 2011 at 8:32pm

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!

Comment by Didier on May 19, 2011 at 7:15am
Hi Matthias,
Many thanks for the update but unfortunately i have no spare times during the past few days and i will try ASAP when my job will give a piece of mind.
Comment by Juampa on May 31, 2011 at 6:47am

Good work! I'm trying to upload the sketch to APM 1280 board but I can't get it.

Is anyone getting this? Are you using 2560 boards?

Binary sketch size: 124510 bytes (of a 126976 byte maximum)
avrdude: verification error, first mismatch at byte 0x1e000
         0x74 != 0xff
avrdude: verification error; content mismatch


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

Join DIY Drones

© 2015   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service