Hello,
I was wondering if anyone encountered the issue of having troubles to upload sketches to the board.
I can't upload any sketch to the board without getting the following error message:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x83
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x83
Error opening serial port 'COM3'. (Port busy)
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x83
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x83
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x83
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x83
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x83
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x83
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x83
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x83
This is what it looks like:
I followed the steps in the Assembling Instructions Google Doc and think I chose the right board, Processor and Port. I tried different USB cables and searched the internet but wasn't successful in solving the issue.
I would greatly appreciate any ideas or help.
Fox
Only click upload button once and wait for the IDE to compile and upload. It may take one minutes (10 seconds compiling, 30 seconds uploading, 20 seconds validation).
You mentioned that the yellow LED blinks slowly. It may be caused by:
1. You're not powering the board by battery. In that case, if the servos were commanded to move, they will draw large current through USB, and trigger the protection on your computer. It will disable the corresponding USB port. You have to switch to another USB port or restart your computer.
2. You dialed the potentiometer to the counterclockwise end. The voltage won't be stable.
I saw the error message about bootloader. You don't need to burn bootloader.
"Programmer is not responding" message could happen if the USB serial is disabled, or bad connection, or the serial port is not selected.
On the bottom line of serial monitor, you need to change the "newline" to "no line ending" in the drop-down menu. The parser in the code only accepts that format.
Sorry I have not been clear. The issue is with upload. Uploads worked for a while but no longer. See images below. There is a short buzz that comes from the board and then the yellow led blinks slowly. Nothing happens.
There is program on the board as I can see the prompts on the serial monitor but it doesn't respond to commands
Check the potentiometer on NyBoard and dial it close to the clockwise end. 5.5V~6.5V for servos should work the best with Nybble's configuration.
What do you mean by "DTR pin was incorrect but corrected it"?
Does the sketch stop every time you calibrate? Sometimes it stops when all joints are moving at once. You can press the reset button to restart the program. Enter 's' to save the offset after you calibrate one joint, in case that the program stops again.
Take screenshots of both the serial monitor's message and the uploading area. The red messages in your post are warnings and won't affect the functionalities.
The problem relates to voltage stability. I've got several cases where the output ability of the step down chip (U2) for servos is suspicious. Please run this test sketch to check the servo's behavior. If you are going to stick with the metal servos in Nybble kit, you can bypass the step down chip.
I got all the way to calibration. Was setting up the offsets when the Nyboard stopped responding to calibration. Now, this error is where I am stuck.
Everything looks okay, reinstalled arduino, rebooted multiple time,changed usb ports and cables, uninstalled com drivers, DTR pin was incorrect but corrected it. Powered by EBL batteries. The yellow and blue leds are lit on the nyboard. Please help?
Thanks in advance
Hello Rongzhong,
Thank you so much for your fast reply.
I tried a third USB cable and now it worked. Two broken USB cables... what are the odds. (> -.- )>
1. In the Port tab, do you see other COM numbers?
2. Does the DTR pin on both NyBoard and FTDI uploader match when you connect them?
3. When you plug in the FTDI uploader to USB, does the LED blink for a short period?
4. Have you tried to restart your computer?