Home > Forum > Interface converters > ATC-1000WF serial Wi-Fi converter configuration
- This topic has 6 replies, 2 participants and was last updated 9 years, 1 month ago da Antonio.
-
AuthorPost
-
November 21, 2014 at 9: 33 am #35671Sergio BertanaAdministrator Forum
The for the configuration of the ATC-1000WF serial Wi-Fi converter you must connect to the serial port with a Null-Modem cable and using a terminal emulation program (Example Toolly) send the configuration commands (Serial mode 115200, n, 8, 1).
By sending the string +++$0D you force the command mode and the converter returns the string uart>. The command help$0D displays the list of managed commands The first requirement is to connect the device to the existing WiFi network, the command sisrvy$0D scans for WiFi networks and returns a list.
If the network you want to connect to is protected, you need to set the type of protection key, the command setet sets the type of encryption used 0: No Security, 1: WEP64, 2: WEP128, 3: TKIP (WPA), 4: AES.
With the command setwp You can set the network password at this point with the command jbss xx$0D it is possible to connect to the desired network and the command ipconfig$0D allows you to view the address assigned to the converter by the DHCP server.
I report it screenshot of the commands to connect to our WiFi network, as you can see we have two networks, one internal protected by a WPA key and one free for visitors (Everything is managed by a network of UniFi devices with UniFI Controller management). setet 3$0D I set the WPA encryption, and with the command setwp xxxxx$0D I set the encryption key. Then with the command jbss 01$0D I connected the converter to the network Elsist Wifi. The command ipconfig$0D it returns me the IP address assigned by the DHCP server to the converter.
By typing the address 192.168.0.35 in a web browser (eg Internet Explorer) I can access the converter configuration web page (Screenshot). The default credentials are admin / admin.
November 21, 2014 at 1: 09 pm #38527Sergio BertanaAdministrator ForumTo go to the practical test of operation I recommend using Toolly with two active terminal instances (Screenshot), one on the physical COM port to which the serial port of the converter is connected (In my case I use a ATC-810 USB-Serial Converter) and the other as a TCP client on the IP address of the ATC-1000WF port 5000 (Default port).
As you can see from the screenshot, the data sent by the serial port are received by the TCP / IP connection and vice versa. As a VirtualCOM serial port virtualization software I recommend following this topic.
March 20, 2015 at 7: 40 pm #38837AntonioParticipantI performed the configuration procedure without being able to complete it. When after setting the password and encryption, I set the WiFi network number for the connection, I get an error message (Join fail). So I can't go any further. What could be the problem ? Thanks for the attention.
March 21, 2015 at 8: 39 am #38838Sergio BertanaAdministrator ForumNetwork binding operations are those described in the topic.
You have verified that the encryption used in your network is managed by the converter, you have set the command correctly setet ?
Is the encryption password very long or does it have spaces in it?
Try to generate a WiFi network with your phone (WiFi spot) and try to connect so check if it works.March 21, 2015 at 5: 34 pm #38844AntonioParticipantI have configured the network as indicated. At the first attempt I had the same result, I tried to have the network scanned every second, with the cmd sisrvy, and I saw that the ID changed almost every request. Therefore I tried to execute the commands: setet; setwp and jbss in quick succession obtaining the expected result.
I then tried with the home network, in the same way, obtaining the same result (there are many networks present). The next command to get the assigned IP gives me the address 192.168.2.3, but pinging fails.
March 23, 2015 at 1: 15 pm #38845Sergio BertanaAdministrator ForumSo I understand that now the module is connecting to the WiFi network and the DHCP server assigns it an address, is that so?
Is the assigned IP address consistent with your network's address class?
Is the PC you ping from connected to the same network?March 23, 2015 at 10: 38 pm #38850AntonioParticipantIn order to your questions: it connects to the WiFi network and the server assigns it an address; now the assigned IP address is consistent with the address class of my network; the PC I ping from is connected to the same network.
I can say that the interface works, I also checked the data exchange by configuring the virtual serial port. I did a bit 'of confusion. Thanks again for your help.
-
AuthorPost
- You must be logged in to reply to this topic.