Realtime video


Closed Thread
Results 1 to 38 of 38

Thread: Realtime video

Hybrid View

  1. #1
    RUBiksCUbe's Avatar
    RUBiksCUbe Guest


    Did you find this post helpful? Yes | No

    Default

    Ok I got it to load P18F252.INC but now the errors all look like this:

    Error[152] C:\PROGRAM FILES\MECANIQUE\MCS\VIDEO\VIDEO_TEST.ASM 908 : Executable code and data must be defined in an appropriate section
    Error[116] C:\PROGRAM FILES\MECANIQUE\MCS\VIDEO\VIDEO_TEST.ASM 156 : Address label duplicated or different in second pass (Z00011)
    Error[152] C:\PROGRAM FILES\MECANIQUE\MCS\VIDEO\VIDEO_TEST.ASM 908 : Executable code and data must be defined in an appropriate section
    Error[116] C:\PROGRAM FILES\MECANIQUE\MCS\VIDEO\VIDEO_TEST.ASM 160 : Address label duplicated or different in second pass (Z00012)
    Error[116] C:\PROGRAM FILES\MECANIQUE\MCS\VIDEO\VIDEO_TEST.ASM 12 : Address label duplicated or different in second pass (_main)
    Error[116] C:\PROGRAM FILES\MECANIQUE\MCS\VIDEO\VIDEO_TEST.ASM 165 : Address label duplicated or different in second pass (Z00013)
    Error[152] C:\PROGRAM FILES\MECANIQUE\MCS\VIDEO\VIDEO_TEST.ASM 908 : Executable code and data must be defined in an appropriate section
    Error[116] C:\PROGRAM FILES\MECANIQUE\MCS\VIDEO\VIDEO_TEST.ASM 169 : Address label duplicated or different in second pass (Z00014)

  2. #2
    RUBiksCUbe's Avatar
    RUBiksCUbe Guest


    Did you find this post helpful? Yes | No

    Default Im so close!

    I got it to compile in MPLAB!!!

    I checked out my program on the oscilloscope and I found that whenever the voltage changed, like from 0v to .33v it jumped for about .1us to 2v. I dont know why but instead of outputting a max of 1v my pic is putting out 2 to 3 volts. I guess I need bigger resistors.

    EDIT:

    Ive been timing everything down to a science and found this site (http://www.maxim-ic.com/appnotes.cfm/appnote_number/734) which has an excellent timing diagram for NTSC signals and I made my program as close as its going to get (one scanline is supposed to be 63.5us. Mine is 63.4)
    Last edited by RUBiksCUbe; - 15th November 2005 at 03:33.

  3. #3
    mytekcontrols's Avatar
    mytekcontrols Guest


    Did you find this post helpful? Yes | No

    Default

    Don't worry too much about getting the scanline to be exaxtly to NTSC standards, unless you plan to sync this to another signal and genlock it. heck I used to use an ATARI 8 bit computer back in my younger days and it had a scanline of exactly 64 usec (A nice evenly divided number). It's video worked very well indeed, on any TV you cared to hook it up to.

  4. #4
    RUBiksCUbe's Avatar
    RUBiksCUbe Guest


    Did you find this post helpful? Yes | No

    Default

    Thats good. I was afraid that I would have to generate negative voltage because that site says that synch is at negative somthing volts.

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    in fact that's the way to generate but as i'd experiment in the past, most TV/video/../ will accept 0 volt as sync without too much problem.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

  7. #7
    mytekcontrols's Avatar
    mytekcontrols Guest


    Did you find this post helpful? Yes | No

    Smile

    When they say SYNC is negative, what is really meant is that it is negative as compared to the black level of the video. So if sync is at 0 volts, you just have to insure that what you want to be black is at about 0.4 volts and what you want to be white is at 1.0 volts. Most all video monitors capacitively couple to the video input, and do some sort of internal clamping to put the black level where they want it to be.

Similar Threads

  1. OT: Cell Phone Video Screen Design
    By kevj in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st February 2009, 02:30
  2. How to switch between video inputs
    By The Master in forum Off Topic
    Replies: 13
    Last Post: - 5th May 2008, 13:27
  3. Video system
    By Christopher4187 in forum Off Topic
    Replies: 0
    Last Post: - 27th April 2008, 17:49
  4. Composite NTSC Video
    By mcglacy in forum Off Topic
    Replies: 0
    Last Post: - 3rd March 2008, 11:29
  5. RF video reciever - digital tuning
    By RYTECH in forum Schematics
    Replies: 13
    Last Post: - 15th September 2006, 01:05

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