Michael

Forum Replies Created

Viewing 15 posts - 121 through 135 (of 1,008 total)
  • Author
    Posts
  • in reply to: SpaceInvaders #9404
    Michael
    Keymaster

    I’ve updated the original Hackvision firmware to work with the newest version of Arduino IDE, and have put a patched, working version of TVout on GitHub.

    https://github.com/nootropicdesign/arduino-tvout
    https://github.com/nootropicdesign/hackvision
    https://github.com/nootropicdesign/arduino-asteroids
    https://github.com/nootropicdesign/hackvision-controllers

    in reply to: Libraries for tvout #9398
    Michael
    Keymaster

    You are correct — the link on the main page was wrong (I just fixed it), and it should have been pointing to https://github.com/nootropicdesign/arduino-tvout-ve.

    I was just updating all this the other day and clearly made a mistake — thank you so much for letting me know! I appreciate that.

    -Mike

    in reply to: Half-frame #9390
    Michael
    Keymaster

    I’m pretty sure it is half-frames. So delay_frame(6) would be 3 odd fields and 3 even fields.

    • This reply was modified 6 years, 11 months ago by Michael.
    in reply to: Half-frame #9377
    Michael
    Keymaster

    It was a long time ago, but I know I was experimenting with that. The “odd/even” pad on the Video Experimenter board will be HIGH if the video signal is the odd frame, and LOW if the even frame. Connect this signal to an Arduino pin (in the case below, it is digital pin 10) and make the capture conditional on this pin being HIGH. Remember to do pinMode(10, INPUT) somewhere in your setup().

    This is the code at the end of the function blank_line() in TVout/video_gen.cpp:

    
    	// BEGIN Video Experimenter
    
            // original code
    	//if ((dataCaptureBuf != 0) && (display.scanLine == dataCaptureLine)) {
    
    	// capture only if ODDEVEN pin is HIGH
    	if ((dataCaptureBuf != 0) && (display.scanLine == dataCaptureLine) && ((PINB & 0x4) > 0)) {
    
    	  render_line = &dataCapture_line5c;
    	  wait_until(dataCaptureWait);
    	  render_line();
    	  render_line = save_render_line;
    	}
    	display.scanLine++;
    
    in reply to: Unnessesary Overlay Shifting to the right side #9376
    Michael
    Keymaster

    The shift to the right is caused by processing delay. By the time the code determines a pixel should be on, the scanline has advanced to the right for a few microseconds. I don’t think anything can be done because an Arduino can’t be sped up and a video scan line moves very fast from a timing perspective.

    The flickering you are seeing at the top in the second video is timing difference between the video signal and the overlay. Try increasing the frame delay from 2 to 5. That reduces flickering but your overlay will update less often.

    The Video Experimenter is very primitive, so I’m sorry there are limitations.

    in reply to: LUMAZOID – MODULE WS2812-12V #9363
    Michael
    Keymaster

    The LEDs need 5V, so if your power supply is 12V, you need to step it down with a buck converter.

    in reply to: The text in overlay is very light/almost invisible. #9302
    Michael
    Keymaster

    Yes, solder the 330 ohm resistor directly to R2 so that they are in parallel. This creates a resistance of 330/2 = 165 ohms.

    Like this:

    in reply to: The text in overlay is very light/almost invisible. #9296
    Michael
    Keymaster

    A solution is to add a 330 ohm resistor in parallel with the 330 ohm resistor on the Video Experimenter board. It is labeled R2 on the board.

    in reply to: Power over USB ? #9195
    Michael
    Keymaster

    Mr. Midi,

    Hmm, that is a strange problem. I have never experienced any noise generation from a Lumazoid, but I haven’t used the same setup. The only thing I can think of is to inspect the solder joings on the 3.5mm audio jacks on the Lumazoid to see if there is a short between any pins. In the past, I have accidentally shorted 2 adjacent pins, but this usually just has the effect of attenuating the signal because it shorts the left and right channels together. The ground pin on the jacks is the pin that is furthest away from the signal pins, so it’s unlikely that an audio channel is shorted to ground. But you might want to check with a multimeter to see.

    Maybe having an isolated power source for the Lumazoid is necessary for your situation…

    in reply to: Power over USB ? #9154
    Michael
    Keymaster

    Thanks so much for sharing your progress. It looks great. I’ve never connected a Lumazoid to a ring before, and it really looks nice.

    in reply to: 2812B 144 or only 30 and 60 #9150
    Michael
    Keymaster

    What I mean is that a small change to the software allows the visualizations to use 144 LEDs instead of 60, 120, or 180. If you purchase a Lumazoid and want to use it with 144, just let me know and I’ll change the software.

    in reply to: LED strip does not turn on #9143
    Michael
    Keymaster

    Ok, glad to hear that you have a working system. Have fun!

    in reply to: Power over USB ? #9133
    Michael
    Keymaster

    That should all work fine, then. The Lumazoid board just needs 5V, and it draws very little current compared to the LEDs. Sounds like a great project. I’d love to see it when you are done.

    in reply to: Power over USB ? #9131
    Michael
    Keymaster

    Thanks for your kind words and especially your enthusiasm. So the thing with USB is that a USB port doesn’t typically supply more than 500mA of current. To power 120 LEDs (a 2m strip, for example), I recommend a 2A power supply. Little phone charger USB adapters often will supply 1.2A for charging, so you could control 60 LEDs with no problem but could run into issues with 120.

    Do you know how much current your USB hub can provide on each plug? Maybe it can supply 2A…

    in reply to: is there a brightness technique? #9123
    Michael
    Keymaster

    I’m afraid not. The brightness is fixed.

Viewing 15 posts - 121 through 135 (of 1,008 total)