201765 products:wizfi250:wizfi250qsg:start [Document Wiki] Home | Forum | WIZnet | Museum | Academy(kr) Document Wiki Warning: DOMDocument::loadHTML(): htmlParseStartTag: misplaced tag in Entity, line: 26 in /home/hosting_users/wizwiki/www/wiki/lib/plugins/markdownextra/syntax.php on line 125 Warning: DOMDocument::loadHTML(): Unexpected end tag : pre in Entity, line: 27 in /home/hosting_users/wizwiki/www/wiki/lib/plugins/markdownextra/syntax.php on line 125 WizFi250 Quick Start Guide WizFi250 Evaluation Board The WizFi250 EVB is the evaluation board for testing WizFi250 and prototyping development. WizFi250 EVB is composed of a WizFi250 evaluation board and a WizFi250 module. Feature Identification Button Description WizFi250 Reset Function Through this button, user can restart WizFi250 module. Through the function button, user can enter specific mode without AT Command. Factory Recovery : When doing Boot or Reset, press the button over 3.5 seconds AP Mode : When module is working, press it once. OTA Mode : When module is working, press it twice. Factory Default : When module is working, press it three times. http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250qsg:start 1/8 201765 products:wizfi250:wizfi250qsg:start [Document Wiki] Arduino Board Reset With this button, user can restart Arduino board. LED Description UART RX/TX Indicate UART RX/TX Status Power LED Indicate Power On/Off of WizFi250 Mode LED Indicate Data/Command Mode LOW(ON) : Data Mode HIGH(OFF) : Command Mode Wi-Fi LED Indicate Wi-Fi Association LOW(ON) : Wi-Fi is associated HIGH(OFF) : Wi-Fi is not associated Pin Description BOOT Enter boot mode SHORT : Start in boot mode OPEN : Start in application mode 5V Power Alternative choice for 5V power supply GPIO Pin Through this pin, user can use GPIO signal Interface Description UART1 Interface Alternative choice for Serial interface. SPI Interface Through these pins, user can control SPI interface. USB Interface This provides power supply & Serial interface Default serial information: Baud rate : 115200 Data rate : 8 Stop bits : 1 Parity : None Flow control : None Interface Board PIN Map http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250qsg:start 2/8 201765 products:wizfi250:wizfi250qsg:start [Document Wiki] Interface Board Dimension http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250qsg:start 3/8 201765 products:wizfi250:wizfi250qsg:start [Document Wiki] 2013/08/28 15:45 * kaizen Start Serial to Wi-Fi This chapter explains how to set WizFi250 in order to exchange data with peer system. This picture shows the environment for using Serial to Wi-Fi as example. In this example, WizFi250 is set to the TCP server and peer system is set to the TCP client. And then data is exchanged between WizFi250 and the peer system. Using Function Button & Web Server Interface This section explains how to set WizFi250 using web server in order to use serial to Wi-Fi application. (If you Use the function button, you can launch web server easily.) Procedure for setting serial to Wi-Fi is explained below. 1. Press the "Function Button" one time in order to run AP mode and launch the web server. If WizFi250 is changed to AP mode successfully, Wi-Fi LED will be on and you can see WizFi250's SSID by your PC Default information of WizFi250 AP Mode SSID WizFi250_AP_0008DCXXXXXX Security WPA2 Mixed Security Key 123456789 IP Address 192.168.12.1 Gateway Address 192.168.12.1 LED results of WIZFI250: http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250qsg:start 4/8 201765 products:wizfi250:wizfi250qsg:start [Document Wiki] 2. Connect to WizFi250's SSID ...by inputting default password (123456789) and WizFi250's IP address or URL (wizfi250.wiznet.com) in your web browser. After that input the user id and user password. ( Default ID : admin, Default Password : admin ) 3. If you select "S2W Setting & Scan Network" menu, ...the web page will be shown as below. If WizFi250 is set successfully, it shows the success message ... as in the following picture on the right. If you select button, you can move to next page. WizFi250 TCP/IP Settings guide Modes Protocol Remote IP AP or Station (connect to AP) TCP/UDP (Server / Client) Connecting device's IP address Remote Port Connecting device's Port Local Port Module's Port http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250qsg:start 5/8 201765 products:wizfi250:wizfi250qsg:start [Document Wiki] 4. Select WizFi250's DHCP Mode. It includes DHCP or stactic IP setting. 5. Firstly, input the password of ...the AP you want to join and click "Join" button to connect to that AP. After setting up, you will see "Device Started Web server and access point stopped. See UART for further information." message in web browser. It means that WizFi250 will try to connect to the selected AP. Important note: If you input the wrong password of AP, you need to redo all procedures. 6. WizFi250 will be associated ... to the AP you select... and you can use TCP server in WizFi250. This picture is the serial message when WizFi250 has set successfully. http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250qsg:start 6/8 201765 products:wizfi250:wizfi250qsg:start [Document Wiki] Using Serial Command This section explains how to connect to AP by using serial command. The module start by default in command mode. If the user inputs the AT commands below, WizFi250 will be connected to AP by DHCP and run as TCP server. In this example, the settings of AP will be created as below: ( SSID : WizFiDemoAP, Security : WPA2, Key : 12345678 ) AT [OK] (Sent AT command with 0x0d (Hex of Enter button)) (response meaning successful execution) AT+WSET=0,WizFiDemoAP [OK] (AT command for setting WiFi association) AT+WSEC=0,,12345678 [OK] (AT command for setting WiFi security) AT+WNET=1 (AT command for setting DHCP) [OK] AT+WJOIN (AT command executing AP association) Joining : WizFiDemoAP Successfully joined : WizFiDemoAP [LinkUp Event] IP Addr : 192.168.3.104 Gateway : 192.168.3.1 [OK] AT+SCON=SO,TSN, , ,5000,1 [OK] [CONNECT 0] (AT command for setting TCP Server) (When TCP connection is done, it shows this message) Now, the green mode LED is on, and data can be exchanged from Serial I/F to connected client and back. This mode is called data mode. To exit this data mode or to enter into command mode again you need to send a single '+++' string without CR or LF (0x0D, 0x0A) - just the three 0x2B = '+' characters. Exchanging data with a peer system This section explains how to exchange data between WizFi250 and Peer System. This example describes the structure of data flow. http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250qsg:start 7/8 201765 products:wizfi250:wizfi250qsg:start [Document Wiki] After TCP connection is done and if WizFi250 receives serial data, the serial data will be sent to peer system immediately and Wizfi250 can receive data from peer system. 2013/08/28 16:43 * kaizen products/wizfi250/wizfi250qsg/start.txt * Last modified: 2015/03/16 10:33 (external edit) http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250qsg:start 8/8