# How to config xbee s1 for sending data from arduino to PC with Xbee s1 ; Java program to read at the PC

**URL:** <https://forums.digi.com/t/how-to-config-xbee-s1-for-sending-data-from-arduino-to-pc-with-xbee-s1-java-program-to-read-at-the-pc/13485>\
**Category:** XBee - 802.15.4\
**Tags:** java, s1, with, pc, for\
**Created:** [August 20, 2014, 8:13am UTC](https://forums.digi.com/t/how-to-config-xbee-s1-for-sending-data-from-arduino-to-pc-with-xbee-s1-java-program-to-read-at-the-pc/13485 "2014-08-20T08:13:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeepn](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sandeepn](https://forums.digi.com/u/sandeepn)\
**Post date:** [August 20, 2014, 8:13am UTC](https://forums.digi.com/t/how-to-config-xbee-s1-for-sending-data-from-arduino-to-pc-with-xbee-s1-java-program-to-read-at-the-pc/13485/1 "2014-08-20T08:13:48Z")

</div>



---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [August 22, 2014, 8:40am UTC](https://forums.digi.com/t/how-to-config-xbee-s1-for-sending-data-from-arduino-to-pc-with-xbee-s1-java-program-to-read-at-the-pc/13485/2 "2014-08-22T08:40:43Z")

</div>

There is no configuration needed for the XBee modules to perform this function. This is more of a question on how you write your applications to send and receive data via a COM port. That is something that is not for this forum but for your Arduino processor forum and Microsoft’s forums for Java.

---

<div class="post-metadata">

**Author:** ![sandeepn](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sandeepn](https://forums.digi.com/u/sandeepn)\
**Post date:** [August 22, 2014, 10:37am UTC](https://forums.digi.com/t/how-to-config-xbee-s1-for-sending-data-from-arduino-to-pc-with-xbee-s1-java-program-to-read-at-the-pc/13485/3 "2014-08-22T10:37:38Z")

</div>

Do you mean I need to revert xbee’s to default settings without setting any parameters?  
not even AT or API mode ?

---

<div class="post-metadata">

**Author:** ![michaelt](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/michaelt/32/92_2.png) [@michaelt](https://forums.digi.com/u/michaelt)\
**Post date:** [December 4, 2014, 9:34am UTC](https://forums.digi.com/t/how-to-config-xbee-s1-for-sending-data-from-arduino-to-pc-with-xbee-s1-java-program-to-read-at-the-pc/13485/4 "2014-12-04T09:34:13Z")

</div>

I think what he means is that how you setup your XBee will likely depend on the program you use with the XBee, and its mode of operation. Does the java program expect to talk to an API interface? Then API mode would be needed on the XBee… Does the program talk to the XBee at a baud rate of 19200? Then appropriate settings would be needed to match the baud of the XBee serial interface, etc.
