The idea of this project was implementation of the colorimeter using the AS73211 colorimetric sensor as an integrated circuit in the COLOR 6 click sensor board from Mikroelektronika. The sensor provides XYZ coordinates of the color as a scan result. Beside the sensor board, an embedded part of this system is the Mikromedia Plus for STM32F7 board with the STM32F746ZG microcontroller. On top of the Mikromedia Plus board a 4.3 inch TFT display with a resistive touch screen is placed. Color coordinates obtained by the sensor are sent to the microcontroller via the I2C communication protocol. The user interface of implemented colorimeter consists of two windows. The first window is used to display the values of the color coordinates and to configure the sensor by setting configuration parameters. Parameters must be set before color scanning. XYZ coordinates are converted to xy chromacity coordinates and displayed in the second window alongside the chromatic diagram where a visual representation of the scanned color can be seen. This system can be used as a standalone application or it can be integrated in a more complex application.
Examples and demo project are built using following STM32 ecosystem:
- ams AS73211 datasheet: pdf