Project showcase

Hazardous Gas Detector With LED Indication © GPL3+

Know what you breathe. A handy and wearable hazardous gas detection system with LED Indication.

  • 518 views
  • 0 comments
  • 5 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

Apps and online services

Arduino IDE
8ztngd 9
circuito.io

About this project

It is important to know whether the gas coming out is hazardous or not. So I built this small handy or wearable sensor to know about hazardous gases. It gives LED indication on detection of hazardous gas coming.

Powering Gemma

Connect battery positive and negative terminal to Gemma BAT+ and BAT- respectively.

Connecting MQ9 Sensor

  • Connect MQ9 GND to GND
  • Connect MQ9 5V to %v step up converter.
  • Connect MQ9 Ground to Gemma D2 Via 100 ohm resistor.
  • Connect MQ9 GND to MQ9 D0 via 100 ohm resistor.

Connecting LED

  • Connect LED GND to GND via 100 ohm resistor.
  • Connect LED Vin to Gemma D0.

Schematics

capturesm_F48faIO7V8.JPG
Capturesm f48faio7v8

Code

Untitled fileC/C++
// Include Libraries
#include "Arduino.h"


// Pin Definitions
#define LEDRed_PIN_VIN	0
#define MQ9_PIN_AOUT	2



// Setup the essentials for your circuit to work. It runs first every time your circuit is powered with electricity.
void setup() 
{
    // Setup Serial which is useful for debugging
    // Use the Serial Monitor to view printed messages
    Serial.begin(9600);
    while (!Serial) ; // wait for serial port to connect. Needed for native USB
    Serial.println("start");
    
}

// Main logic of your circuit. It defines the interaction between the components you selected. After setup, it runs over and over again, in an eternal loop.
void loop() 
{
    
    
    // You have chosen a controller that doesn't have code yet.
    // You may request a similar combination but with Arduino Uno and try to use the Arduino Uno libraries & code - some may work, but we can't guarantee it. 
    // Make sure your Arduino IDE supports the chosen controller. If not visit http://playground.arduino.cc/Main/BoardsManagerSupport
    
}

Comments

Similar projects you might like

Binary Clock with Arduino and Plywood

Project tutorial by Kalle Wallin

  • 250 views
  • 1 comment
  • 6 respects

Vintage Bench-Top DC Hybrid Voltmeter using Arduino

Project tutorial by Shahariar

  • 271 views
  • 0 comments
  • 6 respects

Automation of Railway Models Part 1 - Sensors

Project tutorial by Steve_Massikker

  • 821 views
  • 3 comments
  • 13 respects

Arduino Sunflower

Project tutorial by Rick_Findus

  • 1,993 views
  • 3 comments
  • 10 respects

LittleBot Simple Arduino Robot

Project showcase by Slant Concepts

  • 591 views
  • 0 comments
  • 9 respects
Add projectSign up / Login