智能顏色識別報警系統
- 文件介紹:
- 該文件為 doc 格式,下載需要 10 積分
-
- 目前的顏色傳感器通常是在獨立的光電二極管上覆蓋經過修正的紅、綠、藍濾波片,然后對輸出信號進行相應的處理,才能將顏色信號識別出來;有的將兩者集合起來,但是輸出模擬信號,需要一個A/D電路進行采集,對該信號進一步處理,才能進行識別,增加了電路的復雜性,并且存在較大的識別誤差,影響了識別的效果。TAOS(Texas Advanced Optoelectronic Solutions)公司最新推出的顏色傳感器TCS230,不僅能夠實現顏色的識別與檢測,與以前的顏色傳感器相比,還具有許多優良的新特性。本設計以STC89C52單片機為控制核心,利用顏色傳感器TCS230設計一顏色識別系統,并能夠辨別生活中的各類顏色。智能顏色識別報警系統
摘要: 隨著現代工業生產向高速化、自動化方向的發展,色彩識別廣泛應用于各種工業檢測和自動控制領域,而生產過程中長期以來由人眼起主導作用的顏色識別工作將越來越多地被相應的顏色傳感器所替代。如:各種物體表面顏色識別(產品包裝色標檢測,產品外表特征顏色的檢測,液體溶液顏色變化過程的檢測與控制,等等)。而本文就是介紹如何通過使用TCS230顏色傳感器來實現色彩識別的功能的。
首先,通過了解一定深度的光與顏色的知識以及深入學習研究TCS230識別顏色的原理,實現TCS230顏色傳感器測量顏色的功能。其次,對所測得的數據進行處理,轉換成RGB三種顏色光數值。最后,通過LCD將經過處理后的數據顯示出來。 本設計具有體積小、成本低、功能強等特點。
關鍵詞:單片機 顏色識別 TCS230 三原色 顏色傳感器
The intelligent color recognition alarm system
Abstract : With the modern industrial production to speed the development of automated direction, color recognition is widely used in various industrial detection and automatic control field, and the production process has long played a leading role by the human eye color recognition will be more and moreare replaced by the corresponding color sensor. Such as: surface color identification (product packaging color detection, the product appearance characteristic color detection, detection of the liquid solution color change process and control, and so on). This article is to introduce TCS230 color sensor color recognition.
First of all, through the understanding of a certain depth of knowledge of light and color as well as in-depth study TCS230 identify the color of principle TCS230 color sensor to measure the color functionality. Next, the measured data is processed and converted to RGB three color light value. Finally, the processed data will pass through the LCD display. This design has the characteristics of small size, low cost, feature.
Keywords:SCM Color recognition TCS230 Trichromatic Color sensor
目 錄
1 概述 1
1.1 課題研究目的 1
1.2 顏色識別的發展現狀 2
1.2.1 顏色傳感器國外發展現狀 2
1.2.2 顏色傳感器國內發展現狀 3
1.3 課題設計任務 4
2 設計總體方案 4
2.1 課題設計背景 4
2.2 設計方案論證 5
2.2.1 主機選擇 5
2.2.2 顏色模塊方案選擇 5
2.3 設計方案框圖 7
3 硬件電路設計 8
3.1 AT89S52簡介 8
3.2顯示電路設計 10
3.2.1液晶顯示電路介紹 10
3.2.2 TG12864E液晶顯示模塊的基本特性 11
3.2.3 字符顯示 12
3.3顏色識別簡介 13
3.3.1 色彩識別和其常用算法 13
3.3.2 TCS230識別顏色原理 14
3.3.3 TCS230顏色傳感器 16
3.3.4 TCS230顏色傳感器與單片機的連接 17
4 系統調試 19
4.1 程序流程圖 19
4.2 程序調試軟件介紹 21
5 總結 22
6 致謝 23
參考文獻 24
附錄1:總設計電路圖 25
附錄2:實物照片 26
...