Skip to content

This project is a real-time environmental monitoring system built with STM32 microcontroller, designed to measure temperature, humidity, and gas levels, and log data to an SD card. It also displays data on an OLED screen and sends real-time alerts using Wi-Fi (ESP8266).

Notifications You must be signed in to change notification settings

apn-tech/Environmental-Monitoring-System

Repository files navigation

🌍 Environmental Monitoring and Data Logging System (STM32 + ESP8266 + Sensors)

This project is a real-time environmental monitoring system developed using an STM32 microcontroller. It monitors temperature, humidity, and gas levels, displays the data on an OLED screen, logs it to an SD card, and transmits alerts via Wi-Fi using an ESP8266 module.


📦 Features

  • Sensors Used:

    • 📈 DHT22 – for temperature and humidity
    • 🔥 MQ6 – for detecting flammable gases
  • Microcontroller:

    • 🧠 STM32F446RE (Nucleo)
  • Display:

    • 🖥️ SSD1306 OLED (I2C)
  • Data Logging:

    • 💾 SD card (FATFS) with timestamped entries
  • Connectivity:

    • 🌐 ESP8266 (AT Commands) for Wi-Fi transmission
    • 🖥️ Server-side control for resetting alarms
  • Alarms:

    • 🚨 Buzzer + LED alerts for dangerous gas levels

📁 Prototype

Pict1 Pict2

About

This project is a real-time environmental monitoring system built with STM32 microcontroller, designed to measure temperature, humidity, and gas levels, and log data to an SD card. It also displays data on an OLED screen and sends real-time alerts using Wi-Fi (ESP8266).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published