Escolar Documentos
Profissional Documentos
Cultura Documentos
converters
WA232
2011 U.S. Converters LLC. All rights reserved. WA232 Version 1.0 Dec 2012
www.usconverters.com
u.s. converters
WA232
............................................................................ .. ..
3 4 6 9 11 14 15 15 15 16 16 16 17 22 26
Configuring the parameters through the serial interface Configuring the parameters over the air SoftAP mode Joining a network example
............................................................................ ................................
Verify the joined network by making a loop back test Setting up Automatic Connections Saving your configuration Set baud rate example Resetting the WA232 Making connections
................................................................
............................................................................ ............................................................................
Creating a virtual COM/TCP port - example using PortShare Creating a virtual COM/TCP port - example using Fabulatech Troubleshooting
www.usconverters.com
u.s. converters
WA232
www.usconverters.com
u.s. converters
WA232
www.usconverters.com
u.s. converters
WA232
First make sure the DCE/DTE switch on the side of the WA232 is in position DCE. Now from within the terminal window, put the WA232 into command mode by typing $$$ and press [Enter]. You should get the message CMD back confirming you are in command mode.
You can now configure the parameters as needed for your network and application. For more details and specifications please refer to Command reference and advanced features.pdf Once you have configured the parameters you need, you can save them with the save command and exit Command mode with the exit command.
www.usconverters.com
u.s. converters
WA232
www.usconverters.com
u.s. converters
WA232
It may take a few minutes for Windows to assign an IP address and connect to the network. You can check
your computers IP address by running the ipconfig command in the Command Window. If connected, this command displays your computers IP address and net mask.
NOTE: The automatically assigned IP address must be on the 1.2..x.y subnet, otherwise the WA232 will not be accessible. If your computer has both wireless and wired interface hardware, you may need to disable the wired LAN interface hardware before connecting to the SoftAP network. If the wired LAN is enabled, the computer may assign an IP address that is not on the same subnet as the WA232. Once connected with an appropriate IP address, open Putty and login to the WA232 with the following settings:
www.usconverters.com
u.s. converters
WA232
You can now enter command mode using the escape sequence $$$ and configure the parameters. When entering $$$ and any other command over WiFi you DO need to press the [Enter] key on your keyboard after each command.
Once you have configured the parameters you need, enter exit to exit Command mode.
For more details on how to join a network please refer to: Command reference and advanced features.pdf
www.usconverters.com
u.s. converters
WA232
www.usconverters.com
u.s. converters
WA232
In this example the found network is a WPA2/PSK secured Buffalo router so before we can join the network we have to enter the pass code. This is done with the set wlan pass command:
You should get a AOK back if the entered pass code is entered correctly. The WPA2 pass code is now set.
As for this example we can now enter join Buffalo to join the network:
In this example the WA232 has been assigned IP address 192.168.11.7 by the network.
If the network you want to connect to is open (unsecure), you can simply use the join command to associate with the network without first entering the set wlan pass command.
Once you have successfully associated to the network the access point SSID is stored, however not saved to memory. To save the settings permanently enter the save command and reboot command. Type exit to exit Command mode.
For more details on how to join a network please refer to: Command reference and advanced features.pdf
www.usconverters.com
10
u.s. converters
WA232
Now disconnect the WA232 from the serial port and close the Putty serial terminal window.
www.usconverters.com
11
u.s. converters
WA232
When we entered the join command earlier we saw that the WA232 has been assigned IP address 192.168.11.7 by the network, so you can now login to the adapter with a Telnet connection at that IP address: Open Putty and telnet to IP 192.168.11.7 port 2000:
You should now get a *HELLO* as response and the red LED light on the WA232 should be steady on when the connection is made:
www.usconverters.com
12
u.s. converters
WA232
Carefully use a paper clip to jump TX (pin 2) and RX (pin 3) on the WA232s DB9 connector:
Enter some characters in the Telnet window and pres the [Enter] key on your keyboard. The characters should now be sent to the WA232s TX pin and looped back via the paper clip through the RX pin and back to the Telnet window. The WA232 obviously must be joining the network and be in data mode (red LED steady on) when performing this test.
Since we receive back the same data we send out the loop-back is successfully completed.
www.usconverters.com
13
u.s. converters
WA232
Channel 2
Set the SSID of the access point you want to connect to (in this example Buffalo): set wlan ssid Buffalo Set the security code of the access point (in this example 1029384756): set wlan pass 1029384756 Set the channel number (in this example channel 2): set wlan chan 2 Enable the auto-connect feature: set wlan join 1 Save the settings: save Reboot: reboot When rebooted, the WA232 will now automatically join the network, even if the power has been temporarily disconnected. For more details about auto-connect please refer to: Command reference and advanced features.pdf
www.usconverters.com
14
u.s. converters
WA232
Connect the WA232 to a serial RS232 port (for example by using a USB to serial adapter) or over WiFi. Put the WA232 in command mode by entering $$$. The baud rate can now be changed by using the following command: set uart baud <rate> Example: set uart baud 2400 This will set the baud of the serial interface to 2400. For more command details please refer to:
Command reference and advanced features.pdf
Software Reset
To reset the WA232 by software, enter the factory RESET command (the word RESET must be in CAPITAL letters). This command automatically loads default settings, and executes a save command. You then need to issue the reboot command so that the module reboots with the default configurations.
www.usconverters.com
15
u.s. converters
WA232
Making Connections.
Connecting into the WA232
To make a connection into the WA232 simply open a IP socket and connect to the IP address of the module. Telnet is a simple way to test this connection. From in Telnet type open <addr> <port>. As an example: open 192.168.11.4 2000. The actual IP address is assigned to the WA232 by the network when you enter the join command. Once open you can type characters into the UART window and see them on the Telnet window or vice versa. This is basically what is described in the connection example above.
www.usconverters.com
16
u.s. converters
WA232
www.usconverters.com
17
u.s. converters
WA232
Default settings can usually be used without problems. PortShare will in this example create COM 2:
www.usconverters.com
18
u.s. converters
WA232
This COM port can now be used as if it was a built-in COM port.
Alternative compatible Virtual COM/TCP software is: Fabulatech Serial Port Redirector: http://www.fabulatech.com/serial-port-redirector.html and Eltima Serial over Ethernet: http://www.eltima.com/products/serial-over-ethernet/ These alternative solutions are good products and offers a 30 day trial period.
www.usconverters.com
19
u.s. converters
WA232
To verify that the created virtual COM port can communicate properly with the WA232s COM port you can make a loopback test. Carefully use a paper clip to jump TX (pin 2) and RX (pin 3) on the WA232s DB9 connector. Open AccessPort which can be downloaded here: http://www.usconverters.com/downloads/AccessPort136.zip Configure AccessPorts parameters to match the created COM port:
www.usconverters.com
20
u.s. converters
WA232
Enter some characters in the lower (send) windows in AccessPort and click the AutoSend button. The characters should now be sent via virtual COM 2, over WiFi to the WA232, 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 WA232 the data flow should stop. The WA232 obviously should be joining a network (and WPA pass phrase saved if required) and in data mode (red LED steady on) when performing this test.
www.usconverters.com
21
u.s. converters
WA232
www.usconverters.com
22
u.s. converters
WA232
www.usconverters.com
23
u.s. converters
WA232
www.usconverters.com
24
u.s. converters
WA232
www.usconverters.com
25
u.s. converters
WA232
Troubleshooting
www.usconverters.com
26