登录
首页 » 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 144
下载积分: 2 下载次数: 1

代码说明:

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

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

发表评论

0 个回复

  • kalman
    kailman滤波for两轮平衡车,有源代码,中文卡尔曼的介绍,和卡尔曼for平衡车算法介绍(中文)(kailman filter for two balanced car, source code and Chinese Kalman introduction.)
    2013-11-24 06:05:10下载
    积分:1
  • 1602
    STC89C52单片机的1602显示程序(STC89C52 SCM 1602 display program)
    2013-12-15 15:27:36下载
    积分:1
  • ps32
    PS32自动气象站的嵌入式代码,stm32主控,包裹GPRS模块M33G和AD7792,ublox电子罗盘,GPS等驱动。C代码(PS32 AWS embedded code, stm32 master, wrapped GPRS module M33G and AD7792, ublox electronic compass, GPS and other drivers. C code)
    2014-01-23 14:52:13下载
    积分:1
  • vs
    说明:  这本电子书主要还是对于已经具有一定编程经验的人准备的,对于细节是没有说明的,主要是介绍理解性的内容(This eBook is mainly those who already have some programming experience in the preparation, the details are not specified for the main content is to introduce the understanding of)
    2010-05-05 23:41:09下载
    积分:1
  • 对于Arduino频率/周期计数器
    这里是Arduino的频率计数器,它被用在许多项目。
    2022-06-12 14:16:20下载
    积分:1
  • C# 创建三角网项目(AutoCAD)
    C# 创建三角网项目(AutoCAD)
    2019-05-28下载
    积分:1
  • wannianli
    这是一个自制万年历的显示程序。能显示温度日期时间等。。。。。。(This is a homemade calendar display program. Can display the temperature of the date and time. . . . . .)
    2012-06-22 14:49:14下载
    积分:1
  • 442e6abc69b5d04460608d7ab3fdf616
    请问下大家CC++如何实现感染可执行文件以及如何实现将一个exe文件镶嵌到另一个exe文件中
    2010-02-12 01:34:37下载
    积分:1
  • RemoteControl-master
    说明:  实现1对多远程桌面控制,远程文件传输等功能。(Realize the functions of 1-to-many remote desktop control and remote file transfer.)
    2019-05-14 16:10:15下载
    积分:1
  • FlashPaper 将Word、Excel、PPT等转换成swf
    说明:  利用FlashPaper将Word、Excel、PPT等转换成swf,实现在线预览(Using FlashPaper to convert Word, Excel, PPT and so on into swf to realize online preview)
    2020-06-22 04:00:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载