Arduino Uno and XBee Shield and Xbee XBee Pro 60mW Issue

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

This is the Arduino I’m using:

http://www.sparkfun.com/products/9950

This is the Shield I’m using:

http://www.sparkfun.com/products/9976

This is the XBee I’m using.

http://www.sparkfun.com/products/8742

async,

For starters: Are you trying to download through the Xbee connection, or through a USB cable?

Eric

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

This is the Arduino I’m using:

http://www.sparkfun.com/products/9950

This is the Shield I’m using:

http://www.sparkfun.com/products/9976

This is the XBee I’m using.

http://www.sparkfun.com/products/8742[/quote]

I know it’s impossible to program an Arduino using Xbee without any special modifications. For example look here: http://www.ladyada.net/make/xbee/arduino.html

I hope that it can be of help!

How are you powering this?

ScottH:
This is the Arduino I’m using:

http://www.sparkfun.com/products/9950

This is the Shield I’m using:

http://www.sparkfun.com/products/9976

This is the XBee I’m using.

http://www.sparkfun.com/products/8742

[/quote]

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.

Good afternoon folks. Get me a question: I’m using a one r3 along with a xbee shield and when I do uploading program sends correctly.

But when I connect the xbee the shield, an error occurs: avrdude stk500_getsync () not in sync resp = 0x00