# Title: Ambient 10 Click Board™ ## Description: How Does The Ambient 10 Click Board™ Work? The Ambient 10 Click Board™ as its foundation uses the APDS-9006-020, analog-output ambient light photo sensor from Broadcom Limited. It consists of a photosensor whose spectral response is close to CIE standard photopic observer. Hence, it provides an excellent responsivity that is close to the response of human eyes. It has stable performance over a wide temperature and voltage range. It is characterized by good output linearity across a wide illumination range and low sensitivity variation across various light sources suitable to sense the amount of the present ambient light. The analog output signal of the APDS-9006-020 can be converted to a digital value using MCP3221, a successive approximation A/D converter with a 12-bit resolution from Microchip, using a 2-wire I2C compatible interface, or can be sent directly to an analog pin of the mikroBUS™ socket labeled as AN. Selection can be performed by onboard SMD jumper labeled as A/D SEL to an appropriate position marked as AN and ADC. The MCP3221 provides one single-ended input with low power consumption, a low maximum conversion current, and a Standby current of 250μA and 1μA, respectively. Data can be transferred at rates of up to 100kbit/s in the Standard and 400kbit/s in the Fast Mode. Also, maximum sample rates of 22.3kSPS with the MCP3221 are possible in a Continuous-Conversion Mode with a clock rate of 400kHz. The Ambient 10 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development. Specifications Type Optical Applications Can be used for obtaining ambient light data for adjusting brightness in applications that require power saving and better visibility On-board modules APDS-9006-020 - analog-output ambient light photosensor from Broadcom Limited Key Features Low power consumption, excellent responsivity which peaks in the human luminosity curve, close responsivity to the human eye, good output linearity across wide illumination range, low sensitivity variation across various light sources, stable performance over temperature and voltage, and more Interface Analog,I2C Compatibility mikroBUS Click board size S (28.6 x 25.4 mm) Input Voltage 3.3V or 5V Pinout diagram This table shows how the pinout of the Ambient 10 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes Analog Signal AN 1 AN PWM 16 NC NC 2 RST INT 15 NC NC 3 CS RX 14 NC NC 4 SCK TX 13 NC NC 5 MISO SCL 12 SCL I2C Clock NC 6 MOSI SDA 11 SDA I2C Data Power Supply 3.3V 7 3.3V 5V 10 5V Power Supply Ground GND 8 GND GND 9 GND Ground Onboard settings and indicators Label Name Default Description LD1 PWR - Power LED Indicator JP1 VCC SEL Left Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V JP2 AD SEL Left Output Voltage A/D Selection AN/ADC: Left position AN, Right position ADC Ambient 10 Click electrical specifications Description Min Typ Max Unit Supply Voltage 3.3 - 5 V Peak Wavelength - 500 - nm Operating Temperature Range -40 +25 +85 °C ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Broadcom Limited, Click Board, MikroE, Optical, Sensor ## Price range: 11.9 - 11.9 GBP ## Link: https://thedebugstore.com/products/mikroe-4777-ambient-10-click-board-uk ## Compare-at price range: 17.0 - 17.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Broadcom Device Support: Development Boards & Tools | Debug Store](https://thedebugstore.com/a/llms/collections/devices-broadcom-limited-avago) - [Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/sensor-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Optical Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/optical-sensor-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-4777, Available: yes, Inventory: 1 ## Metafields - title_tag: MikroE Ambient 10 Click Board™ (MIKROE-4777) - description_tag: The Ambient 10 Click Board™ is a compact add-on board used to sense the amount of the present ambient light. This board features the APDS-9006-020, an analogue-output ambient light photosensor from Broadcom Limited. Available from Debug Store UK. - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- full_description:

How Does The Ambient 10 Click Board™ Work?

The Ambient 10 Click Board™ as its foundation uses the APDS-9006-020, analog-output ambient light photo sensor from Broadcom Limited. It consists of a photosensor whose spectral response is close to CIE standard photopic observer. Hence, it provides an excellent responsivity that is close to the response of human eyes. It has stable performance over a wide temperature and voltage range. It is characterized by good output linearity across a wide illumination range and low sensitivity variation across various light sources suitable to sense the amount of the present ambient light.

The analog output signal of the APDS-9006-020 can be converted to a digital value using MCP3221, a successive approximation A/D converter with a 12-bit resolution from Microchip, using a 2-wire I2C compatible interface, or can be sent directly to an analog pin of the mikroBUS™ socket labeled as AN. Selection can be performed by onboard SMD jumper labeled as A/D SEL to an appropriate position marked as AN and ADC.

The MCP3221 provides one single-ended input with low power consumption, a low maximum conversion current, and a Standby current of 250μA and 1μA, respectively. Data can be transferred at rates of up to 100kbit/s in the Standard and 400kbit/s in the Fast Mode. Also, maximum sample rates of 22.3kSPS with the MCP3221 are possible in a Continuous-Conversion Mode with a clock rate of 400kHz.

The Ambient 10 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.

Specifications

 

Type Optical
Applications Can be used for obtaining ambient light data for adjusting brightness in applications that require power saving and better visibility
On-board modules APDS-9006-020 - analog-output ambient light photosensor from Broadcom Limited
Key Features Low power consumption, excellent responsivity which peaks in the human luminosity curve, close responsivity to the human eye, good output linearity across wide illumination range, low sensitivity variation across various light sources, stable performance over temperature and voltage, and more
Interface Analog,I2C
Compatibility mikroBUS
Click board size S (28.6 x 25.4 mm)
Input Voltage 3.3V or 5V

 

Pinout diagram

This table shows how the pinout of the Ambient 10 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

Notes Pin Pin Notes
Analog Signal AN 1 AN PWM 16 NC  
  NC 2 RST INT 15 NC  
  NC 3 CS RX 14 NC  
  NC 4 SCK TX 13 NC  
  NC 5 MISO SCL 12 SCL I2C Clock
  NC 6 MOSI SDA 11 SDA I2C Data
Power Supply 3.3V 7 3.3V 5V 10 5V Power Supply
Ground GND 8 GND GND 9 GND Ground

Onboard settings and indicators

Label Name Default  Description
LD1 PWR - Power LED Indicator
JP1 VCC SEL Left Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V
JP2 AD SEL Left Output Voltage A/D Selection AN/ADC: Left position AN, Right position ADC

Ambient 10 Click electrical specifications

Description Min Typ Max Unit
Supply Voltage 3.3 - 5 V
Peak Wavelength - 500 - nm
Operating Temperature Range -40 +25 +85 °C

 

- examples:

We provide a library for the Ambient 10 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.

Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.

Library Description

This library contains API for Ambient 10 Click driver.

Key Functions

Example Description

This example demonstrates the use of Ambient 10 click board.

The demo application is composed of two sections :

void application_task ( void )
{
    float voltage = 0;
    
    if ( AMBIENT10_OK == ambient10_read_adc_voltage ( &ambient10, &voltage ) )
    {
        log_printf( &logger, " Illuminance : %u Luxrnn", ambient10_voltage_to_lux( &ambient10, voltage ) );
    }
    
    Delay_ms( 1000 );
}

The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.

Other Mikroe Libraries used in the example:

Additional Notes and Information

Depending on the development board you are using, you may need USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

mikroSDK

This Click board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.

- manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - mpn: MIKROE-4777 - backorder_label: If no stock shown above, check availability - attachments: [{"download_file":[{"download_file":"Ambient 10 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Microchip APDS-9006-020 12-bit A/D Converter Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-4777 - google_product_category: Electronics - custom_label_0: Click Board - device_vendor: Broadcom Limited - device_type: APDS-9006-020 - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - target_keyword: Ambient 10 Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545969853"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The Ambient 10 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Ambient 10 Click Board™","bold":true,"italic":true},{"type":"text","value":" as its foundation uses the APDS-9006-020, analog-output ambient light photo sensor from Broadcom Limited. It consists of a photosensor whose spectral response is close to CIE standard photopic observer. Hence, it provides an excellent responsivity that is close to the response of human eyes. It has stable performance over a wide temperature and voltage range. It is characterized by good output linearity across a wide illumination range and low sensitivity variation across various light sources suitable to sense the amount of the present ambient light."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The analog output signal of the APDS-9006-020 can be converted to a digital value using MCP3221, a successive approximation A/D converter with a 12-bit resolution from Microchip, using a 2-wire I2C compatible interface, or can be sent directly to an analog pin of the mikroBUS™ socket labeled as AN. Selection can be performed by onboard SMD jumper labeled as A/D SEL to an appropriate position marked as AN and ADC."}]},{"type":"paragraph","children":[{"type":"text","value":"The MCP3221 provides one single-ended input with low power consumption, a low maximum conversion current, and a Standby current of 250μA and 1μA, respectively. Data can be transferred at rates of up to 100kbit/s in the Standard and 400kbit/s in the Fast Mode. Also, maximum sample rates of 22.3kSPS with the MCP3221 are possible in a Continuous-Conversion Mode with a clock rate of 400kHz."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Ambient 10 Click Board™","bold":true},{"type":"text","value":" can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Specifications"}]},{"type":"paragraph","children":[{"type":"text","value":" "}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nOptical\nApplications\nCan be used for obtaining ambient light data for adjusting brightness in applications that require power saving and better visibility\nOn-board modules\nAPDS-9006-020 - analog-output ambient light photosensor from Broadcom Limited\nKey Features\nLow power consumption, excellent responsivity which peaks in the human luminosity curve, close responsivity to the human eye, good output linearity across wide illumination range, low sensitivity variation across various light sources, stable performance over temperature and voltage, and more\nInterface\nAnalog,I2C\nCompatibility\nmikroBUS\nClick board size\nS (28.6 x 25.4 mm)\nInput Voltage\n3.3V or 5V"}]},{"type":"paragraph","children":[{"type":"text","value":" "}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Pinout diagram"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout of the Ambient 10 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nAnalog Signal\nAN\n1\nAN\nPWM\n16\nNC\nNC\n2\nRST\nINT\n15\nNC\nNC\n3\nCS\nRX\n14\nNC\nNC\n4\nSCK\nTX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nSCL\nI2C Clock\nNC\n6\nMOSI\nSDA\n11\nSDA\nI2C Data\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\n5V\nPower Supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Onboard settings and indicators"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\n Description\nLD1\nPWR\n-\nPower LED Indicator\nJP1\nVCC SEL\nLeft\nLogic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V\nJP2\nAD SEL\nLeft\nOutput Voltage A/D Selection AN/ADC: Left position AN, Right position ADC"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Ambient 10 Click electrical specifications"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n3.3\n-\n5\nV\nPeak Wavelength\n-\n500\n-\nnm\nOperating Temperature Range\n-40\n+25\n+85\n°C"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:

The Ambient 10 Click Board™ is a compact add-on board used to sense the amount of the present ambient light. This board features the APDS-9006-020, an analogue-output ambient light photosensor from Broadcom Limited. It consists of a spectrally suited photosensor, which provides excellent responsivity that is close to the response of the human eyes. Besides, it is also characterized by good output linearity across a wide illumination range, low sensitivity variation across various light sources, and comes with the ability to process the output signal in analogue or digital form. This Click Board™ is the most suitable for obtaining ambient light data for adjusting brightness in applications that require power saving and better visibility.

The Ambient 10 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.