5) INTEGRATED ENVIRONMENTAL MONITORING SYSTEM USING MQTT,
PYTHON, SQL ALCHEMY, REACT, AND NEXT.JS
Testing
Each type of sensor(MQ-135, DS18B20, DHT22)
was calibratedin controlled environments to
ensure accuracy. The MQ-135 sensors were
calibrated using known concentrations of various
gasesWe conducted thorough testingto ensure
seamlessintegrationbetween the sensors, MQTT
messaging, backend processing, database
management, and frontend display. The backend,
especially the FastAPI component, underwent
rigorous load testingto ensure it could handle
high volumesof incoming data without latency or
data loss. The React and Next.jsfrontend was
tested across different devices and browsers for
compatibility, responsiveness, and user
experience
Validation
The system was deployed in a small
industrial areafor real-world testing.
It successfully monitored and reported air
quality, temperature, and humidityover
several weeks, demonstrating reliability
and accuracy
User feedback was collected to refine the
interface and functionality. This feedback led
to several iterative improvementsin the
system
The project aims to develop an integrated environmental monitoring system capable of real-time tracking of air quality,
temperature, and humidity
Architecture
The system architecture is designed to
maximize efficiency and reliability.
Sensors for air quality (MQ-135),
temperature(DS18B20), and humidity
(DHT22)are deployed in the field.
These sensors send their readings to a
central server via MQTT, ensuring timely
data transmission.
The server, powered byPythonand
FastAPI, receives this data and processes it
in real-time.
Data is stored and managed in a
PostgreSQLdatabase through SQL
Alchemy, ensuring data integrity and ease
of access