Interested in doing video overlay ? SX Video OSD Module is now "open source" !
Bean
Posts: 8,129
Hey fellow SX'ers. I have decided to make the SX-Video OSD module "open source".
If you are interested (or if you just want to see some kickass SX/B code) you can download the schematic and SX48 source code for free.
Schematic: http://user.pa.net/~bean/sxvm/SXOSD%20Schematic%20Rev%20A.pdf
Source code: http://user.pa.net/~bean/sxvm/SX%20Video%20OSD%20&%20Display%2024x8%20Rev%20B.SXB
PAL Source code: http://user.pa.net/~bean/sxvm/SX%20Video%20OSD%20&%20Display%2024x8%20PAL%20Rev%20B.SXB
Enjoy, Bean.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
Post Edited (Bean (Hitt Consulting)) : 10/24/2006 12:10:38 PM GMT
If you are interested (or if you just want to see some kickass SX/B code) you can download the schematic and SX48 source code for free.
Schematic: http://user.pa.net/~bean/sxvm/SXOSD%20Schematic%20Rev%20A.pdf
Source code: http://user.pa.net/~bean/sxvm/SX%20Video%20OSD%20&%20Display%2024x8%20Rev%20B.SXB
PAL Source code: http://user.pa.net/~bean/sxvm/SX%20Video%20OSD%20&%20Display%2024x8%20PAL%20Rev%20B.SXB
Enjoy, Bean.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
Post Edited (Bean (Hitt Consulting)) : 10/24/2006 12:10:38 PM GMT
Comments
I've got some LM1881's in my parts bins.
Question: D1 can that be something like a 1N914 or 1N4148?
Also in the attached schematic, should the wiper of VR1 be connected to R9 like this?
Thanks!
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"OEM NMEA GPS Module" Now available on ebay for only $17.49
Product web site: http://www.allsurplus.net/Axiom/
Let me know if you make something interesting.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
"Ability may get you to the top, but it takes character to keep you there."
·
Thanks,
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"OEM NMEA GPS Module" Now available on ebay for only $17.49
Product web site: http://www.allsurplus.net/Axiom/
Looks like I've got the circuit and code working, but have noticed something.
I'm using a 1N4148 for D1, the only way I can get it to display anything is to short the diode (close SW1-1 DIM BACKGROUND). Is it supposed to work that way?
<EDIT>
If overlaying on top of video, I have to close SW1-1, If not overlaying then it does not matter.
</EDIT>
BTY: I'm using a terminal program right now to send characters to the overlay board, so R8 to ground is not installed.
Other changes were:
1. Did not have a 680K for R5 used a 470K & 220K in series.
2. Did not have a 510 pF for C7·used a 539 pF.
3. Running on a SX52 Proto Board, w/Parallax 50 MHz resonator (SIP), If I put the R2 (10K) in parallel with the resonator it won't boot, so did not install this part.
Did change the following line in the code:
DEVICE SX48, OSCHS1, BOR42, PROTECT
to:
DEVICE SX52, OSCHS1, BOR42
Otherwise GREAT STUFF!
Thanks Again,
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"OEM NMEA GPS Module" Now available on ebay for only $17.49
Product web site: http://www.allsurplus.net/Axiom/
Post Edited (Mike Cook) : 2/12/2006 5:35:29 PM GMT
Was there a reason why this was not developed with an SX-28?
Thanks.
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"OEM NMEA GPS Module" Now available on ebay for only $17.49
Product web site: http://www.allsurplus.net/Axiom/
···
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"OEM NMEA GPS Module" Now available on ebay for only $17.49
Product web site: http://www.allsurplus.net/Axiom/
About the diode ? I have it reversed on the schematic. I'll have to fix that. And of course I can take "PROTECT" out of the device line.
Are you thinking of combining the overlay with your GPS modules ?
I want to see a picture with overlay (image in the background) [noparse];)[/noparse]
Timothy,
The SX28 doesn't have enough code space or RAM.
[noparse][[/noparse]edit]
schematic fixed... Sorry Mike.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
"Ability may get you to the top, but it takes character to keep you there."
Post Edited (Bean (Hitt Consulting)) : 2/12/2006 9:26:10 PM GMT
I can probably rig up something with one of my GPS modules, to overlay location and other values. I'll need to make this overlay board permanent. I wanted to construct it on a bread board first to see if I could replicate your work.
I'll see what I can come up with and post to this thread.
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"OEM NMEA GPS Module" Now available on ebay for only $17.49
Product web site: http://www.allsurplus.net/Axiom/
Post Edited (Mike Cook) : 2/12/2006 9:46:36 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Now I need to get to work on the GPS board to send data to the OBD board.
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"OEM NMEA GPS Module" Now available on ebay for only $17.49
Product web site: http://www.allsurplus.net/Axiom/
What changes would need to be made for PAL based signal?
Good thing I can hand solder most smd footprints now [noparse]:o[/noparse]
thank you for the post though
MM
And I am working on a high resolution overlay module (256x192 pixels). So as soon as I get a chance, I will put the source code back on. Give me a day or two.
K_Man,
· It will work with PAL in overlay mode. Just not in generate mode (no video input). I have code that SHOULD work to generate PAL, but it hasn't be thoughly tested.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
Post Edited (Bean (Hitt Consulting)) : 10/24/2006 1:26:01 AM GMT
Anyways, thats good news that the links will be back up.
Harrison
I added a link to the PAL version of the source code too.
Here are the preliminary specs of the new module:
· True·256(H) x 192(V) resolution. Black(transparent) and white only.
· On-board 32K SRAM for multiple(4) video pages (you can draw on one page while another is displayed)
· On-board 64K EEPROM·that can store·8 video pages and the character set.
· The character set is modifiable by using serial commands. (You don't need to reprogram the SX).
· Commands to draw lines and circles.
· Very low power (shooting for 50mA @ 3.3V)
··On-board voltage regulator (runs from 3.6V to 9V)
Enjoy everyone. Long Live SX/B...
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
Post Edited (Bean (Hitt Consulting)) : 10/26/2006 8:09:21 PM GMT
Way cool sharing this - especially the PAL stuff for us Europeans!
Questions
- I see you only pickup the sync (pin1) and the page (pin7) from the LM1881 sync chip? I assume then that's all thats needed to get the overlay in the right place?
- Would this work (the circuit at least) on the Propeller? Or at least can you see any issues?
Something like the attached circuit?
Long live the SX and Propellers!
Cheers,
James
EDIT - added circuit diagram
Post Edited (Javalin) : 11/2/2006 8:03:51 PM GMT
All you need is SYNC from the LM1881. The page just goes to a pin for the user to sample.
On the SX I use SYNC to generate an INTERRUPT (on the propeller you would just use WAITPEQ).
When SYNC goes low, you wait a little while (6uSec I think), and if the SYNC is still low then you are in vertical blanking, so you reset your line counter.
If SYNC is no longer low, then you are on a video line. You increament the line counter and output pixels as needed.
I'm sure it could be done on the propeller, but I just don't have time right now to do it.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
·