智能小車實作

10-1 tcrt 5000循跡模塊之認識與原理

感測器簡介


TCRT5000光電感測器模塊是基於TCRT5000紅外光電感測器設計的一款紅外反射式光電開關。TCRT5000由高發射功率紅外光電二極體和高靈敏度光電晶體管組成,輸出信號經施密特電路整形,穩定可靠。

感測器外觀

TCRT5000 紅外線收發 LED,經 IC LM393 處理後,具有兩個輸出腳位,D0 為數位,A0 為類比。

            

            

工作原理


TCRT5000感測器的紅外發射二極體不斷發射紅外線,當發射出的紅外線沒有被反射回來或被反射回來但強度不夠大時,光敏三極體一直處於關斷狀態,此時模塊的輸出端為高電平,板載指示LED處於熄滅狀態;被檢測物體出現在檢測範圍內時,紅外線被反射回來且強度足夠大,光敏三極體飽和,模塊輸出低電平,板載指示LED被點亮。

 

主要應用

 

遊戲練習

以各種顏色色紙來測試紅外線反射率。
教師準備黑、白、灰、綠、紅、藍、黃七種顏色色紙。
在固定距離的狀況下,各顏色的紅外線反射值來測試循跡模組的感測狀況。

顏色
反射數值 700以上
  40~80
200~350 40~70 200~300 250~350 40~70

 

 

全部 錯誤訊息 (7) 已棄用 (0) 資料庫語法 (13) 區塊 (0) 額外資訊 (2) 計時(3)
錯誤訊息
未知: Array and string offset access syntax with curly braces is deprecated 在檔案中的第 /include/functions.encoding.php 列 40
未知: Array and string offset access syntax with curly braces is deprecated 在檔案中的第 /include/functions.encoding.php 列 40
未知: Array and string offset access syntax with curly braces is deprecated 在檔案中的第 /include/functions.encoding.php 列 73
未知: Function get_magic_quotes_gpc() is deprecated 在檔案中的第 /class/libraries/vendor/xoops/xmf/src/Request.php 列 505
未知: Function get_magic_quotes_gpc() is deprecated 在檔案中的第 /class/libraries/vendor/xoops/xmf/src/Request.php 列 119
未知: Function get_magic_quotes_gpc() is deprecated 在檔案中的第 /class/libraries/vendor/xoops/xmf/src/Request.php 列 505
通知: Undefined index: bootstrap 在檔案中的第 /modules/tadtools/class/Utility.php 列 409
已棄用
資料庫語法
0.000095 - SET SQL_BIG_SELECTS = 1
0.001017 - SELECT * FROM config WHERE (`conf_modid` = '0' AND `conf_catid` = '1') ORDER BY conf_order ASC
0.000380 - SELECT sess_data, sess_ip FROM session WHERE sess_id = '5off1fn00dini2rk71783rrsk3'
0.000444 - SELECT * FROM modules WHERE dirname = 'tad_book3'
0.000518 - SELECT COUNT(*) FROM group_permission WHERE (`gperm_modid` = '1' AND (`gperm_groupid` = '3') AND `gperm_name` = 'module_read' AND `gperm_itemid` = '9')
0.000365 - SELECT * FROM config WHERE (`conf_modid` = '9') ORDER BY conf_order ASC
0.000364 - select a.tbsn,a.title,b.author,a.category,a.page,a.paragraph,a.sort from tad_book3_docs as a left join tad_book3 as b on a.tbsn=b.tbsn where a.tbdsn='190'
0.000201 - SELECT tbsn,title FROM tad_book3 ORDER BY sort
0.000199 - select * from tad_book3_docs where tbdsn='190'
0.000194 - select * from tad_book3 where tbsn='9'
0.000279 - SELECT * FROM modules WHERE dirname = 'tadtools'
0.000306 - SELECT * FROM config WHERE (`conf_modid` = '4') ORDER BY conf_order ASC
0.000239 - select `tt_theme_kind` from `tadtools_setup` where `tt_theme`='school2015'
總計: 13
區塊
總計: 0
額外資訊
包含檔案: 103 檔案
使用記憶體: 3617632 bytes
計時
XOOPS 使用 0.045 秒來載入。
XOOPS Boot 使用 0.031 秒來載入。
Module init 使用 0.014 秒來載入。