https://github.com/spaciouscoder78/mq2-cigar-sensor
An Arduino Sketch for MQ2 Smoke Sensor to detect cigarette smoke for ATmega328P Boards
https://github.com/spaciouscoder78/mq2-cigar-sensor
arduino arduino-sk arduino-uno atmega328p mq2-gas-sensor
Last synced: 9 months ago
JSON representation
An Arduino Sketch for MQ2 Smoke Sensor to detect cigarette smoke for ATmega328P Boards
- Host: GitHub
- URL: https://github.com/spaciouscoder78/mq2-cigar-sensor
- Owner: SpaciousCoder78
- License: mit
- Created: 2024-01-09T04:09:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-09T05:44:27.000Z (about 2 years ago)
- Last Synced: 2025-02-16T22:34:23.125Z (12 months ago)
- Topics: arduino, arduino-sk, arduino-uno, atmega328p, mq2-gas-sensor
- Language: C++
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mq2-cigar-sensor


An Arduino Sketch for MQ2 Smoke Sensor to detect Cigarette Smoke using ATmega328P boards
## Pre-Requisities
- Arduino IDE
- Arduino UNO
- MQ2 Smoke Sensor
- Wires
- Soldering Kit
## Circuit Diagram

## Theory
We can measure PPM values using MQ2 sensor and a cigarette emits Carbon Monoxide(CO) as the main output gas so we're calibrating the MQ2 sensor to detect Carbon Monoxide levels and detect cigarettes.
## Required Arduino Libraries
-  by Miguel Califa