Multi-Sensor Data Plotting using Arduino IDE

SANI THEO

Monitoring of various process variables such as temperature, pressure, viscosity, humidity, pH and flow-rate is very important in steel plants, petrochemical and other such industries. The human-machine interface (HMI) at the operator station displays a continuous and real-time trending of process variables on a monitor for viewing by the control room personnel.

This project describes the method of monitoring live temperature data graphically from multiple sensors in real time using Arduino IDE. Fig. 1 shows the graphical user interface (GUI) window along with plots of live temperature data from two on-field temperature sensors.

GUI window with live temperature plot

GUI window with live temperature plot

Circuit and working

Block diagram for this project is shown in Fig. 2 and the circuit diagram in Fig. 3.

Circuit-diagram
Block diagram of live temperature monitoring graphically using Arduino IDE

Circuit diagram of the project

Circuit diagram of the project

Arduino Uno board

Arduino Uno is an AVR ATmega328P microcontroller-based development board with six analogue input pins and 14 digital input/output (I/O) pins. The microcontroller has 32kB of ISP flash memory, 2kB RAM and 1kB EEPROM. The board provides the capability of serial communication via UART, SPI and I2C. The microcontroller can operate at a clock frequency of 16MHz. In this project, analogue input pins A0 and A1 of the Arduino are used to interface the two temperature sensors.

LM35

ICs in this series are precision temperature sensors, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. Thus these have an advantage over linear temperature sensors calibrated in degree Kelvin, as the user is not required to subtract a large constant voltage from its output to obtain convenient Centigrade scaling.

LM35 IC does not require any external calibration or trimming to provide typical accuracies of ±1⁄4°C at room temperature and ±3⁄4°C over a full –55°C to +150°C temperature range. The scale factor (sensitivity) is 10mV/°C.

The LM35 sensors (Sens1 and Sens 2) produce output voltages proportional to the process temperature with a scale factor of 10mV/°C, which are fed to the Arduino’s analogue input pins A0 and A1, respectively. Calibration of the voltage to process temperature data is carried out by the Arduino running the program serial_plotter.ino. After calculation of the temperature, data is plotted on the Serial Plotter.

Software

Serial Plotter function is available in Arduino IDE 1.6.12 version. Select the proper COM port and board from Tools menu of the IDE. Upload program code (serial_plotter.ino) to the board. Go to Tools menu, open Serial Plotter and select the correct baud rate (9600 is used here) to display the graph.

Download source folder

Read More Detail:Multi-Sensor Data Plotting using Arduino IDE


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top