HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Aug 17, 2011, 01:59 PM
CL-OSD developer
Sverige, Östergötlands Län, Linköping
Joined Apr 2011
279 Posts
Discussion
CL-OSD a open source osd software for E-OSD and G-OSD

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:

(A beer is about 7$ at the pub and $3 in store here in Sweden)
callelj is offline Find More Posts by callelj
Last edited by callelj; Sep 09, 2011 at 07:29 AM. Reason: Added donation (take 4)
Reply With Quote
Sign up now
to remove ads between posts
Old Aug 17, 2011, 02:48 PM
Registered User
Nobert's Avatar
Tucson Avra Valley, Arizona, United States
Joined Jul 2002
1,447 Posts
Great job. Thanks for sharing.
Neal
Nobert is offline Find More Posts by Nobert
Reply With Quote
Old Aug 17, 2011, 02:56 PM
Registered User
Joined Jun 2010
560 Posts
nice one! wish i had an avr programmer here ...
nabazul is offline Find More Posts by nabazul
Reply With Quote
Old Aug 17, 2011, 03:31 PM
RC pilot by soul
Israel
Joined Apr 2005
2,400 Posts
Very nice ! so you expect to have a home arrow in the software also ? that would make the G-OSD much more valueable !
i3dm is offline Find More Posts by i3dm
Reply With Quote
Old Aug 17, 2011, 03:36 PM
CL-OSD developer
Sverige, Östergötlands Län, Linköping
Joined Apr 2011
279 Posts
i3dm: That is one of the goals. Some work left though...
callelj is offline Find More Posts by callelj
Reply With Quote
Old Aug 17, 2011, 03:41 PM
RC pilot by soul
Israel
Joined Apr 2005
2,400 Posts
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.
i3dm is offline Find More Posts by i3dm
Reply With Quote
Old Aug 17, 2011, 05:45 PM
Registered User
USA, CA, Fontana
Joined Mar 2005
1,069 Posts
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.
actionplus is online now Find More Posts by actionplus
Reply With Quote
Old Aug 17, 2011, 05:55 PM
CL-OSD developer
Sverige, Östergötlands Län, Linköping
Joined Apr 2011
279 Posts
You can use the STK500 board.
Here is the programming pins (same order as E-OSD):
callelj is offline Find More Posts by callelj
Reply With Quote
Old Aug 17, 2011, 09:19 PM
Registered User
Joined Aug 2011
11 Posts
Hi, What type of AVR does it use? ATMEGA8 etc..?
PSI. is offline Find More Posts by PSI.
Reply With Quote
Old Aug 17, 2011, 11:25 PM
Registered User
United States, TX
Joined Oct 2010
331 Posts
Well Done!

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???
Slaphappysamy is offline Find More Posts by Slaphappysamy
Reply With Quote
Old Aug 17, 2011, 11:30 PM
Rather be flyin
tom83's Avatar
Tucson, Arizona
Joined Mar 2008
451 Posts
Subscribed!
tom83
tom83 is offline Find More Posts by tom83
Reply With Quote
Old Aug 18, 2011, 01:15 AM
Registered User
schumixmd's Avatar
Moldova
Joined Jun 2010
747 Posts
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?
schumixmd is online now Find More Posts by schumixmd
RCG Plus Member
Old Aug 18, 2011, 01:38 AM
Registered User
USA, CA, Fontana
Joined Mar 2005
1,069 Posts
Thanks

Quote:
Originally Posted by callelj View Post
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.
actionplus is online now Find More Posts by actionplus
Reply With Quote
Old Aug 18, 2011, 01:50 AM
Registered User
foot8sativa's Avatar
New Zealand
Joined Mar 2009
190 Posts
would a compass be a good idea?

very interested in your work.
foot8sativa is offline Find More Posts by foot8sativa
Reply With Quote
Old Aug 18, 2011, 02:12 AM
CL-OSD developer
Sverige, Östergötlands Län, Linköping
Joined Apr 2011
279 Posts
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.
callelj is offline Find More Posts by callelj
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Build Log Super OSD ($90): Open Source Graphic OSD: Vario, 6xADC, Games, Datalog, Dual Video tom66 FPV Equipment 1927 Apr 03, 2013 09:45 AM
Discussion Open Source Remote Control System (OSRC) Gizmoman31 Radios 152 Apr 24, 2012 06:01 PM
Discussion Open source OSD for FPV UFO_MAN FPV Talk 75 Sep 07, 2011 02:03 PM
Question Open Source Octo Design Available...Looking for someonw who can cut a copy for me... Schatham421 Multirotor Talk 14 Apr 12, 2011 05:22 PM