Introduction: Arduino Carbon Monoxide Detector Alarm With Relay.

About: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the wide range of sensors you can use with it. I make…

Hello world. This is my first project ever. Follow me i will add more projects!

Step 1: What Do You Need? & Schematic.

!NOTE! I tested this with a lighter as you can see in the video.

You should fully test your device before installing it in your home.

You can add any sensor that you like and turn of any device you like.

I advice to use a quality sensor, that you know for sure will detect Carbon monoxide.

My device is just a prototype to show you how to build it.

I used the MQ9 sensor ordered from china.

What do you need? Parts List.

Arduino UNO


Keyes 3 color RGB Ky-016

mq9 Carbon Monoxide Sensor or other.

1 Channel relay Ky-019

Jumper Wires.

Step 2: The CODE.

Here is the code. Just Connect everything like the schematic shows.

And upload it.

and you will have yourself a GAS Alarm that can turn of your Central heating for example, within 10 minutes!

Full Spectrum Laser Contest 2016

Participated in the
Full Spectrum Laser Contest 2016