Skip to main content
QUICK REVIEW

[Paper Review] Design and Development of Low Cost PC Based Real Time Temperature and Humidity Monitoring System

Nungleppam Monoranjan Singh, Kanak Chandra Sarma|arXiv (Cornell University)|Jul 14, 2012
Embedded Systems and FPGA DesignEngineering8 references10 citations
TL;DR

This paper presents a low-cost, PC-based real-time temperature and humidity monitoring system using a PIC12F675 microcontroller, LM35 and TPS-00715 sensors, and serial/USB communication. It achieves 10-bit resolution (4.88mV accuracy), with humidity measured via 5th-order polynomial calibration, and demonstrates <±2% deviation from commercial hygrometers, making it suitable for lab and industrial use at minimal cost.

ABSTRACT

This paper presents the design and development of a low cost Data Acquisition System (DAS) using PIC12F675 microcontroller for real time temperature and humidity monitoring. The designed DAS has 4 analog input channels having 10-bit resolution and was interfaced through the serial port of the PC. A precision integrated temperature sensor and an instrumentation-quality RH (Relative Humidity) sensor were used for sensing the temperature and humidity respectively. The firmware was written in Basic and compiled using Oshonsoft PIC IDE and downloaded to the microcontroller by using PICkit2 programmer. An application program was also developed using Visual Basic 6, which allows displaying the waveform of the signal(s) in real time and the data can be saved into the hard disk of the computer for future use and analysis. It can also be interfaced to the USB port of the PC or laptop using USB to serial adapter BAFO BF-810. Thus, the designed low cost device works with the legacy hardware as well as the modern USB interface.

Motivation & Objective

  • To develop a low-cost, real-time data acquisition system for continuous monitoring of temperature and relative humidity in laboratories and industrial settings.
  • To overcome the limitations of manual measurements and expensive commercial data acquisition (DAQ) cards, especially in resource-constrained institutions.
  • To design a system compatible with both legacy RS-232 ports and modern USB interfaces using a USB-to-serial adapter.
  • To achieve high accuracy and reliability through signal conditioning, firmware-based ADC sampling, and polynomial calibration of non-linear sensor outputs.
  • To enable real-time data visualization, logging, and long-term storage in .csv format for future analysis.

Proposed method

  • A data acquisition system (DAS) was built using the PIC12F675 microcontroller with four 10-bit ADC input channels and an internal 4MHz oscillator.
  • Temperature and humidity were sensed using the LM35 (0–50 °C, 10mV/°C) and TPS-00715 (1–3V output for 10–90% RH) sensors, respectively.
  • Signal conditioning circuits using OP07 operational amplifiers and zener diodes protected inputs, scaling outputs to 0–5V for microcontroller compatibility.
  • Firmware was written in Basic using Oshonsoft PIC IDE and programmed into the PIC12F675 via a PICkit2 programmer for periodic ADC sampling and serial transmission.
  • A Visual Basic 6 application used the MSComm component to poll the serial port, receive data, display real-time waveforms, and save data in .csv format.
  • A 5th-order polynomial equation (y = 15.538x⁵ – 161.37x⁴ + 655.54x³ – 1289.1x² + 1259.3x – 472.15) was implemented to convert voltage readings to relative humidity in percent.

Experimental results

Research questions

  • RQ1Can a low-cost, PC-based system achieve real-time, accurate monitoring of temperature and humidity using off-the-shelf components?
  • RQ2How does the performance of the custom DAS compare to commercial digital hygrometers in terms of relative humidity measurement accuracy?
  • RQ3To what extent can a microcontroller-based system with 10-bit resolution and serial communication meet the needs of laboratory and industrial monitoring?
  • RQ4Can the system be made compatible with both legacy RS-232 and modern USB interfaces using a standard adapter?
  • RQ5What level of accuracy can be achieved through polynomial calibration of non-linear humidity sensor outputs?

Key findings

  • The system achieved a voltage resolution of 4.88mV (10-bit ADC over 0–5V range), enabling precise data acquisition.
  • The humidity measurement error between the custom system (RH4) and commercial hygrometers (RH1, RH2) was less than ±2%, significantly better than the typical 5% threshold.
  • The calibration curve for the TPS-00715 sensor showed strong agreement with experimental data, validated by a 5th-order polynomial fit.
  • The system successfully reconstructed real-time waveforms of temperature and humidity over 12 hours, with data stored in .csv format for post-analysis.
  • The system demonstrated compatibility with both RS-232 and USB interfaces using a BAFO BF-810 USB-to-serial adapter, ensuring backward and forward compatibility.
  • The entire system was developed at minimal cost, making it suitable for deployment in educational and research laboratories with limited budgets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.