1 Star 1 Fork 0

DFRobot/DFRobot_LWLP

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

DFRobot_LWLP

这是一款I2C接口的高精度差压传感器(压差传感器是一种用来测量两个压力之间差值的传感器,通常用于测量某一设备或部件前后两端的压差)。该传感器将高性能 MEMS 压力敏感芯片和专用调理芯片封装在管壳内,两个气路结构中压力互为参考,并采用独有算法实现对传感器进行多阶温度补偿,降低环境对输出的影响。

注意:为了保准测量精度和传感器的寿命,请尽量在洁净气体中使用。传感器气嘴中不能进水,否则会损坏传感器。

产品效果图

产品链接 (https://www.dfrobot.com.cn/goods-2857.html)

SEN0343:Fermion: LWLP5000差压传感器(±500pa)

目录

概述

 1.读取压差传感器的压差和温度值

库安装

要使用此库,请先下载库文件,并将其粘贴到\Arduino\libraries目录中,然后打开示例文件夹并在该文件夹中运行demo。

方法

  /**
   * @fn begin
   * @brief 初始化
   * @return 0(成功)或者错误码(失败)
   */
  int begin();
  /**
   * @fn getData
   * @brief 获取传感器数据
   * @return 数据集合 
   */
  sLwlp_t getData(void);
  /**
   * @fn getfilterData
   * @brief 获取滤波后的数据
   * @return 录波后的数据集合 
   */
  sLwlp_t getfilterData(void);

兼容性

主板 通过 未通过 未测试 备注
Arduino uno
Mega2560
Leonardo
ESP32
micro:bit

兼容性

  • 2019/8/25 - Version 1.0.0 released.

创作者

Written by fengli(li.feng@dfrobot.com), 2019.8.25 (Welcome to our website)

Copyright 2010 DFRobot Co.Ltd Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
README
MIT
取消

发行版

暂无发行版

贡献者 (2)

全部

语言

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/dfrobot/DFRobot_LWLP.git
git@gitee.com:dfrobot/DFRobot_LWLP.git
dfrobot
DFRobot_LWLP
DFRobot_LWLP
master

搜索帮助