7239| 1
|
[已解决] 高精度DHT22温湿度传感器编程问题 |
高精度DHT22温湿度传感器(https://www.dfrobot.com.cn/index.php?route=product/product&filter_name=DHT22&product_id=637)的产品页面中未提供资料和例程,其编程方式是否与DHT11数字温湿度传感器(https://wiki.dfrobot.com.cn/index.php?title=DHT11%E6%95%B0%E5%AD%97%E6%B8%A9%E6%B9%BF%E5%BA%A6%E4%BC%A0%E6%84%9F%E5%99%A8_(SKU:_DFR0067))一样? 我使用DHT11的例程,运行后得到结果如下: Current humdity = 0.193% temperature = 0.229C Current humdity = 0.193% temperature = 0.228C Current humdity = 0.193% temperature = 0.228C Current humdity = 0.193% temperature = 0.228C Current humdity = 0.194% temperature = 0.228C Current humdity = 0.194% temperature = 0.228C 为什么温度和湿度的整数部分都是0? |
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed