<?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%B1%BD%E8%BD%A6%E8%BD%AC%E5%90%91%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%B1%BD%E8%BD%A6%E8%BD%AC%E5%90%91%E7%81%AF"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E6%B1%BD%E8%BD%A6%E8%BD%AC%E5%90%91%E7%81%AF&amp;action=history"/>
		<updated>2026-04-30T05:36:21Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=%E6%B1%BD%E8%BD%A6%E8%BD%AC%E5%90%91%E7%81%AF&amp;diff=17508&amp;oldid=prev</id>
		<title>Yanglibin@microduino.cc：/* 模块搭建 */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E6%B1%BD%E8%BD%A6%E8%BD%AC%E5%90%91%E7%81%AF&amp;diff=17508&amp;oldid=prev"/>
				<updated>2016-09-26T07:00:36Z</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;2016年9月26日 (一) 07:00的版本&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-l42&quot; &gt;第42行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第42行：&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 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 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;将蜂鸣器连接在Hub的6&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;7管脚； &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;将2个红色LED灯分别连接在Hub的6&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;7和8/9管脚； &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;**将2个碰撞开关分别连接在Hub的2/3和4/5管脚；&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;**将2个碰撞开关分别连接在Hub的2/3和4/5管脚；&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;**将USB连接线一端插入USB上传模块，另一端连接电脑；&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;**将USB连接线一端插入USB上传模块，另一端连接电脑；&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Yanglibin@microduino.cc</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=%E6%B1%BD%E8%BD%A6%E8%BD%AC%E5%90%91%E7%81%AF&amp;diff=17507&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%B1%BD%E8%BD%A6%E8%BD%AC%E5%90%91%E7%81%AF&amp;diff=17507&amp;oldid=prev"/>
				<updated>2016-09-26T06:42:09Z</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_carSteeringled.jpg&quot; title=&quot;文件:Anywhere carSteeringled.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;
==概述==&lt;br /&gt;
[[File:anywhere_carSteeringled.jpg|600px|center]]&lt;br /&gt;
&lt;br /&gt;
让我们一起做一个汽车转向灯：按下左侧开关，开启左灯；按下右侧开关，开启右灯。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
适合套件：mCookie202，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-LED/zh|LED]]||2||单色灯&lt;br /&gt;
|-&lt;br /&gt;
|[[Sensor-Crash/zh|Crash]]||2||碰撞开关&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===其他设备===&lt;br /&gt;
*USB数据线*1&lt;br /&gt;
*传感器连接线*4&lt;br /&gt;
*传感器外壳*1&lt;br /&gt;
*乐高或其它固定结构&lt;br /&gt;
[[File:anywhere_carSteeringled-module.jpg|600px|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==模块搭建==&lt;br /&gt;
[[File:anywhere_carSteeringled-module—step.jpg|600px|center]]&lt;br /&gt;
*将模块和传感器组装起来：&lt;br /&gt;
**将红色的核心模块，电池底座与绿色的扩展模块吸在一起；&lt;br /&gt;
**将蜂鸣器连接在Hub的6/7管脚； &lt;br /&gt;
**将2个碰撞开关分别连接在Hub的2/3和4/5管脚；&lt;br /&gt;
**将USB连接线一端插入USB上传模块，另一端连接电脑；&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==编程==&lt;br /&gt;
===使用的程序块===&lt;br /&gt;
*[[“碰撞开关”程序块]]&lt;br /&gt;
*[[“如果－执行”程序块]]&lt;br /&gt;
*[[“数字输出”程序块]]&lt;br /&gt;
*[[“延时”程序块]]&lt;br /&gt;
&lt;br /&gt;
===编程思路===&lt;br /&gt;
用“如果-执行”条件语句检测左右两边的碰撞开关哪个被按下，让对应的灯闪烁，结束后继续检测。&lt;br /&gt;
[[File:mixly-ctrl-carSteeringled.jpg|600px|center]]&lt;br /&gt;
===开始编程===&lt;br /&gt;
'''1、如果左侧开关按下，左侧LED灯闪烁一次”'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
将2号管脚开关视为左侧开关，6号管脚LED视为左灯；将闪烁的程序（一亮一灭）放在“执行”的内部程序处：如果左侧开关按下，则左灯闪烁一次。&lt;br /&gt;
[[File:mixly-ctrl-carSteeringled－code1.jpg|600px|center]]&lt;br /&gt;
'''2、如果右侧开关按下，右侧LED灯闪烁一次'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
将4号管脚开关视为右侧开关，8号管脚LED视为右灯；将闪烁的程序放在“执行”的内部程序处：如果右侧开关按下，则右灯闪烁一次。&lt;br /&gt;
[[File:mixly-ctrl-carSteeringled－code2.jpg|600px|center]]&lt;br /&gt;
'''测试结果'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
程序上传成功后，按下左侧开关，左灯闪烁；按下右侧开关，右灯闪烁。&lt;br /&gt;
[[File:anywhere_carSteeringled.jpg|600px|center]]&lt;br /&gt;
&lt;br /&gt;
==技术规范==&lt;br /&gt;
*详细参考:[[Sensor-LED/zh]]&lt;br /&gt;
*详细参考:[[Sensor-Crash/zh]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==相关案例==&lt;br /&gt;
*'''[[DIY小台灯]]'''&lt;br /&gt;
*'''[[小小点歌台]]'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Q&amp;amp;A==&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Yanglibin@microduino.cc</name></author>	</entry>

	</feed>