<?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=%E6%98%9F%E5%BA%A7%E6%8A%95%E5%BD%B1%E7%81%AF</id>
		<title>星座投影灯 - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%98%9F%E5%BA%A7%E6%8A%95%E5%BD%B1%E7%81%AF"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E6%98%9F%E5%BA%A7%E6%8A%95%E5%BD%B1%E7%81%AF&amp;action=history"/>
		<updated>2026-04-21T03:41:13Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=%E6%98%9F%E5%BA%A7%E6%8A%95%E5%BD%B1%E7%81%AF&amp;diff=19344&amp;oldid=prev</id>
		<title>Zhangfengfeng：/* 其他设备 */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E6%98%9F%E5%BA%A7%E6%8A%95%E5%BD%B1%E7%81%AF&amp;diff=19344&amp;oldid=prev"/>
				<updated>2017-04-05T03:25:07Z</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;2017年4月5日 (三) 03:25的版本&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-l32&quot; &gt;第32行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第32行：&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;*传感器连接线*3&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;*传感器连接线*3&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;div&gt;*传感器外壳*1&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;*传感器外壳*1&lt;/div&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;*&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;乐高或其它固定结构&lt;/del&gt;&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;*&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;积木或其它固定结构&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;div&gt;[[File:anywhere_constellation-module.jpg|600px|center]]&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;[[File:anywhere_constellation-module.jpg|600px|center]]&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;/table&gt;</summary>
		<author><name>Zhangfengfeng</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=%E6%98%9F%E5%BA%A7%E6%8A%95%E5%BD%B1%E7%81%AF&amp;diff=17647&amp;oldid=prev</id>
		<title>Yanglibin@microduino.cc：创建页面，内容为“{| style=&quot;width: 1000px;&quot; |- |  ==概述== center  让我们做个星座投影灯，通过两个触摸传感器触摸来切...”</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E6%98%9F%E5%BA%A7%E6%8A%95%E5%BD%B1%E7%81%AF&amp;diff=17647&amp;oldid=prev"/>
				<updated>2016-09-28T03:27:34Z</updated>
		
		<summary type="html">&lt;p&gt;创建页面，内容为“{| style=&amp;quot;width: 1000px;&amp;quot; |- |  ==概述== &lt;a href=&quot;/index.php/%E6%96%87%E4%BB%B6:Anywhere_constellation.jpg&quot; title=&quot;文件:Anywhere constellation.jpg&quot;&gt;600px|center&lt;/a&gt;  让我们做个星座投影灯，通过两个触摸传感器触摸来切...”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
==概述==&lt;br /&gt;
[[File:anywhere_constellation.jpg|600px|center]]&lt;br /&gt;
&lt;br /&gt;
让我们做个星座投影灯，通过两个触摸传感器触摸来切换颜色，一直按住触摸传感器时达到灯呼吸的效果。&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
适合套件：mCookie302，IBC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==模块清单==&lt;br /&gt;
===模块===&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|模块||数量||功能&lt;br /&gt;
|-&lt;br /&gt;
|[[mCookie-Core/zh|mCookie-Core]]||1||核心板&lt;br /&gt;
|-&lt;br /&gt;
|[[mCookie-Battery|电池盒]]||1||程序下载和供电模块&lt;br /&gt;
|-&lt;br /&gt;
|[[mCookie-Hub/zh|mCookie-Hub]]||1||传感器转接板&lt;br /&gt;
|-&lt;br /&gt;
|[[Sensor-Touch Button/zh|触摸传感器]]||2||检测触摸&lt;br /&gt;
|-&lt;br /&gt;
|[[Sensor-Color LED/zh|ColorLED]]||1||彩色灯&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===其他设备===&lt;br /&gt;
*USB数据线*1&lt;br /&gt;
*传感器连接线*3&lt;br /&gt;
*传感器外壳*1&lt;br /&gt;
*乐高或其它固定结构&lt;br /&gt;
[[File:anywhere_constellation-module.jpg|600px|center]]&lt;br /&gt;
&lt;br /&gt;
==模块搭建==&lt;br /&gt;
===搭建===&lt;br /&gt;
[[File:anywhere_constellation－step.jpg|600px|center]]&lt;br /&gt;
*将模块和传感器组装起来：&lt;br /&gt;
**将红色的核心模块，电池底座与绿色的扩展模块吸在一起；&lt;br /&gt;
**将全彩LED灯连线接在Hub的6/7管脚；&lt;br /&gt;
**将2个 碰撞开关分别连线接在Hub的4/5、2/3管脚&lt;br /&gt;
**将USB连接线一端插入电池底座，另一端连接电脑；&lt;br /&gt;
==编程==&lt;br /&gt;
===使用的程序块===&lt;br /&gt;
*[[“彩灯准备”程序块]]&lt;br /&gt;
*[[“彩灯控制调RGB”程序块]]&lt;br /&gt;
*[[“按次执行”程序块]]&lt;br /&gt;
*[[“如果－执行”程序块]]&lt;br /&gt;
*[[“延时”程序块]]&lt;br /&gt;
&lt;br /&gt;
===编程思路===&lt;br /&gt;
按下4号触摸传感器，看到绿色呼吸灯的效果；按下2号触摸传感器，看到蓝色呼吸灯的效果。&lt;br /&gt;
[[File:mixly-ctrl-constellation.jpg|600px|center]]&lt;br /&gt;
&lt;br /&gt;
===开始编程===&lt;br /&gt;
'''彩灯准备，通过触摸4号触摸控制绿色呼吸灯效果'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
如果4号触摸传感器按下，使用 “按次执行”，让绿色彩灯从微亮均匀变到最亮，然后从最亮变到微亮，达到呼吸灯的效果。如果触摸传感器一直被按下，则绿色灯光重复循环呼吸。&lt;br /&gt;
[[File:mixly-ctrl-constellation－code.jpg|600px|center]]&lt;br /&gt;
'''蓝色呼吸灯效果'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
如果2号触摸传感器按下，使用 “按次执行”，让蓝色彩灯从微亮均匀变到最亮，然后从最亮变到微亮，达到呼吸灯的效果。如果触摸传感器一直被按下，则蓝色灯光重复循环呼吸。&lt;br /&gt;
[[File:mixly-ctrl-constellation－code1.jpg|600px|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''测试结果'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
一直按下4号触摸传感器，可看到绿色呼吸灯的效果，一直按下2号触摸传感器，可看到蓝色呼吸灯的效果。&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
用乐高搭建一个星座投影仪，将自己的星座图在纸上绘制出来，星星用圆圈表示；用剪刀或者笔尖将星星的部分开洞，让灯光可以透过来。&lt;br /&gt;
[[File:anywhere_constellation.jpg|600px|center]]&lt;br /&gt;
&lt;br /&gt;
==技术规范==&lt;br /&gt;
*彩色灯产品编号：MSDL11&lt;br /&gt;
*需要使用API库驱动。&lt;br /&gt;
*彩灯详细参考[[Sensor-Color LED/zh]]&lt;br /&gt;
*触摸详细参考[[Sensor-Touch Button/zh]]&lt;br /&gt;
&lt;br /&gt;
==相关案例==&lt;br /&gt;
*'''[[DIY小台灯]]'''&lt;br /&gt;
*'''[[原力之剑]]'''&lt;br /&gt;
&lt;br /&gt;
==Q&amp;amp;A==&lt;br /&gt;
*Q：为什么需要一直按下才能循环呼吸？&lt;br /&gt;
**A：因为按下松开后的状态只有一次，按次执行只执行一次，如果一直按下状态一直保持，就能循环呼吸。&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Yanglibin@microduino.cc</name></author>	</entry>

	</feed>