<?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-WiFi_Controls_LED</id>
		<title>Microduino-WiFi Controls LED - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino-WiFi_Controls_LED"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-WiFi_Controls_LED&amp;action=history"/>
		<updated>2026-04-21T11:07:14Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino-WiFi_Controls_LED&amp;diff=8097&amp;oldid=prev</id>
		<title>1304410487@qq.com：/* Purpose */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-WiFi_Controls_LED&amp;diff=8097&amp;oldid=prev"/>
				<updated>2015-03-17T09:16:05Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Purpose&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年3月17日 (二) 09:16的版本&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-l6&quot; &gt;第6行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第6行：&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;==Purpose==&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;==Purpose==&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;−&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This course will show you how to use Microduino to make a device controlling LED lights, which adopts json transmission by wifi. &amp;#160;&lt;/div&gt;&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;This course will show you how to use Microduino to make a device controlling LED lights, which adopts json transmission &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;format &lt;/ins&gt;by wifi.&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;==Equipment==&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;==Equipment==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino-WiFi_Controls_LED&amp;diff=6579&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{| style=&quot;width: 800px;&quot; |- |   ==Purpose==  This course will show you how to use Microduino to make a device controlling LED lights, which adopts json transmission by wifi.  ...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-WiFi_Controls_LED&amp;diff=6579&amp;oldid=prev"/>
				<updated>2014-11-26T08:42:49Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| style=&amp;quot;width: 800px;&amp;quot; |- |   ==Purpose==  This course will show you how to use Microduino to make a device controlling LED lights, which adopts json transmission by wifi.  ...&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;
==Purpose==&lt;br /&gt;
&lt;br /&gt;
This course will show you how to use Microduino to make a device controlling LED lights, which adopts json transmission by wifi. &lt;br /&gt;
&lt;br /&gt;
==Equipment==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Module||Number||Function &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-Core]]||1||Core board  &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-USBTTL]] ||1||Program download &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-WiFi]] ||1||Wireless transmission &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Other equipment  &lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|220 Ω resistor|2&lt;br /&gt;
|-&lt;br /&gt;
|Jumper wire||One box&lt;br /&gt;
|-&lt;br /&gt;
|LED light||2 cable &lt;br /&gt;
|-&lt;br /&gt;
|micro usb cable||One   &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
&lt;br /&gt;
[[File:wifiContorlLEDSchematic.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Program==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/Microduino/Microduino_Tutorials/blob/master/Microduino_Advanced_Tutorial/MicroduinoWiFiControl wifiConrol]&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
&lt;br /&gt;
Step 1: Build the circuit according to the schematic, just like: &lt;br /&gt;
[[File:wifiContorlLED1.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 2: Download the code and run Microduino_led_wifi code in Microduino. In this case, if there is still compile error, it should be lack of Adafruit_CC3000: [[https://github.com/wasdpkj/libraries/tree/master/_03_Microduino_WIFI_CC3000 _03_Microduino_WIFI_CC3000]]&lt;br /&gt;
&lt;br /&gt;
After installing the missing library function, it should go well. Before that, please modify user name and code of wifi.  &lt;br /&gt;
&lt;br /&gt;
[[File:wifiContorlLED1_1.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If everything goes fine, your IDE serial communication will show IP address such as: &lt;br /&gt;
&lt;br /&gt;
[[File:wifiContorlLED2.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
From the picture above, we can see Microduino Wifi connection goes normally.  &lt;br /&gt;
&lt;br /&gt;
Step 3:Next, you need to configure your laptop to be a server which can run PHP code. Because, here we use is PHP code. &lt;br /&gt;
&lt;br /&gt;
Windows operating system  &lt;br /&gt;
*W-windows&lt;br /&gt;
*A-apache&lt;br /&gt;
*M-mysql&lt;br /&gt;
*P-php&lt;br /&gt;
Linux operating system:&lt;br /&gt;
*L-linux&lt;br /&gt;
*A-apache&lt;br /&gt;
*M-mysql&lt;br /&gt;
*P-php&lt;br /&gt;
Mac OS:&lt;br /&gt;
*M-Mac OS&lt;br /&gt;
*A-apache&lt;br /&gt;
*M-mysql&lt;br /&gt;
*P-php&lt;br /&gt;
&lt;br /&gt;
Here we use is windows operating system: &lt;br /&gt;
&lt;br /&gt;
Official website：http://www.wampserver.com/en/  &lt;br /&gt;
Please download and install.  &lt;br /&gt;
&lt;br /&gt;
Download address of this site: [[File:wampServer.rar]]&lt;br /&gt;
&lt;br /&gt;
During the installation, it will probably give you notices such as the lack of msvcr110.dll. That’s because components are missing in your windows system, which please check: [[http://www.microsoft.com/en-us/download/details.aspx?id=30679  Visual C++ Redistributable for Visual Studio 2012 Update 4]], download and install.   &lt;br /&gt;
&lt;br /&gt;
[[File:wifiContorlLED3.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
msvcr110.dll download address of this site：[[File:Msvcr110.rar]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After installation, you will see the following under your installation directory.   &lt;br /&gt;
&lt;br /&gt;
[[File:wifiContorlLED4.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
Open your browser and input “localhost”&lt;br /&gt;
&lt;br /&gt;
The picture below shows wampserver installation success: &lt;br /&gt;
&lt;br /&gt;
[[File:wifiContorlLED4_1.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 4: &lt;br /&gt;
&lt;br /&gt;
Find the file “update_state.php” in your download code folder, then change the IP address of the socket connection to that of Microduino:   &lt;br /&gt;
&lt;br /&gt;
[[File:wifiContorlLED5.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Put MicroduinoWiFiControl folder into “www” folder and input the browser website: http://localhost/MicroduinoWiFiControl/robot.html&lt;br /&gt;
&lt;br /&gt;
Display: &lt;br /&gt;
[[File:wifiContorlLED6.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
Make sure your Microduino is powered on at this time and click the buttons and see what happens to the LED lights.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 5: You can use any terminal control besides controlling LED lights, such as your phone: &lt;br /&gt;
&lt;br /&gt;
[[File:wifiContorlLED7.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
Input your IP address in your phone to visit webpage interface. If your visit is restricted, it means that you have set limited visit for other computer in LAN during initialzed installation of wampserver. Below is the solution:  &lt;br /&gt;
Find the file of httpd.conf in wamp folder, which is in wamp\bin\apache\apache2.4.9\conf&lt;br /&gt;
&lt;br /&gt;
Find statements as follows:  &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
 #   onlineoffline tag - don't remove&lt;br /&gt;
 Require local&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace them to be: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
 #   onlineoffline tag - don't remove&lt;br /&gt;
 #   Require local&lt;br /&gt;
 Require all granted&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
(Note: Don’t delete “Require local”) &lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
&lt;br /&gt;
You can now control LED lights through a phone or browser.  &lt;br /&gt;
[[File:wifiContorlLED8.png|600px|center|thumb]]&lt;br /&gt;
[[File:wifiContorlLED9.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Video==&lt;br /&gt;
&lt;br /&gt;
http://v.youku.com/v_show/id_XODMyNDg4MDgw.html&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>