---
title: "Monitoring Temperature Sensor Data with an Arduino based PLC, MQTT, Node-RED, GridDB and Grafana"
url: "https://maker.wiznet.io/lawrence/projects/monitoring-temperature-sensor-data-with-an-arduino-based-plc%2C-mqtt%2C-node-red%2C-griddb-and-grafana/"
markdown_url: "https://maker.wiznet.io/lawrence/projects/monitoring-temperature-sensor-data-with-an-arduino-based-plc%2C-mqtt%2C-node-red%2C-griddb-and-grafana/md"
type: "UCC: User Created Content"
author: "owen"
author_url: "https://griddb.net/en/blog/monitoring-temperature-sensor-data-with-an-arduino-based-plc-mqtt-node-red-griddb-and-grafana/"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "owen"
original_url: "https://griddb.net/en/blog/monitoring-temperature-sensor-data-with-an-arduino-based-plc-mqtt-node-red-griddb-and-grafana/"
published: "2022-12-29"
language: "en"
likes: 4
views: 870
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Monitoring Temperature Sensor Data with an Arduino based PLC, MQTT, Node-RED, GridDB and Grafana

> Monitoring Temperature Sensor Data with an Arduino based PLC, MQTT, Node-RED, GridDB and Grafana

Original author: owen (source: https://griddb.net/en/blog/monitoring-temperature-sensor-data-with-an-arduino-based-plc-mqtt-node-red-griddb-and-grafana/)

## Article

### Overview

This article provides a guide on how to create a system for monitoring temperature sensor data using an Arduino-based PLC, an MQTT broker, Node-RED, GridDB, and Grafana. The system involves connecting the Arduino-based PLC to a temperature sensor, configuring the Arduino-based PLC to publish temperature readings to an MQTT broker, using Node-RED to subscribe to the MQTT broker and store the temperature readings in GridDB, creating a dashboard in Grafana with a chart of the temperature readings stored in GridDB, and setting up notifications in Grafana to alert when the temperature readings exceed a certain threshold.

### 5 steps to follow this project

1. Connect the Arduino-based PLC to a temperature sensor.

2. Configure the Arduino-based PLC to publish temperature readings to an MQTT broker.

3. Use Node-RED to subscribe to the MQTT broker and store the temperature readings in GridDB.

4. Create a dashboard in Grafana with a chart of the temperature readings stored in GridDB.

5. Set up notifications in Grafana to alert when the temperature readings exceed a certain threshold.

### Tech details

This article provides a guide on how to create a system for monitoring temperature sensor data using an Arduino-based PLC, an MQTT broker, Node-RED, GridDB, and Grafana. The Arduino-based PLC is configured to publish temperature readings to an MQTT broker, and Node-RED is used to subscribe to the MQTT broker and store the temperature readings in GridDB. The dashboard in Grafana is created with the temperature readings stored in GridDB and notifications can be set up in Grafana to alert when the temperature readings exceed a certain threshold. The article also provides instructions on how to set up the Arduino-based PLC, the MQTT broker, Node-RED, GridDB, and Grafana so that the system is ready for monitoring temperature sensor data.

#### More details

MQTT : <https://www.hivemq.com/mqtt-essentials/>

Grafana : <https://grafana.com/>

GridDB : <https://griddb.net/>

### New projects with this project

1. Building a Remote Temperature Monitoring System Using Arduino, MQTT, and Node-RED

2. Creating a Smart Home Temperature Monitoring System with Arduino, MQTT, and Node-RED

3. Developing an Arduino-based Temperature Monitoring System with MQTT, Node-RED and GridDB

4. Building an Arduino-based Temperature Monitoring System with MQTT, Node-RED and GridDB

---

Source: https://maker.wiznet.io/lawrence/projects/monitoring-temperature-sensor-data-with-an-arduino-based-plc%2C-mqtt%2C-node-red%2C-griddb-and-grafana/
