Fetch the repository succeeded.
This is a compact arduino compatible ozone sensor module that can easily and accurately measure the concentration of ozone gas in the environment.
It can be widely used in portable instruments, air quality monitoring equipment, disinfection cabinets, smart homes and other equipment places.
SKU:SEN0321
There are two methods for using this library:
/**
* @fn begin
* @brief initialization function
* @param i2c address
* @n OZONE_ADDRESS_0 0x70
* @n OZONE_ADDRESS_1 0x71
* @n OZONE_ADDRESS_2 0x72
* @n OZONE_ADDRESS_3 0x73
* @return bool type
* @retval true initialization success
* @retval false initialization failed
*/
bool begin(uint8_t addr = OZONE_ADDRESS_0);
/**
* @fn setModes
* @brief Set mode Active or passive measurement.
* @param mode mode is Active or passive.
* @n MEASURE_MODE_AUTOMATIC active mode
* @n MEASURE_MODE_PASSIVE passive mode
* @return None
*/
void setModes(uint8_t mode);
/**
* @fn readOzoneData
* @brief read ozone data.
* @param collectNum is the number of data collected,(The default value is 20)
* @n COLLECT_NUMBER The collection range is 1-100
* @return ozone concentration: one part per billion (PPB).
*/
int16_t readOzoneData(uint8_t collectNum = 20);
MCU | Work Well | Work Wrong | Untested | Remarks |
---|---|---|---|---|
Arduino Uno | √ | |||
Arduino MEGA2560 | √ | |||
Arduino Leonardo | √ | |||
FireBeetle-ESP32 | √ | |||
Micro:bit | √ |
Written by ZhixinLiu(zhixin.liu@dfrobot.com), 2020. (Welcome to our website)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。