Hi thanks for giving this a look at!
Was following a tutorial on youtube on Speech Recognition (geeetech module) as you (https://www.youtube.com/watch?v=Ur1tzMDP97g )
and I noticed that when I tried to upload the code I got a busy board and a runtime error whatever
that means.
What is funny is that I had to move to another computer to be able to upload any other code
to the boards but when I reuploaded the code on a new computer it gave me the same error again and stops me
from uploading any different code even a blank sketch.
Please help
Code:
byte com = 0;
void setup() {
Serial.begin(9600);
Serial.write(0xAA);
Serial.write(0x37);
delay(1000);
Serial.write(0xAA);
Serial.write(0x21);
}
void loop() {
while(Serial.available()) {
com = Serial.read();
switch(com) {
case 0x11: //command 1
Serial.println("a");
break;
case 0x12: //command 2
Serial.println("b");
break;
case 0x13: //command 3
Serial.println("c");
break;
case 0x14: //command 4
Serial.println("d");
break;
case 0x15: //command 5
Serial.println("e");
break;
}
}
}
Mega Error Messages:
"Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)" Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Sketch uses 2084 bytes (0%) of program storage space. Maximum is 253952 bytes.
Global variables use 199 bytes (2%) of dynamic memory, leaving 7993 bytes for local variables.Maximum is 8192 bytes.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer An error occurred while uploading the sketch
Uno Error Messages:
Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"
Sketch uses 1786 bytes (5%) of program storage space. Maximum is 32256 bytes.
Global variables use 199 bytes (9%) of dynamic memory, leaving 1849 bytes for local variables.Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x68
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x68
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x68
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x68
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x68
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x68
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x68
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x68
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x68
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x68