Forum Replies Created
-
AuthorPosts
-
Michael
KeymasterYes, that program does the same thing for me. Your code is missing the required initialization code for the Video Experimenter overlay. Did you try the OverlayDemo from here:
http://nootropicdesign.com/projectlab/2011/03/20/text-and-graphics-overlay/That should work no problem. Notice the function initOverlay() that sets up your ability to overlay pixels on video. And the required function ISR(INT0_vect). These must be in your program.
Try this code to print “Test” in random locations on the screen:
#include <TVout.h> #include <fontALL.h> #define W 136 #define H 96 TVout tv; void setup() { tv.begin(NTSC, W, H); initOverlay(); tv.select_font(font6x8); tv.fill(0); randomSeed(analogRead(0)); } // Initialize ATMega registers for video overlay capability. // Must be called after tv.begin(). void initOverlay() { TCCR1A = 0; // Enable timer1. ICES0 is set to 0 for falling edge detection on input capture pin. TCCR1B = _BV(CS10); // Enable input capture interrupt TIMSK1 |= _BV(ICIE1); // Enable external interrupt INT0 on pin 2 with falling edge. EIMSK = _BV(INT0); EICRA = _BV(ISC11); } // Required to reset the scan line when the vertical sync occurs ISR(INT0_vect) { display.scanLine = 0; } void loop() { // put your main code here, to run repeatedly: tv.print(random(0, 110), random(0, 80), "Test"); tv.delay_frame(5); }Michael
KeymasterThat resolution is incredible! Very nice.
Michael
KeymasterWhat are your settings for the jumper and the switch? The sync-select jumper should be set to V.INPUT and the output select switch set to OVERLAY.
Also adjust the R4 potentiometer down to the lowest level.Michael
KeymasterI’m not sure what is wrong, other than the wiring is not right. I assume you are using a Seeedstudio Mega and not some other Mega board. Have you tried the VE on an Arduino Uno?
Michael
KeymasterOK, good to hear. When it comes to FTDI cables and adapters, it really does pay to use more expensive, official devices. Cheap stuff fails a lot.
Michael
KeymasterYes, that could certainly cause a problem. The voltage is not high enough to register with the 5V logic on the ATmega328 microcontroller.
You could also check the soldering connections to make sure the RX and TX pins on the header are connected to the microcontroller. See this image for the traces:
http://nootropicdesign.com/matrixbackpack/design.htmlMichael
KeymasterYour wiring sounds right. If the board is running, then the Uno bootloader is definitely there. And it sounds like the reset is working. It must be an issue with the cable or your driver. I use a Mac, though, and have no issues.
In my experience, when it comes to FTDI cables, the cheap ones are no good. I have experienced 50% failure rate when sourcing cheap or “oddball” ones (wrong pinouts!). This is why I ONLY sell genuine FTDI manufactured cables or adapters that I know work (e.g. the Adafruit FTDI friend). There are many counterfeit FTDI chips in the world, and they are installed in cheap cables.
Michael
KeymasterCan you post the code you changed? Make sure to surround the code with code tags.
Michael
KeymasterThe instructions for the library dependencies are clearly described on the games page:
http://nootropicdesign.com/hackvision/games.htmlThere are links to the libraries.
Michael
KeymasterVery impressive!
Michael
KeymasterThe button pins are printed on the silkscreen:
https://nootropicdesign.com/hackvision/design.htmlFebruary 1, 2016 at 5:44 pm in reply to: Hardware – connect multiple meters of the 60 led strip #2401Michael
KeymasterYou should be able to connect multiple strips to be driven by the same data pin, but I have not tried more than 2. I do not know if you will have difficulties with 14, so I think you need to try it and see how many can work.
Distance between the board and LEDs should be minimized, but I typically have a 1 meter wire distance to my LEDs without problems. That is only one strip, though.Michael
KeymasterThe Video Experimenter will not work with any Arduino that does not have an ATmega328 chip. It only works on Uno or Duemilanove.
I was able to get it to work on the Seeeduino Mega: http://nootropicdesign.com/projectlab/2011/07/13/ve-on-the-seeeduino-mega/
Michael
KeymasterThe TVout library documentation is here:
https://code.google.com/archive/p/arduino-tvout/But it’s not very useful. You can see the API drawing primitives by looking at the header file TVout.h. It’s simple to use.
The enhancements for the Video Experimenter are documented on the product page:
http://nootropicdesign.com/ve/It can only do about 5-10 frames per second. I’m not sure which program you are referring to when you ask about the delay. There are many example programs for the VE. The Overlay example has a delay to give you time to actually see the output before erasing it again to capture a new frame.
Michael
KeymasterThe TVout library resolution only affects the resolution of the overlay. The resolution of the input signal is unaffected.
-
AuthorPosts