Pages: [1] 2   Go Down
Author Topic: Anyone using Arduino board with XBee shield?  (Read 2656 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: April 09, 2009, 04:01:03 pm by hzhang » Logged

Keynsham, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 224
I like for loops and walks on the beach,
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

/me
Logged

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

0
Offline Offline
Newbie
*
Karma: 0
Posts: 43
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

remove the module before uploading.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


My aim is to make the board communicate with computer.
Logged

Indiana
Offline Offline
Full Member
***
Karma: 1
Posts: 234
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Indiana
Offline Offline
Full Member
***
Karma: 1
Posts: 234
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

« Last Edit: May 05, 2009, 02:21:27 am by crisfuga » Logged

Indiana
Offline Offline
Full Member
***
Karma: 1
Posts: 234
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1] 2   Go Up
Jump to: