How to setup a the WF5000B Serial WiFi adapter

49  Download (0)

Full text

(1)

How to setup a the WF5000B Serial WiFi adapter

This Step-by-step guide explains how to get started using the Serial WiFi Adapter part WF5000B.

UPowering the WF5000B moduleU ……… 2

UConfiguring the parametersU ………. 3

UAccess the parameters via the serial RS232 portU ……….. 4

UAccess the parameters over WiFiU ………. 6

UHow to create a virtual COM portU ………..……… 13

UUsing included Configuration Software UtilityU ……… 13

UUsing PortShare Redirector for creating a virtual COM portU ……… 15

UUsing Fabulatech Redirector for creating a virtual COM portU ……… 20

UMaking a loop-back test U ……… 24

UPairing two modulesU ……….. 27

UHow to connect the WF5000B using a wireless routerU ……….. 32

UFAQU ………. 48

(2)

Powering the WF5000B module.

The WF5000B module can be powered by a 5 to 9VDC 1.5A (max) voltage and a standard connector jack size of 5.5 x 2.1 x 11.5mm.

When power is applied to the module the red “Power” LED should be solid ON and after the module has booted and is ready the “Ready” LED should solid ON.

(3)

Configuring the parameters.

There are three ways of configuring the parameters of the WF5000B module:

• by connecting to the module via the serial RS232 port and using the configuration utility to access the parameters.

• by connecting to the module over WiFi and use a standard web browser to access the parameters.

• by AT commands.

We will here describe methods 1 and 2 which are the two most used methods. Please contact us for more information if you wish to configure the module by AT commands.

(4)

Accessing the parameters via the serial RS232 port.

1. Connect the module to your computer’s serial port Uwith the included null modem serial cableU. If

your computer does not have a serial port then you can use a quality USB to serial adapter. 2. Start the configuration software and select the COM port number you have connected to

module to (you can check the COM port number in your operating system’s Device Manager). The following shows the default settings:

Click the “Connect” button; and then click the “Read” button once the software has connected to the module.

(5)

The software has read WF5000B’s parameters:

(6)

Access the parameters over WiFi.

Instead of accessing the parameters over a serial port you can access them over WiFi.

First connect to the WF5000B module using your operating system’s default wireless network manager. In this case we use Windows 7’s wireless manager.

(7)

Once your computer is connected successfully to the WF5000B module you can open a web browser and enter the WF5000B’s IP address which by default is U10.10.100.254U.

A login window will open. Enter the user name and password. User: admin

(8)

The main menu will open from where you can access all the parameters. Below are screenshots of the available parameters:

(9)
(10)
(11)
(12)
(13)

How to create a virtual COM port

To create a virtual COM port for the WF5000B module which can be used by a serial application or serial device you need to use a COM port redirector. You can either use the VCOM software included with the WF5000B or a 3rd party VCOM software such as “PortShare” which is free or “Fabulatech COM port Redirector” which is a 15-day trial and can be purchased from fabulatech.com.

Start the VCOM software and click the “Add COM” button:

(14)

The port will now be created:

(15)

Using PortShare Redirector for creating a virtual COM port.

PortShare can be downloaded for free from Uwww.usconverters.comU.

(16)
(17)
(18)
(19)
(20)

Using Fabulatech Redirector for creating a virtual COM port.

The Fabulatech Redirector can be download here:

Uhttp://www.fabulatech.com/serial-port-redirector-download.htmlU

(21)

Check if the COM port has been successfully created in Device Manager:

(22)

Right-click on the COM port and select Properties, then select the Protocol tab and select Raw Data and click OK:

To check if you can successfully open the virtual COM port you can use AccessPort (downloadable from

Uwww.usconverters.comU). Simply open the AccessPort software and try and open the virtual COM port.

Successfully created and opened/connected virtual COM port with AccessPort. The small green dot next to the Virtual COM port means that the port is currently open.

(23)

If you try to open the port but it is already in use or otherwise occupied by the operating system you will get the following error message from AccessPort. Using a different port is the easiest solution.

(24)

Making a loop-back test.

To verify if the WF5000B module is working properly and the ports has been successfully created you can make a loop-back test.

Carefully use a paper clip or similar to jump the RX (pin 2) and TX (pin 3) pins at the end of the included null modem cable and connect the cable to the WF5000B module’s DB9 connector.

Open AccessPort (can be downloaded for free from Uhttp://www.usconverters.comU).

Configure AccessPort’s parameters to match the virtually created COM port (the COM port created by the VCOM software), in this example COM 2, and click the OK button:

(25)

The port will now open.

Enter a text string in the lower (send) window in AccessPort and click the AutoSend button. The

characters should now be sent via virtual COM 2, over WiFi to the WF5000B module, out on the TX pin, back into the RX pin, back over WiFi, back into virtual COM port 2 and should appear in AccessPorts upper (receive) window.

If you remove the jumper at the end of the serial cable connected to the WF5000B the data flow should stop.

(26)

If you try to open the port but it is already in use or otherwise occupied by the operating system you will get the following error message from AccessPort. Using a different port is the easiest solution.

(27)

Pairing two modules

The WF5000 can be configured to communicate in pairs between two serial ports, also called point-to-point communication.

To be able to pair the modules the following settings must be used.

One unit must be configured as a server (in AP mode) and the other as a client (in STA mode). You can of course choose different serial port settings, security, or IP address than shown below, however the procedure as shown must be followed.

(28)

Module 1 (server) screen 1:

(29)

Module 1 (server) screen 3:

(30)

Module 2 (client) screen 1:

(31)

Module 2 (client) screen 3:

(32)

How to connect the WF5000B using a wireless router

The setup looks like this:

(33)

Connect to the WF5000B using an access point. In this example we use a wireless USB network adapter from TP-Link:

Open a web-browser and go to 10.10.100.254, and enter the credentials which is “admin” for both the user name and password:

(34)
(35)

In this example the SSID is “Buffalo” and the encryption is AES with WPA2PSK authentication. Select the wireless router and click the “Apply” button:

(36)
(37)
(38)
(39)
(40)
(41)

After the reboot is complete the “Ready” light will be steady on. If you have entered the correct network settings and password then the converter will now automatically join the network, and the “Link” light will be on.

(42)

To check/verify if the adapter has joined the network successfully you may be able to login to your wireless routers admin status page and see the converter:

(43)

Create a virtual COM port

Open the USC-VCOM virtual COM port software:

(44)

Click “Search Device” and the software should find the WF5000B:

Click “Connect Virtual COM” and check the settings in the window that’s opens. If all settings are correct, click the “OK” button:

(45)

The virtual COM port should now be created:

(46)

Verify communication by making a loop-back test

Loop the TX and RX pins on the DB9 interface of the WF5000B and open Access Port. Enter the following settings and click the OK button:

(47)

Enter a text string in the lower windows and click the “AutoSend” button. The data from the lower window should now be sent to the WF5000B and back again and appear in the upper window:

(48)

FAQ

Question:

When I open the virtual COM port for the first time a text string is sent from the converter. How can I disable that?

(49)

Answer:

Disable “Synchronize baud rate (RFC2217 similar)” in the virtual COM software:

Question:

When trying to save the settings using the configuration tool I get the message "Can not open file: cmd_ap_tmp.txt" as shown below.

Figure

Updating...

References

Related subjects :