Introduction: Start Home Automation : W7500 Web Server
I will introduce WIZwiki-W7500
It is create by WIZnet and Using interface to making Web Server.
You make possible to Smart Home Automation to Using this project
below description is WIZwiki-W7500 Platform introduce.
Overview
WIZnet WIZwiki Platform based on WIZnet's MCU. WIZnet WIZwiki-W7500 is a WIZwiki platform board based on W7500. The IOP4IoT W7500 chip is one-chip solution which integrates an ARM Cortex-M0, 128KB Flash and hardwired TCP/IP core for various embedded application platform especially internet of things. If you use WIZwiki-W7500, you will be able to easily develop a prototype. It is compatible with Arduino Shields. This is using the CMSIS-DAP USB and ISP Header easily available firmware writing.
Features
WIZnet W7500
ARM Cortex-M0 Core
48MHz, 128KB Flash
16KB RAM
32KB RAM for TCP/IP - Can be extended to system RAM
Hardwired TCP/IP Core
MII Interface
External Ethernet PHY
CMSIS-DAP
For more information about WIZwiki-W7500 please also refer to the Wiki page
Step 1: Parts
First, There is WIZwiki-W7500 Board to two develop environment.
1. KEIL
How to use KEIL and mbed configuration -> Click this URL
So, You will need the following to build a controller:
1.WIZwiki-W7500 Platform - from WIZnet
- Also You will need the KEIL Tool and mbed compiler
Configuration from ARM Cortex-M0 in WIZwiki-W7500 Platform
Step 2: Flow Chart
First, You Look for Desription Sequential Flow chart (Block Diagram)
Sequence = HTTP Request Parser -> HTTP GET/POST Method -> GET/POST CGI Request -> Correspond CGI file found? -> GET/POST CGI Handler -> HTTP Response HTTP/1.1 200 OK + HTTP body -> Send HTTP Response.
Second,This project Use to HTTP Protocol based and HTTP header GET/POST Method. But Not Used PUT, HEAD etc.. header
For more information about Hypertext Transfer Protocol please also refer to the Wiki page
Third, HTTP is Configuration to Server / Client.
– HTTP Server : Embedded device(WIZwiki-W7500 Board)
– HTTP Client : Web browser (Internet Explore, Chrome etc..)
Web server is operating for HTTP based.
Request to Web server from Web browser -> Web server is Transport to response message to web browser(web page)
This project is Using Javascript & JSON and AJAX.
And this content is using CGI(Common gateway interface). CGI is found GET/POST method and analysis for GET/POST method. Then Send response to client(Web browser)
You checking the source code.
Step 3: Web Server Operate
This Content is Web Server LED Control and Web Server ADC Monitoring examples
It is WIZnet Ethernet Loop back based. and It's upload to github.
Follow this URL WIZnet Ethernet Loop back Code in github
Examples Source code : Follow site
This project operation sequence is above to picture description