Skip to content

Instantly share code, notes, and snippets.

@stefania11
Forked from ahmedabdulaziz/makehub
Created October 13, 2015 15:34
Show Gist options
  • Save stefania11/64d9b86b3dd9e7d6c4a7 to your computer and use it in GitHub Desktop.
Save stefania11/64d9b86b3dd9e7d6c4a7 to your computer and use it in GitHub Desktop.
AIR QUALITY STATION
# Title
AIR QUALITY STATION
# Picture
media: http://s27.postimg.org/n9159lwpf/1604581_626258354094217_2010345751_n.jpg
# Objective
the main Objective of this project is to measure pollution percentage in the air specially carbon monoxide in cities and for industrial applications. we tend to make it like as a distributed stations around the world to make a map for the pollution in the world.
# Duration
3 days
# Age Group
all
# Materials
## Arduino uno
* description:It's micro-controller based on Atmega328
* quantity:1
* price:$24.95
* link:https://www.sparkfun.com/products/11021
## RHT03
* description:The RHT03 (also known by DHT-22) is a low cost humidity and temperature sensor with a single wire digital interface. The sensor is calibrated and doesn't require extra components so you can get right to measuring relative humidity and temperature.
* quantity:1
* price:$9.95
* link:https://www.sparkfun.com/products/10167
## Breadboard
* description:A breadboard (or protoboard) is usually a construction base for prototyping of electronics. The term "breadboard" is commonly used to refer to a solderless breadboard (plugboard).
* quantity:1
* price:$5.00
* link:http://www.adafruit.com/index.php?main_page=popup_image&pID=64
## MQ-7
* description:This is a simple-to-use Carbon Monoxide (CO) sensor, suitable for sensing CO concentrations in the air. The MQ-7 can detect CO-gas concentrations anywhere from 20 to 2000ppm.
* quantity:1
* price:$7.25
* link:https://www.sparkfun.com/products/9403
## relay
* description:Relay Coil Voltage=5V , max current 1A
* quantity:1
* price:$0.530
* link:https://www.goohttps://www.google.com.eg/search?q=diode+(1N4148)&tbm=isch&source=iu&imgil=1FtYRL8T_HvOdM%253A%253Bhttps%253A%252F%252Fencrypted-tbn0.gstatic.com%252Fimages%253Fq%253Dtbn%253AANd9GcSwXQQkC8QyrjIucM9HVexR4BJt73-dzeRt_ZG3qxQahqnVJHiSvQ%253B640%253B640%253BdE7z2_GLDcN63M%253Bhttp%25253A%25252F%25252Fwww.egyptuino.com%25252Fstore%25252Findex.php%25253Fdispatch%2525253Dproducts.view%25252526product_id%2525253D295&sa=X&ei=7rzkUo7-MKiP7AbPq4CgCg&ved=0CEEQ9QEwAQ&biw=1301&bih=609#facrc=_&imgdii=_&imgrc=1FtYRL8T_HvOdM%253A%3BdE7z2_GLDcN63M%3Bhttp%253A%252F%252Fwww.egyptuino.com%252Fstore%252Fimages%252Fdetailed%252F1%252Fsignal_diode.jpg%3Bhttp%253A%252F%252Fwww.egyptuino.com%252Fstore%252Findex.php%253Fdispatch%253Dproducts.view%2526product_id%253D295%3B640%3B640
## Diode
* description:1N4148
* quantity:5
* price:undefined
* link:http://www.egyptuino.com/store/index.php?dispatch=products.view&product_id=295
## 10k resistance
* description:
* quantity:2
* price:undefined
* link:https://hackpad.com/AIR-QUALITY-TESTING-UNIT-0Re2oWBULhM
## 16*2 lcd
* description:undefined
* quantity:1
* price:undefined
* link:undefined
# Steps
## 1-ARDUINO + RHT03
media: http://www.deviantsart.com/3ldcetl.jpg
notes: Connect the RHT03(DHT22) sensor to the breadboard.
Make sure that you connected the yellow jumper wire to "pin 2" in Arduino from one side and on the second row for the sensor (from the left side) in the readboard.
## If everything went right, you will find your connection similar to the following:
media: http://www.deviantsart.com/3b8m0is.jpg
notes: -You can use a resistor of 10K ohm as pull up resistor .
-Notice: the resistance has to exceed 4.7K.
-Reference Link:
http://garagelab.com/profiles/blogs/tutorial-humidity-and-temperature-sensor-with-arduino
## 1-(a) SOFTWARE SETUP: 1)Download the Arduino libraries from the following link:https://github.com/markruys/arduino-DHT
media: undefined
notes: Notice: This link includes libraries that are generic for DHT sensors (i.e DHT11 and DHT11 and DHT22)
## 1- (a) 2) Unzip the folder into anywhere
media: undefined
notes: -Make a new folder called "arduino_DHT" in the following destination:C:\User\yourUSER\Documents\Arduino\libraries
## 1- (a) 3) Copy the content of the downloaded folder (i.e. after unzipping) to the new folder "arduino_DHT"
media: undefined
notes: undefined
## 1- (a) 4) Open the file "DHT.h" in a notepad.
media: undefined
notes: -Replace "Wprogram.h" with "Arduino.h" and save the file
## 1- (a) 5) Then, open Arduino program to load the code file from:C:\User\yourUSER\Documents\Arduino\libraries\arduino_DHT\examples\DHT_Test
media: http://www.deviantsart.com/a7773g.png
notes: -Verify the code by clicking on the following button "Verify" in the last image.Now, your code is compiled and ready.
## 1- (a) 6)Connect the Arduino with your laptop through the USB cable.
media: undefined
notes: -You have to "upload" the code into the Arduino by clicking the "Upload" button, and wait till a message appear saying "Upload completed" i.e. This means that your code have been successfully uploaded into the Arduino Chip.
## 1- (a) 7)To monitor the data out of the sensor, click on "Serial Monitor" on the top right of theArduino window.
media: undefined
notes: If everything went right, you will see the the following results:
## 1- (a) 8) Output
media: http://www.deviantsart.com/3q7i1ss.png
notes: These data are based on the local temperature and humidity. So, make sure to verify your results by checking the local temperature and humidity at your place.
Reference Link: http://playground.arduino.cc/Main/DHT11Lib
## 2- Carbon Monoxide sensor [MQ-7]
media: undefined
notes: Carbon monoxide is a product of incomplete combustion of organic matter due to insufficient oxygen supply to enable complete oxidation to carbon dioxide (CO2). It is often produced in domestic or industrial settings by older motor vehicles and other gasoline-powered tools, heaters, and cooking equipment. Exposures at 100 ppm or greater can be dangerous to human health.
Reference : http://en.wikipedia.org/wiki/Carbon_monoxide_poisoning http://thesis.jmsaavedra.com/prototypes/software/mq-7-breakout-arduino-library/
## 2- schematic of sensor board
media: http://www.deviantsart.com/25s76ov.png
notes: Note: we can remove the transistor (2N3904) because this relay can work easily with 5v and current from Arduino board (we have removed it in our circuit) this depend on the type of the relay.
References : http://thesis.jmsaavedra.com/prototypes/technology/mq-7-carbon-monoxide-sensor-breakout/
## 2- schematic in Fritizing:
media: http://www.deviantsart.com/2vi2qfj.jpg
notes: Note: R1=330R R2=10K Relay Coil Voltage=5V
## 2- Bread Board By Fritizing
media: http://www.deviantsart.com/279uo4g.jpg
notes: undefined
## 2- (a) Software Setup:
media: http://www.deviantsart.com/32htign.jpg
notes: undefined
## 2- (a) 1) Download MQ-7 library from here: https://github.com/jmsaavedra/Air-Quality-Egg/tree/master/libraries/CS_MQ7
media: undefined
notes: undefined
## 2- (a) 2) Copy and Paste the downloaded library file in the libraries folder in the pass of the program
media: undefined
notes: if you use :
--Linux : it will be at /home /your account name/sketchbook/libraries
---windows :it will be at the file of Arduino because it's Portable you can find it libraries file .
## 2- (a) 3) Open the example file using Arduino >>>>go to file-->examples-->Cs_MQ7
media: undefined
notes: undefined
## 2- (a) 4) expected output: a.This is the first output at heating period:
media: http://www.deviantsart.com/1io0ren.jpg
notes: undefined
## 2- (a) 4) expected output: b. This is the second output at sensing period:
media: http://www.deviantsart.com/qoo70j.jpg
notes: undefined
## 3-INTEGRATION PHASE:
media: undefined
notes: We will combin both of the modules on the same program
## 3- (a)1) Code: Download it from the following link and copy it into the library folder https://drive.google.com/file/d/0B2uQ5MUyXb6mNnJUZ1FEWU5ERXc/edit?usp=sharing
media: undefined
notes: Note: make sure that you put the new project which will contain this code on the library file to be shown on Examples tab under file tab in the Arduino IDE. .
## 3- (a) 2) Output: a. During heating period
media: http://www.deviantsart.com/3be3k0v.jpg
notes: undefined
## 3- (a) 2) Output: b. After heating period (the co sensor is ready now for sensing)
media: http://www.deviantsart.com/2ashbp7.jpg
notes: undefined
# Notes
{"id":"8630094","user":"ahmedabdulaziz","description":"AIR QUALITY STATION","urls":["https://www.facebook.com/photo.php?fbid=626258354094217&set=pb.472148879505166.-2207520000.1390719012.&type=3&theater","https://hackpad.com/AIR-QUALITY-TESTING-UNIT-0Re2oWBULhM"],"raw":"# Title \nAIR QUALITY TESTING UNIT\n# Picture \nmedia: https://www.facebook.com/photo.php?fbid=626258354094217&set=pb.472148879505166.-2207520000.1390719012.&type=3&theater\n# Objective\nthe main Objective of this project is to measure pollution percentage in the air specially carbon monoxide\n# Duration\n3 days\n# Age Group\nall\n# Materials\n## Arduino uno\n* description:It's micro-controller based on Atmega328\n* quantity:1\n* price:\n* link:https://www.sparkfun.com/products/11021\n\n## RHT03\n* description:The RHT03 (also known by DHT-22) is a low cost humidity and temperature sensor with a single wire digital interface. The sensor is calibrated and doesn't require extra components so you can get right to measuring relative humidity and temperature.\n* quantity:1\n* price:$9.95\n* link:https://www.sparkfun.com/products/10167\n\n## Breadboard\n* description:A breadboard (or protoboard) is usually a construction base for prototyping of electronics. The term \"breadboard\" is commonly used to refer to a solderless breadboard (plugboard).\n* quantity:1\n* price:$5.00\n* link:http://www.adafruit.com/index.php?main_page=popup_image&pID=64\n\n## MQ-7\n* description:This is a simple-to-use Carbon Monoxide (CO) sensor, suitable for sensing CO concentrations in the air. The MQ-7 can detect CO-gas concentrations anywhere from 20 to 2000ppm.\n* quantity:1\n* price:$7.25\n* link:https://www.sparkfun.com/products/9403\n\n## relay\n* description:Relay Coil Voltage=5V , max current 1A\n* quantity:1\n* price:$0.530\n* link:https://www.goohttps://www.google.com.eg/search?q=diode+(1N4148)&tbm=isch&source=iu&imgil=1FtYRL8T_HvOdM%253A%253Bhttps%253A%252F%252Fencrypted-tbn0.gstatic.com%252Fimages%253Fq%253Dtbn%253AANd9GcSwXQQkC8QyrjIucM9HVexR4BJt73-dzeRt_ZG3qxQahqnVJHiSvQ%253B640%253B640%253BdE7z2_GLDcN63M%253Bhttp%25253A%25252F%25252Fwww.egyptuino.com%25252Fstore%25252Findex.php%25253Fdispatch%2525253Dproducts.view%25252526product_id%2525253D295&sa=X&ei=7rzkUo7-MKiP7AbPq4CgCg&ved=0CEEQ9QEwAQ&biw=1301&bih=609#facrc=_&imgdii=_&imgrc=1FtYRL8T_HvOdM%253A%3BdE7z2_GLDcN63M%3Bhttp%253A%252F%252Fwww.egyptuino.com%252Fstore%252Fimages%252Fdetailed%252F1%252Fsignal_diode.jpg%3Bhttp%253A%252F%252Fwww.egyptuino.com%252Fstore%252Findex.php%253Fdispatch%253Dproducts.view%2526product_id%253D295%3B640%3B640\n\n## Diode\n* description:1N4148\n* quantity:5\n* price:undefined\n* link:http://www.egyptuino.com/store/index.php?dispatch=products.view&product_id=295\n\n## 10k resistance\n* description:\n* quantity:2\n* price:undefined\n* link:https://hackpad.com/AIR-QUALITY-TESTING-UNIT-0Re2oWBULhM\n\n## 16*2 lcd\n* description:undefined\n* quantity:1\n* price:undefined\n* link:undefined\n\n## undefined\n* description:undefined\n* quantity:undefined\n* price:undefined\n* link:undefined\n\n# Steps\n## AIR HUMIDITY AND TEMPERATURE\nmedia: https://hackpad.com/AIR-QUALITY-TESTING-UNIT-0Re2oWBULhM\n\nnotes: undefined\n\n# Notes\nundefined\n","steps":[{"$$hashKey":"022","description":"1-ARDUINO + RHT03","notes":"Connect the RHT03(DHT22) sensor to the breadboard.\nMake sure that you connected the yellow jumper wire to \"pin 2\" in Arduino from one side and on the second row for the sensor (from the left side) in the readboard.","picture":"http://www.deviantsart.com/3ldcetl.jpg","media":"http://www.deviantsart.com/3ldcetl.jpg"},{"$$hashKey":"026","description":"If everything went right, you will find your connection similar to the following:","notes":"-You can use a resistor of 10K ohm as pull up resistor .\n-Notice: the resistance has to exceed 4.7K.\n-Reference Link: \nhttp://garagelab.com/profiles/blogs/tutorial-humidity-and-temperature-sensor-with-arduino","picture":"http://www.deviantsart.com/3b8m0is.jpg","media":"http://www.deviantsart.com/3b8m0is.jpg"},{"$$hashKey":"032","description":"1-(a) SOFTWARE SETUP: 1)Download the Arduino libraries from the following link:https://github.com/markruys/arduino-DHT","notes":"Notice: This link includes libraries that are generic for DHT sensors (i.e DHT11 and DHT11 and DHT22)"},{"$$hashKey":"038","description":"1- (a) 2) Unzip the folder into anywhere","notes":"-Make a new folder called \"arduino_DHT\" in the following destination:C:\\User\\yourUSER\\Documents\\Arduino\\libraries"},{"$$hashKey":"03G","description":"1- (a) 3) Copy the content of the downloaded folder (i.e. after unzipping) to the new folder \"arduino_DHT\""},{"$$hashKey":"03K","description":"1- (a) 4) Open the file \"DHT.h\" in a notepad.","notes":"-Replace \"Wprogram.h\" with \"Arduino.h\" and save the file"},{"$$hashKey":"03O","description":"1- (a) 5) Then, open Arduino program to load the code file from:C:\\User\\yourUSER\\Documents\\Arduino\\libraries\\arduino_DHT\\examples\\DHT_Test","notes":"-Verify the code by clicking on the following button \"Verify\" in the last image.Now, your code is compiled and ready.","picture":"http://www.deviantsart.com/a7773g.png","media":"http://www.deviantsart.com/a7773g.png"},{"$$hashKey":"03Y","description":"1- (a) 6)Connect the Arduino with your laptop through the USB cable.","notes":"-You have to \"upload\" the code into the Arduino by clicking the \"Upload\" button, and wait till a message appear saying \"Upload completed\" i.e. This means that your code have been successfully uploaded into the Arduino Chip."},{"$$hashKey":"044","description":"1- (a) 7)To monitor the data out of the sensor, click on \"Serial Monitor\" on the top right of theArduino window.","notes":"If everything went right, you will see the the following results:"},{"$$hashKey":"04A","description":"1- (a) 8) Output","notes":"These data are based on the local temperature and humidity. So, make sure to verify your results by checking the local temperature and humidity at your place.\nReference Link: http://playground.arduino.cc/Main/DHT11Lib","picture":"http://www.deviantsart.com/3q7i1ss.png","media":"http://www.deviantsart.com/3q7i1ss.png"},{"$$hashKey":"04E","description":"2- Carbon Monoxide sensor [MQ-7]","notes":"Carbon monoxide is a product of incomplete combustion of organic matter due to insufficient oxygen supply to enable complete oxidation to carbon dioxide (CO2). It is often produced in domestic or industrial settings by older motor vehicles and other gasoline-powered tools, heaters, and cooking equipment. Exposures at 100 ppm or greater can be dangerous to human health.\n\nReference : http://en.wikipedia.org/wiki/Carbon_monoxide_poisoning http://thesis.jmsaavedra.com/prototypes/software/mq-7-breakout-arduino-library/"},{"$$hashKey":"04O","description":"2- schematic of sensor board","picture":"http://www.deviantsart.com/25s76ov.png","media":"http://www.deviantsart.com/25s76ov.png","notes":"Note: we can remove the transistor (2N3904) because this relay can work easily with 5v and current from Arduino board (we have removed it in our circuit) this depend on the type of the relay.\n\n References : http://thesis.jmsaavedra.com/prototypes/technology/mq-7-carbon-monoxide-sensor-breakout/"},{"$$hashKey":"04U","description":"2- schematic in Fritizing:","picture":"http://www.deviantsart.com/2vi2qfj.jpg","media":"http://www.deviantsart.com/2vi2qfj.jpg","notes":"Note: R1=330R R2=10K Relay Coil Voltage=5V"},{"$$hashKey":"054","description":"2- Bread Board By Fritizing","picture":"http://www.deviantsart.com/279uo4g.jpg","media":"http://www.deviantsart.com/279uo4g.jpg"},{"$$hashKey":"058","description":"2- (a) Software Setup:","picture":"http://www.deviantsart.com/32htign.jpg","media":"http://www.deviantsart.com/32htign.jpg"},{"$$hashKey":"05C","description":"2- (a) 1) Download MQ-7 library from here: https://github.com/jmsaavedra/Air-Quality-Egg/tree/master/libraries/CS_MQ7"},{"$$hashKey":"05O","description":"2- (a) 2) Copy and Paste the downloaded library file in the libraries folder in the pass of the program","notes":"if you use :\n\n --Linux : it will be at /home /your account name/sketchbook/libraries\n ---windows :it will be at the file of Arduino because it's Portable you can find it libraries file ."},{"$$hashKey":"05S","description":"2- (a) 3) Open the example file using Arduino >>>>go to file-->examples-->Cs_MQ7"},{"$$hashKey":"05Y","description":"2- (a) 4) expected output: a.This is the first output at heating period:","picture":"http://www.deviantsart.com/1io0ren.jpg","media":"http://www.deviantsart.com/1io0ren.jpg"},{"$$hashKey":"066","description":"2- (a) 4) expected output: b. This is the second output at sensing period:","picture":"http://www.deviantsart.com/qoo70j.jpg","media":"http://www.deviantsart.com/qoo70j.jpg"},{"$$hashKey":"06C","description":"3-INTEGRATION PHASE:","notes":"We will combin both of the modules on the same program"},{"$$hashKey":"06G","description":"3- (a)1) Code: Download it from the following link and copy it into the library folder https://drive.google.com/file/d/0B2uQ5MUyXb6mNnJUZ1FEWU5ERXc/edit?usp=sharing","notes":"Note: make sure that you put the new project which will contain this code on the library file to be shown on Examples tab under file tab in the Arduino IDE. ."},{"$$hashKey":"06O","description":"3- (a) 2) Output: a. During heating period","picture":"http://www.deviantsart.com/3be3k0v.jpg","media":"http://www.deviantsart.com/3be3k0v.jpg"},{"$$hashKey":"06S","description":"3- (a) 2) Output: b. After heating period (the co sensor is ready now for sensing)","picture":"http://www.deviantsart.com/2ashbp7.jpg","media":"http://www.deviantsart.com/2ashbp7.jpg"}],"materials":[{"item":"Arduino uno","description":"It's micro-controller based on Atmega328","quantity":"1","price":"$24.95","link":"https://www.sparkfun.com/products/11021","$$hashKey":"006"},{"$$hashKey":"00A","item":"RHT03","description":"The RHT03 (also known by DHT-22) is a low cost humidity and temperature sensor with a single wire digital interface. The sensor is calibrated and doesn't require extra components so you can get right to measuring relative humidity and temperature.","quantity":"1","price":"$9.95","link":"https://www.sparkfun.com/products/10167"},{"$$hashKey":"00C","item":"Breadboard","link":"http://www.adafruit.com/index.php?main_page=popup_image&pID=64","price":"$5.00","description":"A breadboard (or protoboard) is usually a construction base for prototyping of electronics. The term \"breadboard\" is commonly used to refer to a solderless breadboard (plugboard).","quantity":"1"},{"$$hashKey":"00E","item":"MQ-7","link":"https://www.sparkfun.com/products/9403","description":"This is a simple-to-use Carbon Monoxide (CO) sensor, suitable for sensing CO concentrations in the air. The MQ-7 can detect CO-gas concentrations anywhere from 20 to 2000ppm.","quantity":"1","price":"$7.25"},{"$$hashKey":"00G","item":"relay","description":"Relay Coil Voltage=5V , max current 1A","quantity":"1","link":"https://www.goohttps://www.google.com.eg/search?q=diode+(1N4148)&tbm=isch&source=iu&imgil=1FtYRL8T_HvOdM%253A%253Bhttps%253A%252F%252Fencrypted-tbn0.gstatic.com%252Fimages%253Fq%253Dtbn%253AANd9GcSwXQQkC8QyrjIucM9HVexR4BJt73-dzeRt_ZG3qxQahqnVJHiSvQ%253B640%253B640%253BdE7z2_GLDcN63M%253Bhttp%25253A%25252F%25252Fwww.egyptuino.com%25252Fstore%25252Findex.php%25253Fdispatch%2525253Dproducts.view%25252526product_id%2525253D295&sa=X&ei=7rzkUo7-MKiP7AbPq4CgCg&ved=0CEEQ9QEwAQ&biw=1301&bih=609#facrc=_&imgdii=_&imgrc=1FtYRL8T_HvOdM%253A%3BdE7z2_GLDcN63M%3Bhttp%253A%252F%252Fwww.egyptuino.com%252Fstore%252Fimages%252Fdetailed%252F1%252Fsignal_diode.jpg%3Bhttp%253A%252F%252Fwww.egyptuino.com%252Fstore%252Findex.php%253Fdispatch%253Dproducts.view%2526product_id%253D295%3B640%3B640","price":"$0.530"},{"$$hashKey":"00I","link":"http://www.egyptuino.com/store/index.php?dispatch=products.view&product_id=295","item":"Diode","description":"1N4148","quantity":"5"},{"$$hashKey":"00K","item":"10k resistance","quantity":"2","description":"","link":"https://hackpad.com/AIR-QUALITY-TESTING-UNIT-0Re2oWBULhM"},{"$$hashKey":"00M","item":"16*2 lcd","quantity":"1"}],"title":"AIR QUALITY STATION","picture":"http://s27.postimg.org/n9159lwpf/1604581_626258354094217_2010345751_n.jpg","duration":"3 days","objective":"the main Objective of this project is to measure pollution percentage in the air specially carbon monoxide in cities and for industrial applications. we tend to make it like as a distributed stations around the world to make a map for the pollution in the world.","ageGroup":"all","content":"<h1>Title</h1>\n\n<p>AIR QUALITY STATION</p>\n\n<h1>Picture</h1>\n\n<p>{{0}}</p>\n\n<h1>Objective</h1>\n\n<p>the main Objective of this project is to measure pollution percentage in the air specially carbon monoxide in cities and for industrial applications. we tend to make it like as a distributed stations around the world to make a map for the pollution in the world.</p>\n\n<h1>Duration</h1>\n\n<p>3 days</p>\n\n<h1>Age Group</h1>\n\n<p>all</p>\n\n<h1>Materials</h1>\n\n<h2>Arduino uno</h2>\n\n<ul>\n<li>description:It's micro-controller based on Atmega328</li>\n<li>quantity:1</li>\n<li>price:$24.95</li>\n<li>link:<a href=\"https://www.sparkfun.com/products/11021\">https://www.sparkfun.com/products/11021</a></li>\n</ul>\n\n<h2>RHT03</h2>\n\n<ul>\n<li>description:The RHT03 (also known by DHT-22) is a low cost humidity and temperature sensor with a single wire digital interface. The sensor is calibrated and doesn't require extra components so you can get right to measuring relative humidity and temperature.</li>\n<li>quantity:1</li>\n<li>price:$9.95</li>\n<li>link:<a href=\"https://www.sparkfun.com/products/10167\">https://www.sparkfun.com/products/10167</a></li>\n</ul>\n\n<h2>Breadboard</h2>\n\n<ul>\n<li>description:A breadboard (or protoboard) is usually a construction base for prototyping of electronics. The term \"breadboard\" is commonly used to refer to a solderless breadboard (plugboard).</li>\n<li>quantity:1</li>\n<li>price:$5.00</li>\n<li>link:<a href=\"http://www.adafruit.com/index.php?main_page=popup_image&amp;pID=64\">http://www.adafruit.com/index.php?main_page=popup_image&amp;pID=64</a></li>\n</ul>\n\n<h2>MQ-7</h2>\n\n<ul>\n<li>description:This is a simple-to-use Carbon Monoxide (CO) sensor, suitable for sensing CO concentrations in the air. The MQ-7 can detect CO-gas concentrations anywhere from 20 to 2000ppm.</li>\n<li>quantity:1</li>\n<li>price:$7.25</li>\n<li>link:<a href=\"https://www.sparkfun.com/products/9403\">https://www.sparkfun.com/products/9403</a></li>\n</ul>\n\n<h2>relay</h2>\n\n<ul>\n<li>description:Relay Coil Voltage=5V , max current 1A</li>\n<li>quantity:1</li>\n<li>price:$0.530</li>\n<li>link:&amp;imgdii=&amp;imgrc=1FtYRL8T_HvOdM%253A%3BdE7z2_GLDcN63M%3Bhttp%253A%252F%252Fwww.egyptuino.com%252Fstore%252Fimages%252Fdetailed%252F1%252Fsignal_diode.jpg%3Bhttp%253A%252F%252Fwww.egyptuino.com%252Fstore%252Findex.php%253Fdispatch%253Dproducts.view%2526product_id%253D295%3B640%3B640\">https://www.goohttps://www.google.com.eg/search?q=diode+(1N4148)&amp;tbm=isch&amp;source=iu&amp;imgil=1FtYRL8T_HvOdM%253A%253Bhttps%253A%252F%252Fencrypted-tbn0.gstatic.com%252Fimages%253Fq%253Dtbn%253AANd9GcSwXQQkC8QyrjIucM9HVexR4BJt73-dzeRt_ZG3qxQahqnVJHiSvQ%253B640%253B640%253BdE7z2_GLDcN63M%253Bhttp%25253A%25252F%25252Fwww.egyptuino.com%25252Fstore%25252Findex.php%25253Fdispatch%2525253Dproducts.view%25252526product_id%2525253D295&amp;sa=X&amp;ei=7rzkUo7-MKiP7AbPq4CgCg&amp;ved=0CEEQ9QEwAQ&amp;biw=1301&amp;bih=609#facrc=<em>&amp;imgdii=</em>&amp;imgrc=1FtYRL8T_HvOdM%253A%3BdE7z2_GLDcN63M%3Bhttp%253A%252F%252Fwww.egyptuino.com%252Fstore%252Fimages%252Fdetailed%252F1%252Fsignal_diode.jpg%3Bhttp%253A%252F%252Fwww.egyptuino.com%252Fstore%252Findex.php%253Fdispatch%253Dproducts.view%2526product_id%253D295%3B640%3B640</li>\n</ul>\n\n<h2>Diode</h2>\n\n<ul>\n<li>description:1N4148</li>\n<li>quantity:5</li>\n<li>price:undefined</li>\n<li>link:<a href=\"http://www.egyptuino.com/store/index.php?dispatch=products.view&amp;product_id=295\">http://www.egyptuino.com/store/index.php?dispatch=products.view&amp;product_id=295</a></li>\n</ul>\n\n<h2>10k resistance</h2>\n\n<ul>\n<li>description:</li>\n<li>quantity:2</li>\n<li>price:undefined</li>\n<li>link:<a href=\"https://hackpad.com/AIR-QUALITY-TESTING-UNIT-0Re2oWBULhM\">https://hackpad.com/AIR-QUALITY-TESTING-UNIT-0Re2oWBULhM</a></li>\n</ul>\n\n<h2>16*2 lcd</h2>\n\n<ul>\n<li>description:undefined</li>\n<li>quantity:1</li>\n<li>price:undefined</li>\n<li>link:undefined</li>\n</ul>\n\n<h1>Steps</h1>\n\n<h2>1-ARDUINO + RHT03</h2>\n\n<p>{{1}}</p>\n\n<p>notes: Connect the RHT03(DHT22) sensor to the breadboard.\nMake sure that you connected the yellow jumper wire to \"pin 2\" in Arduino from one side and on the second row for the sensor (from the left side) in the readboard.</p>\n\n<h2>If everything went right, you will find your connection similar to the following:</h2>\n\n<p>{{2}}</p>\n\n<p>notes: -You can use a resistor of 10K ohm as pull up resistor .\n-Notice: the resistance has to exceed 4.7K.\n-Reference Link: \n<a href=\"http://garagelab.com/profiles/blogs/tutorial-humidity-and-temperature-sensor-with-arduino\">http://garagelab.com/profiles/blogs/tutorial-humidity-and-temperature-sensor-with-arduino</a></p>\n\n<h2>1-(a) SOFTWARE SETUP: 1)Download the Arduino libraries from the following link:<a href=\"https://github.com/markruys/arduino-DHT\">https://github.com/markruys/arduino-DHT</a></h2>\n\n<p>{{3}}</p>\n\n<p>notes: Notice: This link includes libraries that are generic for DHT sensors (i.e DHT11 and DHT11 and DHT22)</p>\n\n<h2>1- (a) 2) Unzip the folder into anywhere</h2>\n\n<p>{{4}}</p>\n\n<p>notes: -Make a new folder called \"arduino_DHT\" in the following destination:C:\\User\\yourUSER\\Documents\\Arduino\\libraries</p>\n\n<h2>1- (a) 3) Copy the content of the downloaded folder (i.e. after unzipping) to the new folder \"arduino_DHT\"</h2>\n\n<p>{{5}}</p>\n\n<p>notes: undefined</p>\n\n<h2>1- (a) 4) Open the file \"DHT.h\" in a notepad.</h2>\n\n<p>{{6}}</p>\n\n<p>notes: -Replace \"Wprogram.h\" with \"Arduino.h\" and save the file</p>\n\n<h2>1- (a) 5) Then, open Arduino program to load the code file from:C:\\User\\yourUSER\\Documents\\Arduino\\libraries\\arduino_DHT\\examples\\DHT_Test</h2>\n\n<p>{{7}}</p>\n\n<p>notes: -Verify the code by clicking on the following button \"Verify\" in the last image.Now, your code is compiled and ready.</p>\n\n<h2>1- (a) 6)Connect the Arduino with your laptop through the USB cable.</h2>\n\n<p>{{8}}</p>\n\n<p>notes: -You have to \"upload\" the code into the Arduino by clicking the \"Upload\" button, and wait till a message appear saying \"Upload completed\" i.e. This means that your code have been successfully uploaded into the Arduino Chip.</p>\n\n<h2>1- (a) 7)To monitor the data out of the sensor, click on \"Serial Monitor\" on the top right of theArduino window.</h2>\n\n<p>{{9}}</p>\n\n<p>notes: If everything went right, you will see the the following results:</p>\n\n<h2>1- (a) 8) Output</h2>\n\n<p>{{10}}</p>\n\n<p>notes: These data are based on the local temperature and humidity. So, make sure to verify your results by checking the local temperature and humidity at your place.\nReference Link: <a href=\"http://playground.arduino.cc/Main/DHT11Lib\">http://playground.arduino.cc/Main/DHT11Lib</a></p>\n\n<h2>2- Carbon Monoxide sensor [MQ-7]</h2>\n\n<p>{{11}}</p>\n\n<p>notes: Carbon monoxide is a product of incomplete combustion of organic matter due to insufficient oxygen supply to enable complete oxidation to carbon dioxide (CO2). It is often produced in domestic or industrial settings by older motor vehicles and other gasoline-powered tools, heaters, and cooking equipment. Exposures at 100 ppm or greater can be dangerous to human health.</p>\n\n<p>Reference : <a href=\"http://en.wikipedia.org/wiki/Carbon_monoxide_poisoning\">http://en.wikipedia.org/wiki/Carbon_monoxide_poisoning</a> <a href=\"http://thesis.jmsaavedra.com/prototypes/software/mq-7-breakout-arduino-library/\">http://thesis.jmsaavedra.com/prototypes/software/mq-7-breakout-arduino-library/</a></p>\n\n<h2>2- schematic of sensor board</h2>\n\n<p>{{12}}</p>\n\n<p>notes: Note: we can remove the transistor (2N3904) because this relay can work easily with 5v and current from Arduino board (we have removed it in our circuit) this depend on the type of the relay.</p>\n\n<p>References : <a href=\"http://thesis.jmsaavedra.com/prototypes/technology/mq-7-carbon-monoxide-sensor-breakout/\">http://thesis.jmsaavedra.com/prototypes/technology/mq-7-carbon-monoxide-sensor-breakout/</a></p>\n\n<h2>2- schematic in Fritizing:</h2>\n\n<p>{{13}}</p>\n\n<p>notes: Note: R1=330R R2=10K Relay Coil Voltage=5V</p>\n\n<h2>2- Bread Board By Fritizing</h2>\n\n<p>{{14}}</p>\n\n<p>notes: undefined</p>\n\n<h2>2- (a) Software Setup:</h2>\n\n<p>{{15}}</p>\n\n<p>notes: undefined</p>\n\n<h2>2- (a) 1) Download MQ-7 library from here: <a href=\"https://github.com/jmsaavedra/Air-Quality-Egg/tree/master/libraries/CS_MQ7\">https://github.com/jmsaavedra/Air-Quality-Egg/tree/master/libraries/CS_MQ7</a></h2>\n\n<p>{{16}}</p>\n\n<p>notes: undefined</p>\n\n<h2>2- (a) 2) Copy and Paste the downloaded library file in the libraries folder in the pass of the program</h2>\n\n<p>{{17}}</p>\n\n<p>notes: if you use :</p>\n\n<p>--linux : it will be at /home /your account name/sketchbook/libraries\n ---windows :it will be at the file of Arduino because it's Portable you can find it libraries file .</p>\n\n<h2>2- (a) 3) Open the example file using Arduino >>>>go to file-->examples-->Cs_MQ7</h2>\n\n<p>{{18}}</p>\n\n<p>notes: undefined</p>\n\n<h2>2- (a) 4) expected output: a.This is the first output at heating period:</h2>\n\n<p>{{19}}</p>\n\n<p>notes: undefined</p>\n\n<h2>2- (a) 4) expected output: b. This is the second output at sensing period:</h2>\n\n<p>{{20}}</p>\n\n<p>notes: undefined</p>\n\n<h2>3-INTEGRATION PHASE:</h2>\n\n<p>{{21}}</p>\n\n<p>notes: We will combin both of the modules on the same program</p>\n\n<h2>3- (a)1) Code: Download it from the following link and copy it into the library folder <a href=\"https://drive.google.com/file/d/0B2uQ5MUyXb6mNnJUZ1FEWU5ERXc/edit?usp=sharing\">https://drive.google.com/file/d/0B2uQ5MUyXb6mNnJUZ1FEWU5ERXc/edit?usp=sharing</a></h2>\n\n<p>{{22}}</p>\n\n<p>notes: Note: make sure that you put the new project which will contain this code on the library file to be shown on Examples tab under file tab in the Arduino IDE. .</p>\n\n<h2>3- (a) 2) Output: a. During heating period</h2>\n\n<p>{{23}}</p>\n\n<p>notes: undefined</p>\n\n<h2>3- (a) 2) Output: b. After heating period (the co sensor is ready now for sensing)</h2>\n\n<p>{{24}}</p>\n\n<p>notes: undefined</p>\n\n<h1>Notes</h1>","ownedByMe":"true","notes":""}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment