Forum Replies Created
-
AuthorPosts
-
Michael
KeymasterDid 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.Michael
KeymasterIf 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.
Michael
KeymasterWhen 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.
Michael
KeymasterIf you are using the Video Experimenter TVOut library, then you have the source code! It’s distributed as source. See video_gen.cpp.
Michael
KeymasterYes, 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.
Michael
KeymasterWell, it’s hard to say why an Arduino clone doesn’t work. The project works on the official Arduino boards Uno and Duemilanove.
Michael
KeymasterIt’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));
Michael
KeymasterYes, these things are possible with code changes. You can download and modify the code to your liking:
https://nootropicdesign.com/defusableclock/hack.htmlMichael
KeymasterYou 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.
Michael
KeymasterYes, it works on the Uno (all revisions are the same microcontroller).
Michael
KeymasterYes, 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.
Michael
KeymasterYes. Everything you need to know is documented on our site: https://nootropicdesign.com/matrixbackpack/
Michael
KeymasterYes:
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
Michael
KeymasterThere’s barely enough memory to control one panel — you would need twice the memory for two.
Michael
Keymasterthe 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.
-
AuthorPosts