I am trying to use the Adafruit motor shield with the Adafruit stepper motor builtfor the first time using the built in example of the stepper motor test. However, when I try to upload the sketch I get this error message:
Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Uno"
Sketch uses 4978 bytes (15%) of program storage space. Maximum is 32256 bytes.
Global variables use 568 bytes (27%) of dynamic memory, leaving 1480 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x20
An error occurred while uploading the sketch
Any help would be greatly appreciated
error message stepper motor
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: error message stepper motor
Have you checked the usual culprits? Bad or wrong type of USB cable, Wrong port selected, wrong board type selected? Have you been able to load other sketches to this Uno before?
- kennburr
- Posts: 12
- Joined: Thu May 05, 2016 1:52 pm
Re: error message stepper motor
Thanks for your reply. Finally found the problem: wrong port selected. I don't understand the screen said Uno on com 3, but when I changed it to select com 4 the stepper motor works fine.
Please be positive and constructive with your questions and comments.