element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Help! Speech Recognition (upload error)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 5 replies
  • Answers 3 answers
  • Subscribers 391 subscribers
  • Views 1227 views
  • Users 0 members are here
  • help
Related

Help! Speech Recognition (upload error)

the_future
the_future over 6 years ago

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

  • Sign in to reply
  • Cancel

Top Replies

  • Gough Lui
    Gough Lui over 6 years ago +3 suggested
    Check you have selected the correct board type and serial port. It looks like the Arduino IDE is having problems communicating with the microcontroller on the board. My suspicion is that you may have a…
  • Gough Lui
    Gough Lui over 6 years ago in reply to the_future +2 suggested
    The way you've wired or designed your sketch is probably not the best for an Arduino Uno which has a single UART port. You're trying to use the UART to communicate with the module itself, and it seems…
  • shabaz
    shabaz over 6 years ago +1 suggested
    Hi, It looks like a driver, program installation, software version, or connection issue. I don't have any more knowledge in this area though. From the error message, it is unlikely to be anything to do…
Parents
  • shabaz
    0 shabaz over 6 years ago

    Hi,

     

    It looks like a driver, program installation, software version, or connection issue. I don't have any more knowledge in this area though.

    From the error message, it is unlikely to be anything to do with your source code that you have shown, provided it built correctly. This is because the error message refers to the programmer, it is not related to the compiler.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • shabaz
    0 shabaz over 6 years ago

    Hi,

     

    It looks like a driver, program installation, software version, or connection issue. I don't have any more knowledge in this area though.

    From the error message, it is unlikely to be anything to do with your source code that you have shown, provided it built correctly. This is because the error message refers to the programmer, it is not related to the compiler.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube