New Products Flash Sale
Thread Tools
Old Jan 12, 2008, 05:03 AM
kbosak is offline
Find More Posts by kbosak
Registered User
kbosak's Avatar

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):
see also
Sign up now
to remove ads between posts
Old Jan 12, 2008, 10:15 AM
BushmanLA is offline
Find More Posts by BushmanLA
Registered User
BushmanLA's Avatar
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
Old Jan 12, 2008, 12:01 PM
Mark Harris is offline
Find More Posts by Mark Harris
Registered User
Mark Harris's Avatar
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.
Old Jan 30, 2008, 10:16 PM
sigve is offline
Find More Posts by sigve
just Sigve
sigve's Avatar

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!
Old Jan 30, 2008, 10:52 PM
damian123 is offline
Find More Posts by damian123
nice find! seems very cool althought I know not much about C programming.. You could get somewhere!

Old Jan 31, 2008, 03:07 AM
Kilrah is offline
Find More Posts by Kilrah
Happy FPV flyer
Kilrah's Avatar
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
Old Jan 31, 2008, 08:47 AM
kbosak is offline
Find More Posts by kbosak
Registered User
kbosak's Avatar
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.

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 11:48 PM
Include Elevons in C.G. Calc? WrongwayFeldman Beginner Training Area (Aircraft-Electric) 2 Mar 13, 2004 05:26 PM
Help ID'ing Motor in C-130 AndyKunz Power Systems 16 Oct 19, 2003 03:49 AM
Is OK to continue pumping in C/10 charge rate after peak? Mitch G Power Systems 12 Dec 04, 2001 07:53 PM
twister in i.c. combat p471701 Electric Plane Talk 2 May 20, 2001 09:42 PM