SMALL - espritmodel.com SMALL - Telemetry SMALL - Radio
Reply
Thread Tools
Old Jul 25, 2011, 06:18 AM
Registered User
Joined Jun 2011
27 Posts
You said it's very hard to make these characters.
So I made a little program for doing this. I hope this could help you with the OSD development.

It's written in Java. So if you haven't installed it yet, go on www.java.com and download the Java Runtime (JRE). Then you can start it with a double click on the .jar file.
jflyer2 is offline Find More Posts by jflyer2
Last edited by jflyer2; Jul 25, 2011 at 07:30 AM.
Reply With Quote
Sign up now
to remove ads between posts
Old Jul 25, 2011, 06:43 AM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
809 Posts
Quote:
Originally Posted by jflyer2 View Post
You said it's very hard to make these characters.
Narh it's not very difficult, it's just take quite some time to test.

Quote:
Originally Posted by jflyer2 View Post
So I made a little program for doing this. I hope this could help you with the OSD development.

It's written in Java. So if you haven't installed it yet, go on www.java.com and download the Java Runtime (JRE). Then you can start it with a double click on the .jar file.
Wow, that's very nice
May I ask how long it took you to make that?

I have just tried it, and it works very well. Awesome
It's really nice that you can write the bit's directly like this;
0b00011111,0b11000000,
0b00011111,0b11000000,
0b11111111,0b11111000,
0b11111111,0b11111000,
0b11000000,0b00011000,
0b11000000,0b00011000,
0b11000000,0b00111000,
0b11000000,0b01111000,
0b11000000,0b11011000,
0b11000001,0b10011000,
0b11000011,0b00011000,
0b11000110,0b00011000,
0b11001100,0b00011000,
0b11011000,0b00011000,
0b11111111,0b11111000,
0b11111111,0b11111000,

Would you mind if I attach your program in post 1? It's a great tool for creatig graphic etc.
Dennis Frie is offline Find More Posts by Dennis Frie
Last edited by Dennis Frie; Jul 25, 2011 at 06:57 AM.
Reply With Quote
Old Jul 25, 2011, 07:17 AM
Registered User
Joined Sep 2010
2,411 Posts
Top notch work ... May i ask how is it with the compatibility of other gps's for example the dealextreme 21 dollar em-411..
msev is offline Find More Posts by msev
Reply With Quote
Old Jul 25, 2011, 07:33 AM
Registered User
Joined Jun 2011
27 Posts
I updated the program. It's now in this format.
You can put it in the first post.
jflyer2 is offline Find More Posts by jflyer2
Reply With Quote
Old Jul 25, 2011, 09:24 AM
FPV from Lithuania
vipix's Avatar
Lithuania
Joined Mar 2007
128 Posts
http://www.dealextreme.com/p/arduino-nano-v3-0-81877
http://www.dealextreme.com/p/em-411-...-chipset-80037

Can i use this stuff for yours OSD?
Also i want INA139 support
vipix is offline Find More Posts by vipix
Reply With Quote
Old Jul 25, 2011, 10:33 AM
Registered User
Joined Sep 2001
6,190 Posts
Quote:
Originally Posted by IceWind View Post
Hi Dennis,

Great project you got there, congrats!

Do you think there is still processing power/time free to be able to add a attitude indicator?

Graphically it needs to draw a cross and a line in the screen. Or a dotted line.



AS inputs it needs 2 analogic, that represent the reading for two axis from accelerometers.
I have similar working with the eagletree OSD and getting data out from my tricopter board. But the eagletree osd is too messy for the tricopter, to many wires and I need a cleaner and simple solution.
cactus is offline Find More Posts by cactus
Reply With Quote
Old Jul 25, 2011, 11:22 AM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
809 Posts
Quote:
Originally Posted by msev View Post
Top notch work ... May i ask how is it with the compatibility of other gps's for example the dealextreme 21 dollar em-411..
The GPS-reading should be compatible with more or less all standard GPS. Just be aware, that the analyzing of latitude an longitude needs to be updated. At the moment it assumes a flat earth with Denmark in center

It was just meant as a hobby project for myself and perhaps a friend or two. But as quite a few seems to be interested I might update the code to be more flexible.
But that want happen before I have tested it IRL a couple of times :P

These things should be updated for a more flexible solution. Feel free to help out.
  • NTSC support (I use PAL and as I don't have any NTSC cameras I want be able to make this)
  • Calculations done with latitude and longitude should be re-written to support a round earth
  • More flexible current calculation (Shouldn't take long)

Quote:
Originally Posted by vipix View Post
Wow, cheap Arduino.. Very nice. If AIN0, AIN1 and MOSI is breaked out you should be fine. I will have a look later and probably buy one
That would make a great and cheap solution (cheaper than Arduino Pro, and you don't need an external FTDI chip to program it)


Quote:
Originally Posted by jflyer2 View Post
I updated the program. It's now in this format.
You can put it in the first post.
Very nice, thanks a lot
Dennis Frie is offline Find More Posts by Dennis Frie
Last edited by Dennis Frie; Jul 25, 2011 at 12:02 PM.
Reply With Quote
Old Jul 25, 2011, 12:13 PM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
809 Posts
Quote:
Originally Posted by vipix View Post
AIN0, AIN1 and MOSI is available, so Arduino Nano should be a great choice as well.
With a 17 $ Arduino Nano and 23 $ GPS this could make a pretty cheap OSD

Now we just need a cheap current sensor. The one I use costs about 10 $
Dennis Frie is offline Find More Posts by Dennis Frie
Reply With Quote
Old Jul 25, 2011, 09:41 PM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
809 Posts
Just got an idea to simplify/change the circuit a little.
The diode used to generate the biasing voltage and reference voltage can be replaced with a filtered PWM output - which will give a DC-voltage. The DC-voltage can be directly controlled by changing the duty cycle of the PWM signal (to give a DC voltage from 0 - 5 volt).

I have made a few tests on breadboard, and I'm able to get a good synch with just 4 components. The RC-filter, a diode and the AC-coupling capacitor. A 10K (or something like that) pull-down resistor in the climping circuit might be a good idea.
To use as few components as possible I have used ground as reference voltage

This code can be used to generate fast PWM on pin 9 (OC1A/PB1)
TCCR1A =
(1<<COM1A0)|
(1<<COM1A1)|
(0<<WGM11)|
(1<<WGM10) ;

TCCR1B =
(1<<WGM12)|
(0<<CS12)|
(0<<CS11)|
(1<<CS10);

OCR1AL = 207; // Compare register - used to control voltage.
Dennis Frie is offline Find More Posts by Dennis Frie
Last edited by Dennis Frie; Jul 26, 2011 at 05:36 AM.
Reply With Quote
Old Jul 26, 2011, 07:03 AM
Expert
Joined Mar 2007
83 Posts
nice if you can make 8k version for hk e-osd
you first version i success ported to mega88
but 2.0 is too large (12k)
redsonic is offline Find More Posts by redsonic
Reply With Quote
Old Jul 26, 2011, 11:34 AM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
809 Posts
Quote:
Originally Posted by redsonic View Post
nice if you can make 8k version for hk e-osd
you first version i success ported to mega88
but 2.0 is too large (12k)
Can I ask how much you had to change to make it work with the HK e-osd? I suppose only the analog comparator vector had to be changed? Or does the HK e-osd use the analog comparator as well? In that case I guess it's more or less plug-n-play

The HK e-osd would be an easy hardware-solution, if just the RX and TX pin was available (Without modding) it would have been perfect. Unfortunately this is not the case.
If the RX and TX pin was available I would be happy to make a version for e-osd. But with limited pin-access and memory I don't plan to do any work on that. Sorry.

If you wan't to use V0_02 with the e-osd it shouldn't be very difficult to do a little cleaning and save some memory. But quite a few lines of codes have been added since V0_01
Dennis Frie is offline Find More Posts by Dennis Frie
Reply With Quote
Old Jul 26, 2011, 02:59 PM
Registered User
Joined Sep 2010
2,411 Posts
That arduino is really priced good, who's gonna be the guinea pig and try it out
msev is offline Find More Posts by msev
Reply With Quote
Old Jul 26, 2011, 03:05 PM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
809 Posts
Quote:
Originally Posted by msev View Post
That arduino is really priced good, who's gonna be the guinea pig and try it out
I ordered one yesterday - so guess that will be me
Dennis Frie is offline Find More Posts by Dennis Frie
Reply With Quote
Old Jul 27, 2011, 12:09 PM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
809 Posts
The OSD was tested shortly on a quad today. Unfortunately the RC-control glitched with a broken prop as result. So unfortunately only a quick test.

Anyway, it seems to work fine, but the characters at the top can be quite difficult to read with a white background. I might have to dim the background a bit.
Dennis Frie is offline Find More Posts by Dennis Frie
Reply With Quote
Old Jul 27, 2011, 04:16 PM
SILURIA / UK
Shikra's Avatar
United Kingdom
Joined Jun 2009
2,439 Posts
Quote:
Originally Posted by Dennis Frie View Post
AIN0, AIN1 and MOSI is available, so Arduino Nano should be a great choice as well.
With a 17 $ Arduino Nano and 23 $ GPS this could make a pretty cheap OSD

Now we just need a cheap current sensor. The one I use costs about 10 $
Even cheaper - Use the throttle position as a current draw indicator!
i.e. Y off the throttle and use the pwm signal as indicator of current. Cheaper, simple and pretty accurate. Surprised no other OSD;'s offer this option.
Shikra is offline Find More Posts by Shikra
RCG Plus Member
Latest blog entry: MultiWii OSD - MWOSD NG
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Diy osd karl k FPV Talk 2 May 03, 2011 12:31 AM
Idea New DIY OSD? atari7202 FPV Talk 1 Mar 25, 2011 12:08 AM
Discussion see my own diy OSD video Passion Aerial Photography 7 May 27, 2010 01:28 AM
Discussion REAL homebrew DIY OSD - Check it out! jafoca FPV Talk 8 Jun 29, 2009 06:52 PM
Discussion picoOSD DIY PIC12F683 based OSD in C kbosak FPV Talk 6 Jan 31, 2008 07:47 AM