Go Down

Topic: Problems switching from solder less breadboard to soldered (Read 1 time) previous topic - next topic


I connected the wires for a voice recording module from sparkfun (https://www.sparkfun.com/products/10653) on a solder less bread board and had it running just fine with this function.

Code: [Select]
long previousMillis = 0;        // will store last time LED was updated

// the follow variables is a long because the time, measured in miliseconds,
// will quickly become a bigger number than can be stored in an int.
long interval = 5000;           // interval at which to blink (milliseconds)
int SOUND = 1;
const int PULSE = 48;
int rec = 37;

void VOICE(){
   pinMode(48, OUTPUT);
   unsigned long currentMillis = millis();
if(currentMillis - previousMillis > interval) {
    // save the last time you played the recording
    previousMillis = currentMillis;   

    if (SOUND == 1)
   SOUND = 0;
  SOUND = 1;
  digitalWrite(PULSE, SOUND);

I then transferred what was on the solder less breadboard onto one that I could solder and after that the function stopped working. Does anyone know why? and if so how I can fix it?


Check your wiring and/or maybe you cooked something.
"Who is like unto the beast? who is able to make war with him?"
When all else fails, check your wiring!


The module works without an arduino and I've tested it with only the wires and it still records and plays back. Whats odd is that I need to physically disconnect the wire thats connected from "REC" to the +5V pin and plug it back into the +5V in order to have it start playing back the message again.

Go Up