登录
首页 » c » source code for DHT22 Digital temperature and humidity sensor.

source code for DHT22 Digital temperature and humidity sensor.

于 2022-05-27 发布 文件大小:2.62 kB
0 78
下载积分: 2 下载次数: 1

代码说明:

此代码属于DHT22数字湿度和温度传感器。用一根电线就可以了接口.库是为stm32编写的,但可以用于任何微控制器。为了使用此传感器,我们使用了1个GPIO引脚和1个16位计时器。第一步是:在DhtConfig和DhtADir函数中配置GPIO和计时器。然后利用DhtReading函数,可以读出16位串行温度和16位串行湿度以及8位校验和。利用TemperatureCalculate函数,读出的数据可以转换为温度和湿度的浮动值。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • istream
    et++源码istream,仅仅是为了通过下载评审,哈哈哈,,,(et++ class istream source code)
    2020-06-21 10:20:02下载
    积分:1
  • 手势识别
    说明:  实现了2018年电赛手势识别题目。。。。。(code for gesture recognition)
    2020-06-19 19:20:02下载
    积分:1
  • RSI Divergence
    说明:  MT4平台的背离指标,会有声音报警提示。非常好用(MT4 platform deviation indicators, there will be sound alarm prompts. Very useful)
    2020-06-22 17:20:02下载
    积分:1
  • MWMP
    MWMP是一个运行MATLAB下面的多小波软件包,它是目前功能比较全面的一个多小波软件包,能够用于科学研究例如图像压缩、信号降噪等。它提供了一些比较常见的单小波与多小波滤波器,也提供了多小波的一些常用的预滤波算法,并且,只要修改coef.m文件,就可增加新的滤波器组,同时,修改文件coef_prep.m文件,可增加新的预滤波方法。(MWMP is the following one to run MATLAB package of multi-wavelet, which is currently the more comprehensive package of more than one wavelet can be used for scientific research such as image compression, signal noise reduction. It provides some of the more common single-wavelet and multiwavelet filters, also provides some of the commonly used multi-wavelet pre-filtering algorithm, and, as long as the changes coef.m file, you can add a new filter at the same time, modify the file coef_prep.m file, increase the new pre-filtering method.)
    2010-01-19 10:20:32下载
    积分:1
  • Zhen-Dang-Qu-Xian
    利用VC和Matlab混合编程,基于Matcom,Release文件夹下可直接运行,绘出震荡曲线(Using VC and Matlab to program, based on Matcom, Release folder can be run directly and shock curve can be plotted.)
    2014-02-08 18:54:52下载
    积分:1
  • K60的例程
    基于K60的底层库开发,利用底层库函数来操作外设,包括通讯等方面。K60的例程包可以直接应用,只需按照客户的需求更改参数即可,完全可以运行。
    2022-07-08 15:46:19下载
    积分:1
  • main
    外存排序(自带数据生成算法),结果分别以十进制和十六进制输出到3个TXT文件中(External memory sorting (own data generation algorithm), the result in decimal and hexadecimal output to 3 TXT file)
    2016-11-28 16:11:31下载
    积分:1
  • C++ 动态链接库动态加载(提高篇-实例186).zip
    C++ 动态链接库动态加载(提高篇-实例186).zip
    2019-10-02下载
    积分:1
  • GPS信息获取并在1602显示
    gps定位并将定位信息显示到LCD1602,用于单片机上。GPS location and location information to the LCD1602 display, for the microcontroller.
    2023-07-29 15:30:03下载
    积分:1
  • 9682767
    C语言如何使用函数中的局部变量,仅供学习与参考(How to use C language function of the local variable, is only for study and reference)
    2017-08-19 14:31:44下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载