[go: up one dir, main page]

CN102279011A - A low power consumption temperature and humidity recorder - Google Patents

A low power consumption temperature and humidity recorder Download PDF

Info

Publication number
CN102279011A
CN102279011A CN201110180576A CN201110180576A CN102279011A CN 102279011 A CN102279011 A CN 102279011A CN 201110180576 A CN201110180576 A CN 201110180576A CN 201110180576 A CN201110180576 A CN 201110180576A CN 102279011 A CN102279011 A CN 102279011A
Authority
CN
China
Prior art keywords
universal serial
microcontroller
temperature
pin
humidity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201110180576A
Other languages
Chinese (zh)
Inventor
罗德义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DALIAN DAGONG ANDAO SHIP TECHNOLOGY CO LTD
Original Assignee
DALIAN DAGONG ANDAO SHIP TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by DALIAN DAGONG ANDAO SHIP TECHNOLOGY CO LTD filed Critical DALIAN DAGONG ANDAO SHIP TECHNOLOGY CO LTD
Priority to CN201110180576A priority Critical patent/CN102279011A/en
Publication of CN102279011A publication Critical patent/CN102279011A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Recording Measured Values (AREA)

Abstract

The invention discloses a low-power-consumption temperature and humidity recorder. The low-power consumption temperature and humidity recorder comprises a microcontroller (U1), a plurality of external storages, a temperature and humidity SENSOR (SENSOR1), a universal serial bus chip (U6) and a universal serial interface (J1); the microcontroller (U1) is connected with a temperature and humidity SENSOR (SENSOR1) and an external memory through an I/O port, and the universal serial port interface (J1) is connected with the microcontroller (U1) through a universal serial port bus chip (U6).

Description

一种低功耗温湿度记录仪A low power consumption temperature and humidity recorder

技术领域 technical field

本发明涉及一种能够定时的低功耗、小体积、高可靠性的便携式温湿度记录仪。The invention relates to a portable temperature and humidity recorder capable of timing, low power consumption, small volume and high reliability.

背景技术 Background technique

温湿度记录仪是一种微型测量仪器,可以定时自动记录被测环境介绍的温度,湿度,并储存测量结果,通过与计算机相连接,可对测量数据进行分析。由于这种仪器无需人工干预,还可以应用于一些人工无法监测的环境,如空调系统调试、干燥等场合。将保存的检测结果准确无误的传输到相连的计算机中,以实现后期的数据分析是非常重要的。随着存储器价格的下降和产品种类的丰富,大容量的非易失性存储器逐渐开始得到广泛应用。这样,随之而来的是传输时间和数据的增加,现有技术中的温湿度记录仪的功耗都比较大,传输速率也比较慢,因此,对记录仪的长时间使用时很不利的。另外,现有的记录仪大多数采用模拟式的温湿度传感器,这样,需要在处理器部分或在电路中增加模数转换电路,增加了系统的功耗;以上都会令对这些对于记录仪这种电池敏感型设备中电池的使用时间大大缩短。The temperature and humidity recorder is a miniature measuring instrument, which can regularly and automatically record the temperature and humidity introduced by the measured environment, and store the measurement results. By connecting with a computer, the measurement data can be analyzed. Since this instrument does not require human intervention, it can also be used in some environments that cannot be monitored manually, such as air conditioning system debugging, drying and other occasions. It is very important to accurately transmit the saved test results to the connected computer to realize later data analysis. With the decline of memory prices and the richness of product categories, large-capacity non-volatile memories have gradually begun to be widely used. Like this, what follows is the increase of transmission time and data. The power consumption of the temperature and humidity recorder in the prior art is all relatively large, and the transmission rate is also relatively slow. Therefore, it is very unfavorable when the recorder is used for a long time. . In addition, most of the existing recorders use analog temperature and humidity sensors. In this way, it is necessary to add an analog-to-digital conversion circuit in the processor part or in the circuit, which increases the power consumption of the system; Battery life in battery-sensitive devices is greatly reduced.

发明内容 Contents of the invention

本发明的目的在于弥补现有技术中的不足之处,提供一种与电脑连接方便,容量大、测量精度高、功耗低的温湿度记录仪。The purpose of the present invention is to make up for the deficiencies in the prior art, and provide a temperature and humidity recorder which is convenient to connect with a computer, has large capacity, high measurement accuracy and low power consumption.

技术方案:提供一种低功耗温湿度记录仪。所述一种低功耗温湿度记录仪包括微控制器U1、若干外部储存器、温湿度传感器SENSOR1、通用串口总线芯片U6及通用串口接口J1。Technical solution: Provide a low-power temperature and humidity recorder. The low power consumption temperature and humidity recorder includes a microcontroller U1, several external storage devices, a temperature and humidity sensor SENSOR1, a universal serial bus chip U6 and a universal serial interface J1.

所述微控制器U1通过I/O口与温湿度传感器SENSOR1以及外部存储器连接,所述通用串口接口J1通过通用串口总线芯片U6与微控制器U1连接。The microcontroller U1 is connected to the temperature and humidity sensor SENSOR1 and an external memory through an I/O port, and the universal serial interface J1 is connected to the microcontroller U1 through a universal serial bus chip U6.

其中,所述微控制器U1采用MSP430F437芯片,所述温湿度传感器SENSOR1的DATA脚与微控制器U1的56脚连接,并通过第一电阻R1与微控制器U1的62脚连接;所述温湿度传感器SENSOR1的SCK脚与微控制器U1的61脚连接;所述温湿度传感器SENSOR1的VDD脚与微控制器U1的62脚连接。Wherein, the microcontroller U1 adopts MSP430F437 chip, the DATA pin of the temperature and humidity sensor SENSOR1 is connected with the 56 pins of the microcontroller U1, and is connected with the 62 pins of the microcontroller U1 through the first resistor R1; The SCK pin of the humidity sensor SENSOR1 is connected to the 61 pin of the microcontroller U1; the VDD pin of the temperature and humidity sensor SENSOR1 is connected to the 62 pin of the microcontroller U1.

所述通用串口总线芯片U6的TXD脚分别与微控制器U1的53、55脚连接,The TXD pins of the universal serial bus chip U6 are respectively connected with pins 53 and 55 of the microcontroller U1,

所述通用串口总线芯片U6的RXD脚与微控制器U1的54脚连接。The RXD pin of the universal serial bus chip U6 is connected with the 54 pin of the microcontroller U1.

所述通用串口接口J1的VCUS脚分别与通用串口总线芯片U6的REGIN、VBUS脚连接;所述通用串口接口J1的D-脚与通用串口总线芯片U6的D-脚连接;所述通用串口接口J1的D+脚与通用串口总线芯片U6的D+脚连接。The VCUS pin of the universal serial port interface J1 is connected with the REGIN and VBUS pins of the universal serial bus chip U6 respectively; the D-pin of the universal serial port interface J1 is connected with the D-pin of the universal serial bus chip U6; the universal serial port interface The D+ pin of J1 is connected with the D+ pin of the universal serial bus chip U6.

技术效果:微控制器通过普通的I/O口与温湿度传感器以及外部存储器连接,通过控I/O口的电平高低,提供对两器件操作的时钟信号,实现温湿度测量,同时在规定好的时刻把测量数据存入外部存储器件中。实际应用时,通过usb传输芯片接口把该记录仪和计算机连接起来,通过上位机上的VC程序对记录仪参数(系统时钟,记录时间间隔和开始记录方式)进行设置(PC通过VC控制与单片机进行通信),其中记录仪开启记录的方式有三种:当前时间开启、将来某时间开启、设置采样时间、实时测量。设置完成以后,将记录仪跟计算机断开连接,记录仪即可按照预先设置的开启模式开始测量并记录温湿度数据。数据测量结束后,将记录仪取回并与PC重新连接,通过PC上的VC程序可以将EEPROM中记录的温湿度数据导出形成Excel表格和数据曲线,以便分析处理。Technical effect: The microcontroller is connected to the temperature and humidity sensor and the external memory through the ordinary I/O port, and provides the clock signal for the operation of the two devices by controlling the level of the I/O port to realize the temperature and humidity measurement. The measured data is stored in an external storage device at a good time. In actual application, the recorder is connected to the computer through the USB transmission chip interface, and the parameters of the recorder (system clock, recording time interval and start recording method) are set through the VC program on the host computer (the PC controls and the single-chip microcomputer through VC) Communication), there are three ways for the recorder to start recording: open at the current time, open at a certain time in the future, set sampling time, and measure in real time. After the setting is completed, disconnect the recorder from the computer, and the recorder can start measuring and recording temperature and humidity data according to the preset opening mode. After the data measurement is over, retrieve the recorder and reconnect it to the PC. Through the VC program on the PC, the temperature and humidity data recorded in the EEPROM can be exported to form Excel tables and data curves for analysis and processing.

附图说明 Description of drawings

图1本发明具体实施例一种低功耗温湿度记录仪的电路图。Fig. 1 is a circuit diagram of a low power consumption temperature and humidity recorder according to a specific embodiment of the present invention.

具体实施方式 Detailed ways

下面结合附图和实施例对本发明进行详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

参照图1,本实施例中的温湿度记录仪主要包括微控制器U1,非易失性存储器U2、U3、U4、U5,通用串口总线芯片U6,通用串口接口J1,温湿度传感器模块SENSOR1。Referring to Fig. 1, the temperature and humidity recorder in this embodiment mainly includes a microcontroller U1, non-volatile memories U2, U3, U4, U5, a universal serial bus chip U6, a universal serial interface J1, and a temperature and humidity sensor module SENSOR1.

其中,微控制器采用TI公司的低功耗单片机,该芯片可单独进行方向控制I/O引脚,具有12位分辨率的A/D转换器。可在双时钟模式下运行,外部晶体振荡器采用32.768kHz晶体振荡器,为系统提供精确的实时时钟。此种单片机具有超低功耗唤醒功能,具有增强型USART模块,能实现串口自动唤醒器件,从而方便实现系统的低功耗设计。Among them, the microcontroller adopts TI's low-power single-chip microcomputer, which can independently control the direction of I/O pins, and has an A/D converter with 12-bit resolution. It can run in dual clock mode, and the external crystal oscillator adopts 32.768kHz crystal oscillator to provide accurate real-time clock for the system. This kind of single-chip microcomputer has ultra-low power consumption wake-up function, and has an enhanced USART module, which can automatically wake up the device through the serial port, so as to facilitate the low power consumption design of the system.

传感器模块采用盛世瑞恩公司的SHT1X型数字式传感器。SHT1X是单片集成的数字温湿度传感器,所有信号的调理都在芯片内部完成,采用1C总线实现通信,完成数据和时钟的传输,而且直接输出数字信号。该传感器温度测量具有14bit分辨率,相对湿度有12bit的分辨率。这样不仅节省了单片机的I/O口线,而且减少了A/D器件,降低了成本。MSP430F435与SHT11连接,只需用2条I/O口线分别作为数据线DATA和时钟线SCK,并在DATA端接入1只上拉电阻,同时在VDD及GND端接入1支去耦电容,通过相应的软件设计,即可完成数据的采集与传输。The sensor module adopts the SHT1X digital sensor of Shengshi Ruien Company. SHT1X is a single-chip integrated digital temperature and humidity sensor. All signal conditioning is completed inside the chip. It uses 1C bus to realize communication, completes data and clock transmission, and directly outputs digital signals. The sensor has 14bit resolution for temperature measurement and 12bit resolution for relative humidity. This not only saves the I/O port lines of the single-chip microcomputer, but also reduces the A/D devices and reduces the cost. To connect MSP430F435 to SHT11, just use 2 I/O lines as data line DATA and clock line SCK respectively, and connect a pull-up resistor to the DATA end, and connect a decoupling capacitor to the VDD and GND ends , through the corresponding software design, the data collection and transmission can be completed.

采集数据的外部存储器为Microchip公司的24LC512型,该芯片支持2线串行接口,可以存储最大64K数据,存储量大。由于存储和测量数据不是同步的,EEPROM可以与传感器共用SCK引脚,另外选择单片机一个I/O口做DATA~I脚,该引脚同样要接上拉电阻。The external memory for collecting data is Microchip's 24LC512 type. This chip supports 2-wire serial interface and can store up to 64K data with a large storage capacity. Since the storage and measurement data are not synchronized, the EEPROM can share the SCK pin with the sensor. In addition, an I/O port of the microcontroller is selected as the DATA~I pin, and the pin must also be connected to a pull-up resistor.

通用串口总线采样的是CP2103,它是一种高度集成的USB转UART桥接器,提供一个使用最小化的元件和PCB空间实现RS232转USB的简便的解决方案。该芯片包含一个USB 2.0全速功能控制器,USB收发器,振荡器和带有全部的调制解调器控制信号的异步串行数据总线(UART),全部功能集成在一个5mm X5mm MLP-28封装的IC。中无需其他的外部USB元件。片内EEPROM可以用于由原始设备制造商自定义USB供应商代码、产品代码、产品描述文字、功率标牌、版本号和器件序列号等数据的存储空间。The universal serial bus sampling is CP2103, which is a highly integrated USB-to-UART bridge, providing a simple solution to realize RS232-to-USB with minimal components and PCB space. The chip includes a USB 2.0 full-speed function controller, USB transceiver, oscillator and asynchronous serial data bus (UART) with all modem control signals, all functions are integrated in a 5mm X5mm MLP-28 package IC. No other external USB components are required in the The on-chip EEPROM can be used for OEM-customized storage for data such as USB vendor code, product code, product description text, power tag, version number, and device serial number.

EEPROM可以通过USB在应用板上进行编程,这使得在产品制造和调试过程中就可以实现对它进行编程。使用CYGNAL免费提供的器件驱动程序,可以很容易地将CP2101用于实现一个有效的COM口。EEPROM can be programmed on the application board via USB, which makes it possible to program it during product manufacturing and debugging. The CP2101 can be easily used to implement an effective COM port using the device driver provided by CYGNAL free of charge.

Cygnal提供的免税的实用COM口(VCP)器件驱动器允许一个基于CP2101的产品作为PC机的一个COM口使用。CP2101的UART接口处理所有的RS232信号包括控制和握手信号所以现存的系统固件无需改动。在许多现存的RS232设计中,更新从RS232到USB所要做的就是用CP2101取代RS232级别的转换器。器件选型的原则是在实现系统的功能的前提下尽量降低功耗,减小记录仪的体积。单片机的工作频率对功耗的影响很大,频率越高,功耗越大。在采用32kHz晶振、3V工作电压时msp430系列单片机的典型工作电流只有15μA,使用32.768kHz的外部晶体振荡器,在休眠模式下为系统提供实时时钟,大大降低了系统的功耗。The duty-free utility COM port (VCP) device driver provided by Cygnal allows a CP2101-based product to be used as a COM port of a PC. The UART interface of CP2101 handles all RS232 signals including control and handshaking signals so the existing system firmware does not need to be changed. In many existing RS232 designs, all that is required to upgrade from RS232 to USB is to replace the RS232 level converter with the CP2101. The principle of device selection is to reduce the power consumption as much as possible and reduce the volume of the recorder on the premise of realizing the functions of the system. The operating frequency of the microcontroller has a great influence on power consumption, the higher the frequency, the greater the power consumption. When using 32kHz crystal oscillator and 3V working voltage, the typical working current of msp430 series single-chip microcomputer is only 15μA. Using 32.768kHz external crystal oscillator, it provides real-time clock for the system in sleep mode, which greatly reduces the power consumption of the system.

参照图1,本实施例:系统由3V纽扣电池供电,通过MSP430F435单片机对温湿度传感器采集的数据进行转换读取并存储到EEPROM当中,同时写入当前的测量时间,记录当前的温湿度数据,实现了实时记录的要求,当于电脑连接时通过上位机软件能够读出数据,显示温湿度变化曲线。实现了体积小、低功耗、高精度、长时间测量,典型使用寿命2年。Referring to Figure 1, this embodiment: the system is powered by a 3V button battery, and the data collected by the temperature and humidity sensor is converted and read by the MSP430F435 microcontroller and stored in the EEPROM, and the current measurement time is written at the same time, and the current temperature and humidity data is recorded. Realize the requirement of real-time recording, when it is connected to the computer, the data can be read out through the host computer software, and the temperature and humidity change curve can be displayed. It realizes small size, low power consumption, high precision, and long-time measurement, with a typical service life of 2 years.

以上内容是结合优选技术方案对本发明所做的进一步详细说明,不能认定发明的具体实施仅限于这些说明。对本发明所属技术领域的普通技术人员来说,在不脱离本发明的构思的前提下,还可以做出简单的推演及替换,都应当视为本发明的保护范围。The above content is a further detailed description of the present invention in combination with preferred technical solutions, and it cannot be assumed that the specific implementation of the invention is limited to these descriptions. For those of ordinary skill in the technical field to which the present invention belongs, simple deduction and substitutions can be made without departing from the concept of the present invention, which should be regarded as the protection scope of the present invention.

Claims (2)

1.一种低功耗温湿度记录仪,其特征在于,所述低功耗温湿度记录仪包括微控制器(U1)、若干外部储存器、温湿度传感器(SENSOR1)、通用串口总线芯片(U6)及通用串口接口(J1);1. a kind of low power consumption temperature and humidity recorder, it is characterized in that, described low power consumption temperature and humidity recorder comprises microcontroller (U1), some external storages, temperature and humidity sensor (SENSOR1), universal serial port bus chip ( U6) and universal serial interface (J1); 所述微控制器(U1)通过I/O 口与温湿度传感器(SENSOR1)以及外部存储器连接,所述通用串口接口(J1)通过通用串口总线芯片(U6)与微控制器(U1)连接。The microcontroller (U1) is connected to the temperature and humidity sensor (SENSOR1) and an external memory through an I/O port, and the universal serial interface (J1) is connected to the microcontroller (U1) through a universal serial bus chip (U6). 2.根据权利要求1所述的一种低功耗温湿度记录仪,其特征在于,所述微控制器(U1)采用MSP430F437芯片,所述温湿度传感器(SENSOR1)的DATA脚与微控制器(U1)的56脚连接,并通过第一电阻(R1)与微控制器(U1)的62脚连接;所述温湿度传感器(SENSOR1)的SCK脚与微控制器(U1)的61脚连接;所述温湿度传感器(SENSOR1)的VDD脚与微控制器(U1)的62脚连接;2. A kind of low power consumption temperature and humidity recorder according to claim 1, is characterized in that, described microcontroller (U1) adopts MSP430F437 chip, the DATA pin of described temperature and humidity sensor (SENSOR1) and microcontroller The 56 pins of (U1) are connected, and are connected with the 62 pins of the microcontroller (U1) through the first resistor (R1); the SCK pins of the temperature and humidity sensor (SENSOR1) are connected with the 61 pins of the microcontroller (U1) ; The VDD pin of the temperature and humidity sensor (SENSOR1) is connected with the 62 pins of the microcontroller (U1); 所述通用串口总线芯片(U6)的TXD脚分别与微控制器(U1)的53、55脚连接,所述通用串口总线芯片(U6)的RXD脚与微控制器(U1)的54脚连接;The TXD pin of the universal serial bus chip (U6) is connected with the 53,55 pins of the microcontroller (U1) respectively, and the RXD pin of the universal serial bus chip (U6) is connected with the 54 pins of the microcontroller (U1) ; 所述通用串口接口(J1)的VCUS脚分别与通用串口总线芯片(U6)的REGIN、VBUS脚连接;所述通用串口接口(J1)的D-脚与通用串口总线芯片(U6)的D-脚连接;所述通用串口接口(J1)的D+脚与通用串口总线芯片(U6)的D+脚连接。The VCUS pin of the universal serial interface (J1) is connected with the REGIN, VBUS pins of the universal serial bus chip (U6) respectively; the D-pin of the universal serial interface (J1) is connected with the D-pin of the universal serial bus chip (U6). pin connection; the D+ pin of the universal serial interface (J1) is connected with the D+ pin of the universal serial bus chip (U6).
CN201110180576A 2011-06-30 2011-06-30 A low power consumption temperature and humidity recorder Pending CN102279011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110180576A CN102279011A (en) 2011-06-30 2011-06-30 A low power consumption temperature and humidity recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110180576A CN102279011A (en) 2011-06-30 2011-06-30 A low power consumption temperature and humidity recorder

Publications (1)

Publication Number Publication Date
CN102279011A true CN102279011A (en) 2011-12-14

Family

ID=45104590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110180576A Pending CN102279011A (en) 2011-06-30 2011-06-30 A low power consumption temperature and humidity recorder

Country Status (1)

Country Link
CN (1) CN102279011A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521422A (en) * 2011-12-15 2012-06-27 复旦大学 Temperature acquiring system based on USB (universal serial bus) storage equipment
CN115507970A (en) * 2022-09-13 2022-12-23 余姚市华达仪器仪表有限公司 Low-voltage micro-power-consumption explosion-proof circuit, intrinsic safety type explosion-proof humiture meter and thermometer
CN116996764A (en) * 2023-09-26 2023-11-03 深圳市华图测控系统有限公司 Dynamic energy-saving method and equipment for intelligent multifunctional wireless recorder system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521422A (en) * 2011-12-15 2012-06-27 复旦大学 Temperature acquiring system based on USB (universal serial bus) storage equipment
CN115507970A (en) * 2022-09-13 2022-12-23 余姚市华达仪器仪表有限公司 Low-voltage micro-power-consumption explosion-proof circuit, intrinsic safety type explosion-proof humiture meter and thermometer
CN116996764A (en) * 2023-09-26 2023-11-03 深圳市华图测控系统有限公司 Dynamic energy-saving method and equipment for intelligent multifunctional wireless recorder system
CN116996764B (en) * 2023-09-26 2024-02-13 深圳市华图测控系统有限公司 Dynamic energy-saving method and equipment for intelligent multifunctional wireless recorder system

Similar Documents

Publication Publication Date Title
CN201955259U (en) Air sampler
Long Design of a non-contact infrared thermometer
CN104502695B (en) Zero power consumption energy meter read by radio frequency
CN102521422A (en) Temperature acquiring system based on USB (universal serial bus) storage equipment
CN102279011A (en) A low power consumption temperature and humidity recorder
Wang et al. Design of PIC microcontroller-based high-capacity multi-channel data acquisition module
CN201795814U (en) An integrated temperature and humidity monitoring device
CN104199343A (en) Micro data collection system based on serial storage mode
CN202994794U (en) Bluetooth-based household miniature urine analyzer
CN202255274U (en) Portable integrated dynamic strain measuring instrument
CN205814305U (en) A kind of Internet of Things remote measurement body temperature device
CN204346496U (en) A kind of wireless wind speed wind-warm syndrome rheumatism self-recording device
CN203551009U (en) Handheld archival repository temperature hygrometer
CN201352161Y (en) Miniature temperature measuring recorder
CN202267479U (en) Air pressure altimeter
CN202382753U (en) Low power consumption temperature and humidity recorder
CN203493649U (en) Glucose meter
CN201043902Y (en) Intelligent Temperature and Humidity Meter Based on USB Interface
CN205748686U (en) A kind of plant leaf temperature surveying record instrument
CN201828679U (en) Indoor environmental-comfort test recorder
CN202339226U (en) Glass volume meter automatic-calibration device based on communication between single-chip microcomputer and pc (Personal Computer)
CN102878981A (en) Barometric altimeter
CN204463120U (en) A kind of miniature data acquisition system (DAS) based on MCU
CN201053912Y (en) Intelligent pressure sensor device possessing temperature compensation
CN201110768Y (en) Large-capacity humidity and temperature recorder

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111214