Mikroelektronika d.o.o.
Smoke 2 Click Board
Smoke 2 Click Board
Couldn't load pickup availability
Key Features:
- Low power consumption, high precission, integrates a highly efficient photometric front end, two light emitting diodes, and two photodiodes, equipped with smoke detection chamber, optimized SNR for signal limited cases, and more
- Based on the ADPD188BI - complete photometric system for smoke detection using optical dual-wavelength technology from Analog Devices ADP160 - small regulating LDO from Analog Devices ADG3308 - bidirectional level translator containing eight bidirectional channels from Analog Devices LTC3531 - synchronous buck-boost DC/DC converter from Analog Devices LTC3459 - synchronous boost converter from Analog Devices
- Can be used for application as smoke detector that is more architecturally compatible for residential and commercial use.
- mikroBUS: I2C or SPI Interfaces
The Smoke 2 Click Board™ is a compact add-on board containing the smoke detector's most efficient version. This board features the ADPD188BI, a complete photometric system for smoke detection using optical dual-wavelength technology from Analog Devices. The module combines the dual photodetector with two separate LEDs, and a mixed-signal photometric front-end ASIC, housed in a package that prevents light from going directly from the LED to the photodiode without first entering the smoke detection chamber. It supports an SPI and I2C serial interface, although only one is allowed at any given time in the actual application.
The Smoke 2 Click Board™ is suitable for application as a smoke detector that is more architecturally compatible for residential and commercial use.
![Mikroelektronika d.o.o. MIKROE-4299 Smoke 2 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-smoke-2-click-board-23542797959357.jpg?v=1685135267&width=1445)
![Mikroelektronika d.o.o. MIKROE-4299 Smoke 2 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-smoke-2-click-board-23542797631677.jpg?v=1685068678&width=1445)
![Mikroelektronika d.o.o. MIKROE-4299 Smoke 2 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-smoke-2-click-board-23542797664445.jpg?v=1685068843&width=1445)
![Mikroelektronika d.o.o. MIKROE-4299 Smoke 2 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-smoke-2-click-board-23542798221501.jpg?v=1685120700&width=1445)
![Mikroelektronika d.o.o. MIKROE-4299 Smoke 2 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-smoke-2-click-board-23542798155965.jpg?v=1685120701&width=1445)
![Mikroelektronika d.o.o. MIKROE-4299 Smoke 2 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-smoke-2-click-board-23542797729981.jpg?v=1685117815&width=1445)
![Mikroelektronika d.o.o. MIKROE-4299 Smoke 2 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-smoke-2-click-board-23542797697213.jpg?v=1685135273&width=1445)
![Mikroelektronika d.o.o. MIKROE-4299 Smoke 2 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-smoke-2-click-board-23542798024893.jpg?v=1685117818&width=1445)
![Mikroelektronika d.o.o. MIKROE-4299 Smoke 2 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-smoke-2-click-board-23542797992125.jpg?v=1685135263&width=1445)
How Does The Smoke 2 Click Board™ Work?
The Smoke 2 Click Board™ is based on the ADPD188BI, a complete photometric system for smoke detection using optical dual-wavelength technology from Analog Devices. The module combines the dual photodetector with two separate LEDs and a mixed-signal photometric front-end ASIC, and prevents light from going directly from the LED to the photodiode without first entering the smoke detection chamber. The dual-wavelength combination in a scattering measurement, a 470nm blue LED and an 850nm IR LED, allows particle size discrimination between different types of smoke, dust, or steam. The core circuitry stimulates the LEDs and measures the corresponding optical return signals. This integrated solution enables low power and reduces false smoke alarms in harsh environments due to dust, steam, and other nuisance sources.
The smoke chamber 28800X is designed to be used with the ADPD188BI and minimize background response while controlling the environment around the ADPD188BI module by limiting dust accumulation and keeping out insects. The ADPD188BI registers a positive signal due to light scattering from the smoke chamber. Although the smoke chamber minimizes this positive signal, there is a nonzero response in the absence of smoke. When using a smoke chamber, this background response must be accounted for if you want to accurately measure the level of particles present in the smoke chamber.
The ADPD188BI operates in one of the following three modes: Standby, Program, or Normal Sampling Mode. Standby Mode is a power-saving mode in which data collection does not occur, while the Program Mode configures and program registers. During regular operation, the ADPD188BI pulses light and collects data, and in this mode, power consumption depends on the pulse count and data rate. Besides, the ADPD188BI also requires a supply voltage of 1.8V to work regularly. Therefore, a small regulating LDO, the ADP160 from Analog Devices, provides a 1.8V out of 3.3V mikroBUS™ rail, or optionally, from a battery power source.
The output from the LDO regulator provides a needed voltage for one side of the ADG3308, a bidirectional level translator containing eight bidirectional channels from Analog Devices, while the voltage for the other side of the level translator is delivered from the VCC SEL jumper. Also, this Click board™ may be battery-powered, indicated via an LED indicator labelled as BATT, and used as a stand-alone device. It has LTC3531, a synchronous buck-boost DC/DC converter also from Analog Devices allowing battery voltage to be converted to 3.3V, and used in a selection of voltage needed to be converted by ADP160 to supply ADPD188BI.
The Smoke 2 Click Board™ provides the possibility of using both I2C and SPI serial interfaces, although only one is allowed at any given time in the actual application. All internal registers of the ADPD188BI are accessed through the selected communications interface. I2C supports Fast mode with data transfer of 400 kbps, while SPI interface support frequency up to 10MHz. This selection can be performed by positioning SMD jumpers labelled as COMM SEL to an appropriate position. Note that all the jumpers must be lined to the same side, or else the Click board™ may become unresponsive.
Additionally, test points, located in the upper part on the top side of the board, for pins EXT_IN1, EXT_IN2 and GPIO1 allow users to plug in external sensors like thermistor into the EXT pins and to use GPIO1 pin for some digital functionality. The EXT_IN1 and EXT_IN2 pins are also current inputs that can be connected to external sensors. A voltage source can be connected to the EXT_IN1 and EXT_IN2 pins through a series resistance, effectively converting the voltage into a current. Other test points for LED1, LED2, LED3 pins can be found under the smoke chamber on the top side of the board if users want to plug in their LEDs and not use the internal LEDs.
The user also has the option to select the voltage for the blue LED of the ADPD188BI, which can be selected via the BLUE SEL jumper in order to analyze the characteristics with the recommended and maximum values. This diode can be powered by a maximum of 6V achieved by LTC3459 from Analog Devices.
Optionally, the Smoke 2 Click Board™, in addition to the mikroBUS™ power supply, can also be powered from an external battery. The battery power supply section is designed to power ADPD188BI and fulfill the demand for a complete solution, including the microcontroller and short-range radio power needs.
The Smoke 2 Click Board™ can be operated only with a 3.3V logic voltage level, supplied via mikroBUS™ or battery power, selected via the VCC SEL jumper. The board must perform appropriate logic voltage level conversion before use with MCUs with different logic levels. However, the Click board™ comes equipped with a library that contains functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Optical |
Applications | Can be used for application as smoke detector that is more architecturally compatible for residential and commercial use. |
On-board modules | ADPD188BI - complete photometric system for smoke detection using optical dual-wavelength technology from Analog Devices ADP160 - small regulating LDO from Analog Devices ADG3308 - bidirectional level translator containing eight bidirectional channels from Analog Devices LTC3531 - synchronous buck-boost DC/DC converter from Analog Devices LTC3459 - synchronous boost converter from Analog Devices |
Key Features | Low power consumption, high precission, integrates a highly efficient photometric front end, two light emitting diodes, and two photodiodes, equipped with smoke detection chamber, optimized SNR for signal limited cases, and more. |
Interface | I2C,SPI |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V,5V,External |
PINOUT DIAGRAM
This table shows how the pinout of the Smoke 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | ![]() |
Pin | Notes | |||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | INT | Interrupt | |
SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | SCL | I2C Clock |
SPI Data IN | SDI | 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 |
LD2 | BATT | - | Battery Supply LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/BAT: Left position 3V3, Right position BAT |
JP2-JP7 | COMM SEL | Up | Communication Interface Selection SPI/I2C: Left position SPI, Right position I2C |
JP8 | BLUE SEL | Left | ADPD188BI Blue LED Voltage Level Selection 5V/6V: Left position 5V, Right position 6V |
SMOKE 2 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Blue LED Wavelenght | - | 470 | - | nm |
IR LED Wavelenght | - | 850 | - | nm |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the Smoke 2 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
Library provides functions for communicating and fully control device. There are specific functions for reading data from slots A and B, setting interrupt mask and reseting device.
Key Functions
uint8_t smoke2_get_int_pin ( void )
- Get state of int pinuint16_t smoke2_read_data ( uint8_t reg )
- Generic function for reading data from registarvoid smoke2_write_data ( uint8_t reg, uint16_t tx_data )
- Generic function for writing bit state
Example Description
The application is composed of three sections :
- System Initialization - Initialization of communication modules and additional pins
- Application Initialization - Mapping pins and configures device for measurement
- Application Task - Example shows module working depending on example mode
void application_task ( ) { if ( EXAMPLE_MODE_SMOKE == example_mode ) { smoke_example( ); } else { proximity_example( ); } }
Additional Functions :
- void smoke_example () - Example checks if sensor data is gone over thershold set
- void proximity_example () - Reads sensor data and logs it
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- SPI
- I2C
- UART
- Conversions
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ 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
The Smoke 2 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.
Smoke 2 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.
![banner Image](http://thedebugstore.com/cdn/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_1500x1000.gif)