# DFRobot_FRN20 **Repository Path**: dfrobot/DFRobot_FRN20 ## Basic Information - **Project Name**: DFRobot_FRN20 - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-02-11 - **Last Updated**: 2026-02-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DFRobot_FRN20 - [中文版](./README_CN.md) ## Overview The FRN20 series micro-flow gas mass flow sensor is specifically designed for various micro-flow process control applications. This product is an upgrade based on the FR20 series, offering significantly enhanced zero stability and full-scale signal stability. It is a suitable for industrial process monitoring. ![alt text](resources/images/FNR20.png) ## Product Link (https://www.dfrobot.com/) ```text SKU: SEN0630 ``` ## Table of Contents * [Summary](#summary) * [Installation](#installation) * [Methods](#methods) * [Compatibility](#compatibility) * [Hardware Connection](#hardware-connection) * [Troubleshooting](#troubleshooting) * [History](#history) * [Credits](#credits) ## Summary This Arduino/C++ library provides drivers for the FRN20 flow sensor. It supports I2C communication to read raw and calibrated flow values, and to load sensor parameters (range, offset, conversion coefficients) from the device. ## Installation 1. Download or copy the library into your Arduino `libraries` directory. 2. Include the library in your sketch: ```cpp #include ``` ## Methods (Arduino C++ API) ```C++ /** * @fn DFRobot_FRN20 * @brief Constructor, pass in I2C bus object * @param pWire I2C bus object (default: &Wire) */ DFRobot_FRN20(TwoWire *pWire = &Wire); /** * @fn begin * @brief Initialize I2C and check device presence * @return byte Result of `Wire.endTransmission()` (0 = success) */ byte begin(void); /** * @fn readMassFlowData * @brief Read and convert mass flow using loaded parameters * @return uint8_t 1 = success, 0 = failure */ uint8_t readMassFlowData(void); ``` ## Compatibility | Platform | Work Well | Work Wrong | Untested | Remarks | |----------|:---------:|:----------:|:--------:|---------| | Arduino UNO | √|| | | | Arduino MEGA2560 | √| || | | Arduino Leonardo | √| | | | | FireBeeetle-M0 | √| | | | | Firebeetle 2 ESP32-E| √| | | | | ESP8266 | √ | | | | | Micro:bit | √ | | | | ## History - 2026/01/26 - Version 1.0.0 released. ## Credits Written by PLELES (feng.yang@dfrobot.com),2026.(Welcome to our [website](https://www.dfrobot.com/))