找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[Nano130] TCRT5000 IR Sensor Control

[复制链接]
跳转到指定楼层
楼主
admin 发表于 2023-5-26 13:51:26 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

  • Application: This sample code uses Nano130 to control the TCRT5000 sensor.
  • BSP Version: Nano100B Series BSP CMSIS v3.01.000
  • Hardware: NuTiny-EVB-Nano130
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
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU