Member #560636

Member Since: June 5, 2014

Country: United States

  • I have a problem with my set up. I have followed the spec sheet circuit, and hooked it to an arduino with code from http://nuewire.com/info-archive/msgeq7-by-j-skoba/ (I added the following lines to the void loop to bring the numbers down a bit): int PWMvalue = map(analogPin, 0, 1024, 0, 255); // scale analogRead’s value to Write’s 255 max if (PWMvalue < 50) PWMvalue = PWMvalue / 2;

    The problem is that I am getting readings that are all over the map, regardless of the presence of an audio source. Here are a few lines from the serial readout without audio: 99 0 255 415 185 267 129 73 0 201 361 185 129 115 129 320 441 376 413 369 281

    Is there a problem with my chip, the circuit, or the code? I’m a bit at wits end here.

    Thanks!

No public wish lists :(