Configuration Guide
Last revision 2025/12/29
In this section, we will use the Wifi Bee to create a Web server as an sample application. Let's follow the steps below to make it work!
Tools need
Here's all the hardware needed.
Hardware setting
-
Plug the Wifi Bee into the Xbee USB adapter
-
Connet the Xbee USB adapter to your computer via mini USB cable
-
If windows or MAC can't find the driver, we can download here : click to download
Config the Wifi Bee Setting via USB COM Port
-
We need a serial monitor for configuring the WIFI Bee setting in this part. There're lots of good tools like putty,CoolTerm and Arduino serial monitor. In this case, we choose the Coolterm, which is compatible with both Windows and Mac.
-
Click the Options bottom, set the baud rate to 9600 as following and choose the right serial port :

-
Click the "Connect" botton and open the com port.
-
Send AT command $$$ to the wifi Bee and it will reply "CMD" to indicate that it enter the command mode properly(if you use Arduino IDE, make sure this command has no line endings).
-
Type show net
and it will show current network settings as Figure 2 shown(switch to both NL & CR line endings, to input AT commands). -
Type scan
to view a list of Wifi networks around as Figure 2 shown. 
-
If the access is an open access point, you could inout join your router's SSID
to connect to associate with it, as Figure 3 shown. If not, please go to step8. 
-
If it is secure network which requires password, you could do some settings by:
set wlan ssid your router's SSID
set wlan pass your router's password
save
reboot
Monitor will reply shown in Figure 4:

-
After the Wifi Bee reboot, it will automatically connect to your router.
-
If all goes well, the monitor replies with current ip address and opened port. It can be easily figured out in the Figure 5 that the ip address of my Wifi Bee is 192.168.0.177 and the port is 2000. Once your message stopped until "READY" and did nothing after reboot, there is a possibility that the module haven't been set into the state of connecting wlan automatically, so you can try "set wlan join 1" before saving the config and then reboot(Page 30,Wifly Command Reference).

-
Use Web browser to access http://ip:port like: http://192.168.0.177:2000, and the monitor receives the http request from the Web browser shown in Figure 6. However, the Web browser will not receive anything for the wifi bee replies nothing.

-
For more command please view WiFly Command Reference
Config the Wifi Bee Setting via Telnet
-
If successfully connected to the router, we can use telnet instead to config Wifi Bee setting.
-
Open the CMD in Windows or Terminal in Mac.
-
Type telnet ip port like: telnet 192.168.0.177 2000
-
Type $$$ quickly to enter the command mode and then we can set the Wifi Bee conveniently, which is shown in below

Connect to the TCP Server from Wifi Bee
In this section, I choose putty to work as an TCP client and send commands to the WIFI Bee.

-
Config the Host Name and Port.Set the connection type to Raw and Press open! Then you will connect to the server created by WIFI.

-
Now you could send commands via the TCP client simulated by putty to the WIFI shield. Thus putty will receive the strings sent from the Serial monitor also.
Static IP Address Communication
In this section, we will use the static IP address to communicate PC and arduino.
AT Command:
- "set ip dhcp 0"
Turn off the DHCP serve, use the static ip address - "set ip address 192.168.0.123"
This is your wifi bee ip address, the third parameter depends your gateway third one. If it is "192.168.1.1", it should be "1";and if it is "192.168.0.1",it should be "0" - "set ip netmask 255.255.255.0"
- "set ip gateway 192.168.0.1"
The gateway of my router is "192.168.0.1". But usually it's "192.168.1.1".So please check the setting of your network also. And set the right IP address for your WIFI bee.
Attention: Make sure "123" is not occupied.
Was this article helpful?
