Forum Replies Created
-
AuthorPosts
-
MichaelKeymaster
I think you could record sound to the serial SRAM chips (for large capacity), then in small chunks at a time (like 512 bytes) load data from serial SRAM into a normal SRAM buffer and pass it to the FFT code.
For example, sample 512 12-bit values and write each value with:
writeSRAM(0, 0, data)
Note that each sample will take up 2 bytes. Do this until memory is full.
For later analysis:
unsigned int buf[512]; // buffer to store the 512 unsigned ints
readSRAM(0, 0, (byte *)buf, 1024); // do 1024 reads into the buffer, two bytes per sample. Now buf[] will contain 1024 bytes which are actually 512 unsigned ints.
// pass buf to your FFT code.MichaelKeymasterThe MatrixDemo_v2 code is NOT for the 32×32 matrix. It is written for the 16×32 matrix. You can’t run it on the 32×32 matrix because there is not enough memory for this demo and to keep track of twice as many pixels.
Use the 32×32 demos that come with the RGBmatrixPanel library, like plasma_32x32 and colorwheel_32x32. They will work.MichaelKeymasterYou can sample the ADC at that rate, and you should have enough memory in SRAM to store your data for the FFT. I am doing FFT on an Arduino now (for another project, and not using the Audio Hacker), and there’s enough memory for a 256 point FFT. I think it should work.
MichaelKeymasterI’m not familiar with Electric imp…how would wireless work? Do you mean that you would transmit information to the matrix and it would display it?
MichaelKeymasterNo, the v1 board does not work with the 32×32 matrix. Adafruit only buys the board for the 16×32 matrix from me.
MichaelKeymasterYes, Adafruit only orders the board for the 16×32 matrix (and that’s how they market it). It does not work with the 32×32 matrix and they do not make that claim.
Adafruit had the v2 board a while back but only has v1 now. They will order v2 in the future.
MichaelKeymasterDo you have the SYNC SELECT jumper in the correct position? It should be on the right side “V INPUT”. These settings are described on the product page:
http://nootropicdesign.com/ve/You can send pictures of the top and bottom of the board to support@nootropicdesign.com and I will look at your soldering.
MichaelKeymasterHmm. It may not work with your camera. Some video sources have poor timing.
Try adjusting the small potentiometer with a screwdriver. That may help.MichaelKeymasterGreat!
MichaelKeymasterAre you sure that the camera and TV use PAL? Have you tried the NTSC sketch?
The switch is called “OUTPUT SELECT” and the values are “SYNC ONLY” and “OVERLAY”. Which position is the OUTPUT SELECT switch in?
MichaelKeymasterSorry to hear that. Yes, you can check the connections that are associated with the cross segment (segment “G”). Here is an image that shows which connections to check (as viewed from the top of the board). If you reheat the solder on each of these, it will probably start working again.
MichaelKeymasterIf you have an old version of this board (it does not say “v2”), then change the definition of LAT to A3:
#define LAT A3MichaelKeymasterI mean v2 version of the Matrix Backpack board, not the Arduino. Where did you get the backpack board? From us or Adafruit?
MichaelKeymasterI have now updated the MatrixDemo_v2.zip downloadable from the main product page so that it works with the newer versions of Arduino.
MichaelKeymastersetting the wires to be fixed instead of random is simple. Just change the assignment in the function countdown().
For example, if you want the defuse wire to be wire 2:
defuseWire = WIRE_2;
-
AuthorPosts