FY21AP FY31AP FY-DOS autopilot and remzibiOSD

Well, here become enough brave man who send me his beloved FY21AP for testing possibility to connect OSD to this autopilot device.

Thanks to him I was able to test new firmware for OSD wrote to work with FY21AP module.

Tested and work also with FY31AP , so FY21 and FY31 have the same data format.

There is confirmation that OSD works well also with FY-DOS unit .

So in OSD we do NOT need to change eeprom(BIN file) , only firmware update must be done by firmware updater or Megaload .

For better layout setting you can use new .lay file to see AH moving bars , to download please look at a. Additions

At the middle of screen layout should be some space (as for Ardupilot or MWC version) to show Artificial Horizon (AH) what is supported by FY21AP sending pitch and roll data .

Connection for FY21AP is very easy - cable between TX from UART of FY21 to RX line of UART of OSD - that all :

If FY21 and OSD are supply by separate two battery then also GND of both units must be connected for proper work (if GND of both not already connected) :

Because some GUI modification need for add more info on screen I made firmware using normal eeprom(BIN file) of OSD .

For FY21 modes I add pictures right after home arrow (pointing to home always) .

- This firmware is made for cooperation with FY21AP FY31AP autopilot device supporting his communication protocol .

- EEPROM is the same as for regular OSD however at middle of screen will be Artificial Horizon, as FY21AP deliver data for pitch and roll , so made some space .

- OSD NOT send configuration commands for GPS after power-up

- OSD do NOT display MAXIMUM values

- OSD do NOT autodetect UART hardware baudrate, is hardcoded to 19200 - speed of FY21AP

- units: meters or feet works as should ,

- Speed is taken from FY21AP, providing speed at 0.1m/s

so is changed for Knots (* 0.194384449244) as from regular NMEA GPS and then displayed as in regular OSD

unit choosing procedure "Mph" or "km/h" , and "meters" or "feet" for others (distances,alt etc) .

- to display FY21AP working modes, pictures are added to home arrow

so right after Home Arrow:

for SW1 mode:

.when manual mode - no picture

.when autostabilization - is horizontal bar

.when AltHold(FY21AP) or Path(FY31AP) - is full arrow UP

for SW2 mode:

.when RTH(Return to Home) - is home picture

.when circling around point - is circle arrow

- Distance to home and arrow to home and vario is counted by OSD as in regular work .

- Altitude is taken from FY21 barometric sensor

- Course is taken from FY21

- UTC date and time is taken from FY21 and works as in normal OSD mode.

- OSD made Home Save as button press or made Autosave after 7-9 sat are seen(set in GUI as in normal OSD mode).

- all ADC and T0 frequency meter works as normal OSD mode .

TODO:

- in future will be possible add new info like waypoints but this need GUI modification also separate info for work modes .

-------------------

NOTICE - display problems .

If with new firmware in OSD , you encounter crazy characters, in upper left corner in the first row there are blinking signs, then as solution use one of BIN file dowloaded from HERE 1_75_test_PAL.zip or 1_80_test_F16_PAL.zip , you can use those bins as base for your own modifications of layout .

This firmware use EEPROM (BIN file) for normal OSD , so nothing must be done except changing firmware only .

For better layout setting you can use new .lay file to see AH moving bars , to download please look at a. Additions

-------------------

In package is also version of (ON/OFF) possible to turn ON and OFF OSD layout using ADC5 alarm as trigger . So ON and OFF by voltage at ADC5 input

Nice movie , flight of user "alorrac" with FY21for 7.5km