# Xbee wireless uploading

**URL:** <https://forum.arduino.cc/t/xbee-wireless-uploading/173323>\
**Category:** Networking, Protocols, and Devices\
**Created:** [July 15, 2013, 7:41am UTC](https://forum.arduino.cc/t/xbee-wireless-uploading/173323 "2013-07-15T07:41:33Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 15, 2013, 7:41am UTC](https://forum.arduino.cc/t/xbee-wireless-uploading/173323/1 "2013-07-15T07:41:33Z")

</div>

Hi,

here my problem:

I have a xbee that is connected to my usb through the usb explorer and another one that is connected to my arduino through a wireless shield.  
I want to upload a sketch from my usb explorer to my arduino?

How can i get it? =(

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 15, 2013, 11:06am UTC](https://forum.arduino.cc/t/xbee-wireless-uploading/173323/2 "2013-07-15T11:06:50Z")

</div>

Any advice?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 15, 2013, 12:06pm UTC](https://forum.arduino.cc/t/xbee-wireless-uploading/173323/3 "2013-07-15T12:06:38Z")

</div>

> I have a xbee that is connected to my usb through the usb explorer and another one that is connected to my arduino through a wireless shield.

What kind of XBees?

> I want to upload a sketch from my usb explorer to my arduino?

Is that a statement or a question?

Supposing that it is a statement, how do you propose to have the XBee press the reset button at the right time?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 15, 2013, 12:16pm UTC](https://forum.arduino.cc/t/xbee-wireless-uploading/173323/4 "2013-07-15T12:16:43Z")

</div>

I have xbee 2 series.

No, it's a question.  
I mean, I'd like to upload wireless my sketch to my arduino that it has a wireless shield with an xbee mount on it 😃

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 15, 2013, 12:46pm UTC](https://forum.arduino.cc/t/xbee-wireless-uploading/173323/5 "2013-07-15T12:46:46Z")

</div>

> I mean, I'd like to upload wireless my sketch to my arduino that it has a wireless shield with an xbee mount on it

When you connect the USB cable to the Arduino, and press the upload icon in the IDE, the code is compiled and linked. Then, avrdude is called to upload the resulting hex file. One of the things that avrdude does is to reset the Arduino. The needed link between the reset hardware and the XBee does not exist, so the XBee has no way of pressing the reset key. You'll need to do that manually, at the right time.

Once you do that, the fact that XBees are involved in the upload process should not matter. Though, personally, I've never figured out the magic moves to make the upload work using series 1 XBees. I've not tried it with the series 2 ones that I have.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 15, 2013, 1:22pm UTC](https://forum.arduino.cc/t/xbee-wireless-uploading/173323/6 "2013-07-15T13:22:09Z")

</div>

ehm.....so I believe that is not possibile uploading a sketch using two xbee :~

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 15, 2013, 2:10pm UTC](https://forum.arduino.cc/t/xbee-wireless-uploading/173323/7 "2013-07-15T14:10:17Z")

</div>

There exist quite a few resources for this on the net:

[http://www.ladyada.net/make/xbee/arduino.html](http://www.ladyada.net/make/xbee/arduino.html)  
[https://www.sparkfun.com/tutorials/122](https://www.sparkfun.com/tutorials/122)

> **[Arduino Wireless Programming With XBee Series 1 or 2](https://www.instructables.com/Arduino-Wireless-Programming-with-XBee-Series-1-or/)**
>
> Arduino Wireless Programming With XBee Series 1 or 2:     Hi. This Instructable will guide you through the process of wirelessly  programming your Arduino using two XBees. I just finished designing a wireless EEG system with...

[http://www.faludi.com/itp\_coursework/meshnetworking/XBee/XBee\_program\_Arduino\_wireless.html](http://www.faludi.com/itp_coursework/meshnetworking/XBee/XBee_program_Arduino_wireless.html)  
[http://aeroquad.com/showthread.php?2301-Problem-communicating-with-XBee](http://aeroquad.com/showthread.php?2301-Problem-communicating-with-XBee)  
[https://www.google.be/search?q=xbee+not+in+sync&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:nl:official&client=firefox-a&gws\_rd=cr](https://www.google.be/search?q=xbee+not+in+sync&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:nl:official&client=firefox-a&gws_rd=cr)  
[http://forum.arduino.cc/index.php/topic,26326.0.html](http://forum.arduino.cc/index.php/topic,26326.0.html)

HOWEVER, I had bought an xstick from digi with zigbee and a zigbee module pro series 2 and couldn't get it to work. I've ordered 2 series 1, 802 modules and am going to test this tomorrow. Maybe I'll try again tonigth.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 15, 2013, 3:54pm UTC](https://forum.arduino.cc/t/xbee-wireless-uploading/173323/8 "2013-07-15T15:54:15Z")

</div>

Thank you, but these example are only for xbee 1 series =(

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 15, 2013, 6:25pm UTC](https://forum.arduino.cc/t/xbee-wireless-uploading/173323/9 "2013-07-15T18:25:47Z")

</div>

> ard2011:  
> Thank you, but these example are only for xbee 1 series =(

Yeah, that was also my reaction. And that's why I'm going to buy 2 new series 1. I don't really understand why there is a difference between the two series in this case...

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 16, 2013, 9:31pm UTC](https://forum.arduino.cc/t/xbee-wireless-uploading/173323/10 "2013-07-16T21:31:06Z")

</div>

> MathiasVDA:
> 
> > ard2011:  
> > Thank you, but these example are only for xbee 1 series =(
> 
> Yeah, that was also my reaction. And that's why I'm going to buy 2 new series 1. I don't really understand why there is a difference between the two series in this case...

To answer my own question: the series 2 or ZIGBEE does not have the function to pass digital IO signals. So the option to pass the signal on pin 3 is non existant.  
[http://www.digi.com/support/kbase/kbaseresultdetl?id=2213](http://www.digi.com/support/kbase/kbaseresultdetl?id=2213)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 6, 2021, 10:43am UTC](https://forum.arduino.cc/t/xbee-wireless-uploading/173323/11 "2021-05-06T10:43:48Z")

</div>

Closed on May 6, 2021, 10:43am UTC


