<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
		<id>http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino_W5500_Network_%285%29</id>
		<title>Microduino W5500 Network (5) - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino_W5500_Network_%285%29"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino_W5500_Network_(5)&amp;action=history"/>
		<updated>2026-06-06T03:14:38Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino_W5500_Network_(5)&amp;diff=7933&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{| style=&quot;width: 800px;&quot; |- | ==Purpose== The course will show you how to turn your Microduino to a server, enabling you to browse it at home.   ==Equipment== *'''Microduino...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino_W5500_Network_(5)&amp;diff=7933&amp;oldid=prev"/>
				<updated>2015-03-11T03:43:50Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| style=&amp;quot;width: 800px;&amp;quot; |- | ==Purpose== The course will show you how to turn your Microduino to a server, enabling you to browse it at home.   ==Equipment== *&amp;#039;&amp;#039;&amp;#039;Microduino...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
==Purpose==&lt;br /&gt;
The course will show you how to turn your Microduino to a server, enabling you to browse it at home. &lt;br /&gt;
&lt;br /&gt;
==Equipment==&lt;br /&gt;
*'''[[Microduino-Core]]'''&lt;br /&gt;
*'''[[Microduino-USBTTL]]'''&lt;br /&gt;
*'''[[Microduino-W5500]]'''&lt;br /&gt;
*'''[[Microduino-RJ45]]'''&lt;br /&gt;
&lt;br /&gt;
*Other hardware equipment &lt;br /&gt;
**USB cable   One &lt;br /&gt;
&lt;br /&gt;
== World Wide Web==&lt;br /&gt;
&lt;br /&gt;
Webpage is consisted of HTML markup language, which adopts mark to describe web content.  &lt;br /&gt;
&lt;br /&gt;
The main advantage of using HTTP protocol to communicate with Microduino online is:&lt;br /&gt;
*You can use comment browsers such as ID and Firefox without the need to develop special client.&lt;br /&gt;
&lt;br /&gt;
*You can use Microduino character string function to manage HTTP protocol. &lt;br /&gt;
*You can also adopt Microduino to create page or even dynamic one. &lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
&lt;br /&gt;
*Microduino-ENC28J60&lt;br /&gt;
*Microduino-RJ45&lt;br /&gt;
*Microduino-Core&lt;br /&gt;
*Microduino-USBTTL&lt;br /&gt;
Stack them and plug in cable. &lt;br /&gt;
&lt;br /&gt;
As follows: &lt;br /&gt;
&lt;br /&gt;
[[File:MicroduinoW5500Show.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Program==&lt;br /&gt;
&lt;br /&gt;
[[https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Advanced_Tutorial/W5500Code/MicroduinoW5500Five MicroduinoW5500Five]]&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 1: First, make sure you have _02_Microduino_Ethernet_WIZ library in your IDE and put it into libraries folder of your IDE. &lt;br /&gt;
&lt;br /&gt;
Step 2: If there still exists the previous Ethernet library in your libraries folder, it needs to be deleted since the previous Ethernet is compiled according to W5100. &lt;br /&gt;
&lt;br /&gt;
Then, you need to change _02_Microduino_Ethernet_WIZ file so that the library function could be corresponding with Microduino-W5500: &lt;br /&gt;
First find w5100.h of utility in _02_Microduino_Ethernet_WIZ library. &lt;br /&gt;
&lt;br /&gt;
Change #define wiz_cs_pin 8	//CS_PIN of the code to #define wiz_cs_pin 10	//CS_PIN. &lt;br /&gt;
&lt;br /&gt;
Step 3: Interpret the code:  &lt;br /&gt;
&lt;br /&gt;
The program will first monitor if service is visited.  while (client.connected()) {&lt;br /&gt;
&lt;br /&gt;
If yes, it will send analog values of 0~5 to client analog port: &lt;br /&gt;
&lt;br /&gt;
          // send a standard http response header&lt;br /&gt;
          client.println(&amp;quot;HTTP/1.1 200 OK&amp;quot;);&lt;br /&gt;
          client.println(&amp;quot;Content-Type: text/html&amp;quot;);&lt;br /&gt;
          client.println(&amp;quot;Connection: close&amp;quot;);  // the connection will be closed after completion of the response&lt;br /&gt;
          client.println(&amp;quot;Refresh: 5&amp;quot;);  // refresh the page automatically every 5 sec&lt;br /&gt;
          client.println();&lt;br /&gt;
          client.println(&amp;quot;&amp;lt;!DOCTYPE HTML&amp;gt;&amp;quot;);&lt;br /&gt;
          client.println(&amp;quot;&amp;lt;html&amp;gt;&amp;quot;);&lt;br /&gt;
          // output the value of each analog input pin&lt;br /&gt;
          for (int analogChannel = 0; analogChannel &amp;lt; 6; analogChannel++) {&lt;br /&gt;
            int sensorReading = analogRead(analogChannel);&lt;br /&gt;
            client.print(&amp;quot;analog input &amp;quot;);&lt;br /&gt;
            client.print(analogChannel);&lt;br /&gt;
            client.print(&amp;quot; is &amp;quot;);&lt;br /&gt;
            client.print(sensorReading);&lt;br /&gt;
            client.println(&amp;quot;&amp;lt;br /&amp;gt;&amp;quot;);       &lt;br /&gt;
          }&lt;br /&gt;
          client.println(&amp;quot;&amp;lt;/html&amp;gt;&amp;quot;);&lt;br /&gt;
          break;&lt;br /&gt;
&lt;br /&gt;
Step 4: Download code and compile. &lt;br /&gt;
Step 5: Check your IP address via serial port and enter corresponding IP address of Microduino in the browser.  &lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
&lt;br /&gt;
The result should be: &lt;br /&gt;
&lt;br /&gt;
[[File:MicroduinoW5500ShowAnalog0-5.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
Serial port cut figure as follows:  &lt;br /&gt;
[[File:MicroduinoW5500SerialCutImage.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Video==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>