摘要
TCS230是RGB彩色光/频率转换器。本文通过其滤光选择功能,借助单片机设计出对于三基色测量的步骤和方法,阐述了以AT89S52为核心的,能测量出颜色的具体算法,且进一步给出了相应的硬件设计电路、软件流程图和测试程序清单。最后给出的实现HSC模型算法的程序,具有通用性、能广泛应用于颜色测量和相关的三维数据的处理。
TCS230 is a RGB color light / frequency converter. Through the filter selected test function, this article by means of single chip designs the steps and method for the measurement of three primary colors, and elaborates the specific algorithm with AT89S52 as the core, which can measure the color. It also gives the corresponding the hardware design circuit, software flow chart and the testing program list. Finally, the realization of HSC model algorithm procedures, with the general line, can be widely used in color measurement and related data processing.
出处
《山西电子技术》
2012年第6期25-26,28,共3页
Shanxi Electronic Technology