Pages: [1]   Go Down
Author Topic: Arduino Uno (Atmega328P-PU) with ISD1700 Audio chip  (Read 393 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, there I'm a newbie to Arduino and have struggling with this one problem for a while now.

I have used play and fwd pins (23 and 26) from ISD1700 audip chip. connected these pins to pin 8&9 on arduino that is pin 14 & 15 on Atmega 328.
Although the code works when I connect the  pins through arduino . But on the prototype with Atmega alone and all the connections . I can only hear the play and the fwd is not working and hear it play the same file again.

the prototype is fine, because I was able to use pin change interrupts to control two push button switches to turn the LED's on and off. But if I upload the following code through Arduino Uno, take the chip out and place it on my prototype , the program just doesn't follow what it says , its just the forward doesn't work but goes through the process ,and never forwards but plays and continues that way .
Also, I'm a little confused with PWM and regular digital I/O pin. Because the forward is a PWM digital pin where as play is on digital pin .

Below is the code I used. Someone please help me, I need to make it work soon

int play = 8;
int fwd = 9;

void setup ()
   pinMode(play, OUTPUT);
   digitalWrite(play, HIGH);
   pinMode(fwd, OUTPUT);
   digitalWrite(fwd, HIGH);

void loop()
  //waiting 10 seconds play time / wait for start
   // hitting play button
   //letting 20 secs of play time
   //hitting forward button
   //waiting 5 seconds to press play again
    //hitting play again

Pages: [1]   Go Up
Jump to: