Open Access Open Access  Restricted Access Subscription or Fee Access

Design of a Real-Time Temperature Monitoring System using PIC to PIC SPI Communication with Multiple Displays and Wireless GUI Control

Shensheng Tang, Monali Sinare, Yi Zheng



This paper proposes a real-time temperature monitoring system using PIC to PIC communication with SPI protocol that can read, process and display the sensed data. The system has three modules, a Sensor (Slave) module, a Master module and a computer-based GUI module. The GUI provides control operations and communicates with the Master module over Bluetooth to send control commands and receive data. The Master module takes control commands from the GUI and communicates with the Sensor module over the SPI interface. An SPI serial communication protocol is developed for the communications between the Sensor and Master modules. The Sensor module reads temperature data from its sensor and transfers the data to the Master module as requested. The originally sensed data and processed data can be displayed on the LCDs of Sensor module and Master module as well as the GUI control panel to form multiple displays. The proposed system has been successfully implemented on a prototype board with the application programs developed using C and C# programming. The work of hardware and software co-design can be a good paradigm of engineering education in microcontrollers for college students. The design and implementation method can be extended to various applications like industrial monitoring, physical progress monitoring, healthcare monitoring, and general data acquisition and processing systems.

Keywords: PIC to PIC Communication, Sensor (Slave) module, Master module, GUI, SPI, BlueTooth.

Cite this Article

Shensheng Tang, Monali Sinare, Yi Zheng. Design of a Real-Time Temperature Monitoring System using PIC to PIC SPI Communication with Multiple Displays and Wireless GUI Control. Journal of Microcontroller Engineering and Applications. 2020; 7(2): 6–24p.


PIC (Programmable Intelligent Computer), Sensor (Slave) module, Master module, GUI (Graphical User Interface), SPI (Serial Peripheral Interface)

Full Text:



Centers for Disease Control and Prevention (CDC), Symptoms of Coronavirus. From:

M. Predko, Programming and Customizing the PIC Microcontroller, 3rd edition, McGraw-Hill Education, Sep. 2007.

N. Cho, S.-J. Song, S. Kim, S. Kim, and H.-J. Yoo, "A 5.1-/spl mu/W UHF RFID tag chip integrated with sensors for wireless environmental monitoring", The 31st European Solid-State Circuits Conference (ESSCIRC), Grenoble, France, Sep. 12-16, 2005.

Z. Zhang and H. Zhang, "Design of Wireless Monitoring and Warning System for Protected Agriculture Environment", 2010 6th International Conference on Wireless Communications Networking and Mobile Computing (WiCOM), Chengdu, China, Sep. 23-25, 2010.

D. Pande, J. S. Singh Chauhan and N. Parihar, "The Real Time Hardware Design to Automatically Monitor and Control Light and Temperature", International Journal of Innovative Research in Science, Engineering and Technology, Vol. 2, N0. 5, pp. 1584-1590, 2013.

N. A. Khairi, A. B. Jambek, T. W. Boon and U. Hashim, "Design and analysis of a wireless temperature monitoring system", 2013 IEEE Regional Symposium on Micro and Nanoelectronics (RSM 2013), Langkawi, Malaysia, Sep. 25-27, 2013.

A. S. Phyo, Z. M. Tunand, and H. M. Tun, "Wireless Patient Monitoring System Using Point to Multi Point Zigbee Technology", International Journal of Scientic & Technology Research, Vol. 4, No. 6, pp. 267-274, June 2015.

A. Javadpour, H. Memarzadeh-Tehran and F. Saghafi, "A Temperature Monitoring System Incorporating an Array of Precision Wireless Thermometers", 2015 International Conference on Smart Sensors and Application (ICSSA), Kuala Lumpur, Malaysia, May 26-28, 2015.

J. Baruah, B. Islam, and S. Zaman, "Microcontroller Based Temperature Monitoring and Controlling System", International Journal of Advanced Information Science and Technology (IJAIST), Vol.3, No.6, pp. 38-42, June 2014.

M. Z. Tun, "Microcontroller Based Automatic Temperature Control System", International Journal of Science and Research Methodology, Vol. 11 (2): 52-63, Dec. 2018.

T. Z. Khan, A. Adhikary and A. R. Khan, "Microcontroller based Industrial Automation System using Temperature Sensor and Output Logic Control", International Journal of Computer Applications, Vol. 178, No. 43, pp. 40-43, August 2019.

Motorola, SPI - A Synchronous Serial Data Link Standard by Motorola, Retrieved December 1, 2010. From:

Texas Instruments (TI), KeyStone Architecture Universal Asynchronous Receiver/Transmitter (UART) User Guide, SPRUGP1-Nov. 2010. From:

NXP Semiconductors, "I2C-bus specification and user manual Rev. 6" (PDF).

System Management Interface Forum, Inc., "System Management Bus (SMBus) Specification Version 3.0" (PDF).

P. Barry and P. Crowley, Modern Embedded Computing: Designing Connected, Pervasive, Media-Rich Systems, 1st Edition, Morgan Kaufmann, Feb. 2012.

Microchip Technology Inc., PIC24FV16KM204 Family Data Sheetz. Available online at:

Microchip Technology Inc., RN-42 Class 2 Bluetooth Module Data Sheet. Available online at:

ZedGraph (Open Source Software). Available online at:

Microchip Technology Inc., Synchronous Serial Port (SSP) DeviceDoc (DS31015A). Available online at:

Custom Computer Services (CCS) Inc., ICD-U64 In-Circuit Programmer/Debugger. Available online at:



  • There are currently no refbacks.

Copyright (c) 2020 Journal of Microcontroller Engineering and Applications