Michael

Forum Replies Created

Viewing 15 posts - 406 through 420 (of 1,010 total)
  • Author
    Posts
  • in reply to: Space Invaders #2042
    Michael
    Keymaster

    Did you install the required libraries correctly? The process is described here: http://nootropicdesign.com/hackvision/games.html. If you are using the original Hackvision.pde game, then you need the older TVout library downloadable from nootropicdesign.com.

    If you downloaded the standalone SpaceInvaders.ino sketch, then that uses the TVout from Google Code. The instructions say this:

    NOTE: This original firmware no longer works with the newer versions of Arduino and the Uno bootloader.
    You can use the standalone Space Invaders and Pong games. These are to be used with the TVout library at Google Code and the Hackvision Controllers library.

    in reply to: limit the recognized area. #2041
    Michael
    Keymaster

    If you have headers with long pins, you can place them on the outside set of pads so that the shield is “stackable”. When this product was designed, it was hard to get the long-pin headers. What other shield do you want to stack with the Video Experimenter? The VE is not going to be compatible to stack with most shields since the VE uses so many pins. You can always put the VE on top if you are going to stack it with a compatible shield.

    in reply to: Audio Delay line #2039
    Michael
    Keymaster

    When you say you hear “echoes” (plural), what do you mean? There is the original signal in realtime and it is mixed with the delay read from memory (this is variable “echo”). I think you just want to hear the delay.

    You should replace this code:

    mix = signal-2048;
    echo = echo >> 1; // attenuate echo
    mix += (echo - 1024); // since we are dividing echo by 2, decrement by 1024
    if (mix < -2048) {
    mix = -2048;
    } else {
    if (mix > 2047) {
    mix = 2047;
    }
    }
    playbackBuf = mix + 2048;

    with this simple code:


    playbackBuf = echo;

    As for using the switches to set the delay, yes, it’s easy to use Arduino digitalRead(pin) to read whether a button is pressed or not. You could use one button to increase the delay, and another to decrease.


    setup() {
    ...
    pinMode(5, INPUT_PULLUP);
    pinMode(6, INPUT_PULLUP);
    }
    ...

    loop() {
    if (digitalRead(5) == LOW) {
    delay++;
    }
    if (digitalRead(6) == LOW) {
    delay--;
    }
    ...
    }

    You probably are not going to be able to drive an LCD while processing audio. The timing of the audio processing must be precise, and peripheral communication using interrupts will mess it up.

    in reply to: Compatability Problems With Iduino UNO? #2038
    Michael
    Keymaster

    If you are using the Video Experimenter TVOut library, then you have the source code! It’s distributed as source. See video_gen.cpp.

    in reply to: How to adjust sync rate #2036
    Michael
    Keymaster

    Yes, that is the file to experiment with. When you buy cheap things on ebay, they are not going to operate within spec, so you will often have problems. It’s hard to support these kinds of devices.

    in reply to: Compatability Problems With Iduino UNO? #2035
    Michael
    Keymaster

    Well, it’s hard to say why an Arduino clone doesn’t work. The project works on the official Arduino boards Uno and Duemilanove.

    in reply to: display of output of ADC #2034
    Michael
    Keymaster

    It’s very easy to display values on the DigitShield, as documented here: https://nootropicdesign.com/digitshield/

    To display the value read by an analog pin:

    DigitShield.setValue(analogRead(pin));
    in reply to: there is the possibility of doing this? #2030
    Michael
    Keymaster

    Yes, these things are possible with code changes. You can download and modify the code to your liking:
    https://nootropicdesign.com/defusableclock/hack.html

    in reply to: Activate the DET button from a distance #2029
    Michael
    Keymaster

    You can certainly run long wires to the button. That will work fine.

    Bluetooth is not going to happen with this device. There are not enough MCU pins available to interface with a bluetooth module.

    in reply to: Basic Video Overlay possible? #2028
    Michael
    Keymaster

    Yes, it works on the Uno (all revisions are the same microcontroller).

    in reply to: Basic Video Overlay possible? #2026
    Michael
    Keymaster

    Yes, that’s possible with some simple Arduino programming. The Arduino site is the best resource for learning how to use analog and digital inputs, and you should find it no problem to use the user input to move the lines.

    http://arduino.cc/en/Tutorial/DigitalPins

    http://arduino.cc/en/Reference/DigitalRead

    in reply to: 32×32? #2025
    Michael
    Keymaster

    Yes. Everything you need to know is documented on our site: https://nootropicdesign.com/matrixbackpack/

    in reply to: 32×32? #2023
    Michael
    Keymaster

    Yes:

    The RGB Matrix Backpack is a small board that connects to the back of an Adafruit 16×32 or 32×32 RGB LED Matrix Panel

    in reply to: Backpack with two LED panels? #2019
    Michael
    Keymaster

    There’s barely enough memory to control one panel — you would need twice the memory for two.

    in reply to: Video tearing left to right #2017
    Michael
    Keymaster

    the code for initializing the Video Experimenter version of TVout is in all the example programs that the library comes with. The Video Experimenter requires the special version of TVout, and the examples demonstrate how to initialize the library.

Viewing 15 posts - 406 through 420 (of 1,010 total)