RC Groups

RC Groups
    FPV Equipment
        Discussion CL-OSD a open source osd software for E-OSD and G-OSD

#1 callelj Aug 17, 2011 01:59 PM

CL-OSD a open source osd software for E-OSD and G-OSD
 
1 Attachment(s)
Hi all!

I recently bought an E-OSD and a G-OSD but was very disappointed at finding out that it was missing an arrow home.

So what to do when you know AVR’s and hardware? I made my own software for both! And since I’m not going to make any money of it, I released the full source code under GPL v2 at google code.

So far I have Text, some graphics, ADC input, time and GPS data. Next to do is making a nicer presentation of everything with an arrow home. Right now is mostly a debug printout. I will try to work on getting the last pieces into place but like any programmer knows the last 20% takes 80% of the time. ;-)

I have looked a lot at MegaPirateOSD by Syberian and use his character data (have already checked with him). The main difference is that I rewrote all of the code to make it as customizable as possible.

I had some problems with the optimizer when I tried to split into several c and h files. Since optimization is done on each c file in gcc the code got really large so I was forced to put all code into the headers. Not the best solution but it works. If anyone knows a solution please tell me.

Code is located here.

And yes I know the name sounds like "closed" but I promise it's open. :)

/Calle

If you like this project, buy me a beer:
https://www.paypalobjects.com/en_US/...onateCC_LG.gif
(A beer is about 7$ at the pub and $3 in store here in Sweden)

#2 Nobert Aug 17, 2011 02:48 PM

Great job. Thanks for sharing.
Neal

#3 nabazul Aug 17, 2011 02:56 PM

nice one! wish i had an avr programmer here ...

#4 i3dm Aug 17, 2011 03:31 PM

Very nice ! so you expect to have a home arrow in the software also ? that would make the G-OSD much more valueable !

#5 callelj Aug 17, 2011 03:36 PM

i3dm: That is one of the goals. Some work left though...

#6 i3dm Aug 17, 2011 03:41 PM

That would be great if possible. i have an AVR programmer at hand and if you can write a code with a home arrow (i would leave GPS coordinates on the screen too - good if you loose a plane) i would definitely get one G-OSD to try with the new code.

#7 actionplus Aug 17, 2011 05:45 PM

Thanks
 
This is good. At least we have someone helping with the G-OSD too.
I have a STK500 and also a FTDI board.
Would either one work to program the G-OSD?
Let me go to your link and see if there is any instructions on how to connect to the uC.

#8 callelj Aug 17, 2011 05:55 PM

1 Attachment(s)
You can use the STK500 board.
Here is the programming pins (same order as E-OSD):

#9 PSI. Aug 17, 2011 09:19 PM

Hi, What type of AVR does it use? ATMEGA8 etc..?

#10 Slaphappysamy Aug 17, 2011 11:25 PM

Well Done!:popcorn:

I would love to be able to set my default altitude and also change to Mph and feet.

You think you could have it tell me when my beer fridge is running low???

#11 tom83 Aug 17, 2011 11:30 PM

Subscribed!
tom83

#12 schumixmd Aug 18, 2011 01:15 AM

HI,

thanks callelj
I definitely will give it a try this evening.
and
First question.. will this code work on E-OSD too if we solder Rx and Tx pins for GPS?
Second question.. are GPS coordinates Google Earth compliant?

#13 actionplus Aug 18, 2011 01:38 AM

Thanks
 
Quote:

Originally Posted by callelj (Post 19072579)
You can use the STK500 board.
Here is the programming pins (same order as E-OSD):

Thanks for the setup pic.
Just went to the code site. I am assuming you have not uploaded file yet. Hopefully when you do, please post the settings for the AVR programming software settings too, like the fuse and so forth.

#14 foot8sativa Aug 18, 2011 01:50 AM

would a compass be a good idea?

very interested in your work.

#15 callelj Aug 18, 2011 02:12 AM

Slaphappysamy: I will put that on my todo list.

schumixmd: I think it would work, some changes in the code might be needed. I could make a E-OSD+ target. I dont know if it's google earth compliant. How do they look?

actionplus: There is code uploaded under Source->Browse. I have also pre-compiled for both targets. I have not changed my fuses so unless you accidentally change them it will work. But I will look at what they are.

foot8sativa: A compass would be great to make a home arrow better. But right now I will focus on the basics.

BTW: Don't try to use the G-OSD hex on E-OSD or the other way around since pins are different and you might (not likely) break your board.


All times are GMT -5. The time now is 03:48 AM.