thank you for the reply. 
yes, that is the version 2. the version 3 is like version 2 cut in half.. the seller told me that the manual for version 3 is on process, so that's why i don't know the details of it.. and i dont have the manual for version 3,, the seller just said that its like the version two. the picture of v3 is attached.
i just followed the sketch in version two. here it is
/*
This code is show how Arduino Wave Module works with Arduino.
Code is not optimized. Any improving work on it is encouraged.
*/
int RST = 3;
int CLK = 9;
int DAT = 8;
void setup() {
pinMode(RST, OUTPUT);
pinMode(CLK, OUTPUT);
pinMode(DAT, OUTPUT);
digitalWrite(RST, HIGH);
digitalWrite(CLK, HIGH);
digitalWrite(DAT, HIGH);
digitalWrite(RST, LOW);
delay(5);
digitalWrite(RST, HIGH);
delay(300);
}
void loop() {
send(0x0000);//play file 0000
delay(10000);//delay 10 seconds
send(0x0001);//play file 0001
delay(10000);//delay 10 seconds
send(0x0002);//play file 0002
delay(10000);//delay 10 seconds
send(0xfff0);//set voice volumn to 0 (turn off)
delay(3000);
send(0xfff4);//set voice volumn to 4
delay(3000);
send(0xfff7);//set voice volumn to 7
delay(3000);
send(0xfffe);// pause
delay(5000);
send(0xfffe);//play
while(1);
}
void send(int data)
{
digitalWrite(CLK, LOW);
delay(2);
for (int i=15; i>=0; i--)
{
delayMicroseconds(50);
if((data>>i)&0x0001 >0)
{
digitalWrite(DAT, HIGH);
//Serial.print(1);
}
else
{
digitalWrite(DAT, LOW);
// Serial.print(0);
}
delayMicroseconds(50);
digitalWrite(CLK, HIGH);
delayMicroseconds(50);
if(i>0)
digitalWrite(DAT, LOW);
else
digitalWrite(DAT, HIGH);
delayMicroseconds(50);
if(i>0)
digitalWrite(CLK, LOW);
else
digitalWrite(CLK, HIGH);
}
delay(20);
}
that code plays the wave shield right. it can play, pause, previous and next the sounds.
then for the piezo sensor, yes, i used 1M resistor parallel to it and also i tried to sense it and have tried some of the codes i saw on the net. here it is..
int ledPin = 13;
int knockSensor = 0;
byte val = 0;
int statePin = LOW;
int THRESHOLD = 10;
void setup() {
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}
void loop() {
val = analogRead(knockSensor);
if (val >= THRESHOLD) {
statePin = !statePin;
digitalWrite(ledPin, statePin);
Serial.println("Knock!");
}
delay(100); // we have to make a delay to avoid overloading the serial port
}
then this one is my latest code for piezo sensor that i want to put into the codes of the wave shield for triggering it to play the sound when it reach a certain threshold..
int sensePin = 0;
int ledPin = 13;
void setup()
{
// put your setup code here, to run once:
analogReference(DEFAULT);
pinMode(ledPin, OUTPUT);
}
void loop()
{
int val = analogRead(sensePin);
if(val >30) digitalWrite(ledPin, HIGH);
else digitalWrite(ledPin, LOW);
// put your main code here, to run repeatedly:
}
my problem is, i don't know where to put the codes of piezo to the codes of wave shield for it to be the trigger for playing the sound,, i tried inserting this one to the void loop of wave shield but it doesn't make any changes.
int val = analogRead(sensePin);
if(val <30) { send(0x0000);
delay(10000);
send(0xfff2);
delay(3000);
send(0xfffe);
delay(5000); }
of course i have done int sensePin=1 in the first part of the sketch..
please help?