Shop OBEX P1 Docs P2 Docs Learn Events
Video overlay with prop for the AutoProp8 autopilot — Parallax Forums

Video overlay with prop for the AutoProp8 autopilot

Ole Man EarlOle Man Earl Posts: 262
edited 2009-07-24 17:40 in Propeller 1
I know its been done. I have an LM1881 sync separator chip. I want to overlay the TV video I am generating now on top of some camera video. How do you sync the two? How to 'paint' the prop generated video ? This is for my autopilot project

Post Edited (Ole Man Earl) : 5/7/2009 1:58:40 AM GMT
«134

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-05-04 03:44
    Bean (Hitt Consulting) has had a Propeller video overlay module. The schematic and software were open source. He seems to have closed up shop, but here's the stuff from his website that I downloaded some time ago. I believe he was using an improved version of the LM1881.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-05-04 03:47
    I don't know that he's actually closed up shop. Although the website seems to be down right now, a whois query reveals that he renewed the domain name just last month.

    -Phil
  • Mike GreenMike Green Posts: 23,101
    edited 2009-05-04 03:51
    SparkFun has a couple in stock as well as a couple of his Prop Dongle boards and a couple of his SX-based video overlay devices.

    His website did say that he's no longer selling products through his website as of April 1st according to a snapshot by Google.
  • mctriviamctrivia Posts: 3,772
    edited 2009-05-04 04:26
    renewel of domain can mean nothing. i have several domains set to auto renew every year.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
  • Ole Man EarlOle Man Earl Posts: 262
    edited 2009-05-04 19:08
    I got it working using an LM1881 and his HITT_Video_overlay_012 code. Works ok, but still has some problems. Gotta run right now, but I will be back tonight.
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2009-05-04 19:17
    Mike said...
    His website did say that he's no longer selling products through his website as of April 1st according to a snapshot by Google.
    ]Hitt Consulting said...
    Hitt Consulting Home Page

    We are sorry, but we are no longer selling products as of April 1, 2009.
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Aka: CosmicBob
  • hover1hover1 Posts: 1,929
    edited 2009-05-04 20:38
    Ole Man Earl said...
    I know its been done. I have an LM1881 sync separator chip. I want to overlay the TV video I am generating now on top of some camera video. How do you sync the two? How to 'paint' the prop generated video ? This is for my autopilot project
    @ Old Man Earl· ·I believe Bean switched over to: The EL1883·because it works at 3.3V. The LM1881 requires 5 volts.

    EL1883 still seems to be a current product from Intersil. LM1881 still works, but for future projects I'll opt for the EL1883.

    Regards,

    Jim


    ·
  • Ole Man EarlOle Man Earl Posts: 262
    edited 2009-05-05 00:20
    Yea, I am gonna order a few 1883's cause of the 3.3v operation.
    Anyone else need one ?
    Here is a crappy screen shot of the overlay...

    Post Edited (Ole Man Earl) : 5/5/2009 1:07:39 AM GMT
    607 x 480 - 74K
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2009-05-05 01:19
    in the meantime you can get some data on Beans HC-OSD here ..

    www.igniteautomation.com/hc-osd.html

    Regards,
    John

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Necessity is the mother of invention'

    Those who can, do.Those who can’t, teach.
  • Ole Man EarlOle Man Earl Posts: 262
    edited 2009-05-05 01:25
    I think I have figured out how to use it ! See picture above. Now to put in lines, circles bars etc...Maybe an artificial horizon ? How about an arrow pointing to point of launch...
    Any other ideas ?
    BTW, this takes up about the same room as tv.text that I don't need now AND it only takes up 2 PINS.

    Another pic here
    You can see even in a bright area of the screen the data comes thru...

    Post Edited (Ole Man Earl) : 5/5/2009 2:09:09 AM GMT
    1600 x 1200 - 435K
  • PhilldapillPhilldapill Posts: 1,283
    edited 2009-05-05 03:39
    Earl, is the image on the screenshot an actual photograph overlay, or is that a glare image of your surroundings?
  • Ole Man EarlOle Man Earl Posts: 262
    edited 2009-05-05 03:49
    The data is overlayed on a very bad camera. There is glare on the camera lens. The screen is a 22" monitor
    The LM1881 chips composite output pin 1 goes to pin 0 of the prop. pin 1 of the prop go to a video out connector. The camera input connector has a 47 ohm resister to the output jack and a connection to pin 2 of the LM1881. Sounds complicated, but this is simpler than using tv.text object !
    here is another shot while I look for a better camera !

    Post Edited (Ole Man Earl) : 5/5/2009 4:20:18 AM GMT
    1600 x 1200 - 588K
    1600 x 1200 - 493K
  • Ole Man EarlOle Man Earl Posts: 262
    edited 2009-05-05 04:23
    The JVC camera overlays almost overwhelm my prop overlays.Jvc in foreground and me taking picture of monitor with my iPhone.
  • heaterheater Posts: 3,370
    edited 2009-05-05 06:09
    Earl that looks great. Any chance of a schematic when your done?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • Ole Man EarlOle Man Earl Posts: 262
    edited 2009-05-05 16:54
    Pardon the crudeness....

    
               1K  
    '    P0 ─────────────  EL1883 Pin 1 (Comp Sync out)
    '
    '           1K        220      (1K Intensity res. can go as low as 200 ohms)
    '    P1 ─-──────────  Video Out to monitor (RCA)
    '               │
    '               │
    '           ┌───┘
     '          │   47
    '           T──i─────  Video Input from camera (RCA)
    '                       |
    '                       L────  EL1883 Pin 2 (Video In)
    '                               .1uF
    '                 
    '
    '                 ┌─────  EL1883 Pin 6 (RSet)
    '                  681K to Gnd 
    '                 
    '                  +3.3v EL1883 Pin 8
    
                       Vss Ground EL1883 Pin 4
    
    

    Post Edited (Ole Man Earl) : 5/5/2009 6:50:48 PM GMT
  • Ole Man EarlOle Man Earl Posts: 262
    edited 2009-05-05 17:38
    Update on software...now with the video overlay.

    This project has grown far bigger than I had planed !

    Post Edited (Ole Man Earl) : 5/5/2009 7:37:32 PM GMT
  • heaterheater Posts: 3,370
    edited 2009-05-05 18:14
    Earl, no problem, we like crudeness around here[noparse]:)[/noparse]

    I think this is brilliant. Just what I need to put alerts and alarms up on the TV when everyone is glued to it.

    Anyone know how it would be possible to do this using SCART on PAL TV. It would have to sit between my telly and the digibox.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • BaggersBaggers Posts: 3,019
    edited 2009-05-05 18:28
    heater, it depends on wether your digibox is sending composite over the scart, or RGB
    either way it'd be possible, you'd just have to approach it in a different way if it's RGB but still possible [noparse]:D[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • heaterheater Posts: 3,370
    edited 2009-05-05 18:30
    Hmm.. No idea yet, video is still a big mystery to me.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • W9GFOW9GFO Posts: 4,010
    edited 2009-05-05 19:47
    Pretty impressive, you went from;
    Ole Man Earl said...
    How do you sync the two? How to 'paint' the prop generated video ? This is for my autopilot project

    To:
    Ole Man Earl said...
    I think I have figured out how to use it!

    In less than 24 hrs, with pictures, code and a schematic!

    Definitely something that I want to duplicate.

    Rich H
  • Ole Man EarlOle Man Earl Posts: 262
    edited 2009-05-05 19:56
    Well when ya work on it 12 hrs a day.....
    I'm retired and have a lab in my house on the ranch here in NM. Only time I get nervous is when the horses come snooping around !
    PS. Ya work harder and longer when your retired....
  • Ole Man EarlOle Man Earl Posts: 262
    edited 2009-05-05 20:15
    Here is another screen shot. The camera is pointed out the back window and the overlay data is brighter now. Pardon the glare in the upper left. The monitor is next to the window.
    1600 x 1200 - 421K
  • heaterheater Posts: 3,370
    edited 2009-05-05 20:58
    Earl: "Ya work harder and longer when your retired..."

    I'm looking forward to it. My father bought his first computer and started to learn to program it when he retired in the early 1980s.

    Trouble is it doesn't look like I'll have the ranch or the horse by then[noparse]:([/noparse].

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-05-05 21:03
    Earl,

    I picked up a few of those chips a year ago..
    You're starting to motivate me to locate them.. [noparse]:)[/noparse] Awesome work!

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • PhilldapillPhilldapill Posts: 1,283
    edited 2009-05-05 22:18
    This is great, Earl! I assume you will be using this to overlay a real-time image from a camera on the Quadrocopter? This way, you could see what it sees, AND monitor data... very impressive.
  • BaggersBaggers Posts: 3,019
    edited 2009-05-05 22:30
    ok is your TV one of the ones that shows what kind of input it's receiving ( Composite/RGB? )
    failing that, if you test the pins on the scart lead http://en.wikipedia.org/wiki/SCART for data coming in through the Composite output or RGB red/green/blue [noparse];)[/noparse]
    or if you don't have something to test the pins, you could open the scart connector cable at the tv end and see what pins are connected ( unless you bought it seperately and not with the digibox )


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Ole Man EarlOle Man Earl Posts: 262
    edited 2009-05-05 23:37
    Composite !

    The monitor has vga input, composite input, hdmi input, RGB input , S video input AND digital tv tuner built in. 22" digi TV ! on sale for $200. Couldn't pass it up. I always was one kind of input or another short. This fixes that!
    Here is some pics of TV AND a pic of the prop proto board and sensors.

    Latest S/W here.

    Post Edited (Ole Man Earl) : 5/6/2009 12:26:30 AM GMT
    1600 x 1200 - 345K
    1600 x 1200 - 392K
    1600 x 1200 - 378K
  • Ole Man EarlOle Man Earl Posts: 262
    edited 2009-05-06 00:33
    Ya know guys and gals....I got a LOT of help here on the forum to be able to do this ! Using objects already developed makes things a lot easier. So if you have been putting off tackling a prop project, jump in !
    BTW If I can do it, so can you...I am 63 and retired.
  • W9GFOW9GFO Posts: 4,010
    edited 2009-05-06 01:16
    Ole Man Earl said...
    Using objects already developed makes things a lot easier.

    That's for sure!

    Are you getting reliable compass readings with it right on the board like that?

    Rich H
  • Ole Man EarlOle Man Earl Posts: 262
    edited 2009-05-06 01:22
    no, I think I will have to remote it. It's close but no cigar.
Sign In or Register to comment.