Ambient 3 Click Board™
Product Code: MIKROE-3686
Thanks to the used proprietary technologies that allow high precision, reliability, and low-power consumption, the Ambient 3 Click Board™ can be used for a rapid development of various cost-effective applications that rely on light intensity sensing, including CCT chromatic tuning luminaires systems, backlight dimming applications for mobile and handheld devices, light metering applications (lux meters), and similar. How Does The Ambient 3 Click Board™ Work? The main component of the Ambient 3 Click Board™ is the AS7225, a calibrated XYZ chromatic smart lighting director with UART and I2C interfaces, from AMS AG. This sensor utilizes Standard observer tristimulus (XYZ) interference filters, which are applied to the Calibrated XYZ Chromatic Smart Lighting Director optical channels as part of the CMOS process. By utilising a sensitive photo-diode, low noise amplifier, and a 16-bit A/D converter (ADC), this sensor can provide the data directly, with no need for complex calculations. Calibration is accomplished using standard white LEDs at a variety of CCTs to deliver high accuracy and eliminate the need for light-by-light calibration in most designs.
A high dynamic range along with a linear response to different light sources, allows this sensor to be placed behind a dark glass or panels made of other semi-transparent materials.
The AS7225 sensors registers are organized into seven main groups, which makes it very simple to configure and use. Even though, it comes with the mikroSDK compatible library, which simplifies the development even more. However, more detailed explanation of each command can be found in the datasheet of the AS7225, if required.
By using these registers, the user can configure the Click Board™ and the equipped AS7225 sensor, fine-tuning it according to the requirements of the application. All the working parameters including the sensitivity, integration time, interrupt detection, persistence protection for the interrupt triggering, low and high threshold window for the interrupt, can all be set using these registers. Finally, the Ambient Light Sensing (ALS) result can be found here in calibrated sensor result register group. The user also can access to the raw value data and calibration coefficients by reading the appropriate registers. The data can be read or written in LSB/MSB format, using the 8-bit I2C interface.
Register bits DATA_RDY give information about finished integration and calculation. An interrupt event will be generated, asserting this pin to a LOW logic level when new calculated PWM dimming percent values are available for the external MCU. If the interrupt register bit for either are enabled (RDY_INT = 1, PWM_INT =1) then when either of these activities become active, indicating available data, the INT pin is pulled low in addition to setting the ready register bit(s). The INT Line is released when the appropriate control register (CONV_Control and/or DIR_ Control) is read. The interrupt pin is routed to the mikroBUS INT pin.
The AS7225 initial setup and ongoing parameter storage is automatically done by software within the required external serial Flash memory, via SPI bus. Therefore, Ambient 3 Click Board™ has AT25SF041-XMHD-T IC – a 4MB flash memory module onboard. The AS7225 contains a serial UART interface to connect to a flash memory
The Ambient 3 Click Board™ is supported by the mikroSDK library, which contains functions for simplified development. The mikroSDK functions are well-documented, but there is still a need, the datasheet of the AS7225 offers listing of all the registers and their specific functions.
The Ambient 3 Click Board™ is designed to work with 3.3V only. When using it with MCUs that use 5V levels for their communication, a proper level translation circuit should be used.
SPECIFICATIONS
Type
Optical
Applications
It can be used for CCT chromatic tuning luminaires systems, backlight dimming applications for mobile and handheld devices, light metering applications (lux meters), and similar.
On-board modules
AS7225, a calibrated XYZ chromatic smart lighting director with UART and I2C interfaces, from ams AG.
Key Features
Standard observer tristimulus (XYZ) interference filters, spectral response similar to human eye, low-power consumption, compact design ideal for building IoT applications.
Interface
I2C,UART
Compatibility
mikroBUS
Click Board™ size
M (42.9 x 25.4 mm)
Input Voltage
3.3V
PINOUT DIAGRAM
This table shows how the pinout on the Ambient 3 Click Board™ corresponds to the pinout on the mikroBUS socket (the latter shown in the two middle columns).
Notes
Visit the Debug Store website for more information on Ambient 3 Click Board™