Problem with WTV020
hi, i've purchased wtv020-sd.

i use microsd 2gb, in i've copied ad4 files audio.
i used sketch:
/*
example: control wtv020-sd-16p module play voices arduino board.
created diego j. arevalo, august 6th, 2012.
released public domain.
*/
#include <wtv020sd16p.h>
int resetpin = 2; // pin number of reset pin.
int clockpin = 3; // pin number of clock pin.
int datapin = 4; // pin number of data pin.
int busypin = 5; // pin number of busy pin.
/*
create instance of wtv020sd16p class.
1st parameter: reset pin number.
2nd parameter: clock pin number.
3rd parameter: data pin number.
4th parameter: busy pin number.
*/
wtv020sd16p wtv020sd16p(resetpin,clockpin,datapin,busypin);
void setup() {
//initializes module.
wtv020sd16p.reset();
}
void loop() {
//plays synchronously audio file. busy pin used method.
wtv020sd16p.playvoice(0);
//plays asynchronously audio file.
wtv020sd16p.asyncplayvoice(1);
//plays audio file number 1 during 2 seconds.
delay(5000);
//pauses audio file number 1 during 2 seconds.
wtv020sd16p.pausevoice();
delay(5000);
//resumes audio file number 1 during 2 seconds.
wtv020sd16p.pausevoice();
delay(5000);
//stops current audio file playing.
wtv020sd16p.stopvoice();
//plays synchronously audio file. busy pin used method.
wtv020sd16p.asyncplayvoice(2);
delay(2000);
//mutes audio file number 2 during 2 seconds.
wtv020sd16p.mute();
delay(2000);
//unmutes audio file number 2 during 2 seconds.
wtv020sd16p.unmute();
delay(2000);
//stops current audio file playing.
wtv020sd16p.stopvoice();
}
the problem can not hear anything!
can me please? i'm going crazy.
thanks in advance.

i use microsd 2gb, in i've copied ad4 files audio.
i used sketch:
/*
example: control wtv020-sd-16p module play voices arduino board.
created diego j. arevalo, august 6th, 2012.
released public domain.
*/
#include <wtv020sd16p.h>
int resetpin = 2; // pin number of reset pin.
int clockpin = 3; // pin number of clock pin.
int datapin = 4; // pin number of data pin.
int busypin = 5; // pin number of busy pin.
/*
create instance of wtv020sd16p class.
1st parameter: reset pin number.
2nd parameter: clock pin number.
3rd parameter: data pin number.
4th parameter: busy pin number.
*/
wtv020sd16p wtv020sd16p(resetpin,clockpin,datapin,busypin);
void setup() {
//initializes module.
wtv020sd16p.reset();
}
void loop() {
//plays synchronously audio file. busy pin used method.
wtv020sd16p.playvoice(0);
//plays asynchronously audio file.
wtv020sd16p.asyncplayvoice(1);
//plays audio file number 1 during 2 seconds.
delay(5000);
//pauses audio file number 1 during 2 seconds.
wtv020sd16p.pausevoice();
delay(5000);
//resumes audio file number 1 during 2 seconds.
wtv020sd16p.pausevoice();
delay(5000);
//stops current audio file playing.
wtv020sd16p.stopvoice();
//plays synchronously audio file. busy pin used method.
wtv020sd16p.asyncplayvoice(2);
delay(2000);
//mutes audio file number 2 during 2 seconds.
wtv020sd16p.mute();
delay(2000);
//unmutes audio file number 2 during 2 seconds.
wtv020sd16p.unmute();
delay(2000);
//stops current audio file playing.
wtv020sd16p.stopvoice();
}
the problem can not hear anything!
can me please? i'm going crazy.
thanks in advance.
i did various test , in speaker feel different whistles.
i waiting answers problem
i waiting answers problem
Arduino Forum > Using Arduino > Audio > Problem with WTV020
arduino
Comments
Post a Comment