SmartBio AIR

Published Jun 15, 2026
 100 hours to build
 Intermediate

SmartBio Air is an AI driven indoor air purification system that uses living algae to absorb CO₂ and improve air quality. It combines multi-sensor monitoring with Edge AI to enable autonomous, safe operation and motor fault detection. A cloud-connected layer supports long-term environmental analysis and research on bio-based air treatment.

display image

Components Used

L298N Motor driver
L298N is a high current, high voltage dual full bridge motor driver. It is useful for driving inductive loads.
1
MPU6050 Gyroscope and Accelerometer
MPU6050 (Gyroscope + Accelerometer + Temperature) is a combination of 3-axis Gyroscope, 3-axis Accelerometer and Temperature sensor with on-chip Digital Motion Processor (DMP). It is used in mobile devices, motion enabled games, 3D mice, Gesture (motion command) technology etc
1
BMP180 Digital Pressure sensor
BMP180 is an ultra low power, high precision barometric pressure sensor with I2C serial interface.
1
MYOSA(ESP32)
Main controller for sensing, control, and Edge AI processing
1
APDS9960
Ambient light sensing for environmental input
1
SSD1306 OLED I2C
Shows real-time system status and sensor data
1
MQ-3 Gas Sensor
Detects alcohol vapors and VOC-related gases
1
MQ-7 Gas Sensor
Measures carbon monoxide (CO) levels
1
6V DC Air Pump Motor
Circulates air through algae chamber
1
3.3V Mini Fan
Assists airflow and ventilation control
1
4-Channel Relay Module (12V)
Switches external loads like pumps and LED system
1
12V Plant Grow LED
Provides light for algae photosynthesis
1
Algae Growth Chamber
Biological unit for CO₂ absorption using algae culture
1
Power Supply (12V)
Provides power to sensors, controller, and actuators
1
MQ-2 Gas Sensor Module
Detects LPG, smoke, methane, and combustible gases; provides an analog output proportional to gas concentration.
1
Gas Sensor Mq-135 Gas Sensor
The MQ 135 Air Quality Detector Sensor Module For Arduino has lower conductivity in clean air. When the target combustible gas exists, the conductivity of the sensor is higher along with the gas concentration rising. Convert the change of conductivity to the corresponding output signal of gas concentration. The MQ135 gas sensor has a high sensitivity to Ammonia, Sulphide, and Benzene steam, also
1
Description

Overview

SmartBio Air is an experimental indoor environmental platform that combines biological air purification, embedded sensing, Edge AI automation, and cloud-assisted environmental observation into a single, reusable system.

The project has two complementary goals:

  1. Build a functional algae-assisted indoor air purifier that operates autonomously, even without an internet connection.
  2. Establish a reusable research platform capable of continuously studying the relationship between environmental conditions, pollution levels, and algae growth behaviour over time.

Rather than relying solely on mechanical filtration — which consumes power and requires constant filter replacement — SmartBio Air introduces a living microalgae chamber that naturally absorbs CO₂ and releases oxygen, while a network of sensors, an Edge AI controller, and a cloud analytics layer continuously observe and respond to changing indoor conditions.

Why This Project?

Indoor air quality is a growing health concern in homes, offices, and laboratories, yet most existing solutions fall short:

  • Traditional purifiers only filter particulates, consume significant power, require recurring filter replacement, and provide no insight into why air quality changes over time.
  • Algae-based purification is a promising natural alternative — algae absorb CO₂ and release oxygen — but existing implementations are typically confined to controlled laboratory experiments with no continuous monitoring, no autonomous control, and heavy dependence on cloud connectivity.

SmartBio Air was designed to close this gap: a system that brings biological purification out of the lab and into a real indoor environment, wrapped in embedded intelligence that keeps it safe, responsive, and self-sufficient — while still feeding a research pipeline for long-term analysis.

Problem Statement

Existing algae-based purification systems are limited by:

  • No continuous environmental monitoring
  • No autonomous, real-time control
  • Heavy dependence on constant cloud connectivity
  • No safety monitoring for mechanical components (pumps, motors)
  • Limited real-world, long-duration usability

What's needed is a system that can operate safely indoors, continue functioning without internet access, continuously monitor environmental conditions, and support long-term data collection for research.

Project Objectives

GoalDescription
Biological purificationBuild an algae-based indoor air purifier
Environmental monitoringContinuously track AQI, gas levels, temperature, and humidity
Autonomous operationUse Edge AI for offline, real-time control
Hardware protectionDetect motor/pump faults using TinyML
Biological researchStudy algae behaviour under varying pollution and light conditions
Long-term observationCollect and visualize data for trend analysis over time

System Architecture

SmartBio Air is built around two coordinated operational layers, intentionally separated so that all safety-critical operations continue even when the internet is unavailable.

1. Edge Control Layer (runs on the MYOSA Mini / ESP32)

  • Real-time air quality monitoring
  • Autonomous airflow and pump control based on pollution thresholds
  • TinyML-based motor pump fault detection
  • Local OLED status display
  • Fully functional offline

2. Cloud AI Layer (active when internet is available)

  • Uploads structured environmental logs to Azure
  • AI-assisted environmental interpretation via Azure OpenAI
  • Long-term trend and pattern analysis
  • Web dashboard visualization (HTML/CSS/JS) hosted on Github page

Project Workflow

SmartBio Air was developed through nine engineering phases, moving from problem definition through hardware design, firmware development, TinyML integration, and finally experimental validation.

Phase 1 — Problem Identification & Planning

The project began with a study of indoor air pollution and the limitations of both mechanical filtration and lab-bound algae systems. The architecture was deliberately split into an Edge Control Layer (autonomous offline execution) and a Cloud AI Layer (long-term observation and analysis), ensuring safety-critical operations never depend on internet availability.

Phase 2 — Hardware Selection & System Architecture

Hardware was selected for low-power operation, embedded compatibility, modular expansion, and IoT communication support. The MYOSA Mini (ESP32-based) IoT Kit was chosen as the central controller for its wireless communication, embedded processing, and TinyML deployment capabilities.

ComponentFunction
MYOSA Mini IoT Kit (ESP32)Main embedded controller
MQ135Air quality sensing
MQ2 / MQ7 / MQ3Smoke, carbon monoxide & alcohol gas sensing
BMP180 / DHT22Temperature, humidity & pressure monitoring
APDS9960Ambient light sensing
MPU6050Pump vibration monitoring
SSD1306 OLEDLocal system visualization
6V DC Air PumpAir circulation
Mini FanAirflow management
Relay Module / L298N DriverActuator & motor control
LED Grow LightPhotosynthesis support
Algae ChamberBiological purification section

The architecture was designed modularly so additional sensors, AI models, or environmental modules can be integrated later without redesigning the entire system.

Phase 3 — Designing the Biological Algae Chamber

A transparent chamber was built to support continuous airflow interaction, light exposure, water circulation, and visual observation of the algae. Plant grow LEDs maintain photosynthetic activity during low-light indoor conditions, and air circulation pathways were arranged so indoor air continuously interacts with the biologically active chamber while sensors track environmental changes in real time.

Key design considerations included stable algae circulation, continuous oxygen exchange, controlled airflow, visual accessibility for observation, and low-power operation. Several chamber configurations were tested before finalizing the airflow arrangement and pump placement.

Phase 4 — Sensor Integration & Circuit Assembly

Environmental sensing modules were interfaced with the MYOSA Mini controller to continuously monitor air quality, gas concentration trends, temperature, humidity, and pump vibration behaviour. Particular attention was paid to power stability and organized wiring to minimize sensor noise. Each sensor was individually calibrated and tested before full system integration, and the OLED display was wired in to allow local monitoring without cloud connectivity.

Parameters continuously monitored: Air Quality Index (AQI), VOC trends, temperature, humidity, and pump vibration behaviour.

Phase 5 — Embedded Firmware Development

Firmware was developed on the Arduino framework and structured into distinct functional layers for easier debugging and future expansion:

  • Sensor acquisition layer
  • Environmental analysis layer
  • Edge control logic
  • Display interface
  • Cloud communication layer

The firmware continuously acquires sensor data, evaluates environmental conditions, controls airflow components, updates the OLED display, and transmits data to cloud services whenever connectivity is available. The purifier automatically activates when pollution levels exceed predefined thresholds.

Repository Modules

Phase 6 — TinyML-Based Motor Pump Fault Detection

To improve long-term reliability, an MPU6050 vibration sensor was mounted near the air pump and used to train a lightweight classification model in Edge Impulse, distinguishing normal operation from fault conditions.

ClassSamples
Normal4,000
Fault4,000
MetricValue
Training Accuracy98.1%
Test Accuracy97.23%
Inference Time1 ms
RAM Usage3 KB

The final TensorFlow Lite model runs directly on the MYOSA Mini for offline, real-time inference, allowing the system to detect unstable vibration, pump blockage, abnormal operating behaviour, and dry-running conditions — and to stop the motor automatically to prevent damage.

Phase 7 — Cloud AI Layer & Web Dashboard

While safety-critical decisions remain local, environmental measurements are also transmitted to cloud services for research observation and historical analysis. Cloud services handle structured environmental logging, dashboard visualization, AI-assisted environmental interpretation, and long-term trend observation.

A lightweight web dashboard (HTML/CSS/JS) visualizes environmental conditions, pollution trends, algae chamber behaviour, and operational status — acting as the observation layer of the research platform.

Phase 8 — Final Prototype Integration

All subsystems — the algae purification chamber, environmental sensing modules, Edge AI controller, motor control system, OLED display, and cloud communication interface — were assembled into the final prototype. Cable management and hardware placement were optimized for airflow stability and overall organization, and the prototype was tested continuously under indoor conditions to evaluate long-duration operational stability.

Phase 9 — Experimental Indoor Testing

Note: This testing was conducted at prototype level in a real indoor environment, not in a controlled laboratory setting.

ParameterValue
LocationCoimbatore
Environment TypeSemi-urban
Room Size250 sq ft
VentilationClosed room
Test Duration2 hours
Number of Trials5 (Days)

Results

TrialInitial AQIFinal AQIAQI ReductionInitial CO₂ (ppm)Final CO₂ (ppm)CO₂ Reduction
116211827.1%118086027.1%
217612131.2%128087032.0%
315810931.0%115079031.3%
417112228.6%124089028.2%
516811631.0%121084530.1%

Across five trials, SmartBio Air achieved an average pollution reduction of roughly 30% in both AQI and CO₂ levels within a two-hour window. The Edge-based architecture maintained stable operation throughout, including during temporary network interruptions, while continuous environmental logging enabled structured observation of both air quality and biological chamber activity across repeated cycles.

DEMO Video

Presentation Video

This presentation explains the project architecture, objectives, workflow, TinyML integration, cloud AI layer, and experimental results.

Main Features

  • Algae-assisted air purification
  • Multi-gas environmental sensing
  • TinyML motor fault detection
  • Autonomous offline operation
  • Cloud AI environmental analysis
  • OLED status display
  • Web dashboard monitoring
  • Real-time sensor monitoring
  • Edge AI safety execution
  • Research-oriented, modular architecture

Tech Stack

Hardware

ComponentRole
MYOSA Motherboard (ESP32)Main controller
MQ-2 / MQ-3 / MQ-7 / MQ-135Gas & air quality sensing
BMP180Temperature & pressure
APDS9960Light sensing
MPU6050Vibration / fault sensing
SSD1306 OLEDStatus display
L298N Motor Driver / Relay BoardActuator control
DC Air Pump & Mini FanAir circulation
Plant Grow LEDAlgae photosynthesis support

Software & Cloud

TechnologyUsage
Arduino IDEFirmware development
Edge ImpulseTinyML model training & inference
Azure FunctionsCloud backend
Azure OpenAIAI-driven environmental analysis
HTML / CSS / JSWeb dashboard

Project Outcomes

  • Functional algae-based indoor air purifier
  • Continuous environmental monitoring
  • Autonomous Edge AI execution
  • Pollution and algae growth dataset
  • TinyML research platform
  • IoT-based environmental monitoring system
  • Cloud-connected research workflow

Installation

Clone the Repository

git clone https://github.com/PlatoonX/SmartBio-Air.git

Run the Web Dashboard

Open index.html in a web browser.

Requirements to Reproduce or Extend This Project

  • Hardware (minimum): Wi-Fi capable microcontroller (MYOSA Mini / ESP32), low-voltage DC air pump and fan, transparent algae chamber or container, gas/temperature/humidity sensors, an IMU (MPU6050 or equivalent), a small OLED or status display, relays or MOSFETs for actuator control, and a reliable power supply.
  • Software & accounts: Arduino IDE (or PlatformIO); an Edge Impulse account for TinyML dataset/model work (optional but recommended); an optional cloud account (Azure or equivalent) for long-term logging and dashboard hosting.
  • Data & models: Example datasets and an exported TFLite model are provided in tinyml_motorpumpfaultdetection/. Plan to collect labeled vibration samples if retraining models.
  • Tools & accessories: Soldering iron, wire strippers, multimeter, jumper wires, pump tubing, mounting hardware, and silicone sealant or gaskets for leak prevention.
  • Skills & knowledge: Basic Arduino/C++ firmware skills, familiarity with Edge Impulse or TinyML workflows, basic HTML/CSS/JS for the dashboard, and basic data-analysis skills (Python/Jupyter recommended).
  • Safety & lab considerations: Handle algae cultures responsibly (avoid uncontrolled release), keep electrical components away from water, use drip trays, use GFCI-protected power sources, and follow local biosafety guidance.
  • Optional extras: Camera for time-lapse imaging, additional sensors (CO₂ NDIR, particulate matter), and an enclosure for a production-ready prototype.

Project Structure

SmartBio-Air/
│
├── data/
│   ├── datacollectionscript/
│   └── datasets/
│
├── tinyml_motorpumpfaultdetection/
│   ├── faultdetection_inferencing/
│   └── faultdetection_modelfile/
│
├── myosa-main/
├── agent_main/
├── webapp_main/
│
└── src/
    ├── img/
    └── gif/

Project Link 🔗
https://github.com/PlatoonX/SmartBio-Air 

Future Scope

  • Mobile application integration
  • Advanced AI prediction models for pollution forecasting
  • Real-time alert and notification system
  • Smart home / IoT ecosystem integration
  • Larger-scale, multi-chamber algae installations
  • Industrial environmental monitoring deployments

Contributors

Nimalan Parameswaran@nimalan-parameswaran
Dhakshatha M K@DhakshathaMylsamy

Acknowledgement

We express our sincere gratitude to Dr. Dinesh Chellappan, Centre for Research and Development, for his valuable guidance, technical direction, and continuous mentorship throughout this project.

We also extend our heartfelt thanks to the IEEE Sensors Council for sponsoring the MYOSA Mini IoT Kit, which played a crucial role in enabling the development and implementation of this work.

License

This project is licensed under the MIT License.

MIT License

Copyright (c) 2026 PlatoonX

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Codes

Downloads

SmartBio Air Process Flow Download
TinyML Model Download
TFlite-Model Download
Comments
Ad