Go Down

Topic: I got a problem w/ isd1932 breakout (Read 1 time) previous topic - next topic

EmuG

I'm using Sparkfun's isd1932 voice record breakout.
I connect breakout to the arduino mini like the example of data sheet and make a button to give signal
(i'm using direct mode)
and i can't record anything.
when I press the button, it can print "Record!" but breakout doesn't work.
What can be a problem?


//define pin#
int M[] = {7, 8, 9}; // Messege pin
int FMC[] = {12, 11, 13}; // control # of messege
int rButton=2; // record
int pButton=5; // play
int rVal=0; //value of recording button
int pVal=0; //value of play button
int RePlay = 10; // RE/Play signal pin
int FT=6; // floating

int pinCount = 3;
int Mstate[3]; // messege access
int RecNum=0; // Recording stack

void setup(){
  Serial.begin(9600);
  for(int i=0;i<pinCount;i++){
    pinMode(M,OUTPUT);
    pinMode(FMC,OUTPUT);
    Mstate=HIGH;
    digitalWrite(M,Mstate);
  }
  pinMode(rButton, INPUT);
  pinMode(pButton, INPUT);
  pinMode(RePlay, OUTPUT);
  pinMode(FT, OUTPUT);
  digitalWrite(FT, HIGH);
  digitalWrite(FMC[0], LOW);
  digitalWrite(FMC[1], HIGH);
  digitalWrite(FMC[2], LOW); // # of messege setup
  digitalWrite(RePlay, HIGH); // basic : play mode
}

void loop(){
  rVal=digitalRead(rButton);
  pVal=digitalRead(pButton);
  if(rVal == HIGH) {
    digitalWrite(RePlay, LOW);
    Mstate[0]=LOW;
    pulseIn(M[0], Mstate[0], 1500);
    Serial.println("Record!");
    /*
    for(int Rec=0; RecNum<3; Rec++){
      if({
      pulseIn(RePlay, LOW); // Recording activate
      M[1]state=LOW;
      pulseIn(M[Rec], Mstate[Rec]); // give the siganl to record
      break;
      }
    }*/
  }
  if(pVal == HIGH) {
    digitalWrite(RePlay, HIGH);
    Mstate[0]=LOW;
    pulseIn(M[0], Mstate[0], 1500);
    Serial.println("play!");
  }
}

StuHooper

Hi, I'm just about to start working with the ISD1932 but I am having trouble connecting it to the Arduino Uno. I'm not sure how to connect it correctly.
Would you be willing to help? I might be able to help with your problem when I reach the same stage.

Basically a photo of how they should be connected would be perfect.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy