Generating a composite video signal with PIC


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697

    Default Generating a composite video signal with PIC

    Hi, I had a random idea earlier to try and output a video signal from a PIC chip into my TVs composite socket. Its something ive been thinking about for a while and i would like to learn it. Ive been searching the net for a few hours and found a few sites where someone has made a game etc with a PIC. They dont seem to have much information about how they did it though. One site did mention a PIC16F84A which i just happened to have laying around so i connected it up to see what would happen.

    Ive been messing around with this circuit for a while now and i get lots of grey lines on the screen that change when i change the timing of the pulses. As i already know, one site mentioned that timing is critical. The problem is that nowhere seems to give any infomation on the timing.

    At the moment i simply want to get the timing correct so i can program in some basic black and white shapes. After that ill move onto color images. Does anyone have any good links to sites describing how to do this? The closest i found was some ASM source code (which i dont understand)

    Edit: I should mention that im in the UK so ill be using PAL.
    Last edited by The Master; - 1st August 2008 at 23:45.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by The Master View Post
    Hi, I had a random idea earlier to try and output a video signal from a PIC chip into my TVs composite socket.
    Been there, done that.
    Google Pic-Pong or Pic-Tock...and Rickard and you'll find a few sites with his version of a Pong game on a PIC. And if you look around the site enough (ok, if you actually just look), you'll find PAL and NTSC spec's. And if you Google PAL and/or NTSC, one of the first hits is to Wikipedia, which has a good writeup on the PAL and NTSC standards, timing, etc.

    After that ill move onto color images.
    Probably not going to happen with a PIC...ok, most likely not going to happen with a PIC. Doesn't run fast enough, can't output the signals quick enough to generate the colorburst phase shifts that color requires. The SX can do it at top speed, but just barely.

    Does anyone have any good links to sites describing how to do this? The closest i found was some ASM source code (which i dont understand)
    Google...
    Most likely, all your going to find is ASM code. The timing is just too critical to trust to Basic.

Similar Threads

  1. PIC conducting signal current when off
    By Viberer in forum Off Topic
    Replies: 0
    Last Post: - 28th May 2009, 17:27
  2. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  3. 8 port Signal Loss Detector, possible to use a pic?
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th March 2006, 15:59
  4. Generating RF from a PIC
    By Rob Martin in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 26th January 2006, 20:26
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts