In this instructable, I will show you how to configure XBees for a point-to-multipoint mesh. In this configuration, there will be one central COORDINATOR and multiple END DEVICES. The END DEVICES will send and receive messages from the COORDINATOR and the COORDINATOR will have to sort which wireless packets came from which END DEVICE and send packets to the appropriate END DEVICE as well.
Remove these ads by
Signing UpStep 1: Wireless Setup
In a point-to-multipoint wireless configuration (see picture 1), multiple nodes (Router/End Devices) pictured in blue, send to and receive from a central coordinator (red).
Andrew Rapp wrote a great XBee Java API which can be found here: http://code.google.com/p/xbee-api/
Andrew also provides detailed instructions for integrating the XBee API with the popular IDE Eclipse. For my project (and for unknown reasons) I decided on using the Swing JAVA GUI library which, for me, was a little easier to develop for using NetBeans. Therefore, I will also provided instructions on how to setup the XBee JAVA API using Netbeans. But first we need configure the firmware on the XBee.









































Visit Our Store »
Go Pro Today »




C:\dev\libs\java\xbee-api-0.9\src\com\rapplogic\xbee\api\wpan
C:\dev\libs\java\xbee-api-0.9\src\com\rapplogic\xbee\api\zigbee
C:\dev\libs\java\xbee-api-0.9\src\com\rapplogic\xbee\examples\wpan
C:\dev\libs\java\xbee-api-0.9\src\com\rapplogic\xbee\examples\zigbee
-------------------------------------------------------------------------------------------------------
i'm trying to use netbeans. i added a project folder "TestXBeeJavaAPI".
i added C:\dev\libs\java\xbee-api-0.9\lib to libraries and C:\dev\libs\java\xbee-api-0.9\src\ to source packages, but i get many red exclamation marks. any ideas?
Modem: XB24
Function Set: XBEE 802.15.4
Version 10E8 or higher