Projects / Ideas / Smell sensor with a self-learning baseline

Smell sensor with a self-learning baseline

IntermediateSensorsIdeaReviewed
In short

How do you build a smell sensor with a self-learning baseline?

An MQ-135 learns what normal room air looks like over a day and then reports how far from normal it is. You need Arduino Nano, MQ-135 air quality sensor module, SSD1306 OLED Display and 24C02 / AT24C256 EEPROM.

Level
Intermediate
Time
About 120 min
Parts
4
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Learn a baseline and report deviations.

Parts list

How to build it

  1. Warm the sensor for 24 hours first
  2. Keep a slowly moving average as the baseline
  3. Report the ratio to baseline
  4. Save the baseline to EEPROM
  5. Test with a hand sanitiser spray

Related projects

Common questions

What parts do I need for the smell sensor with a self-learning baseline?

Arduino Nano, MQ-135 air quality sensor module, SSD1306 OLED Display and 24C02 / AT24C256 EEPROM.

How long does the smell sensor with a self-learning baseline take to build?

About 120 minutes for a intermediate maker.