Wednesday, 5 August 2026

AI Autonomous Fire Fighting Robot with Thermal Camera Detection

This is a comprehensive, multi-layered IoT and AI project combining robotics, edge-computing, cloud data logging, and automated alert systems.

Below is the complete step-by-step documentation, architecture, and code required to build the AI Autonomous Fire Fighting Robot with Air Pollution Monitoring System.

1. Full Project Description

This system functions as an autonomous, self-navigating rover that simultaneously monitors environmental health and serves as an active fire suppression unit.

The core is an ESP32 Microcontroller. While navigating (using ultrasonic sensors to avoid obstacles), it constantly reads data from an MQ-135 Gas Sensor to track air pollution (CO2, Smoke, AQI) and an AMG8833 Thermal Camera to scan for anomalous heat signatures.

The AI & Agentic Workflow:

  1. Edge AI / Logic: The ESP32 evaluates thermal arrays. If a cluster of pixels exceeds 60°C (140°F), it classifies the event as a fire, halts navigation, targets the heat source, and activates a water pump via a relay.

  2. Data Logging: Telemetry (AQI, Temperature, Battery/Power consumption) is pushed continuously to a ThingSpeak Cloud Dashboard.

  3. Agentic Automation (n8n): Upon detecting a fire or critical pollution levels, the ESP32 triggers a webhook on an n8n Automation Server.

  4. Notifications & Logs: n8n acts as the agent. It logs the exact event timestamp and sensor readings into Google Sheets for historical tracking, and simultaneously pushes a Telegram Voice Notification (using a Text-to-Speech API integration) to alert human operators instantly.

2. Components List

Hardware Components

  • ESP32 WROOM-32 (Main Microcontroller with WiFi)

  • AMG8833 IR Thermal Camera Breakout (8x8 grid heat detection)

  • MQ-135 Air Quality Sensor (Detects NH3, NOx, Alcohol, Benzene, smoke, CO2)

  • L298N Motor Driver Module (Controls chassis movement)

  • 4x DC Gear Motors & Smart Car Chassis

  • HC-SR04 Ultrasonic Sensor (Obstacle avoidance)

  • 5V Relay Module & Mini Submersible Water Pump

  • 2x 18650 Li-ion Batteries & Battery Holder (Power supply)

 ESP32 WROOM 32. Source: Crispy photo / Getty Images 
AMG8833 Thermal Camera | Arduino Project Hub
 AMG8833 Thermal Sensor. Source: Arduino Project Hub / AMG8833 Thermal Camera | Arduino Project Hub 

Software & Cloud Services

  • Arduino IDE (C++ programming)

  • n8n (Self-hosted or Cloud for workflow automation)

  • Telegram (BotFather for creating the bot)

  • Google Sheets API (via Google Cloud Console)

  • ThingSpeak (MathWorks IoT Analytics dashboard)

3. Circuit Schematic Connections

Component ESP32 Pin Notes
AMG8833 Thermal GPIO 21 (SDA), GPIO 22 (SCL) I2C Communication. Needs 3.3V power.
MQ-135 Gas Sensor GPIO 34 (Analog In) Needs 5V power. Keep away from water pump.
HC-SR04 Ultrasonic GPIO 5 (Trig), GPIO 18 (Echo) Needs 5V. Use voltage divider for Echo to ESP32 (3.3V limit).
L298N Motor Driver GPIO 12 (IN1), 14 (IN2), 27 (IN3), 26 (IN4) Power L298N directly from batteries.
5V Relay (Pump) GPIO 33 Active HIGH to trigger the water pump.

4. System Flowchart

Code snippet

graph TD
    A[Power On System] --> B[Initialize WiFi & Sensors]
    B --> C[Read AMG8833 Thermal Array]
    B --> D[Read MQ135 AQI Level]
    D --> E[Push Data to ThingSpeak]
    C --> F{Max Temp > 60°C?}
    
    F -- YES (Fire Detected) --> G[Stop Motors]
    G --> H[Activate Relay/Water Pump]
    H --> I[Trigger n8n Webhook: FIRE ALERT]
    I --> J[n8n: Log to Google Sheets]
    I --> K[n8n: Generate TTS & Send Telegram Voice Alert]
    
    F -- NO --> L[Read Ultrasonic Sensor]
    L --> M{Obstacle < 15cm?}
    M -- YES --> N[Turn Left/Right]
    M -- NO --> O[Move Forward]
    N --> C
    O --> C

5. Software & Cloud Setup

A. Telegram Bot Setup

  1. Open Telegram and search for @BotFather.

  2. Send /newbot, give it a name and username.

  3. Save the HTTP API Token.

  4. Start a chat with your bot and send a test message. Get your Chat ID using api.telegram.org/bot<TOKEN>/getUpdates.

B. ThingSpeak Dashboard

  1. Create an account at thingspeak.com and click New Channel.

  2. Name it "Robot Telemetry". Enable Field 1 (Max Temp) and Field 2 (Air Quality).

  3. Go to the API Keys tab and copy your Write API Key.

C. n8n Automation & Google Sheets

  1. Create a Google Sheet named "Robot Logs" with columns: Timestamp, Event, Severity, Value.

  2. In n8n, create a new workflow.

  3. Add a Webhook node (Method: POST, Respond: Immediately). Copy the Webhook URL.

  4. Add a Google Sheets node connected to the Webhook to append a row with the incoming data.

  5. Add an HTTP Request node to call a free TTS service (like VoiceRSS or ElevenLabs) to convert the text "Fire Detected" into an audio file.

  6. Add a Telegram node (Action: Send Audio/Voice) to push the generated audio file to your Chat ID.

n8n Workflow JSON Snippet

You can import this foundational structure into your n8n instance:

JSON

{
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "robot-alert",
        "options": {}
      },
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [250, 300],
      "webhookId": "your-webhook-uuid"
    },
    {
      "parameters": {
        "operation": "append",
        "documentId": {
          "__rl": true,
          "value": "your-google-sheet-id",
          "mode": "id"
        },
        "sheetName": {
          "__rl": true,
          "value": "Sheet1",
          "mode": "list"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "Event": "={{$json.body.event}}",
            "Value": "={{$json.body.value}}"
          }
        }
      },
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [500, 200]
    },
    {
      "parameters": {
        "chatId": "your-chat-id",
        "text": "=ALERT! {{$json.body.event}}. Value: {{$json.body.value}}",
        "additionalFields": {}
      },
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [500, 400]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          { "node": "Google Sheets", "type": "main", "index": 0 },
          { "node": "Telegram", "type": "main", "index": 0 }
        ]
      ]
    }
  }
}

6. ESP32 Source Code

This sketch handles WiFi, I2C thermal scanning, analog air quality reading, and triggers the n8n webhook upon critical events.

C++

#include <WiFi.h>
#include <HTTPClient.h>
#include <Wire.h>
#include <Adafruit_AMG88xx.h>

// --- Configuration ---
const char* ssid = "YOUR_WIFI_SSID";
const char* password = "YOUR_WIFI_PASSWORD";
String n8n_Webhook = "http://YOUR_N8N_URL/webhook/robot-alert";
String thingSpeak_URL = "http://api.thingspeak.com/update?api_key=YOUR_WRITE_KEY";

// --- Pins ---
#define MQ135_PIN 34
#define RELAY_PIN 33
#define IN1 12
#define IN2 14
#define IN3 27
#define IN4 26

Adafruit_AMG88xx amg;
float pixels[AMG88xx_PIXEL_ARRAY_SIZE];
unsigned long lastCloudUpdate = 0;

void setup() {
  Serial.begin(115200);
  pinMode(RELAY_PIN, OUTPUT);
  pinMode(IN1, OUTPUT); pinMode(IN2, OUTPUT); 
  pinMode(IN3, OUTPUT); pinMode(IN4, OUTPUT);
  
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); }
  
  if (!amg.begin()) {
    Serial.println("Could not find AMG8833 sensor!");
    while (1) delay(10);
  }
}

void loop() {
  // 1. Read Air Quality
  int aqiValue = analogRead(MQ135_PIN);
  
  // 2. Read Thermal Camera
  amg.readPixels(pixels);
  float maxTemp = 0;
  for(int i = 1; i <= AMG88xx_PIXEL_ARRAY_SIZE; i++){
    if(pixels[i-1] > maxTemp) maxTemp = pixels[i-1];
  }

  // 3. AI / Logic Agent Evaluation
  if(maxTemp > 60.0) {
    stopRobot();
    digitalWrite(RELAY_PIN, HIGH); // Turn on water pump
    triggern8nAlert("FIRE_DETECTED", maxTemp);
    delay(5000); // Pump water for 5 seconds
    digitalWrite(RELAY_PIN, LOW);
  } else if (aqiValue > 2000) {
    triggern8nAlert("HIGH_POLLUTION", aqiValue);
    delay(5000); // Prevent spamming
  } else {
    moveForward(); // Proceed with autonomous patrol
  }

  // 4. Update Cloud Dashboard (every 15 seconds)
  if(millis() - lastCloudUpdate > 15000) {
    updateThingSpeak(maxTemp, aqiValue);
    lastCloudUpdate = millis();
  }
  
  delay(100);
}

// --- Movement Functions ---
void moveForward() {
  digitalWrite(IN1, HIGH); digitalWrite(IN2, LOW);
  digitalWrite(IN3, HIGH); digitalWrite(IN4, LOW);
}
void stopRobot() {
  digitalWrite(IN1, LOW); digitalWrite(IN2, LOW);
  digitalWrite(IN3, LOW); digitalWrite(IN4, LOW);
}

// --- Network Functions ---
void triggern8nAlert(String event, float value) {
  if(WiFi.status()== WL_CONNECTED){
    HTTPClient http;
    http.begin(n8n_Webhook);
    http.addHeader("Content-Type", "application/json");
    String payload = "{\"event\":\"" + event + "\", \"value\":\"" + String(value) + "\"}";
    http.POST(payload);
    http.end();
  }
}

void updateThingSpeak(float temp, int aqi) {
  if(WiFi.status()== WL_CONNECTED){
    HTTPClient http;
    String url = thingSpeak_URL + "&field1=" + String(temp) + "&field2=" + String(aqi);
    http.begin(url);
    http.GET();
    http.end();
  }
}

7. AI Power Consumption Prediction Logic

To implement AI power consumption and predictive maintenance without overloading the ESP32, the system utilizes a Cloud-Edge hybrid approach:

  1. Edge Telemetry: The ESP32 reads the battery voltage via a voltage divider connected to an ADC pin and sends the voltage drop rate along with motor active time to ThingSpeak.

  2. n8n Agentic Processing: n8n pulls the ThingSpeak data via an HTTP Request node on a cron schedule (e.g., every hour).

  3. Prediction: n8n sends this historical data to an OpenAI API node or a local Python ML script (Linear Regression). The AI calculates the slope of battery degradation against motor strain.

  4. Action: If the AI predicts the battery will die before the robot completes its patrol route, n8n sends a proactive Telegram message: "Prediction Alert: Battery will deplete in 12 minutes. Return to base recommended."

8. Future Enhancements & Deployment Guide

Deployment Constraints:

  • Thermal Isolation: The AMG8833 must be mounted away from the ESP32's WiFi antenna, as the antenna generates heat that can skew thermal readings.

  • Waterproofing: The L298N and ESP32 must be housed in an IP65+ rated acrylic enclosure to prevent damage when the water pump activates.

Future Upgrades:

  • Computer Vision: Upgrading from the ESP32 to an ESP32-CAM or Raspberry Pi to use OpenCV for visual fire confirmation (checking for the color and shape of flames) alongside the thermal data to reduce false positives.

  • SLAM Navigation: Integrating a LIDAR module for precise indoor mapping, allowing the robot to transmit its exact coordinate coordinates via Telegram when a fire is found.

AI Air Pollution Monitoring and Prediction System

The plan is solid. Let's skip the meta-discussion about page counts, skip the preambles, and start building Volume 1 of your engineering documentation directly.

Here is the complete initial architectural blueprint, high-level system overview, and hardware schematics to establish the foundation of your project.

1. Executive Project Abstract

The AI-Powered Air Pollution Monitoring and Prediction System is an end-to-end Agentic IoT ecosystem designed to sense, analyze, log, and forecast microclimate air quality parameters in real time. Built around an ESP32 microcontroller, the edge node samples particulate matter ($\text{PM}_{2.5}, \text{PM}_{10}$ via PMS5003), hazardous gases ($\text{CO}_2, \text{NH}_3, \text{NO}_x$, VOCs via MQ135), environmental parameters (temperature and humidity via DHT22, barometric pressure via BMP280), and spatial coordinates (via NEO-6M GPS).

Data is transmitted concurrently via dual protocols: HTTP/REST to a ThingSpeak cloud dashboard for real-time visualization, and Webhooks to an n8n orchestration server. The n8n engine feeds an AI Agent (combining localized feature engineering with LLM/ML prediction logic) to predict next-hour AQI trends, optimize fan actuator power cycles, evaluate health risks, and dynamically synthesize localized voice alert notifications pushed directly to users via Telegram.

2. System Hardware Architecture & Bill of Materials

Bill of Materials (BOM)

Component Part / Model Quantity Operational Voltage Function
Microcontroller ESP32 DevKit V1 (30-pin) 1 3.3V / 5V USB Core processing, Wi-Fi stack, sensor sampling
PM Sensor PMS5003 (Plantower) 1 5V (3.3V Logic TX/RX) Laser scattering for $\text{PM}_{1.0}, \text{PM}_{2.5}, \text{PM}_{10}$
Gas Sensor MQ135 Breakout 1 5V (Analog Out 0-3.3V) Air quality ($\text{NH}_3$, $\text{NO}_x$, Alcohol, Benzene, Smoke, $\text{CO}_2$)
Temp/Humidity DHT22 (AM2302) 1 3.3V Ambient temperature and relative humidity
Baro Pressure BMP280 (I2C) 1 3.3V Atmospheric pressure and altitude estimation
Location Tracking NEO-6M GPS Module 1 3.3V / 5V (UART TX/RX) Geospatial tagging (Latitude, Longitude, Altitude)
Display 0.96" SSD1306 OLED 1 3.3V (I2C) Local real-time telemetry display
Actuator 5V Single-Channel Relay 1 5V (Signal 3.3V compatible) Drives high-volume air purification fan
Audio Alert 5V Active Buzzer 1 3.3V / 5V Local acoustic alarm on critical AQI threshold
Visual Indicator 4-Pin Common Cathode RGB LED 1 3.3V (via $220\,\Omega$ Resistors) Local visual AQI status (Green/Yellow/Red)
Power Supply 5V 2A DC Adapter 1 110-240V AC to 5V DC Regulated system power source

3. Comprehensive Circuit Pin Mapping

The pinouts below align with standard ESP32 30-pin DevKit V1 boards:

ESP32 GPIO Connected Component Module Pin Protocol / Signal Type
GPIO 21 SSD1306 OLED & BMP280 SDA I2C Data Line (Shared)
GPIO 22 SSD1306 OLED & BMP280 SCL I2C Clock Line (Shared)
GPIO 16 (RX2) PMS5003 TX UART2 Receive
GPIO 17 (TX2) PMS5003 RX UART2 Transmit
GPIO 4 (RX1) NEO-6M GPS TX UART1 Receive
GPIO 2 (TX1) NEO-6M GPS RX UART1 Transmit
GPIO 15 DHT22 DATA Single-Bus Digital (Requires $10\,\text{k}\Omega$ Pull-up)
GPIO 34 (VP) MQ135 AOUT Analog Input (Input-only, no internal pull-ups)
GPIO 18 5V Relay Module IN Digital Output (High = Relay ON)
GPIO 19 Active Buzzer VCC / SIG Digital Output (High = Sound Alarm)
GPIO 25 RGB LED Red Pin PWM Output (AQI Alert Level)
GPIO 26 RGB LED Green Pin PWM Output (AQI Alert Level)
GPIO 27 RGB LED Blue Pin PWM Output (AQI Alert Level)

4. Hardware System Block Diagram

                 +-------------------------------------------------------------+
                 |                     5V 2A POWER SUPPLY                      |
                 +------------------------------+------------------------------+
                                                |
                                                v
 +----------------------------------------------+----------------------------------------------+
 |                                    ESP32 DEVKIT V1                                          |
 |                                                                                             |
 |   [UART 1]  <--->  NEO-6M GPS Module (Geospatial Tagging)                                   |
 |   [UART 2]  <--->  PMS5003 Laser Sensor (PM1.0 / PM2.5 / PM10)                             |
 |   [I2C]     <--->  SSD1306 OLED (0.96") + BMP280 Barometric Sensor                          |
 |   [GPIO 15] <--->  DHT22 (Temperature & Humidity)                                         |
 |   [GPIO 34] <---   MQ135 Gas Sensor (Analog Raw AQI Signal)                                 |
 |                                                                                             |
 |   [GPIO 18] --->   5V Relay Output (Exhaust / Fan Control)                                  |
 |   [GPIO 19] --->   Active Acoustic Buzzer                                                   |
 |   [GPIO 25-27]-->  PWM RGB LED Indicator                                                    |
 +----------------------------------------------+----------------------------------------------+
                                                |
                                  Wi-Fi Dual-Channel Outbound
                                                |
                       +------------------------+------------------------+
                       |                                                 |
                       v                                                 v
           +------------------------+                        +------------------------+
           |    THINGSPEAK CLOUD    |                        |      n8n ENGINE        |
           | Real-time Telemetry &  |                        |  Workflow Automation & |
           | Analytics Dashboard    |                        |    Agentic Processing  |
           +------------------------+                        +-----------+------------+
                                                                         |
                                                  +----------------------+----------------------+
                                                  |                      |                      |
                                                  v                      v                      v
                                       +--------------------+  +-------------------+  +--------------------+
                                       |   GOOGLE SHEETS    |  |  TELEGRAM BOT     |  | AI PREDICTION      |
                                       | Historical Logger  |  |  Text & Voice     |  | Power & AQI Model  |
                                       +--------------------+  +-------------------+  +--------------------+

5. End-to-End System Processing Flowchart

       [ START ]
           |
           v
  [ Initialize Hardware ]
  (I2C, UART1, UART2, GPIOs, OLED)
           |
           v
  [ Connect to Wi-Fi ]  <--- (Retry Loop if disconnected)
           |
           v
  [ Read Sensor Array ]
  - PMS5003 (PM2.5 / PM10)
  - MQ135 (Gas Level)
  - DHT22 (Temp / Humidity)
  - BMP280 (Pressure)
  - NEO-6M (GPS Lat / Long)
           |
           v
  [ Compute Air Quality Index (AQI) ]
  (Calculate Sub-Indices using US EPA / CPCB formulas)
           |
           v
  [ Update OLED Screen & RGB Status ]
           |
           +----------------------------------+
           |                                  |
           v                                  v
  [ Local Threshold Check ]          [ Transmit Telemetry ]
   - If AQI > 200:                    - POST Payload to ThingSpeak
     * Turn ON Relay (Fan)            - Trigger n8n Webhook Endpoint
     * Sound Buzzer Alarm            
   - Else:                            
     * Keep Relay/Buzzer OFF         
           |                                  |
           +----------------------------------+
                                              |
                                              v
                                   [ n8n Automation Engine ]
                                              |
                     +------------------------+------------------------+
                     |                        |                        |
                     v                        v                        v
            [ Append Raw Record ]    [ Execute AI Agent ]     [ Evaluate Risk & Alerts ]
            (Google Sheets API)      - Predict 1-hr AQI       - Is Voice Alert Needed?
                                     - Compute Fan Power       - Generate Audio via TTS
                                       Optimization            - Post Voice/Text Payload
                                                                 to Telegram Channel
                                              |
                                              v
                                       [ END / WAIT ]
                                     (Interval Delay ~15s)

6. Base ESP32 Sensor Reading & Transmission Firmware Blueprint

Below is the core firmware skeleton handling multi-UART sensor reading, AQI calculations, local display updates, relay management, and dual-cloud logging.

C++

#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <Adafruit_BMP280.h>
#include <DHT.h>
#include <WiFi.h>
#include <HTTPClient.h>
#include <ArduinoJson.h>

// Screen Config
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);

// Sensor Pins & Config
#define DHTPIN 15
#define DHTTYPE DHT22
DHT dht(DHTPIN, DHTTYPE);

Adafruit_BMP280 bmp; // I2C

#define MQ135_PIN 34
#define RELAY_PIN 18
#define BUZZER_PIN 19
#define RGB_R_PIN 25
#define RGB_G_PIN 26
#define RGB_B_PIN 27

// Hardware Serial 2 for PMS5003
#define RXD2 16
#define TXD2 17

// Wi-Fi and API Configuration
const char* WIFI_SSID = "YOUR_WIFI_SSID";
const char* WIFI_PASS = "YOUR_WIFI_PASSWORD";
const char* THINGSPEAK_URL = "http://api.thingspeak.com/update";
const char* THINGSPEAK_API_KEY = "YOUR_THINGSPEAK_WRITE_KEY";
const char* N8N_WEBHOOK_URL = "http://YOUR_N8N_INSTANCE_IP:5678/webhook/air-quality-data";

// Telemetry Storage Struct
struct AirData {
  float pm25 = 0.0;
  float pm10 = 0.0;
  float temp = 0.0;
  float hum = 0.0;
  float pressure = 0.0;
  int rawGas = 0;
  int calculatedAQI = 0;
};

AirData currentData;

void setup() {
  Serial.begin(115200);
  Serial2.begin(9600, SERIAL_8N1, RXD2, TXD2); // PMS5003

  pinMode(RELAY_PIN, OUTPUT);
  pinMode(BUZZER_PIN, OUTPUT);
  pinMode(RGB_R_PIN, OUTPUT);
  pinMode(RGB_G_PIN, OUTPUT);
  pinMode(RGB_B_PIN, OUTPUT);

  digitalWrite(RELAY_PIN, LOW);
  digitalWrite(BUZZER_PIN, LOW);

  // Initialize Wire & Displays
  Wire.begin(21, 22);
  if (!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) {
    Serial.println(F("SSD1306 allocation failed"));
  }
  display.clearDisplay();
  display.setTextColor(WHITE);
  display.setTextSize(1);
  display.setCursor(0, 0);
  display.println("Initializing System...");
  display.display();

  dht.begin();
  if (!bmp.begin(0x76)) {
    Serial.println(F("Could not find a valid BMP280 sensor, check wiring!"));
  }

  // Connect Wi-Fi
  WiFi.begin(WIFI_SSID, WIFI_PASS);
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("\nWi-Fi Connected!");
}

void readPMS5003(float &pm25, float &pm10) {
  if (Serial2.available() >= 32) {
    if (Serial2.read() == 0x42 && Serial2.read() == 0x4D) {
      uint8_t buffer[30];
      Serial2.readBytes(buffer, 30);
      pm25 = (float)((buffer[4] << 8) | buffer[5]);
      pm10 = (float)((buffer[6] << 8) | buffer[7]);
    }
  }
}

int calculateSimpleAQI(float pm25) {
  // Simplified linear scale for demonstration
  if (pm25 <= 12.0) return (int)((50.0 / 12.0) * pm25);
  else if (pm25 <= 35.4) return (int)(51 + ((49.0 / 23.4) * (pm25 - 12.1)));
  else if (pm25 <= 55.4) return (int)(101 + ((49.0 / 19.9) * (pm25 - 35.5)));
  else if (pm25 <= 150.4) return (int)(151 + ((49.0 / 94.9) * (pm25 - 55.5)));
  else return 201; // Poor / Critical
}

void updateLEDs(int aqi) {
  if (aqi <= 50) { // Green
    analogWrite(RGB_R_PIN, 0); analogWrite(RGB_G_PIN, 255); analogWrite(RGB_B_PIN, 0);
  } else if (aqi <= 100) { // Yellow
    analogWrite(RGB_R_PIN, 255); analogWrite(RGB_G_PIN, 255); analogWrite(RGB_B_PIN, 0);
  } else { // Red
    analogWrite(RGB_R_PIN, 255); analogWrite(RGB_G_PIN, 0); analogWrite(RGB_B_PIN, 0);
  }
}

void updateDisplay() {
  display.clearDisplay();
  display.setCursor(0, 0);
  display.printf("AQI: %d\n", currentData.calculatedAQI);
  display.printf("PM2.5: %.1f ug/m3\n", currentData.pm25);
  display.printf("PM10:  %.1f ug/m3\n", currentData.pm10);
  display.printf("Temp:  %.1f C\n", currentData.temp);
  display.printf("Hum:   %.1f %%\n", currentData.hum);
  display.printf("Press: %.1f hPa\n", currentData.pressure);
  display.display();
}

void sendTelemetry() {
  if (WiFi.status() == WL_CONNECTED) {
    HTTPClient http;

    // 1. Post to ThingSpeak
    String tsUrl = String(THINGSPEAK_URL) + "?api_key=" + THINGSPEAK_API_KEY +
                   "&field1=" + String(currentData.calculatedAQI) +
                   "&field2=" + String(currentData.pm25) +
                   "&field3=" + String(currentData.pm10) +
                   "&field4=" + String(currentData.temp) +
                   "&field5=" + String(currentData.hum) +
                   "&field6=" + String(currentData.pressure);
    http.begin(tsUrl);
    http.GET();
    http.end();

    // 2. Post JSON Payload to n8n Webhook
    http.begin(N8N_WEBHOOK_URL);
    http.addHeader("Content-Type", "application/json");

    StaticJsonDocument<256> doc;
    doc["aqi"] = currentData.calculatedAQI;
    doc["pm25"] = currentData.pm25;
    doc["pm10"] = currentData.pm10;
    doc["temp"] = currentData.temp;
    doc["humidity"] = currentData.hum;
    doc["pressure"] = currentData.pressure;
    doc["raw_gas"] = currentData.rawGas;

    String jsonString;
    serializeJson(doc, jsonString);
    http.POST(jsonString);
    http.end();
  }
}

void loop() {
  readPMS5003(currentData.pm25, currentData.pm10);
  currentData.temp = dht.readTemperature();
  currentData.hum = dht.readHumidity();
  currentData.pressure = bmp.readPressure() / 100.0F; // Convert Pa to hPa
  currentData.rawGas = analogRead(MQ135_PIN);
  currentData.calculatedAQI = calculateSimpleAQI(currentData.pm25);

  updateLEDs(currentData.calculatedAQI);
  updateDisplay();

  // Actuator Safety Logic
  if (currentData.calculatedAQI > 150) {
    digitalWrite(RELAY_PIN, HIGH);  // Turn on exhaust/filter
    digitalWrite(BUZZER_PIN, HIGH); // Alarm active
  } else {
    digitalWrite(RELAY_PIN, LOW);
    digitalWrite(BUZZER_PIN, LOW);
  }

  sendTelemetry();
  delay(15000); // 15-second interval
}

7. Next Architectural Steps

With Volume 1 established, we can delve into any specific volume or module you need to focus on next:

  1. n8n Automation Architecture & Webhook Integration: Complete JSON schema, node connection map, Google Sheets logging node, and dynamic Telegram voice message generation (using ElevenLabs/OpenAI TTS API).

  2. AI Modeling & Predictive Algorithms: Mathematical formulation for AQI forecasting, fan power optimization algorithms, and feature engineering code.

  3. ThingSpeak & Dashboard Configuration: Field mapping, MATLAB analytics scripts for historical analysis, and alert triggers.

Where would you like to direct the next deep dive?

Friday, 31 July 2026

Assistive Technologies - INSPIRE Awards – MANAK (2026–27)

♿ Assistive Technologies - INSPIRE Awards – MANAK (2026–27)
♿ Assistive Technologies - INSPIRE Awards – MANAK (2026–27)

♿ Top 100 Assistive Technologies Innovation Project Titles

Latest Technology-Based Projects for INSPIRE Awards – MANAK (2026–27)

These innovative Assistive Technology projects combine Artificial Intelligence (AI), Internet of Things (IoT), ESP32, ESP32-CAM, TinyML, Edge AI, Computer Vision, Robotics, Voice AI, Wearable Technology, Smart Sensors, AR/VR, GPS, Cloud Computing, and Mobile Applications to improve accessibility, independence, education, healthcare, and quality of life for people with disabilities and senior citizens.

👁️ Vision Assistance

  1. AI Smart Glasses for Visually Impaired
  2. AI Object Detection Smart Glasses
  3. AI Face Recognition Navigation Assistant
  4. AI Currency Recognition Device
  5. AI Smart Color Identification System
  6. AI Text-to-Speech Reading Glasses
  7. AI Indoor Navigation Assistant
  8. AI Outdoor GPS Navigation Stick
  9. AI Obstacle Detection Smart Cane
  10. AI Smart Vision Assistant using ESP32-CAM

🦯 Smart Walking Assistance

  1. Smart AI Walking Stick
  2. IoT GPS Smart Walking Cane
  3. AI Fall Detection Walking Stick
  4. AI Voice Navigation Cane
  5. AI Water & Pit Detection Stick
  6. AI Stair Detection Smart Cane
  7. Smart Ultrasonic Mobility Aid
  8. AI Wearable Navigation Belt
  9. Smart Electronic Guide Cane
  10. AI Safe Path Detection System

🦻 Hearing Assistance

  1. AI Smart Hearing Assistance Device
  2. AI Noise Reduction Hearing Aid
  3. AI Speech Amplification System
  4. Smart Classroom Hearing Assistant
  5. AI Sound Direction Detection Device
  6. AI Speech-to-Text Communication Device
  7. Smart Hearing Alert Wearable
  8. AI Emergency Sound Detection System
  9. AI Multilingual Voice Translator
  10. AI Audio Enhancement Device

🗣️ Speech & Communication

  1. AI Speech-to-Text Translator
  2. AI Text-to-Speech Communication Device
  3. AI Sign Language Recognition System
  4. AI Sign Language Translator Gloves
  5. Smart AAC (Augmentative Communication) Device
  6. AI Voice Generation Assistant
  7. AI Gesture Recognition Communication System
  8. AI Emotion Recognition Communication Aid
  9. AI Smart Conversation Assistant
  10. AI Real-Time Caption Display System

♿ Mobility Assistance

  1. AI Smart Wheelchair Navigation
  2. Autonomous Wheelchair with Obstacle Avoidance
  3. Smart Stair-Climbing Wheelchair
  4. AI Wheelchair Health Monitoring
  5. Smart Wheelchair Fall Prevention System
  6. AI Voice-Controlled Wheelchair
  7. Smart Powered Walker Assistant
  8. AI Indoor Wheelchair Navigation
  9. Smart Wheelchair Tracking System
  10. AI Robotic Mobility Assistant

🧠 Cognitive Assistance

  1. AI Memory Reminder Assistant
  2. Smart Medicine Reminder System
  3. AI Daily Activity Planner
  4. AI Smart Schedule Assistant
  5. AI Cognitive Therapy Assistant
  6. AI Learning Support Assistant
  7. AI Emotion Recognition Assistant
  8. Smart Elderly Companion Device
  9. AI Smart Mental Wellness Assistant
  10. AI Routine Management Platform

🏥 Healthcare Assistance

  1. AI Smart Health Monitoring Band
  2. AI Wearable Vital Sign Monitor
  3. AI Emergency Health Alert Device
  4. Smart Patient Monitoring System
  5. AI Remote Health Monitoring Platform
  6. Smart Rehabilitation Assistant
  7. AI Physical Therapy Guidance System
  8. AI Smart Prosthetic Monitoring
  9. AI Hospital Assistance Robot
  10. AI Elder Care Monitoring System

🏫 Inclusive Education

  1. AI Smart Classroom Accessibility System
  2. AI Digital Braille Learning Device
  3. Smart Interactive Learning Board for Special Education
  4. AI Reading Assistant for Dyslexia
  5. AI Voice-Controlled Learning Platform
  6. AI Personalized Learning Assistant
  7. Smart Educational Robot for Children with Disabilities
  8. AI Accessible Digital Library
  9. AI Smart Examination Assistance System
  10. AI Inclusive Education Platform

🤖 Robotics & Smart Assistance

  1. AI Service Robot for Elderly Care
  2. AI Smart Home Assistant Robot
  3. AI Object Fetching Robot
  4. Smart Companion Robot
  5. AI Medication Delivery Robot
  6. AI Autonomous Indoor Helper Robot
  7. AI Smart Kitchen Assistant
  8. AI Household Assistance Robot
  9. AI Personal Care Robot
  10. AI Multi-Purpose Assistive Robot

🚀 Future Assistive Technologies

  1. TinyML Wearable Assistive Device
  2. Edge AI Accessibility Platform
  3. Brain–Computer Interface (BCI) Assistive Prototype
  4. AI AR Smart Navigation Glasses
  5. AI Digital Twin Rehabilitation Platform
  6. Blockchain Medical Accessibility Records
  7. AI Smart Exoskeleton Assistance System
  8. AI Haptic Navigation Wearable
  9. AI Multi-Disability Assistance Platform
  10. Integrated AI + IoT + Robotics + Wearable Smart Assistive Ecosystem

🔬 Latest Technologies Students Can Use

🤖 Artificial Intelligence

  • Artificial Intelligence (AI)
  • Machine Learning (ML)
  • Deep Learning
  • TinyML
  • Edge AI
  • Computer Vision
  • Voice AI
  • Natural Language Processing (NLP)
  • Generative AI

🌐 IoT & Embedded Systems

  • ESP32
  • ESP32-CAM
  • Arduino
  • Raspberry Pi
  • STM32
  • Wi-Fi
  • Bluetooth
  • LoRa / LoRaWAN
  • MQTT
  • GSM / 4G / 5G

👓 Assistive Technologies

  • Computer Vision (YOLO/OpenCV)
  • OCR (Optical Character Recognition)
  • Speech Recognition
  • Text-to-Speech (TTS)
  • Speech-to-Text (STT)
  • Sign Language Recognition
  • Braille Displays
  • GPS Navigation
  • Haptic Feedback
  • Eye Tracking (Educational)

📷 Smart Sensors

  • Ultrasonic Sensors
  • LiDAR (Educational)
  • Camera Modules
  • IMU (Accelerometer & Gyroscope)
  • GPS Module
  • Pulse Sensor
  • Heart Rate Sensor
  • SpO₂ Sensor
  • Temperature Sensor
  • PIR Motion Sensor
  • Force Sensors

🤖 Robotics & Automation

  • Smart Wheelchairs
  • Service Robots
  • Companion Robots
  • Robotic Arms
  • Exoskeleton Concepts
  • Autonomous Indoor Robots

☁️ Cloud & Mobile

  • Firebase
  • ThingSpeak
  • Blynk IoT
  • Node-RED
  • Google Maps API
  • Google Sheets
  • Telegram Bot
  • Mobile Applications
  • Cloud Dashboards

🏆 Top 10 High-Innovation INSPIRE Awards Projects

  1. AI Smart Glasses for Visually Impaired with Object & Currency Recognition
  2. AI Sign Language to Speech & Text Translation System
  3. AI Voice-Controlled Smart Wheelchair with Obstacle Avoidance
  4. Smart Walking Stick with GPS Navigation & Fall Detection
  5. AI Classroom Accessibility Assistant for Inclusive Learning
  6. AI Wearable Health Monitoring & Emergency Alert Device
  7. AI Reading Assistant for Visually Impaired & Dyslexic Students
  8. AI Companion Robot for Elderly & Persons with Disabilities
  9. TinyML Offline Personal Assistive Device for Rural Communities
  10. Integrated AI + IoT + Robotics + Wearable Smart Assistive Technology Platform

🌟 Emerging Technologies for Assistive Technologies

  • Artificial Intelligence (AI)
  • Agentic AI
  • TinyML
  • Edge AI
  • Internet of Things (IoT)
  • ESP32 & ESP32-CAM
  • Computer Vision (YOLO/OpenCV)
  • Speech Recognition
  • Text-to-Speech (TTS)
  • Speech-to-Text (STT)
  • OCR (Optical Character Recognition)
  • Sign Language Recognition
  • Robotics
  • Smart Wearables
  • GPS Navigation
  • Haptic Feedback
  • Brain–Computer Interface (BCI) (Educational)
  • Augmented Reality (AR)
  • Cloud Computing
  • Mobile Applications

These project ideas are socially impactful, innovative, affordable, and suitable for INSPIRE Awards – MANAK, ATL Innovation Mission, CBSE/State Science Exhibitions, and national STEM competitions. They focus on creating practical, low-cost assistive devices that improve accessibility, independence, communication, education, mobility, and healthcare for people with disabilities and elderly individuals.

 

♿ Assistive Technologies - INSPIRE Awards – MANAK (2026–27)

💧 Water Management Science Project Titles - INSPIRE Awards – MANAK (2026–27)

⚡ Renewable Energy & Power Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

🚗 Transportation & Road Safety Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

🏥 Healthcare & Medical Project Titles - INSPIRE Awards – MANAK (2026–27)

🌍 Environment & Climate Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

🏠 Smart Home & Home Automation Project Titles - INSPIRE Awards – MANAK (2026–27)

🎓Education & Learning Project Titles - INSPIRE Awards – MANAK (2026–27)

🤖 Robotics & Automation Project Titles - INSPIRE Awards – MANAK (2026–27)

🏭 Industry 4.0 Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

🏙️ Smart City Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

🚀 Space & Astronomy Project Titles - INSPIRE Awards – MANAK (2026–27)

🌊 Disaster Management Project Titles - INSPIRE Awards – MANAK (2026–27)

🔒 Safety & Security Project Titles - INSPIRE Awards – MANAK (2026–27)

🐄 Animal Husbandry & Veterinary Project Titles - INSPIRE Awards – MANAK (2026–27)

🍎 Food Technology Project Titles - INSPIRE Awards – MANAK (2026–27)

🏫 School Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

♿ Assistive Technologies - INSPIRE Awards – MANAK (2026–27)

School Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

🏫 School Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

🏫 Top 100 School Innovation Project Titles

Latest Technology-Based Projects for INSPIRE Awards – MANAK (2026–27)

These innovative school projects combine Artificial Intelligence (AI), Internet of Things (IoT), ESP32, ESP32-CAM, TinyML, Edge AI, Computer Vision, Robotics, AR/VR, Renewable Energy, Smart Sensors, Cloud Computing, Mobile Applications, and Automation to improve learning, safety, sustainability, and smart campus management.

🤖 AI Smart School Management

  1. AI Smart School Management System
  2. AI Digital School Assistant
  3. AI School Administration Platform
  4. AI Student Performance Prediction System
  5. AI School Decision Support Dashboard
  6. AI Smart Academic Analytics
  7. AI Smart Student Progress Monitoring
  8. AI School Resource Management System
  9. AI Intelligent School Automation
  10. AI School Digital Transformation Platform

🎓 Smart Classroom Innovation

  1. AI Smart Interactive Classroom
  2. IoT Smart Classroom Monitoring System
  3. AI Digital Smart Board Assistant
  4. AI Classroom Attendance using Face Recognition
  5. Smart Classroom Environment Monitoring
  6. AI Classroom Energy Saving System
  7. AI Voice-Controlled Smart Classroom
  8. AI Automatic Lecture Recording System
  9. AI Smart Classroom Assistant Robot
  10. AI Personalized Classroom Learning System

📚 Student Learning & Education

  1. AI Personalized Learning Assistant
  2. AI Homework Helper
  3. AI Voice Learning Assistant
  4. AI Exam Preparation Platform
  5. AI Question Paper Generator
  6. AI Automatic Notes Generator
  7. AI Multilingual Learning Assistant
  8. AI Reading Improvement System
  9. AI STEM Learning Platform
  10. AI Digital Science Laboratory

🏫 School Safety & Security

  1. AI Smart School Security System
  2. AI Face Recognition Visitor Management
  3. Smart Student Attendance & Parent Notification
  4. AI School Bus Safety Monitoring
  5. AI Smart Emergency Alert System
  6. AI Fire & Gas Detection for Schools
  7. AI Student Safety Wearable Device
  8. AI Campus Intrusion Detection
  9. AI School CCTV Analytics
  10. AI Child Safety Monitoring Platform

🌱 Green School & Sustainability

  1. Smart School Energy Management
  2. Solar Powered Smart Classroom
  3. AI Rainwater Harvesting Monitoring
  4. Smart School Waste Management
  5. AI Water Conservation System
  6. AI Air Quality Monitoring for Classrooms
  7. Smart School Garden Automation
  8. AI Green Campus Monitoring
  9. AI Plastic Waste Recycling System
  10. Net Zero Smart School Campus

💧 Health & Hygiene

  1. AI Smart Drinking Water Quality Monitoring
  2. Smart Hand Hygiene Monitoring System
  3. AI School Health Monitoring
  4. Smart Washroom Management System
  5. AI Indoor Air Quality Monitoring
  6. Smart Water Purifier Monitoring
  7. AI Disease Prevention Awareness System
  8. Smart Classroom Sanitization Robot
  9. AI Health Check Kiosk
  10. AI Nutrition Monitoring for Students

🚌 Transportation & Campus

  1. AI School Bus Live Tracking
  2. Smart Bicycle Parking System
  3. AI Smart Parking Management
  4. AI School Traffic Monitoring
  5. Smart Bus Stop Information Display
  6. AI Campus Navigation Assistant
  7. Smart Vehicle Entry Management
  8. AI Road Safety Awareness Platform
  9. AI Walking School Safety System
  10. Smart Campus Mobility System

🤖 Robotics & Automation

  1. AI Classroom Cleaning Robot
  2. Smart Library Robot
  3. AI School Delivery Robot
  4. AI Science Laboratory Robot
  5. Smart Notice Distribution Robot
  6. AI Multi-Purpose School Assistant Robot
  7. Smart Classroom Service Robot
  8. AI Robotics Learning Platform
  9. AI Educational Robot Teacher
  10. AI Campus Patrol Robot

📱 Digital School Technologies

  1. AI School Mobile Application
  2. Smart Digital Notice Board
  3. AI Parent–Teacher Communication Platform
  4. AI School Library Management
  5. Smart Digital ID Card System
  6. AI Student Career Guidance Platform
  7. Smart Online Examination System
  8. AI School Complaint Management
  9. AI Smart School Dashboard
  10. AI Cloud-Based School Management Platform

🚀 Future School Technologies

  1. TinyML Smart Classroom Device
  2. Edge AI School Monitoring Platform
  3. AR Smart Science Laboratory
  4. VR Virtual Classroom Experience
  5. AI Digital Twin School Campus
  6. Blockchain Student Certificate Verification
  7. AI Smart Innovation Lab
  8. AI IoT School Command Center
  9. Computer Vision Smart Classroom Analytics
  10. Integrated AI + IoT + Robotics + AR/VR Smart School Ecosystem

🔬 Latest Technologies Students Can Use

🤖 Artificial Intelligence

  • Artificial Intelligence (AI)
  • Machine Learning (ML)
  • Deep Learning
  • TinyML
  • Edge AI
  • Computer Vision
  • Generative AI
  • Voice AI
  • Natural Language Processing (NLP)

🌐 IoT & Embedded Systems

  • ESP32
  • ESP32-CAM
  • Arduino
  • Raspberry Pi
  • STM32
  • Wi-Fi
  • Bluetooth
  • LoRa / LoRaWAN
  • RFID
  • NFC
  • MQTT

🎓 Smart Education Technologies

  • Augmented Reality (AR)
  • Virtual Reality (VR)
  • Smart Whiteboards
  • QR Code Learning
  • Interactive Digital Displays
  • Learning Management Systems (LMS)

🤖 Robotics & Automation

  • Educational Robots
  • Service Robots
  • Line-Following Robots
  • Robotic Arms
  • Voice-Controlled Robots
  • Autonomous Mobile Robots

📷 Smart Sensors

  • Temperature & Humidity Sensors
  • Air Quality Sensors
  • Water Quality Sensors
  • PIR Motion Sensors
  • Ultrasonic Sensors
  • RFID Readers
  • Camera Modules
  • Sound Sensors
  • Light Sensors
  • Gas Sensors

☁️ Cloud & Mobile

  • Firebase
  • ThingSpeak
  • Blynk IoT
  • Node-RED
  • Google Sheets
  • Telegram Bot
  • Mobile Applications
  • Cloud Dashboards
  • QR Code Integration

🏆 Top 10 High-Innovation INSPIRE Awards School Projects

  1. AI Smart Classroom with Personalized Learning Assistant
  2. AI Face Recognition Attendance with Parent Notifications
  3. Smart School Water Quality & Consumption Monitoring System
  4. AI School Safety Wearable with Emergency SOS & GPS
  5. Solar-Powered Net Zero Smart School Campus
  6. AI Air Quality & Classroom Health Monitoring System
  7. AI Educational Robot Teacher for STEM Learning
  8. Smart School Waste Segregation & Recycling System
  9. AR/VR Interactive Science Laboratory for Schools
  10. Integrated AI + IoT + Robotics + AR/VR Smart School Innovation Platform

🌟 Emerging Technologies for School Innovation

  • Artificial Intelligence (AI)
  • Agentic AI
  • TinyML
  • Edge AI
  • Internet of Things (IoT)
  • ESP32 & ESP32-CAM
  • Computer Vision (OpenCV/YOLO)
  • Robotics & Automation
  • Augmented Reality (AR)
  • Virtual Reality (VR)
  • Smart Sensors
  • RFID & NFC
  • QR Code Technology
  • LoRa / LoRaWAN
  • Cloud Computing
  • Mobile Applications
  • Digital Twin
  • Blockchain
  • Renewable Energy
  • Smart Campus Technologies

These project titles are highly innovative, practical, affordable, and suitable for students of Classes 6–10 participating in INSPIRE Awards – MANAK, as well as ATL Innovation Mission, CBSE/State Science Exhibitions, and National Innovation Competitions. They encourage students to solve real school problems through technology while developing creativity, engineering skills, and scientific thinking.

 

🏫 School Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)
🏫 School Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

💧 Water Management Science Project Titles - INSPIRE Awards – MANAK (2026–27)

⚡ Renewable Energy & Power Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

🚗 Transportation & Road Safety Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

🏥 Healthcare & Medical Project Titles - INSPIRE Awards – MANAK (2026–27)

🌍 Environment & Climate Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

🏠 Smart Home & Home Automation Project Titles - INSPIRE Awards – MANAK (2026–27)

🎓Education & Learning Project Titles - INSPIRE Awards – MANAK (2026–27)

🤖 Robotics & Automation Project Titles - INSPIRE Awards – MANAK (2026–27)

🏭 Industry 4.0 Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

🏙️ Smart City Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)

🚀 Space & Astronomy Project Titles - INSPIRE Awards – MANAK (2026–27)

🌊 Disaster Management Project Titles - INSPIRE Awards – MANAK (2026–27)

🔒 Safety & Security Project Titles - INSPIRE Awards – MANAK (2026–27)

🐄 Animal Husbandry & Veterinary Project Titles - INSPIRE Awards – MANAK (2026–27)

🍎 Food Technology Project Titles - INSPIRE Awards – MANAK (2026–27)

🏫 School Innovation Project Titles - INSPIRE Awards – MANAK (2026–27)