I’m getting errors when downloading a sketch to the Arduino Uno when the XBee Shield and XBee Pro 60mW is connected. I don’t get the errors if I remove the XBee Pro 60W from the Shield. I tried downloading the sketch with the Shield switch in both the UART and DLINE positions. Both positions had the same failed download.
What am I doing wrong?
The error message I get when the sketch fails to download are:
Binary sketch size: 1018 bytes (of a 32256 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
How are you powering the XBee? Those modules can draw up to 350 mA.
-Scott
quote=“async”]Hello,
I’m just starting out with the Arduino Uno.
I’m getting errors when downloading a sketch to the Arduino Uno when the XBee Shield and XBee Pro 60mW is connected. I don’t get the errors if I remove the XBee Pro 60W from the Shield. I tried downloading the sketch with the Shield switch in both the UART and DLINE positions. Both positions had the same failed download.
What am I doing wrong?
The error message I get when the sketch fails to download are:
Binary sketch size: 1018 bytes (of a 32256 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
Beware the flawed design in the XBee board where there’s a diode in series with Data-in, in a bad attempt at a 5V to 3.3V logic level converter. This too-marginal scheme has caused a lot of problems with others.
There is a small switch on the XBee Shield with two positions marked “UART” and “DLINE”. If the shield is attached to the UNO when you uploading the program, then the switch has to be in the “DLINE” position or you will see the errors that you are getting. After your program has been uploaded change the switch to the “UART” position and you are good to go.