Realtime video


Closed Thread
Results 1 to 38 of 38

Thread: Realtime video

Hybrid View

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


    Did you find this post helpful? Yes | No

    Thumbs up

    Tetris using a PIC16F84 running @ 12MHz:
    (NTSC video signal).
    http://www.web-ee.com/Schematics/PIC.../PICTetris.htm



    Last edited by Luciano; - 11th November 2005 at 08:23.

  2. #2
    RUBiksCUbe's Avatar
    RUBiksCUbe Guest


    Did you find this post helpful? Yes | No

    Default Bummer

    I was afraid that PicBasic would be too high level of a language to work. I guess Ill attempt to learn some assembly. Uhg.

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


    Did you find this post helpful? Yes | No

    Default

    it's not impossible in PICBasic but it will depend of what kind of video signal you want to generate.

    Sure the assembly method will provide a better range of possibility if you want a decent/great 'resolution'. Timing issue??? Hard to create Delay? Learn how to use internal Timer or learn or to work with MPLAB stopwatch and assembly loop.

    A previous thread => Assembler for dummies => http://www.picbasic.co.uk/forum/show...ssembler+blink

    12Mhz, 20Mhz work great for me for OSD... but plain text with plain lines... no 3D and ... of course no colours

    The Michael link is a great start point. Maybe you can find out few example on www.epanorama.net

    good luck.
    Steve

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

  4. #4
    mytekcontrols's Avatar
    mytekcontrols Guest


    Did you find this post helpful? Yes | No

    Wink

    Yes I stand corrected (but only slightly ). You probably can generate video on a PIC and programmed in PicBasic, but I guarantee you it will still be quite a challenge taking this approach. And depending on your needs (which we know very little about), it still might not produce acceptable results. If you are just looking at producing a small number of units with this capability, then I would suggest using something like a BOB3 video board from these guys: http://www.decadenet.com/. Or for something even simpler (and much cheaper) may I suggest the SV1000 chip from: http://www.speechchips.com/shop/item.asp?itemid=7. Of course the BOB3 is much more capable, has 8 color text, hardware scrolling, and video overlay. But it will cost you to get these features.

    If you do decide to roll-your-own, I would also suggest doing all the video generation with a separate PIC that communicates with another that runs your main code. This really would be the best approach (and similar to using your PIC with one of the above mentioned products), unless your needs are fairly simple.

    Cheers,

  5. #5
    RUBiksCUbe's Avatar
    RUBiksCUbe Guest


    Did you find this post helpful? Yes | No

    Default

    I'm not going for somthing with a really high resolution. I was just interested in seeing if I could produce some simple video stuff, possibly even a game or two. I really wanted to use PB instead of ASM. Ill give it a shot in PB and post again when I have some results.

  6. #6
    RUBiksCUbe's Avatar
    RUBiksCUbe Guest


    Did you find this post helpful? Yes | No

    Question

    Just a quick question about assember: I'm trying to translate the "white stripe" code from http://www.rickard.gunee.com/project.../pic/howto.php into PicBasic and I came across the ASM statement "DNOP". I know very very little about ASM. What does this do?

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


    Did you find this post helpful? Yes | No

    Default

    DNOP is a macro. (Two NOP instructions).
    See instruction NOP.

    Luciano

Similar Threads

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