差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
wm_wiki:pir_sensor:manual [2019/05/17 14:42] juneral [人体红外传感器] |
wm_wiki:pir_sensor:manual [2020/05/12 15:24] (当前版本) juneral [3.1. 模块功能及图形化编程指南] |
||
---|---|---|---|
行 177: | 行 177: | ||
==== 3.1. 模块功能及图形化编程指南 ==== | ==== 3.1. 模块功能及图形化编程指南 ==== | ||
- | |||
<html><body> | <html><body> | ||
+ | <p class=MsoNormal style='text-indent:21.0pt'><span style='font-size:16.0pt; | ||
+ | font-family:华文楷体;color:#222222;background:white'>    </span><span | ||
+ | lang=ZH-CN style='font-size:16.0pt;font-family:宋体;color:#222222;background: | ||
+ | white'>该模块支持的图形化编程平台有</span><span style='font-size:16.0pt;font-family:宋体; | ||
+ | color:#222222;background:white'><span style='box-sizing: border-box;font-variant-ligatures: normal; | ||
+ | font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px; | ||
+ | text-decoration-style: initial;text-decoration-color: initial;word-spacing: | ||
+ | 0px'>WeeeCode</span><span lang=ZH-CN><span style='box-sizing: border-box; | ||
+ | font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: | ||
+ | start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial; | ||
+ | text-decoration-color: initial;word-spacing:0px'>、编程猫平台、</span></span><span | ||
+ | style='box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal; | ||
+ | orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px; | ||
+ | text-decoration-style: initial;text-decoration-color: initial;word-spacing: | ||
+ | 0px'>Mixly_Arduino</span><span lang=ZH-CN><span style='box-sizing: border-box; | ||
+ | font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: | ||
+ | start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial; | ||
+ | text-decoration-color: initial;word-spacing:0px'>、</span></span><span | ||
+ | style='box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal; | ||
+ | orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px; | ||
+ | text-decoration-style: initial;text-decoration-color: initial;word-spacing: | ||
+ | 0px'>MakeCode</span><span lang=ZH-CN><span style='box-sizing: border-box; | ||
+ | font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: | ||
+ | start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial; | ||
+ | text-decoration-color: initial;word-spacing:0px'>等,其图形化编程大同小异,区别不会很大。</span></span></span></p> | ||
+ | <div align=center> | ||
+ | |||
+ | <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 | ||
+ | style='border-collapse:collapse'> | ||
+ | <tr style='height:15.65pt'> | ||
+ | <td width=257 valign=top style='width:192.65pt;border:solid windowtext 1.0pt; | ||
+ | padding:0in 5.4pt 0in 5.4pt;height:15.65pt'> | ||
+ | <p class=MsoNormal align=center style='text-align:center'><b><span | ||
+ | lang=ZH-CN style='font-size:14.0pt;font-family:华文楷体;color:windowtext; | ||
+ | background:white'>模块功能</span></b></p> | ||
+ | </td> | ||
+ | <td width=223 valign=top style='width:166.95pt;border:solid windowtext 1.0pt; | ||
+ | border-left:none;padding:0in 5.4pt 0in 5.4pt;height:15.65pt'> | ||
+ | <p class=MsoNormal align=center style='text-align:center'><b><span | ||
+ | lang=ZH-CN style='font-size:14.0pt;font-family:华文楷体;color:windowtext; | ||
+ | background:white'>需传参数</span></b></p> | ||
+ | </td> | ||
+ | <td width=462 valign=top style='width:346.5pt;border:solid windowtext 1.0pt; | ||
+ | border-left:none;padding:0in 5.4pt 0in 5.4pt;height:15.65pt'> | ||
+ | <p class=MsoNormal align=center style='text-align:center'><b><span | ||
+ | lang=ZH-CN style='font-size:14.0pt;font-family:华文楷体;color:windowtext; | ||
+ | background:white'>图形化编程块举例</span></b></p> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <span style='box-sizing: border-box'> | ||
+ | <tr> | ||
+ | <td width=257 style='width:192.65pt;border:solid windowtext 1.0pt;border-top: | ||
+ | none;padding:0in 5.4pt 0in 5.4pt'> | ||
+ | <p class=MsoNormal align=center style='text-align:center'><span lang=ZH-CN | ||
+ | style='font-size:14.0pt;font-family:华文楷体;color:windowtext;background:white'>获取传感器是否触发</span></p> | ||
+ | </td> | ||
+ | <td width=223 style='width:166.95pt;border-top:none;border-left:none; | ||
+ | border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; | ||
+ | padding:0in 5.4pt 0in 5.4pt'> | ||
+ | <p class=MsoNormal align=center style='text-align:center'><span | ||
+ | style='font-size:14.0pt;font-family:华文楷体;color:windowtext;background:white'>(1<span | ||
+ | lang=ZH-CN>个参数)端口</span></span></p> | ||
+ | </td> | ||
+ | <td width=462 valign=top style='width:346.5pt;border-top:none;border-left: | ||
+ | none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; | ||
+ | padding:0in 5.4pt 0in 5.4pt'> | ||
+ | <p class=MsoNormal align=center style='text-align:center'><span | ||
+ | style='color:windowtext'><img width=352 height=65 id="图片 2" | ||
+ | src="lib/exe/fetch.php?media=wm_wiki:pir_sensor:pasted:20190517-144315.png"></span></p> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | </div> | ||
+ | <p class=MsoNormal style='text-indent:21.0pt'><span style='font-size:16.0pt; | ||
+ | font-family:华文楷体'> </span></p> | ||
+ | |||
+ | <p class=MsoNormal style='text-indent:21.0pt'><span lang=ZH-CN | ||
+ | style='font-size:16.0pt;font-family:华文楷体'>编程示例:</span></p> | ||
</body></html> | </body></html> | ||
行 187: | 行 265: | ||
</body></html> | </body></html> | ||
- | ===== 参数规格 ===== | ||
- | ^ 参数 ^ 值/描述 ^ | ||
- | ^ 工作电压 | 5V DC | | ||
- | ^ 工作温度 | -20℃~ + 70℃ | | ||
- | ^ 倾斜角度 | 100 度 | | ||
- | ^ 触发方式 | 可重复触发(默认)/不可重复触发 | | ||
- | ^ LED灯 | 1个 | | ||
- | ^ 检测距离 | 最大5米 | | ||
- | ^ 模块尺寸 | 52 x 24 x 18.5 mm (长x宽x高) | | ||
- | ===== 应用案例 ===== | ||
- | 主要应用领域为家电、玩具、防盗报警、感应门、感应灯具、感应开关等。红外自动感应灯、感应开关能感应人体红外线,人来灯亮,人离灯灭,实现自动照明。“感应门”是指自动门中的一种开门模式。感应门是广泛用于商店、酒店、企事业单位等场所的一种玻璃门,利用热释电红外人体感应传感器特性,当有人靠近门口时,它会自动感应到人体,发出指令及时将门打开。 | ||
- | ===== 编程介绍 ===== | ||
- | 当有人出现在人体红外传感测量范围内时,角色会说出你好。 | ||
- | {{:人体红外程序.png?400|}} | + | |
+ | ---- | ||
+ | |||
+ | --- //[[juneral@weeemake.com|Juneral]] 2019/05/17 15:00// |