<div align=center>
<img src="https://github.com/BestModules-Libraries/img/blob/main/BM22S3021-1_BMA36M302_V1.0.png" width="480" height="240"> 
</div> 

BM22S3021-1
===========================================================

The BM22S3021-1 is a semiconductor gas detector digital sensor from BESTMODULES, which uses the UART communication method. This document provides the description of the BM22S3021-1 Arduino Lib functions and how to install the Arduino Lib. The example uses the BMA36M302/BMA36M302A module to demonstrate the functions of alarm signal output, gas related information read, etc.

#### Applicable types:
<div align=center>

|Part No.   |Description                   |
|:---------:|:----------------------------:|
|BM22S3021-1|Semiconductor Gas Detector Digital Sensor|
|BMA36M302  | On-board BM22S3021-1 Sensor |
|BMA36M302A | On-board BM22S3021-1 Sensor |

</div> 

This library can be installed via the Arduino Library manager. Search for **BM22S3021-1**. 

Repository Contents
-------------------

* **/examples** - Example sketches for the library (.ino). Run these from the Arduino IDE. 
* **/src** - Source files for the library (.cpp, .h).
* **keywords.txt** - Keywords from this library that will be highlighted in the Arduino IDE. 
* **library.properties** - General library properties for the Arduino package manager. 

Documentation 
-------------------

* **[BM22S3021-1 Arduino Library Description]( https://www.bestmodulescorp.com/bm22s3021-1.html)** - Arduino Library Description.

Version History  
-------------------

* **V1.0.1**  
&emsp;&emsp;- Initial public release.
* **V1.0.2**  
&emsp;&emsp;- Modify the functions' getWorkStatus', 'readADValue', and 'readAlarmPoint' to ensure that the active data retrieval (requestInfoPackage) function is functioning properly;  
&emsp;&emsp;- Add applicable models: BMA36M302A; 

License Information
-------------------

This product is _**open source**_! 

Please review the LICENSE.md file for license information. 

If you have any questions or concerns on licensing, please contact technical support on our BEST MODULES CORP. Email:service@bestmodulescorp.com

Distributed as-is; no warranty is given.

BEST MODULES CORP.
