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

来自丢石头百科
(文本替换 - 替换“([^=]) <div class="tabbertab" title="FAQ">”为“$1 == FAQ == <div class="tabbertab" title="FAQ">”)
(文本替换 - 替换“http://{{”为“https://{{”)
第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=光传感器
第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 串口调试助手]
+
*[https://{{SERVERNAME}}/w/upload/5/5f/Sscom.7z 串口调试助手]
 
转到:[[#软件]],[[#程序]],[[#文档]]
 
转到:[[#软件]],[[#程序]],[[#文档]]
  

2021年6月18日 (五) 18:00的版本

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 周一到周六)