Waveshare Photo Interrupter Sensor User Manual

Photo Interrupter Sensor User Manual is the instruction manual of the light interruption interrupt sensor, which introduces the main characteristics and uses of the product.


Waveshare Photo Interrupter Sensor User Manual - cover page
Brand
Waveshare
Category
sensor
Document type
User Manual
Language
Chinese
Pages
2
File format
PDF
File size
321 KB
Published
31 October, 2023
Updated
31 October, 2023
MD5 checksum
2244F03F7E53B8A49ABE5B197565C453

About this manual

This Chinese user manual describes the Photo Interrupter Sensor, a photo-interrupting (slotted optical) sensor module commonly used for measuring the speed of small smart cars. The module uses a WYC-H206 slotted photo sensor: one side holds an infrared emitter and the other an infrared receiver. When the beam is blocked, the receiver gets no infrared light, the output goes high, an inverting Schmitt trigger turns it into a low output, and the signal indicator LED lights up. The Schmitt trigger is used to make the output signal more stable, with a clean waveform and no jitter.

The manual lists the operating voltage (3.3V-5V), module dimensions and slot width, and the main uses: motor speed detection, pulse counting and position limiting. It explains the three-pin interface (DOUT, GND, VCC) and gives a worked example connecting the module to a 微雪 XNUCLEO-F103RB (STM32F103R) board and an Arduino UNO, including the wiring tables, serial port settings (9600 baud, 8 data bits, 1 stop bit, no parity) and the expected ON/OFF serial output when the sensor slot is blocked. This manual is written in Chinese.

What's inside

  • 产品概述 (Product Overview)
  • 规格 (Specifications)
  • 主要用途 (Main Applications)
  • 接口说明 (Interface Description)
  • 操作现象 (Operating Example)
  • 模块接入 STM32 开发板 (Connecting to STM32 Board)
  • 模块接入 Arduino (Connecting to Arduino)
  • 串口配置 (Serial Port Configuration)

Specifications

Operating voltage3.3V ~ 5V
Product dimensions26.8mm × 15mm × 18.7mm
Mounting hole size3mm
Sensor elementWYC-H206 slotted photo sensor
OutputDigital output (DOUT)

Frequently asked questions

What is the operating voltage of the Photo Interrupter Sensor?

The module operates from 3.3V to 5V, supplied on the VCC pin.

What are the pin definitions of the module?

Pin 1 is DOUT (digital output), pin 2 is GND (power ground) and pin 3 is VCC (3.3V-5V).

What happens when an object blocks the sensor slot?

The signal indicator LED on the module lights and the serial port shows "ON"; otherwise it shows "OFF".

What serial settings are used in the example?

The example uses a baud rate of 9600, 8 data bits, 1 stop bit and no parity bit.

Download PDF (321 KB)

More Waveshare Manuals


View all Waveshare manuals →