Serial communications with the arduino uno configure xbees with x ctu a screenshot of x ctu software with the important buttons shown the only way we can configure the network settings of our modules is to download the program x ctu by digi digi are the xbee manufacturers. Hi, ive bought two xbee pro xsc with two xbee explorer regulated boards and a ftdi cable from sparkfun store. If you click the test button, the xctu software will use the com1 serial port to communicate with the xbee module by reading what verison it is and reporting that back to you. The second xbee is name white and is connected to my laptop with an adafruit xbee adapter that has adc pin 2 setup for 20 second periodic io sampling. The following tutorial was written for the atmega168 but has been updated to work with the atmega328 as well. Its the official tool to configure and test xbee radios, as well as other digi devices. You might also want to check the more newly released official xbee java library from digi international, the makers of xbee. Tutorial use the hobbyduino xbee plug for wireless arduino programming. Therefore, you need to put one of your xbee modules into coordinator mode using the function set dropdown box in x ctu. G2 application note for range testing with 2 xbee s1 modules using xctu on mac osx part 23 introduction. Changing or upgrading the xbee firmware is a delicate process that may harm permanently the xbee module. I was able to send characters from the arduino and see them in the serial monitor of the xctu.
Xbee basics lesson 1 general information and initial. First of all, get the x ctu program from, and get wineskin for mac. That means you can use an xbee to directly drive leds or motors, and read analog sensors or buttons. Then type your xbee s address into the text box nearby. My circuit is quite a bit like the arduino shown above, but id like to poll the xbee to see how strong the rf connection is between them. Xbee series 2 point to point communication tutorials of. To change each zigbee parameter with x ctu, it is needed to use the gateway and study the x ctu tutorial. Were going to show you how to do all of that in this tutorial. To add your xbees, click the add device icon in the upperleft part of the window.
It may be necessary to configure your system prior to installing xctu for the first time. Xctu was developed by digi and it is only available for windows, macos and linux. To follow along in this tutorial, click on the update firmware button. Code examples that use these libraries are available on the building wireless sensor networks page. Xctu next gen configuration platform for xbeerf solutions. Xbee series 1 product page the product page for the series 1 module. Digi proposes the windowsbased xctu tool for xbee configuration which works. Xbee buying guide we highly recommend series 1 xbee s, if this is your first time playing with them. It is not compatible with neither linux nor mac, but it can be used with wine the windows emulator. So call them if you cant get the xbees working or if xctu isnt working correctly. Youll need to concatenate the two values to get your mac address. Serial port and mac users should look for something like usbserialxxxxxxxx. The xctu has such functionality, as you can see in the picture below. The current release of xctu is available on digis website, unfortunately its only available for windows.
They cover various xbee radios, providing a full suite of api interactions. If you want to connect the receiving xbee to a mac instead of a windows pc, use ashley hughes solution, and read the characters sent by the xbee on the mac terminal. Your tutorial is a very nice way to get going on xbee. This is lesson 1 out of 5 where i will be teaching you the basics of xbee. Connect up to xbee using x ctu or use another terminal. Once x ctu read the xbee it will set the modem type and function set boxes and show a list of parameters. Check out this tutorial where we combine the xbee wifi with an xbee shield and an arduino to stick sensor readings on the internet.
The terminal screen did displayed the transmitted data from the coordinator correctly. The xbee he used was not the same as my xbee s2c module, so the profile configuration file he linked did not work by default. Hence, make sure that your access point supports and work on psk. Using x ctu to read settings of an xbee using x ctu to change settings of an xbee this page describes how to use x ctu to load an xbee configuration profile onto an xbee, to prepare the xbee for use with the sensestage minibee. Im trying to configure an xbee with the x ctu tool using wine.
I was able to send characters from the arduino and see them in the serial monitor of the x ctu. The coordinator has the fixed address 0, so you need to set dl and hl address parts of the other module to 0. Xctu is a free multiplatform application designed to enable developers to interact with digi rf modules through a simpletouse graphical interface. Xbee adapter connecting, configuring and upgrading. I suggest a terminal program that lets you see hex values for transmitted data which is why xctu is pretty rad. This is listed in xctu under the sl and sh serial number low and high entries. With an xbee explorer connected between your computer and your xbee, and with the help of the xctu software, you can easily configure xbees, test connections, and pass data between your computer and remote xbees. Tutorial use the hobbyduino xbee plug for wireless. Xctu is a free, multiplatform digi xctu compatible with windows, macos and to interact with digi rf modules through a simpletouse graphical interface. To change each zigbee parameter with xctu, it is needed to use the gateway and study the xctu tutorial. Windows users can check it out too, its pretty slick. First of all, get the xctu program from, and get wineskin for mac. This is a java api for communication with xbeexbeepro series 1 802. They are configured through xctu, based on the one tutorial found on.
I suggest a terminal program that lets you see hex values for transmitted data which is why x ctu is pretty rad. The difference between them is that the xbee pro operates at higher power and has a more sensitive receiver. The xbee and xbee pro are plugin replacements for each other. G2 application note for install xctu xbee s1 modules using xctu. Jan 01, 20 this is lesson 1 out of 5 where i will be teaching you the basics of xbee. I did a bit more digging today to make sure the txrx lines are actually passing data. I dont know if this will help in your specific situations, but here is my solution for using xctu on a mac. Xbee series 2 point to point communication tutorial by cytron. The focus of this tutorial is to explain how to use an xbee explorer with an xbee. Xbee ethernet arduino node red mongodb tutorial bluemix internet of things led button buzzer mqtt. Getting xctu xctu is free software from digi that allows you to configure the xbees. In this xbee tutorial well show how to configure the xbee to talk at the midi baud rate, and then how to create a bidirectional wireless midi link. Xctu will start communicates with xbee module base on your selection and reload the firmware to the xbee.
A friendly introduction to xbee technologic systems blog. Again, plug in coordinator xbee s2 module, open xctu. I had a similar problem of wireless arduino bootloading over xbee series 2 zigbee mesh network. To get it to work with the s2c module, i just went through and replaced each field manually and then resaved it as a profile for the s2c and following the rest of the tutorial worked fine. Im looking now for a resource other than the digi manual. Xbee module configuration install xctu pyroelectro. Reading data over serial arduino and xbee stack overflow. Note that in europe the output power of the xbee pro must be restricted to 10dbm. Mac address, and that node will forward if it is not the final destination wan connected. Digi proposes the windowsbased x ctu tool for xbee configuration which works quite fine. This tutorial is aiming at xbee series 2 as highlighted at the. If you need to upgrade the xbee s firmware, x ctu is the tool.
Xctu is the windows software that is required to update the firmware of the xbee radios. Using digis xctu software and parallaxs xbee usb adapter board, interfacing with the xbee is simple for. I used wineskin which produces standalone mac software packages based on wine. I recently went from using a windows laptop to a intel macbook, and needed to be able to configure and program xbees properly, ie with xctu. Home tutorials tutorial use the hobbyduino xbee plug for wireless arduino programming. X ctu is the windows software that is required to update the firmware of the xbee radios. Suggested reading this tutorial builds on some lowerlevel electronics concepts. It includes new tools that make it easy to setup, configure and test xbee rf modules. Xctu is compatible with the mostused operating systems, including microsoft windows, linux, and mac os. What i would like to do now is to have the data displayed on the xctu on the receiver end of the xbee the one connected to the computer to be sent to the microsoft. Nah thats a future tutorial we will do it using xctu. Libelium supplies the xbee transceivers with the desired firmware version 802. The tutorial covers how to install xctu and add your xbee device for configuration.
G2 application note for installing xctu and adding xbee s1 modules on mac osx part introduction. To manage data being sent over the network we can use a bunch of different tools, well use the arduino ide. Government regulations wireless communication has different restrictions in different countries. Jan 28, 2009 the digi x ctu software is a handy windows application to configure the large amount of settings on the xbee. This tutorial demonstrates how to use the new xctu interface with the xbee s1 modules. One other advantage of x ctu is that you can have a quick summary of all the xbee s parameters. Connect up to xbee using xctu or use another terminal. For windows you can use putty or xctu and for mac, coolterm. You can have one xbee communicating at 31,250 baud and another at 9600 baud and theyll pass data back and forth just fine.
There are a variety of explorer boards, all designed to achieve the. How to network xbee and the arduino tutorial australia. Xbee, ethernet, arduino, node red, mongodb, bluemix, iot. Mar 08, 2012 xbee series 2 point to point communication.
Ive tried to manage them by xctu, xbee module has been connect using sparkfun xbee explorer regulated board and ftdi usb cable. G2 application note for installing x ctu and adding xbee s1 modules on mac osx part introduction. One of the possible reason for this issue might be configuration mismatch between how your access point and your xbee is setup. To download, try this link or search for x ctu download.
This should read out of the xbee all of the parameters. This tutorial is aiming at xbee series 2 as highlighted at the title and in the beginning of. Graphical network view for simple wireless network configuration and. Once xctu has been downloaded, the next step is to. Xbee zb product page the product page for the current series2ish module. Xctu includes all of the tools a developer needs to quickly get up and running with xbee. Setting up midi gear usually requires lots of cabling, tying inputs to outputs across a studio or stage. Communication with two xbees and arduinos over serial. When my baud rate in x ctu isnt the same baudrate as my xbee module, it asks for a reset of the xbee module. Ive saved the todays version of my xctu config files here. This tutorial can be applied generically to any setup with any two xbee radios. Ive tried to use them many times, but they dont work.
Show you the basic simple example of using xbee and arduino. Xctu is a next generation configuration platform for xbeerf solutions. I plug the usb in and check the kernel logs to see on which serial devices it has been. How to use pc to control and monitor electronics arduino project through xbee. Originally, this tutorial was written to configure an xbee series 1 to communicate in. The tutorial covers using the range test functionality of xctu. For windows you can use putty or x ctu and for mac, coolterm. Did you set one of your modules into coordinator mode. The latest version of xctu is available for both mac and windows. The ability to send remote at commands is now included. Linux being my operating system of choice, ive always felt some frustration at having to dig out a windows machine when i want to update xbee firmware.
Does the xbee module turn to the default baudrate for a short period of time after a reset or is it able to connect with reset because of other reasons. G2 application note for install xctu xbee s1 modules. Get started with xbee a beginners tutorial atomic spin. For mac os x users, there is a beta version of xctu 6. Jun 25, 2014 xctu will start communicates with xbee module base on your selection and reload the firmware to the xbee. Then i connected the xbee to an arduino tx to pin 3, rx to 2, vcc and gnd respectively and the other xbee to the pc through an ftdi cable. Each xbee module has its own mac address which is a 64bit address. X ctu software this is what you need to configure the xbee modules. This is a quick demonstration of one of its operating modes. When my baud rate in xctu isnt the same baudrate as my xbee module, it asks for a reset of the xbee module. You might again get the message of action require window, just reset the skxbee and try again if fail. The library has been tested on mac os x and windows platforms.
In this lesson i cover general information about xbee and go through the initial setup steps. This page describes how to use xctu to load an xbee configuration profile onto an xbee, to prepare the xbee for use with. When i set the baudrate right it doesnt ask for a reset. If the xctu able to initiate the xbee module, you should see the progress bar of recovering radio module window. May, 2015 xbee modules 1 and 2 need to be able to communicate with each other on the same channel with no interference. The xbee connected with arduino board will act as a receiver and it will communicate wirelessly with other xbee module which is serially connected with the laptop using a explorer board. G2 application note for range testing xbee s1 modules. Adding xbees after initially opening xctu, youll be presented with a window like this. Once xctu read the xbee it will set the modem type and function set boxes and show a list of parameters. If you need to upgrade the xbees firmware, xctu is the tool. They are configured through x ctu, based on the one tutorial found on. One other advantage of xctu is that you can have a quick summary of all the xbees parameters.
Serial port and mac users should look for something like usbserial xxxxxxxx. Ive tried to manage them by x ctu, xbee module has been connect using sparkfun xbee explorer regulated board and ftdi usb cable. The objective of this project is to provide a flexible and simple to use api to interact with xbee radios. Run through the install as you would with any windows application.
Aug 26, 2016 i finally discovered how to use the xbee. Starting with xctu xctu is free software, provided by digi the manufacturer of xbee, which. Digi proposes the windowsbased xctu tool for xbee configuration which works quite fine. Xctu runs on a windows vm under mac os x i used vmware fusion and a windows xp. Recovering your xbee tutorials of cytron technologies. Feb 14, 2019 in this tutorial we will interface xbee module with arduino uno board. Note that these xbee s6b modules supports only wpa and wpa2 protocol in psk mode.
Xctu is free software, provided by digi the manufacturer of xbee, which we use to. For that i connected the adapter with the xbee to a usbttl converter and checked the serial at baud 9600 on my terminal mac. Try checking out our buying guide to compare the different modules. The tutorial covers how to install x ctu and add your xbee device for configuration. I now know that i was wrong in this theres actually no need at all to run windows in order to run xctu for firmware upgrades. The latest version of x ctu is available for both mac and windows.
9 1234 1436 1301 267 967 237 94 553 1489 1201 765 932 1188 1263 602 664 532 764 554 264 941 964 1322 189 1303 40 990 341 409