picoOSD DIY PIC12F683 based OSD in C - RC Groups
Thread Tools
Jan 12, 2008, 05:03 AM
Registered User
kbosak's Avatar
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
Sign up now
to remove ads between posts
Jan 12, 2008, 10:15 AM
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
Jan 12, 2008, 12:01 PM
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.
Jan 30, 2008, 10:16 PM
just Sigve
sigve's Avatar
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!
Jan 30, 2008, 10:52 PM
UNREGISTERED USER :)
nice find! seems very cool althought I know not much about C programming.. You could get somewhere!


damian
Jan 31, 2008, 03:07 AM
Happy FPV flyer
Kilrah's Avatar
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
Jan 31, 2008, 08:47 AM
Registered User
kbosak's Avatar
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.


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