HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Jan 12, 2008, 04:03 AM
Registered User
kbosak's Avatar
Wrocław, Poland
Joined Jun 2007
696 Posts
Discussion
picoOSD DIY PIC12F683 based OSD in C

Hi, somebody did excellent job creating an example of source code for OSD that we can understand (in C language):
http://www.micro-examples.com/public...d-superimposer
see also
http://www.micro-examples.com/public...089-pic-pal-tv
kbosak is offline Find More Posts by kbosak
Reply With Quote
Sign up now
to remove ads between posts
Old Jan 12, 2008, 09:15 AM
Registered User
BushmanLA's Avatar
Joined Dec 2005
1,808 Posts
Whoa, nice find.

The 12F683 is one my favorite pics
I used it for my time fountain because it was just so cute and small and can even change clock speed on the fly.
My Time Fountain 00 (1 min 38 sec)


Too bad this is for PAL
BushmanLA is offline Find More Posts by BushmanLA
Reply With Quote
Old Jan 12, 2008, 11:01 AM
Registered User
Mark Harris's Avatar
Perth, Western Australia
Joined Apr 2007
1,207 Posts
I continue to be amazed by time mountains

The OSD however looks to me slightly useless. Perhaps you could mod the code to have the engine run on something with a higher clock speed so you dont end up with all of 3 lines of text, 8 columns of data or so available.
Mark Harris is offline Find More Posts by Mark Harris
Reply With Quote
Old Jan 30, 2008, 09:16 PM
just Sigve
sigve's Avatar
Norway
Joined Oct 2004
46 Posts
HI

very interesting project, could you explain a bit more in detail how the code works? (I know C programming)

As i understood you count the lines from the sync pulses, but how do you know when on the line to draw the line high for white or low for black?

shouldent the max voltage in PAL be 1V?

How many "pixels" are there in one line?

You have a 2D array (bitmap)for keeping track of where to put a pixel and functions for updating the array. The array is written to the screen at every new frame...right?

how does the WRITECHAR() function work?

thanks for sharing this great project!
sigve is offline Find More Posts by sigve
Reply With Quote
Old Jan 30, 2008, 09:52 PM
UNREGISTERED USER :)
New York
Joined Apr 2007
773 Posts
nice find! seems very cool althought I know not much about C programming.. You could get somewhere!


damian
damian123 is offline Find More Posts by damian123
Reply With Quote
Old Jan 31, 2008, 02:07 AM
Happy FPV flyer
Kilrah's Avatar
Switzerland
Joined Sep 2006
4,289 Posts
Quote:
somebody did excellent job
I.e. not him, so I doubt he will know the details without having to figure it out just like you
Kilrah is online now Find More Posts by Kilrah
Reply With Quote
Old Jan 31, 2008, 07:47 AM
Registered User
kbosak's Avatar
Wrocław, Poland
Joined Jun 2007
696 Posts
Quote:
Originally Posted by Mark Harris
The OSD however looks to me slightly useless.
I never said it is good for anything more than learning.
However for understanding the OSD internals, it's better than anything in assembler.
kbosak is offline Find More Posts by kbosak
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
350C EPS's in a C-160 lefeur GWS (Grand Wing Servo) 2 Jul 08, 2004 10:48 PM
Include Elevons in C.G. Calc? WrongwayFeldman Beginner Training Area (Aircraft-Electric) 2 Mar 13, 2004 04:26 PM
Help ID'ing Motor in C-130 AndyKunz Power Systems 16 Oct 19, 2003 02:49 AM
Is OK to continue pumping in C/10 charge rate after peak? Mitch G Power Systems 12 Dec 04, 2001 06:53 PM
twister in i.c. combat p471701 Electric Plane Talk 2 May 20, 2001 08:42 PM