From time to time there are questions about how to use wifi.
Recently i found WizFi360, from Wiznet. https://www.wiznet.io/product-item/wizfi360/
it is very similar to ESP8266 in shape - firmware - cost
as said "searching too long to find something to fit our need simple and cheap" Wink
I have come across to use the ESP8266 many times, but the overloaded information lack (until recently) to proper english documentation from manufacturer etc, i had confused.
In contrary wiznet products are easy to get in europe/usa , as it is available in most big European warehouses
at the time of writing WizFi360 cost 2,99€ .. And have good english documentation
In the Simplest form i will present you, we will use device's own SoftAP/webserver to configure SSID,
which makes compatible with any mobile OS and any laptop out there.
Additionally removes "code space" and complex from our mcu code.
The following program is supersimplified, among other it does not check for anything, but i have a working WIFI program in 992 bytes in one of the older AVR (90S2313) out there, and have room for more code !
How Sample Program Works
1) The program set's WizFi360 in SoftAP mode and initiates WebServer, if during power up you have press PB.0 to GND
2) After this step you connect to Device SoftAP using mobile phone/laptop and open a browser http://192.168.36.1
you will see a image as in the attachemnt file to set SSID / password and press save
** note that most android phones MUST wait to popup a message "this network has no internet remain ?" and click YES
3) Start a Server listening to Port 5000 in a server at 192.168.1.10 (as this is in example program)
4) power device again
5) sending 1 to 3 will toggle PD4/5/6, sending 4 will return PORTB status in ascii
so this example program is actually 8 button status check, and 3 led control from other side of lan
Wiring
only connect 3.3 volt to avr + wifi and uart1 of WizFi360 to AVR uart
From time to time there are questions about how to use wifi.
Recently i found WizFi360, from Wiznet. https://www.wiznet.io/product-item/wizfi360/
it is very similar to ESP8266 in shape - firmware - cost
as said "searching too long to find something to fit our need simple and cheap" Wink
I have come across to use the ESP8266 many times, but the overloaded information lack (until recently) to proper english documentation from manufacturer etc, i had confused.
In contrary wiznet products are easy to get in europe/usa , as it is available in most big European warehouses
at the time of writing WizFi360 cost 2,99€ .. And have good english documentation
In the Simplest form i will present you, we will use device's own SoftAP/webserver to configure SSID,
which makes compatible with any mobile OS and any laptop out there.
Additionally removes "code space" and complex from our mcu code.
The following program is supersimplified, among other it does not check for anything, but i have a working WIFI program in 992 bytes in one of the older AVR (90S2313) out there, and have room for more code !
How Sample Program Works
1) The program set's WizFi360 in SoftAP mode and initiates WebServer, if during power up you have press PB.0 to GND
2) After this step you connect to Device SoftAP using mobile phone/laptop and open a browser http://192.168.36.1
you will see a image as in the attachemnt file to set SSID / password and press save
** note that most android phones MUST wait to popup a message "this network has no internet remain ?" and click YES
3) Start a Server listening to Port 5000 in a server at 192.168.1.10 (as this is in example program)
4) power device again
5) sending 1 to 3 will toggle PD4/5/6, sending 4 will return PORTB status in ascii
so this example program is actually 8 button status check, and 3 led control from other side of lan
Wiring
only connect 3.3 volt to avr + wifi and uart1 of WizFi360 to AVR uart
Sample Program Code
Great insights. Thank you!