OFF
MIKROE-2560
20 g
Status:
Smoke Click is a compact add-on board that can detect the presence of smoke. This board features the MAX30105, a high-sensitivity optical sensor for smoke detection applications from Analog Devices. It provides a complete system solution to ease the design-in process of smoke detection applications, including fire alarms. The sensor can detect a wide variety of smoke particle sizes, measure temperature, and has a proximity function. This Click board™ makes the perfect solution for the development of fire alarms, smoke detectors for building automation, mobile devices, wearable devices, and more.
Smoke Click 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.
This product is no longer in stock
Availability date:
Smoke Click is based on the MAX30105, a high-sensitivity optical sensor for smoke detection applications from Analog Devices. The sensor is an integrated particle-sensing module with internal LEDs, photodetectors, optical elements, and low-noise electronics with ambient light rejection. To detect the smoke, the MAX30105 senses the light of LEDs that are rejected from the smoke particles by the photodetectors. The particle-sensing subsystem contains ambient light cancellation (ALC), a continuous-time sigma-delta 18-bit ADC, and a proprietary discrete time filter. The ALC has an internal track/hold circuit to cancel ambient light and increase dynamic range. The ADC output data rate can be programmed from 50sps to 3200sps.
The MAX30105 integrates red, green, and IR LED drivers to modulate LED pulses for particle-sensing measurements. The LED current can be programmed from 0 up to 50mA. The onboard temperature sensor is used to calibrate the temperature dependence of the particle-sensing subsystem. This temperature sensor has an inherent resolution of 0.0625°C. After the particle-sensing initiation, the IR LED is activated in proximity mode, and when an object is detected, it goes automatically to normal mode. The proximity mode can be re-entered.
Smoke Click uses a standard 2-Wire I2C interface to communicate with the host MCU, supporting the clock data rates up to 400KHz. The sensor uses 1.8V for a power supply, which on this Click board™ is available over the SPX3819MS, a 500mA low-noise LDO voltage regulator from MaxLinear. For this sensor to work with higher logic levels, Smoke Click features the PCA9306, a dual bidirectional I2C bus, and an SMBus voltage-level translator from Texas Instruments. One of the available interrupt statuses can be received over the INT pin and the SN74LVC1T45, a single-bit dual-supply bus transceiver with configurable voltage translation and 3-state outputs from Texas Instruments.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the PWR SEL jumper. This way, both 3.3V and 5V capable MCUs can 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
Optical
Applications
Can be used for the development of fire alarms, smoke detectors for building automation, mobile devices, wearable devices, and more
On-board modules
MAX30105 - high-sensitivity optical sensor for smoke detection applications from Analog Devices
Key Features
Ultra-low shutdown current, excellent ambient rejection capability, integrated cover glass for optimal, and robust performance, high sensitivity optical reflective solution for detection of a wide variety of particle sizes, robust motion artifact resilience, and more
Interface
I2C
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V or 5V
This table shows how the pinout on Smoke Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | PWR SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
LED Wavelength (IR/R/G) | 880/660/537 | nm | ||
ADC Resolution | - | 18 | - | bit |
ADC Output Data Rate | 50 | - | 3200 | SPS |
We provide a library for the Smoke Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for Smoke Click driver.
Key functions
Set registers values function.
Enable or disable interrupt function.
Function for reading enabled led values.
Example Description
This click includes internal LEDs, photodetectors, optical elements, and low-noise electronics with ambient light rejection. The sensor can detect a wide variety of smoke particle sizes. It also has an on-chip temperature sensor for calibrating the temperature dependence of the particle sensing subsystem. The temperature sensor has an inherent resolution 0.0625°C.
void application_task ( void )
{
smoke_read_leds( &smoke );
log_printf( &logger, "Red : %llurn", smoke.red_value );
log_printf( &logger, "IR : %llurn", smoke.ir_value );
log_printf( &logger, "Green : %llurn", smoke.green_value );
log_printf( &logger, "------------------------------rn" );
temperature = smoke_read_temp( &smoke );
log_printf( &logger, "Read Temperature[ degC ]: %.2frn", temperature );
log_printf( &logger, "------------------------------rn" );
Delay_ms( 500 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
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. UART terminal is available in all MIKROE compilers.
This Click board™ is supported with mikroSDK - MIKROE 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.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.