cancel
Showing results for 
Search instead for 
Did you mean: 

Vector Graphics for HUD/OSD

TJewe
Associate

Hey there,

​I'd like to start by presenting my overall goal. Attached to this post is a screenshot of a flow chart representing the functionality of a flight controller I'm working on. I'm currently working on the OSD which consists of a video overlay of telemetry data. This circuit is intended to be a standalone microcontroller acting as a slave to the main flight controller and will sync to the vertical sync of the incoming video, and overwrite pixels to display data before the signal reaches a video transmitter that broadcasts. I've been playing with an open source design with included code and have got the concept working reliably, but this program is simplistic and only contains character data. This alone is pushing my Arduino nano to it's max RAM and Flash cap.

My end goal with the OSD is to use an STM32Fx series MCU in place of the AVR MCU which would enable me to use some graphical representation of pitch and roll in the center of the video stream. An example being a left and right bracket centered on the screen, rotating clockwise and counterclockwise to represent roll while contained within that, a series of stacked horizontal lines scrolling up and down in and out of view to represent pitch. ​Im familiar with printing bit graphics, but what I'm talking about doing would require functions or something of the sort. I've searched through Google trying to find a guide or example documented somewhere, but haven't yielded any results. Could someone point me in the right direction where I might be able to read up on this? Thank you in advance for your time and help.

Below is an example of exactly what I'm trying do, heh​

https://youtu.be/q-fT2AT0VrE

1 REPLY 1
TModj.1
Associate II

Here is a link to my STM32G701 based OSD project with a schematic, It also has a reference F722 flight controller design.

Hope it helps.

https://www.moddquad.com/

Quad video of the OSD/FC

https://youtu.be/MtMT04ecjL4