现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2015年
4期
94-97
,共4页
图像采集%S12单片机%OV7670摄像头%FIFO%TFT LCD
圖像採集%S12單片機%OV7670攝像頭%FIFO%TFT LCD
도상채집%S12단편궤%OV7670섭상두%FIFO%TFT LCD
image acquisition%S12 MCU%OV7670%FIFO%TFT LCD
该设计利用CMOS图像传感器的可编程特性,设计了以16位飞思卡尔单片机MC9S12XS128为主控芯片的数字图像采集与处理系统。由摄像头OV7670采集图像;FIFO帧存储器AL422B进行数据缓存,解决了单片机与OV7670之间速率的不同步问题;最后进行了硬件和软件设计,成功实现了摄像和拍照两个功能,并由3.5寸TFT液晶实时显示拍到的图像。该系统结构简单,通用性强,可方便地移植到各种类型的处理器,在本系统设计的基础上,配合适当的应用程序,可以广泛应用于摄像、监控、安防、识别等各个领域。
該設計利用CMOS圖像傳感器的可編程特性,設計瞭以16位飛思卡爾單片機MC9S12XS128為主控芯片的數字圖像採集與處理繫統。由攝像頭OV7670採集圖像;FIFO幀存儲器AL422B進行數據緩存,解決瞭單片機與OV7670之間速率的不同步問題;最後進行瞭硬件和軟件設計,成功實現瞭攝像和拍照兩箇功能,併由3.5吋TFT液晶實時顯示拍到的圖像。該繫統結構簡單,通用性彊,可方便地移植到各種類型的處理器,在本繫統設計的基礎上,配閤適噹的應用程序,可以廣汎應用于攝像、鑑控、安防、識彆等各箇領域。
해설계이용CMOS도상전감기적가편정특성,설계료이16위비사잡이단편궤MC9S12XS128위주공심편적수자도상채집여처리계통。유섭상두OV7670채집도상;FIFO정존저기AL422B진행수거완존,해결료단편궤여OV7670지간속솔적불동보문제;최후진행료경건화연건설계,성공실현료섭상화박조량개공능,병유3.5촌TFT액정실시현시박도적도상。해계통결구간단,통용성강,가방편지이식도각충류형적처리기,재본계통설계적기출상,배합괄당적응용정서,가이엄범응용우섭상、감공、안방、식별등각개영역。
A digital image acquisition and processing system with 16 bit Freescale MCU MC9S12 XS128 as its main control chip was designed by means of the programmable characteristic of CMOS image sensor. In the system ,image collection is re?alized by camera OV7670,and the data buffer memory is achieved by FIFO frame memory AL422B to solve the problem of the speed desynchrony of MCU and OV7670. The two functions of camera shooting and picture taking were implemented successful?ly after hardware and software design. The obtained video and pictures are displayed on 3.5 inch TFT LCD in real time. The sys?tem structure is simple,and its universality is strong. The obtained video and pictures can expediently be transplanted to various type of processors. With some suitable application programs,the system can be applied to camera shooting,monitoring,security and protection,identification,etc.