SparkFun will be closed Monday 7/4/2022 for the 4th of July holiday. Orders placed after 2 pm MT on Friday 7/1/2022 will be processed on Tuesday 7/6/2022. SparkFun Support will also resume on Tuesday 7/6/2022. Have a safe holiday!
Ambient 3 Click is calibrated XYZ chromatic smart lighting director, providing the measurement data in digital format over the I2C interface. It utilizes the AS7225, a miniature light sensor with UART and I2C interfaces. Packed in a small casing, this sensor can provide calibrated for life nano-optic sensor providing direct CIE1931 XYZ and CIE 1976 u’v’ coordinate mapping. A well-proven, integrated tristimulus sensing element designed to meet the XYZ standard observer response that mimic the human eye and is extremely stable over both operating temperature and time. The device contains a 16-bit integrating analog-to-digital converter, which integrates current from the photodiodes. To ensure the integrity of the data, upon completion of an integration cycle, results are transferred to double-buffered registers.
Ambient 3 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development.
Thanks to the used proprietary technologies that allow high precision, reliability, and low power consumption, Ambient 3 Click 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.
The main component of the Ambient 3 Click 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 utilizing 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 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 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 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.
No reviews yet.