牛卧堂MCU技术交流

标题: [Nano130] TCRT5000 IR Sensor Control [打印本页]

作者: admin    时间: 2023-5-26 13:51
标题: [Nano130] TCRT5000 IR Sensor Control

The TCRT5000 sensor works on the same principle as ordinary infrared sensors.

The TCRT5000 has an infrared emitter tube and an infrared receiver tube.When the infrared signal of the transmitter tube is received by the receiving tube through reflection, the resistance of the receiving tube will change, which is generally reflected in the form of voltage change on the circuit. This sample code uses Nano130 to output the result after ADC conversion.The change of resistance is based on the intensity of infrared signal received by the receiving tube, which is often reflected in the color of the reflecting surface and the distance between the receiving tube and the reflecting surface.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1225170937





欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/) Powered by Discuz! X3.2