“Photo Interrupter Sensor”的版本间的差异

来自丢石头百科
 
(未显示1个用户的5个中间版本)
第2行: 第2行:
 
{{外围模块|colorscheme=blue
 
{{外围模块|colorscheme=blue
 
|name = Photo Interrupter Sensor  
 
|name = Photo Interrupter Sensor  
|img=[[File:Photo-Interrupter-Sensor-intro.jpg|360px |alt=Photo Interrupter Sensor |link=http://{{SERVERNAME}}/shop/Photo-Interrupter-Sensor.htm | Photo Interrupter Sensor]]
+
|img=[[File:Photo-Interrupter-Sensor-intro.jpg|360px |alt=Photo Interrupter Sensor |link=https://{{SERVERNAME}}/shop/Photo-Interrupter-Sensor.htm | Photo Interrupter Sensor]]
 
|category1=AlphaBot
 
|category1=AlphaBot
 
|category2=光传感器
 
|category2=光传感器
第37行: 第37行:
  
 
==操作现象==
 
==操作现象==
下面,以接入微雪[http://www.waveshare.net/shop/XNUCLEO-F103RB.htm XNUCLEO-F103RB (STM32F103R) ]和 [http://www.waveshare.net/shop/UNO-PLUS.htm Arduino UNO]开发板为例。<br />
+
下面,以接入微雪[[XNUCLEO-F103RB (STM32F103R) ]]和 [[Arduino UNO]]开发板为例。<br />
 
① 将配套程序下载到相应的开发板中。<br />
 
① 将配套程序下载到相应的开发板中。<br />
 
② 将串口线和模块接入开发板,给开发板上电,打开串口调试软件。<br />
 
② 将串口线和模块接入开发板,给开发板上电,打开串口调试软件。<br />
第84行: 第84行:
 
<div class="tabbertab" title="资料">
 
<div class="tabbertab" title="资料">
 
===文档===
 
===文档===
*[http://{{SERVERNAME}}/w/upload/f/f9/Photo-Interrupter-Sensor-UserManual-CN.pdf 用户手册]<br>
+
*[https://{{SERVERNAME}}/w/upload/f/f9/Photo-Interrupter-Sensor-UserManual-CN.pdf 用户手册]<br>
*[http://{{SERVERNAME}}/w/upload/6/61/Photo-Interrupter-Sensor-Schematic.pdf 原理图/尺寸图]<br>
+
*[https://{{SERVERNAME}}/w/upload/6/61/Photo-Interrupter-Sensor-Schematic.pdf 原理图/尺寸图]<br>
  
 
===程序===
 
===程序===
*[http://{{SERVERNAME}}/w/upload/f/f6/Photo_Interrupter_Sensor_Demo.7z 示例程序]<br>
+
*[https://{{SERVERNAME}}/w/upload/f/f6/Photo_Interrupter_Sensor_Demo.7z 示例程序]<br>
  
 
===数据手册===
 
===数据手册===
*[http://{{SERVERNAME}}/w/upload/8/83/Sn74lvc1g126.pdf sn74lvc1g126_EN]<br>
+
*[https://{{SERVERNAME}}/w/upload/8/83/Sn74lvc1g126.pdf sn74lvc1g126_EN]<br>
  
 
===软件===
 
===软件===
*[http://{{SERVERNAME}}/w/upload/5/5f/Sscom.7z 串口调试助手]
+
*[[:File:串口调试助手.zip|串口调试助手]]
<br /><big>批量下载教程——请戳<big><big><big>☛</big></big></big></big>[[File:download-icon.png|link=批量下载教程]]
+
转到:[[#软件]],[[#程序]],[[#文档]]
  
 
<!--{{Join_us}}-->
 
<!--{{Join_us}}-->
 
</div>
 
</div>
 +
 +
== FAQ ==
 
<div class="tabbertab" title="FAQ"><br /></div>
 
<div class="tabbertab" title="FAQ"><br /></div>
 
<div class="tabbertab" title="售后"><br />{{Service11}}</div>
 
<div class="tabbertab" title="售后"><br />{{Service11}}</div>

2023年6月21日 (三) 17:10的最新版本

Photo Interrupter Sensor
Photo Interrupter Sensor
{{{name2}}}
{{{name3}}}
基本信息
分类: AlphaBot模块
{{{userDefinedInfo1}}}: {{{userdefinedvalue1}}}
{{{userDefinedInfo2}}}: {{{userdefinedvalue2}}}
{{{userDefinedInfo3}}}: {{{userdefinedvalue3}}}
品牌: Waveshare
功能简介
特性 光遮挡中断传感器 测速模块
' 无特性,不解释
' 无特性,不解释
' 无特性,不解释
' 无特性,不解释
接口 I/Os
相关产品

{{{Product1}}}

{{{Product2}}}

{{{Product3}}}

{{{Product4}}}

{{{Product5}}}

{{{Product6}}}

产品概述

Photo Interrupter Sensor是光遮挡中断传感器,常用于智能小车测速。
原理:本产品采用 WYC-H206 槽型光电传感器,一端为红外发射管,另一端为红外接收,当有遮挡时,红外接收端接收不到红外,输出高电平,经过反相施密特触发器变为低电平输出,同时信号灯被点亮。采用施密特触发器使输出信号更加稳定,波形好,没有抖动现象。

规格

工作电压:3.3V ~ 5V
产品尺寸:26.8mm × 15mm × 18.7mm
固定孔尺寸:3mm
槽宽:6mm

主要用途

电机转速检测,脉冲计数,位置限位等。

接口说明

表 1. 接口说明
引脚号 标识 描述
1 DOUT 数字量输出
2 GND 电源地
3 VCC 电源正(3.3V-5V)

操作现象

下面,以接入微雪XNUCLEO-F103RB (STM32F103R) Arduino UNO开发板为例。
① 将配套程序下载到相应的开发板中。
② 将串口线和模块接入开发板,给开发板上电,打开串口调试软件。
模块与开发板连接如下表所示:

表 2. 模块接入 STM32 开发板
端口 XNUCLEO-F103RB引脚
DOUT A0
GND GND
VCC 3.3V


表 3. 模块接入 Arduino
端口 Arduino 引脚
DOUT D2
GND GND
VCC 5V


串口配置如下表所示:

表 4. 串口配置
Baud rate 9600
Data bits 8
Stop bit 1
Parity bit None

③ 传感器有物体遮挡时,模块上的信号指示灯点亮,串口串口显示“ON”,否则为“OFF”。

FAQ



Icon-mail.png 联系 丢石头

我们的工作时间是: 09:00-18:00 (UTC+8 周一到周六)