CN201583353U - A temperature and humidity meter based on MSP430 microcontroller - Google Patents
A temperature and humidity meter based on MSP430 microcontroller Download PDFInfo
- Publication number
- CN201583353U CN201583353U CN2010200493985U CN201020049398U CN201583353U CN 201583353 U CN201583353 U CN 201583353U CN 2010200493985 U CN2010200493985 U CN 2010200493985U CN 201020049398 U CN201020049398 U CN 201020049398U CN 201583353 U CN201583353 U CN 201583353U
- Authority
- CN
- China
- Prior art keywords
- module
- temperature
- humidity
- power supply
- communication
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
本实用新型涉及一种基于MSP430F149单片机的温湿度仪。现有测量仪体积较大,机械部件与电子控制设备不兼容。本实用新型包括控制模块、温度模块、湿度模块、RS232通信模块、RS485通信模块、报警模块、电源模块和电源电压测量模块。温度模块和湿度模块分别与控制模块中的A/D采样口信号连接,RS232通信模块和RS485通信模块分别与控制模块中通用异步串行接口信号连接;报警模块和电源电压测量模块分别与控制模块中I/O口信号连接;电源模块为控制模块、温度模块、湿度模块、RS232通信模块、RS485通信模块和电源电压测量模块供电。本实用新型功耗低、精度高、可以接收模拟和数字信号。
The utility model relates to a temperature and humidity meter based on an MSP430F149 single-chip microcomputer. Existing measuring instruments are bulky, and the mechanical parts are not compatible with the electronic control equipment. The utility model comprises a control module, a temperature module, a humidity module, an RS232 communication module, an RS485 communication module, an alarm module, a power supply module and a power supply voltage measurement module. The temperature module and the humidity module are respectively connected to the A/D sampling port signal in the control module, the RS232 communication module and the RS485 communication module are respectively connected to the general asynchronous serial interface signal in the control module; the alarm module and the power supply voltage measurement module are respectively connected to the control module Central I/O port signal connection; the power supply module supplies power for the control module, temperature module, humidity module, RS232 communication module, RS485 communication module and power voltage measurement module. The utility model has low power consumption, high precision and can receive analog and digital signals.
Description
技术领域technical field
本实用新型属于测量传感领域,具体涉及一种基于MSP430单片机的温湿度仪。The utility model belongs to the field of measurement and sensing, in particular to a temperature and humidity meter based on an MSP430 single-chip microcomputer.
背景技术Background technique
温度湿度与人们的生活及工业生产息息相关,很多场合我们要知道二者的精确值。如何既准确又方便的测量它们,人们提出了很多方法,如温度测量方法有测体温的水银温度计,酒精温度计,测室温的煤油温度计,工业现场用的热电偶,更有测量高温的红外非接触测温技术,基于彩色CCD三基色的测温技术和激光测温技术。上述测温技术各有优缺点,就生活中常用的测温技术来说,水银温度计应用最多,也很方便,但它一般只用于体温测量,需人工读数,数据不能自动上传。近几年来温度传感器技术的发展很快,基于单片机技术的电子测温计早已在市场上出现。这种仪器可以将测量数值直接显示出来,可电池供电,数据可以通过接口与上位机相连,可用于数据采集分析。Temperature and humidity are closely related to people's life and industrial production, and we need to know the exact value of both in many occasions. How to measure them accurately and conveniently, many methods have been proposed, such as mercury thermometers for measuring body temperature, alcohol thermometers, kerosene thermometers for room temperature, thermocouples for industrial sites, and infrared non-contact for measuring high temperatures. Temperature measurement technology, temperature measurement technology based on color CCD three primary colors and laser temperature measurement technology. The above-mentioned temperature measurement technologies have their own advantages and disadvantages. As far as the temperature measurement technologies commonly used in life are concerned, mercury thermometers are the most widely used and convenient, but they are generally only used for body temperature measurement, manual reading is required, and the data cannot be uploaded automatically. In recent years, the temperature sensor technology has developed rapidly, and electronic thermometers based on single-chip technology have already appeared on the market. This instrument can directly display the measured value, can be powered by batteries, and the data can be connected to the host computer through the interface, which can be used for data collection and analysis.
再如测量湿度的方法有毛发湿度计、干湿球湿度计、冷镜式露点仪等。上面测量湿度的仪器大多采用经典的感湿原理,由于体积较大,存在机械部件,与电子控制设备不兼容,虽然在某些领域还有应用,但已不足以满足现代科技发展,特别是湿度控制的需求。随着科技的发展,人们已发现某些材料的电特性与空气中湿度变化呈现一定的关系,可以用这些材料制作湿度传感器。它适用于自动控制领域,主要有电阻式、电容式、光电式三种,其它不常见的还有声表面波式、微波式、二极管式、红外线式等等。特别是电容式湿度传感器,它利用一些材料电容值的变化与环境湿度的变化呈近似线性关系来测量湿度。一些大公司更将特定电路集成进传感器,使其输出线性电压信号,通过A/D转换为数字信号,然后经过一定数学变化,可以很方便的将湿度值显示出来。Another example is the method of measuring humidity with hair hygrometer, psychrometer, chilled mirror dew point meter and so on. Most of the instruments for measuring humidity above adopt the classic principle of humidity sensing. Due to their large size and mechanical parts, they are not compatible with electronic control equipment. Although they are still used in some fields, they are not enough to meet the development of modern science and technology, especially for humidity. control needs. With the development of science and technology, it has been found that the electrical properties of certain materials have a certain relationship with the change of humidity in the air, and these materials can be used to make humidity sensors. It is suitable for the field of automatic control, mainly including resistive, capacitive, and photoelectric, and other uncommon ones include surface acoustic wave, microwave, diode, infrared, and so on. Especially the capacitive humidity sensor, which uses the approximate linear relationship between the change of the capacitance value of some materials and the change of the ambient humidity to measure the humidity. Some large companies even integrate specific circuits into the sensor to make it output a linear voltage signal, which is converted into a digital signal through A/D, and then after a certain mathematical change, the humidity value can be displayed conveniently.
发明内容Contents of the invention
本实用新型针对现有技术的不足,提出了一种基于MSP430F149单片机的温湿度仪,它适用于常温下的温度测量。Aiming at the deficiencies of the prior art, the utility model proposes a temperature and humidity meter based on MSP430F149 single-chip microcomputer, which is suitable for temperature measurement at normal temperature.
一种基于MSP430F149单片机的温湿度仪包括控制模块、温度模块、湿度模块、RS232通信模块、RS485通信模块、报警模块、电源模块和电源电压测量模块。A temperature and humidity meter based on MSP430F149 single-chip microcomputer includes a control module, a temperature module, a humidity module, an RS232 communication module, an RS485 communication module, an alarm module, a power supply module and a power supply voltage measurement module.
温度模块和湿度模块分别与控制模块中的A/D采样口信号连接,RS232通信模块和RS485通信模块分别与控制模块中通用异步串行接口(UART)信号连接;报警模块和电源电压测量模块分别与控制模块中I/O口信号连接;电源模块为控制模块、温度模块、湿度模块、RS232通信模块、RS485通信模块和电源电压测量模块供电。The temperature module and the humidity module are respectively connected to the A/D sampling port signal in the control module, the RS232 communication module and the RS485 communication module are respectively connected to the universal asynchronous serial interface (UART) signal in the control module; the alarm module and the power supply voltage measurement module are respectively It is connected with the I/O port signal in the control module; the power supply module supplies power for the control module, temperature module, humidity module, RS232 communication module, RS485 communication module and power voltage measurement module.
本实用新型的主要特点是低功耗,可自动充电,高精度,可以接收模拟和数字两种信号。低功耗是通过使用TI公司的超低功耗系列单片机MSP460F149来实现的,配合软件设计,仪器在不工作时可处于休眠状态。本仪器通过DB9口和上位机相连时,可以自动转为上位机供电模式,还可以对蓄电池进行充电,延长了电池使用寿命。The main features of the utility model are low power consumption, automatic charging, high precision, and the ability to receive both analog and digital signals. Low power consumption is achieved by using TI's ultra-low power consumption series MCU MSP460F149. With software design, the instrument can be in a dormant state when it is not working. When the instrument is connected to the host computer through the DB9 port, it can automatically switch to the host computer power supply mode, and can also charge the battery, prolonging the battery life.
附图说明Description of drawings
图1为本实用新型的结构示意图。Fig. 1 is the structural representation of the utility model.
具体实施方式Detailed ways
如图1所示,一种基于MSP430F149单片机的温湿度仪包括控制模块1、温度模块2、湿度模块3、RS232通信模块4、RS485通信模块5、报警模块6、电源模块7和电源电压测量模块8。As shown in Figure 1, a temperature and humidity meter based on MSP430F149 single-chip microcomputer includes
温度模块2和湿度模块3分别与控制模块1中的A/D采样口信号连接,RS232通信模块4和RS485通信模块5分别与控制模块1中通用异步串行接口(UART)信号连接;报警模块6和电源电压测量模块8分别与控制模块1中I/O口信号连接;电源模块7为控制模块1、温度模块2、湿度模块3、RS232通信模块4、RS485通信模块5和电源电压测量模块8供电。The
本实用新型采用MSP430F149单片机作为控制芯片,协调仪器各个部分的工作。传感器信号的接收采用带电桥的放大电路,A/D转换使用MSP430F149内部的12位A/D。采用蓄电池供电,当与上位机相连时可转为上位机供电,并对蓄电池充电。采用RS232/RS485两种通信方式,两种通信方式共用一个DB9口,自动识别具体的通信方式。通过几个零欧姆电阻的焊接组合来实现模拟信号或数字信号的接收。扩展外部FLASH存储器,可以存储历史数据,上传给上位机。本实用新型具有电池电压检测功能,实施例中的显示采用LED数码管,软件盘提供人机交互接口。The utility model adopts MSP430F149 single-chip microcomputer as the control chip to coordinate the work of each part of the instrument. The receiving of the sensor signal adopts the amplifying circuit with a bridge, and the A/D conversion uses the 12-bit A/D inside the MSP430F149. The battery is used for power supply. When connected to the host computer, it can be converted to the host computer for power supply and charge the battery. RS232/RS485 two communication methods are adopted, and the two communication methods share a DB9 port, and the specific communication method is automatically identified. The reception of analog or digital signals is achieved through the soldering combination of several zero-ohm resistors. Expand the external FLASH memory to store historical data and upload it to the host computer. The utility model has a battery voltage detection function. The display in the embodiment adopts LED digital tubes, and the software disk provides a human-computer interaction interface.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010200493985U CN201583353U (en) | 2010-01-05 | 2010-01-05 | A temperature and humidity meter based on MSP430 microcontroller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010200493985U CN201583353U (en) | 2010-01-05 | 2010-01-05 | A temperature and humidity meter based on MSP430 microcontroller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN201583353U true CN201583353U (en) | 2010-09-15 |
Family
ID=42725356
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2010200493985U Expired - Fee Related CN201583353U (en) | 2010-01-05 | 2010-01-05 | A temperature and humidity meter based on MSP430 microcontroller |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN201583353U (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103714320A (en) * | 2013-12-24 | 2014-04-09 | 杭州电子科技大学 | Raster control circuit for spraying robot figure sampling |
-
2010
- 2010-01-05 CN CN2010200493985U patent/CN201583353U/en not_active Expired - Fee Related
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103714320A (en) * | 2013-12-24 | 2014-04-09 | 杭州电子科技大学 | Raster control circuit for spraying robot figure sampling |
| CN103714320B (en) * | 2013-12-24 | 2017-02-08 | 杭州电子科技大学 | Raster control circuit for spraying robot figure sampling |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN202974544U (en) | Portable digital barometer | |
| CN103207633B (en) | A kind of temperature and humidity monitor method and system | |
| CN205014978U (en) | Digit spirit level based on MEMS gravity detects | |
| CN103630170B (en) | A kind of Portable multi-sensor wireless transmission logging | |
| CN101750163B (en) | Temperature humidity gauge based on MSP 430 singlechip | |
| CN204903445U (en) | Hydrogen concentration detector | |
| CN207557152U (en) | A kind of novel pH value intelligent measure circuit | |
| CN202210074U (en) | Portable infrared absorption type methane detector | |
| CN204346496U (en) | A kind of wireless wind speed wind-warm syndrome rheumatism self-recording device | |
| CN201653579U (en) | Portable intelligent temperature difference measuring instrument | |
| CN204649223U (en) | Portable air quality detection device | |
| CN206556694U (en) | A kind of multifunctional air quality detection means | |
| CN110455349A (en) | Card Type Portable Environmental Detector | |
| CN201043902Y (en) | Intelligent Temperature and Humidity Meter Based on USB Interface | |
| CN210893224U (en) | Card type portable environment detector | |
| CN203479327U (en) | Humiture measurement instrument | |
| CN209878176U (en) | Low power consumption temperature probe | |
| CN203069179U (en) | Ultra-low power consumption dipmeter | |
| CN102279011A (en) | A low power consumption temperature and humidity recorder | |
| CN201795876U (en) | a digital thermometer | |
| CN202339226U (en) | Glass volume meter automatic-calibration device based on communication between single-chip microcomputer and pc (Personal Computer) | |
| CN203298804U (en) | Environmental temperature/humidity wireless monitoring measuring instrument | |
| CN205982215U (en) | Wireless air humidity collection system of solar energy power supply | |
| CN201096799Y (en) | Automatic recording instrument for wind speed | |
| CN201110768Y (en) | Large-capacity humidity and temperature recorder |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100915 Termination date: 20130105 |