Not displaying anything

Store Forums Video Experimenter Bugs/Problems Not displaying anything

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #409
    crazybutable
    Member

    I assembled the kit and the video passes through, but I cannot see any output video, even when I set the switch to sync only. No amount of potentiometer twiddling helps. I tried the first two sketches on the project page and neither of them worked.

    Thoughts?

    #1038
    Michael
    Keymaster

    Hi crazybutable!

    Did you use the specialized version of the TVout library that is on our web site?

    #1033
    crazybutable
    Member

    Yep!

    #1034
    Michael
    Keymaster

    And the jumper is set to the V.SYNC position?

    If so, then something else is wrong. Check the soldering connections (you probably already have). Or I can check out the device since you are local 🙂

    #1035
    crazybutable
    Member

    Yes, I checked the soldering connections, that was my first thought, that maybe I had forgotten a pin or something.

    And it doesn’t matter what the jumper is set to.

    I’ll send you an email about when we can get together.

    #1036
    crazybutable
    Member

    Got it working. On a whim I tried it with a different Arduino and this time it worked. (actually it gave me a bunch of digital hash at first, but with a little monkeying around I got it working.)

    I’ll have to put that Arduino off to the side. One of the pins is probably bad on it. (Off the top of your head, do you have any idea which arduino pin, if it was to be missing, would cause the VE shield to fail like that?)

    So now I have a new question. In the video frame capture example, when you call tv.capture, where does the captured frame go? I’m trying to trace where the data ultimately winds up, and am I right in my deduction that it all winds up going through that assembly language code in video_gen.cpp?

    Is the final data available in the TVout framebuffer, and if so, can I get access to the framebuffer from the same scope that I called tv.capture from? Or do I have to create my own method in the tvout library to gain access to that data?

    Thanks.

    #1040
    Michael
    Keymaster

    That’s weird — sounds like you have a bad pin on that Arduino. The Video Experimenter uses pins 2, 6, 7, 8.

    The pixels in the TVout frame buffer can be accessed with [tt:3mbklmw6]tv.get_pixel(x,y)[/tt:3mbklmw6]. The entire buffer is available as the array [tt:3mbklmw6]display.screen[/tt:3mbklmw6].

    See the code in the computer vision project for examples of reading/manipulating the frame buffer.
    http://nootropicdesign.com/projectlab/2011/03/20/arduino-computer-vision/

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.