虫虫首页|资源下载|资源专辑|精品软件
登录|注册

rh

  • 基于Zig Bee协议的温度湿度无线传感器网络 3 辛 颖, 谢光忠, 蒋亚东 (电子科技大学光电信息学院,四川成都610054) 摘 要: 阐述了一种温度湿度智能数据采集的无线传感器网络,介

    基于Zig Bee协议的温度湿度无线传感器网络 3 辛 颖, 谢光忠, 蒋亚东 (电子科技大学光电信息学院,四川成都610054) 摘 要: 阐述了一种温度湿度智能数据采集的无线传感器网络,介绍了传感器节点的软件与硬件设计。 该系统基于Zig Bee无线通信协议设计,克服了有线传感器网络的局限性,避免了其他无线通信技术的高 功耗的缺点,节点成本低、网络容量大、生存周期长。实验结果表明:温度测量精度为1 ℃,湿度精度为 3 %rh,可以广泛用于环境检测。 关键词: 温度 湿度 无线 传感器网络 紫蜂

    标签: 610054 Zig Bee 温度

    上传时间: 2013-12-20

    上传用户:s363994250

  • This application note gives an example for microcontroller C code. It includes code for: Readout

    This application note gives an example for microcontroller C code. It includes code for: Readout of Humidity (rh) or Temperature (T) with basic error handling Calculation of rh linearization and temperature compensation Access to status register Dewpoint calculation from rh and T UART handling

    标签: code microcontroller application for

    上传时间: 2013-12-22

    上传用户:hewenzhi

  • STM32F103开发板 DHT11温湿度DS18B20 气体MQ-2光敏声控雨滴传感器实验程序

    STM32F103开发板 DHT11温湿度DS18B20 气体MQ-2光敏声控雨滴传感器实验程序**--------------------------------------------------------------------------------------------------------** Created by: FiYu** Created date: 2015-12-12** Version:     1.0** Descriptions: DHT11温湿度传感器实验 **--------------------------------------------------------------------------------------------------------** Modified by: FiYu** Modified date: ** Version: ** Descriptions: ** Rechecked by: **********************************************************************************************************/#include "stm32f10x.h"#include "delay.h"#include "dht11.h"#include "usart.h"DHT11_Data_TypeDef DHT11_Data;/************************************************************************************** * 描  述 : GPIO/USART1初始化配置 * 入  参 : 无 * 返回值 : 无 **************************************************************************************/void GPIO_Configuration(void){ GPIO_InitTypeDef GPIO_InitStructure; /* Enable the GPIO_LED Clock */ RCC_APB2PeriphClockCmd( RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB | RCC_APB2Periph_AFIO , ENABLE);     GPIO_DeInit(GPIOB); //将外设GPIOA寄存器重设为缺省值 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;    //推挽输出 GPIO_Init(GPIOB, &GPIO_InitStructure); GPIO_DeInit(GPIOA); //将外设GPIOA寄存器重设为缺省值 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;    //推挽输出 GPIO_Init(GPIOA, &GPIO_InitStructure); GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING;    //浮空输入 GPIO_Init(GPIOA, &GPIO_InitStructure); GPIO_SetBits(GPIOB , GPIO_Pin_9);   //初始状态,熄灭指示灯LED1}/************************************************************************************** * 描  述 : 串口显示实时温湿度 * 入  参 : 无 * 返回值 : 无 **************************************************************************************/void DHT11_SCAN(void){ if( Read_DHT11(&DHT11_Data)==SUCCESS) { printf("\r\n读取DHT11成功!\r\n\r\n湿度为%d.%d %rh ,温度为 %d.%d℃ \r\n",\ DHT11_Data.humi_int,DHT11_Data.humi_deci,DHT11_Data.temp_int,DHT11_Data.temp_deci); //printf("\r\n 湿度:%d,温度:%d \r\n" ,DHT11_Data.humi_int,DHT11_Data.temp_int); } else { printf("Read DHT11 ERROR!\r\n"); }}/************************************************************************************** * 描  述 : MAIN函数 * 入  参 : 无 * 返回值 : 无 **************************************************************************************/int main(void){ SystemInit(); //设置系统时钟72MHZ GPIO_Configuration(); USART1_Init();    //初始化配置TIM DHT11_GPIO_Config();   // 初始化温湿度传感器PB1引脚初始时为推挽输出 GPIO_ResetBits(GPIOB , GPIO_Pin_9); delay_ms(500);   while(1)  { GPIO_SetBits(GPIOB , GPIO_Pin_9);    DHT11_SCAN();  //实时显示温湿度 delay_ms(1500); } }

    标签: stm32f103 传感器

    上传时间: 2022-05-02

    上传用户:得之我幸78

  • SHT30-51驱动程序

    SHT30DIS是高精度温湿度传感器,温度为±0.3℃,湿度为±2%rh,应用广泛,体积小,封装DFN-8,I²C接口,本程序为温湿度传感器SHT30的驱动程序,并且是51内核单片机的驱动程序,内含sht30.c和sht30.h两个文件。

    标签: sht30 51单片机

    上传时间: 2022-06-26

    上传用户:moh2000

  • SHT30温湿度传感器模块 I2C通讯 数字型 宽电压 传感器

    Datasheet SHT3x-DISHumidity and Temperature Sensor Fully calibrated, linearized, and temperaturecompensated digital output Wide supply voltage range, from 2.4 V to 5.5 V I2C Interface with communication speeds up to 1MHz and two user selectable addresses Typical accuracy of  2 %rh and  0.3 °C Very fast start-up and measurement time Tiny 8-Pin DFN package

    标签: sht30 温湿度传感器

    上传时间: 2022-06-29

    上传用户:ddk