<?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%E7%BD%91%E7%BB%9C%EF%BC%88%E5%8D%81%EF%BC%89%E2%80%94%E2%80%94%E5%A6%82%E4%BD%95%E6%94%B9%E5%8F%98Web%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BE%A6%E5%90%AC%E7%9A%84%E7%AB%AF%E5%8F%A3%2Fzh</id>
		<title>Microduino W5500网络（十）——如何改变Web服务器侦听的端口/zh - 版本历史</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%E7%BD%91%E7%BB%9C%EF%BC%88%E5%8D%81%EF%BC%89%E2%80%94%E2%80%94%E5%A6%82%E4%BD%95%E6%94%B9%E5%8F%98Web%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BE%A6%E5%90%AC%E7%9A%84%E7%AB%AF%E5%8F%A3%2Fzh"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino_W5500%E7%BD%91%E7%BB%9C%EF%BC%88%E5%8D%81%EF%BC%89%E2%80%94%E2%80%94%E5%A6%82%E4%BD%95%E6%94%B9%E5%8F%98Web%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BE%A6%E5%90%AC%E7%9A%84%E7%AB%AF%E5%8F%A3/zh&amp;action=history"/>
		<updated>2026-04-30T04:17:54Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino_W5500%E7%BD%91%E7%BB%9C%EF%BC%88%E5%8D%81%EF%BC%89%E2%80%94%E2%80%94%E5%A6%82%E4%BD%95%E6%94%B9%E5%8F%98Web%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BE%A6%E5%90%AC%E7%9A%84%E7%AB%AF%E5%8F%A3/zh&amp;diff=7682&amp;oldid=prev</id>
		<title>Radiumray9@gmail.com：/* 程序 */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino_W5500%E7%BD%91%E7%BB%9C%EF%BC%88%E5%8D%81%EF%BC%89%E2%80%94%E2%80%94%E5%A6%82%E4%BD%95%E6%94%B9%E5%8F%98Web%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BE%A6%E5%90%AC%E7%9A%84%E7%AB%AF%E5%8F%A3/zh&amp;diff=7682&amp;oldid=prev"/>
				<updated>2015-02-02T03:21:01Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;程序&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2015年2月2日 (一) 03:21的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot; &gt;第30行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第30行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==程序==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==程序==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Advanced_Tutorial/W5500Code/MicroduinoW5500Ten MicroduinoW5500Ten]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;更改是很容易的：你只需要把EthernetServer server(80);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;更改是很容易的：你只需要把EthernetServer server(80);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Radiumray9@gmail.com</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino_W5500%E7%BD%91%E7%BB%9C%EF%BC%88%E5%8D%81%EF%BC%89%E2%80%94%E2%80%94%E5%A6%82%E4%BD%95%E6%94%B9%E5%8F%98Web%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BE%A6%E5%90%AC%E7%9A%84%E7%AB%AF%E5%8F%A3/zh&amp;diff=7618&amp;oldid=prev</id>
		<title>Radiumray9@gmail.com：Created page with &quot;{| style=&quot;width: 800px;&quot; |- | ==目的==  本教程比较容易，只做一行代码的修改。  将教大家如何改变Microduino作为web服务的侦听端口。  ==设备...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino_W5500%E7%BD%91%E7%BB%9C%EF%BC%88%E5%8D%81%EF%BC%89%E2%80%94%E2%80%94%E5%A6%82%E4%BD%95%E6%94%B9%E5%8F%98Web%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BE%A6%E5%90%AC%E7%9A%84%E7%AB%AF%E5%8F%A3/zh&amp;diff=7618&amp;oldid=prev"/>
				<updated>2015-01-30T06:30:19Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| style=&amp;quot;width: 800px;&amp;quot; |- | ==目的==  本教程比较容易，只做一行代码的修改。  将教大家如何改变Microduino作为web服务的侦听端口。  ==设备...&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;
==目的==&lt;br /&gt;
&lt;br /&gt;
本教程比较容易，只做一行代码的修改。&lt;br /&gt;
&lt;br /&gt;
将教大家如何改变Microduino作为web服务的侦听端口。&lt;br /&gt;
&lt;br /&gt;
==设备==&lt;br /&gt;
*'''[[Microduino-Core/zh]]'''&lt;br /&gt;
*'''[[Microduino-USBTTL/zh]]'''&lt;br /&gt;
*'''[[Microduino-W5500/zh]]'''&lt;br /&gt;
*'''[[Microduino-RJ45/zh]]'''&lt;br /&gt;
&lt;br /&gt;
*其他硬件设备&lt;br /&gt;
**USB数据连接线   一根&lt;br /&gt;
&lt;br /&gt;
==原理图==&lt;br /&gt;
&lt;br /&gt;
*Microduino-W5500&lt;br /&gt;
*Microduino-RJ45&lt;br /&gt;
*Microduino-Core&lt;br /&gt;
*Microduino-USBTTL&lt;br /&gt;
层层堆叠，再插上网线。&lt;br /&gt;
&lt;br /&gt;
如下图所示：&lt;br /&gt;
&lt;br /&gt;
[[File:MicroduinoW5500Show.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==程序==&lt;br /&gt;
&lt;br /&gt;
更改是很容易的：你只需要把EthernetServer server(80);&lt;br /&gt;
&lt;br /&gt;
改成你想要的端口，比如EthernetServer server(90);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
你可以用ENC网络（五）的程序来做这个实验。&lt;br /&gt;
&lt;br /&gt;
如下图：&lt;br /&gt;
[[File:MicroduinoW5500TenChangePort.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==调试==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
步骤一：首先需要确保你的IDE中有_02_Microduino_Ethernet_WIZ库，如果没有下载放到你的IDE的libraries文件夹中，重启IDE。&lt;br /&gt;
&lt;br /&gt;
步骤二：如果你的IDE的libraries文件夹中还有之前的Ethernet库的话，需要删除掉，因为之前的Ethernet是根据W5100协议编写的。&lt;br /&gt;
&lt;br /&gt;
然后需要改动一下_02_Microduino_Ethernet_WIZ文件以使库函数与Microduino-W5500模块的引脚对应：&lt;br /&gt;
&lt;br /&gt;
先找到_02_Microduino_Ethernet_WIZ库中的utility文件夹里的w5100.h&lt;br /&gt;
&lt;br /&gt;
把代码中的 #define wiz_cs_pin 8	//CS_PIN 改为 #define wiz_cs_pin 10	//CS_PIN  就可以了。&lt;br /&gt;
&lt;br /&gt;
步骤三：下载代码并编译通过。&lt;br /&gt;
&lt;br /&gt;
步骤四：访问Microduino的IP地址，端口为:90;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==结果==&lt;br /&gt;
&lt;br /&gt;
你的Microduino WEB服务器的侦听端口就变成了90了。&lt;br /&gt;
&lt;br /&gt;
[[File:MicroduinoW5500TenWebPort90.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==视频==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Radiumray9@gmail.com</name></author>	</entry>

	</feed>