Download the WIZSmartScript from the Wiznet site
[img:3b4b07cb67]http://members.home.nl/hobbycorner/images/wizfi210/wizfi210_1.jpg[/img:3b4b07cb67]
The ZIP-file extracted
[img:3b4b07cb67]http://members.home.nl/hobbycorner/images/wizfi210/wizfi210_2.jpg[/img:3b4b07cb67]
Start the WIZSmartScript program, baudrate 115200
[img:3b4b07cb67]http://members.home.nl/hobbycorner/images/wizfi210/wizfi210_3.jpg[/img:3b4b07cb67]
Find WizFI and Set Command Mode
[img:3b4b07cb67]http://members.home.nl/hobbycorner/images/wizfi210/wizfi210_4.jpg[/img:3b4b07cb67]
Do an Access Point scan and select the Access Point to associate with
[img:3b4b07cb67]http://members.home.nl/hobbycorner/images/wizfi210/wizfi210_5.jpg[/img:3b4b07cb67]
Select the WiFi security. In this case WPA with the Passphrase 'wisclub1'
[img:3b4b07cb67]http://members.home.nl/hobbycorner/images/wizfi210/wizfi210_6.jpg[/img:3b4b07cb67]
Give the module a static IP address (or if you want, give it a DHCP IP address)
[img:3b4b07cb67]http://members.home.nl/hobbycorner/images/wizfi210/wizfi210_7.jpg[/img:3b4b07cb67]
Here you can change the Serial port options
[img:3b4b07cb67]http://members.home.nl/hobbycorner/images/wizfi210/wizfi210_8.jpg[/img:3b4b07cb67]
For this example we will be using UDP traffic to a PC in our network that has the IP address 192.168.0.237 listening to port 5000
[img:3b4b07cb67]http://members.home.nl/hobbycorner/images/wizfi210/wizfi210_9.jpg[/img:3b4b07cb67]
Select an save option. Here you create an startup profile for the WizFi210 module.
[img:3b4b07cb67]http://members.home.nl/hobbycorner/images/wizfi210/wizfi210_10.jpg[/img:3b4b07cb67]
You enable auto connect on the next reboot and enable UART messages.
[img:3b4b07cb67]http://members.home.nl/hobbycorner/images/wizfi210/wizfi210_11.jpg[/img:3b4b07cb67]
We saved it with the name benshobbycorner and here an example of a script.
More details later...
Have fun
Ben Zijlstra
Theo Kleijn
↧