Published August 26, 2025 | Version v1
Dataset Open

Dataset of Implementation of a Cloud-Connected IoT System for Real-Time Indoor Air Quality Monitoring in Tropical Environments-Arduino Files

Description

This repository contains the Arduino code (.ino file) used to develop an IoT system for real-time indoor air quality (IAQ) monitoring in a tropical environment. This code is an integral part of the research presented in the manuscript titled "Implementation of a Cloud-Connected IoT System for Real-Time Indoor Air Quality Monitoring in Tropical Environments."

The script manages the core functionality of the monitoring device, including:

  • Sensor Integration: It reads data from three key sensors:
  1. MQ-7: For detecting Carbon Monoxide (CO).
  2. MQ-135: For detecting a range of hazardous gases.
  3. DHT11: For measuring air temperature and humidity.
  • Microcontroller Communication: The code handles serial communication between the Arduino Nano and the ESP32 microcontroller, which is responsible for Wi-Fi connectivity.
  • Cloud Connectivity: It connects the system to the ThingSpeak platform, enabling real-time data logging and visualization.
  • Data Transmission: The script is programmed to send sensor data to the cloud at regular intervals (every 15 minutes) to ensure consistent data logging and minimize the impact of network instability.

Technical Details:

Platform: Arduino IDE

Microcontrollers: Arduino Nano and ESP32

Sensors: MQ-7, MQ-135, and DHT11

Libraries Required: WiFi Manager, Thingspeak, and Adafruit's DHT Sensor Library

Purpose: To serve as a functional script for the IAQ monitoring system prototype and as an open dataset for other researchers and hobbyists.

This code is provided as an open dataset to promote reproducibility and collaboration in the field of IoT and environmental monitoring.

Files

Files (4.4 kB)

Name Size Download all
md5:e58a202683860610492ccbd4c950e2d0
2.4 kB Download
md5:eb7563c684340aafa20ea810c6ae7d24
2.0 kB Download