Go Down

Topic: Anyone using Arduino board with XBee shield? (Read 3204 times) previous topic - next topic

diya

Apr 09, 2009, 10:59 pm Last Edit: Apr 09, 2009, 11:01 pm by hzhang Reason: 1
I'm using an Arduino Duemilanove board with XBee shield.
When I  upload the different examples to the board by USB cable,  the same errors come out :

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Anyone here can help me?

Thanks a lot.

BetaDelta

More info? Are you using the 168 or 328 and have you selected the right chip from the board menu?

/me
"C++ : Where friends have access to your private members." - Gavin Russell Baker

ziplock


diya

Atmega328
i'm sure i choose the right board and port..


My aim is to make the board communicate with computer.

etracer

Quote
remove the module before uploading.


What he said.

The Xbee is connected to RX/TX pins on the chip. This is interfering with the upload because the data from the FTDI chip also connects to the the same pins.

Another solution would be to remove both jumpers on the Xbee shield that control how the Xbee's serial lines are connected when you want to upload. You didn't say which Xbee shield you have so I assume you have the jumpers.

If you just want the computer to talk directly and only to the Xbee, then you need to set the jumpers in the "USB" position and remove the ATmega chip from it's socket.

diya

Thanks a lot.
but the board is already sealed. we couldn't remove the XBee shield and there's no jumper i think.


diya

Thanks etracer.
I got it.

But do you know how to use the SquidBee to form a wirless sensor network?
Squidbee gateway is the arduino+xbee+xbee pro+usb cable
Squidbee node is the arduino+xbee+xbee pro+sensors

when i connect the gateway with computer via usb cable, squidbee node could transmit data to the gateway via antenna(wirless RF). I saw the sensed data on terminal software(hyperterminal or x-ctu).
The problems is:
i couldn't stop the transmitting? is there a command?
how can i set up the squidbee node's  address? because i have more than one node, i want to distingush them



KBK

Hello diya,
i'll use Arduino Duemilanove + XBee in a couple weeks.
Did you just connect Tx-Rx of Arduino and XBee and communicated? Because there is the 5V to 3.3V issue. I thought it was needed a tension divider.

About identifying nodes:
-ATMY command sets the node adress. Ex.: ATMY6666 sets the node adress to 6666.
-ATDL command sets the node Destination adress. Ex.: ATDL7777

This way, the node "6666" will only send data to 1(or more) node with "7777" adress. You can set several nodes with 7777 adress, so they all receive the data. You can create many diffenrent setups. Hope this will help you.

To stop transmittion (i'm assuming you're using XBee A/Ds to transmit constantly) I guess you can set the transmitting node to sleep. nut I'm not sure of that.
Another option is to enter command mode by sending '+++' and waiting 1 sec without send anything. Then disable A/Ds.

Hope this can help you

diya

Thanks KBK.

The way to use ATMY etc. command could set up the gateway's address, because the gateway is connected via cable and X-ctu could communicate with the gateway.
But as for the node which is powered by battery and communicate wirlessly, we couldn't use any terminal to set up their address.

diya

quto[tr]'m using an Arduino Duemilanove board with XBee shield.
When I  upload the different examples to the board by USB cable,  the same errors come out :

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
[/tr]

i think the reason is that i don't have Atmega chip.....i only have a board.

crisfuga

I am working with the same board, and i have this problem too.

I bought Arduino+Xbee board last week. When I tried to upload a example, this message appeared:

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I saw the recommendations in Arduino website but I can´t solve it.

Some information about my enviroment:
OS: Windows XP
Serial Port: COM3
Board: Arduino Duemilanove + XBee (Squidbee)

I am new in Arduino.I need your help. Thanks!

etracer

Quote
I am working with the same board, and i have this problem too.

I bought Arduino+Xbee board last week. When I tried to upload a example, this message appeared:

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I saw the recommendations in Arduino website but I can´t solve it.

Some information about my enviroment:
OS: Windows XP
Serial Port: COM3
Board: Arduino Duemilanove + XBee (Squidbee)

I am new in Arduino.I need your help. Thanks!


Read some of the earlier replies in this topic.


diya

Hi Crisfuga,
did you buy from libelium company?
what's your experiment about?

As for the problem, I think we don't have the Atmega 168/368 chip on Duemilanove board.
Later I will try to upload some photos about my board.

crisfuga

#13
May 05, 2009, 09:20 am Last Edit: May 05, 2009, 09:21 am by crisfuga Reason: 1
Hi diya!

yes, It´s a arduino board of Libelium. I´m working in a proyect of sensor network to have a degree in telecomunications. My experiment is about mixed networks, but it could change.

So, have you also bought it from Libelium?

Thanks for your photos, i want to solve this problem as soon as possible.


etracer

Quote
i want to solve this problem as soon as possible.


second try to give you the answer...

Then read the other posts in this topic (<< it's a link) that tell you how to solve the problem. If you don't want to click on the link, then just scroll up.

Go Up