<?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=%E5%BE%AE%E6%B3%A2%E7%82%89%E5%AE%9A%E6%97%B6%E5%99%A8</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=%E5%BE%AE%E6%B3%A2%E7%82%89%E5%AE%9A%E6%97%B6%E5%99%A8"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E5%BE%AE%E6%B3%A2%E7%82%89%E5%AE%9A%E6%97%B6%E5%99%A8&amp;action=history"/>
		<updated>2026-04-21T11:01:19Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=%E5%BE%AE%E6%B3%A2%E7%82%89%E5%AE%9A%E6%97%B6%E5%99%A8&amp;diff=18310&amp;oldid=prev</id>
		<title>2016年10月24日 (一) 02:18 Yanglibin@microduino.cc</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E5%BE%AE%E6%B3%A2%E7%82%89%E5%AE%9A%E6%97%B6%E5%99%A8&amp;diff=18310&amp;oldid=prev"/>
				<updated>2016-10-24T02:18:19Z</updated>
		
		<summary type="html">&lt;p&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年10月24日 (一) 02:18的版本&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-l89&quot; &gt;第89行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第89行：&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;&amp;lt;br&amp;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;&amp;lt;br&amp;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;&amp;lt;br&amp;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;&amp;lt;br&amp;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;'''Q:&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;'''Q:&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;&amp;lt;br&amp;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;&amp;lt;br&amp;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;'''A:那我们加上蜂鸣器，倒计时结束后微波炉发出“叮”声。'''&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;'''A:那我们加上蜂鸣器，倒计时结束后微波炉发出“叮”声。'''&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=%E5%BE%AE%E6%B3%A2%E7%82%89%E5%AE%9A%E6%97%B6%E5%99%A8&amp;diff=18309&amp;oldid=prev</id>
		<title>2016年10月21日 (五) 03:22 Yanglibin@microduino.cc</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E5%BE%AE%E6%B3%A2%E7%82%89%E5%AE%9A%E6%97%B6%E5%99%A8&amp;diff=18309&amp;oldid=prev"/>
				<updated>2016-10-21T03:22:40Z</updated>
		
		<summary type="html">&lt;p&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年10月21日 (五) 03:22的版本&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-l86&quot; &gt;第86行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第86行：&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;&amp;lt;br&amp;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;&amp;lt;br&amp;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;制作时间表盘，时间从0~18对应舵机的转动角度180°~0°。&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;制作时间表盘，时间从0~18对应舵机的转动角度180°~0°。&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;[[File:anywhere_timing-Microwave &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;oven&lt;/del&gt;.jpg|600px|center]]&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;[[File:anywhere_timing-Microwave &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ovens&lt;/ins&gt;.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;div&gt;&amp;lt;br&amp;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;&amp;lt;br&amp;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;&amp;lt;br&amp;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;&amp;lt;br&amp;gt;&lt;/div&gt;&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-l95&quot; &gt;第95行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第95行：&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;&amp;lt;br&amp;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;&amp;lt;br&amp;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;[[File:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;mixly-ctrl-timing&lt;/del&gt;-Microwave &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;oven－code2&lt;/del&gt;.jpg|600px|center]]&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;[[File:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;anywhere_timing&lt;/ins&gt;-Microwave &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;oven&lt;/ins&gt;.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;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;/table&gt;</summary>
		<author><name>Yanglibin@microduino.cc</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=%E5%BE%AE%E6%B3%A2%E7%82%89%E5%AE%9A%E6%97%B6%E5%99%A8&amp;diff=18300&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=%E5%BE%AE%E6%B3%A2%E7%82%89%E5%AE%9A%E6%97%B6%E5%99%A8&amp;diff=18300&amp;oldid=prev"/>
				<updated>2016-10-21T03:06:20Z</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_timing-Microwave_ovens.jpg&quot; title=&quot;文件:Anywhere timing-Microwave ovens.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_timing-Microwave ovens.jpg|600px|center]]&lt;br /&gt;
&lt;br /&gt;
做个微波炉定时器，通过摇杆设定时间并将舵机臂转到指定位置显示时间。按下摇杆开始倒计时，舵机按设定时间转回零点。&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
适合套件：mCookie202、mCookie302&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-Joystick/zh|摇杆]]||1||相当于游戏手柄，输入控制&lt;br /&gt;
|-&lt;br /&gt;
|[[舵机]]||1||舵机&lt;br /&gt;
|-&lt;br /&gt;
|[[Sensor-Servo Connector/zh|舵机转接板]]||1||舵机转接板&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===其他设备===&lt;br /&gt;
*USB数据线*1&lt;br /&gt;
*传感器连接线*2&lt;br /&gt;
*传感器外壳&lt;br /&gt;
*乐高或其它固定结构&lt;br /&gt;
[[File:anywhere_timing-Microwave ovens-module.jpg|600px|center]]&lt;br /&gt;
&lt;br /&gt;
==模块搭建==&lt;br /&gt;
===搭建===&lt;br /&gt;
[[File:anywhere_timing-Microwave ovens-step.jpg|600px|center]]&lt;br /&gt;
*将模块和传感器组装起来：&lt;br /&gt;
**将舵机转接板连接在Hub的6/7管脚；&lt;br /&gt;
**将舵机连接在舵机转接板的1管脚（下面三个插针）；&lt;br /&gt;
**将摇杆连接在Hub的A0/A1管脚。&lt;br /&gt;
**将USB连接线一端插入电池底座，另一端连接电脑；&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;
*[[“映射”程序块]]&lt;br /&gt;
*[[“非”程序块]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===编程思路===&lt;br /&gt;
摇杆按下前，重复执行设置时间程序，此时检测摇杆左右方向设置时间长短，同时舵机臂转到相应位置。时间设置完毕后，按下摇杆退出重复执行，舵机臂以10°/秒的速度往回转直到时间归0。&lt;br /&gt;
[[File:mixly-ctrl-timing-Microwave oven.jpg|600px|center]]&lt;br /&gt;
&lt;br /&gt;
===开始编程===&lt;br /&gt;
'''1、摇杆按下前，调整定时器时间'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
time变量用来存储设定时间。&lt;br /&gt;
如果摇杆左摇，并且time大于1，则time减1，等待摇杆松开。&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
如果摇杆右摇，并且time小于18，则time加1，等待摇杆松开。&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
将time从0-18映射到180-0（因为舵机逆时针转到头是180°）；舵机转角设为time（调整时间时，舵机臂就是定时器表针，每10°代表1秒）。&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:mixly-ctrl-timing-Microwave oven－code.jpg|600px|center]]&lt;br /&gt;
'''2、摇杆按下后开始倒计时'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
舵机转到180°（定时器表盘0点）。&lt;br /&gt;
转速10度/秒（与定时时间同步）。&lt;br /&gt;
定时完成后time清零。&lt;br /&gt;
[[File:mixly-ctrl-timing-Microwave oven－code1.jpg|600px|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''测试结果'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
上传成功后，摇杆左右动作可控制舵机在0-180°内转动，每10°代表1秒，设定好后按下摇杆，舵机以每秒10°的速度转回180°。&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
制作时间表盘，时间从0~18对应舵机的转动角度180°~0°。&lt;br /&gt;
[[File:anywhere_timing-Microwave oven.jpg|600px|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''Q:现在的定时器可以看到舵机指针倒计时，但是倒计时结束后，没有任何提示音，小美知道如何改进吗？？'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''A:那我们加上蜂鸣器，倒计时结束后微波炉发出“叮”声。'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
其他程序不变，在全部程序后面加上蜂鸣器响一声的程序块即可。&lt;br /&gt;
[[File:mixly-ctrl-timing-Microwave oven－code2.jpg|600px|center]]&lt;br /&gt;
&lt;br /&gt;
==技术规范==&lt;br /&gt;
*摇杆详细参考[[Sensor-Joystick/zh]]&lt;br /&gt;
&lt;br /&gt;
==相关案例==&lt;br /&gt;
*'''[[定时喂食器]]'''&lt;br /&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>