Skip to content

Instantly share code, notes, and snippets.

@mrvolta
Forked from ahmedabdulaziz/makehub
Created January 27, 2014 02:25
Show Gist options
  • Save mrvolta/8642431 to your computer and use it in GitHub Desktop.
Save mrvolta/8642431 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:
* 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
## undefined
* description:undefined
* quantity:undefined
* price:undefined
* link:undefined
# Steps
## AIR HUMIDITY AND TEMPERATURE Sensor Interface
media:
notes: SETUP:
1. Put the RHT03(DHT22) sensor to the breadboard
2. Prepare the wiring connection as follows.
## ARDUINO + RHT03
media: http://s28.postimg.org/hbc51ksf1/hackpad_com_0_Re2o_WBULh_M_p_107637_1390227262595_A.jpg
notes: 3. 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 breadboard
5. If everything went right, you will find your connection similar to the following:
## undefined
media: http://s22.postimg.org/llqy7ofbl/hackpad_com_0_Re2o_WBULh_M_p_107637_1390229476848_c.jpg
notes: 4. You can use a resistor of 10K ohm as pull up resistor
Notice: the resistance has to exceed 4.7K ohm
Reference Link: http://garagelab.com/profiles/blogs/tutorial-humidity-and-temperature-sensor-with-arduino
## SOFTWARE SETUP:
media: undefined
notes: 1-Download the Arduino libraries from the following link:
https://github.com/markruys/arduino-DHT
Notice: This link includes libraries that are generic for DHT sensors (i.e DHT11 and
9DHT11 and DHT22)
2. Unzip the folder into anywhere.
3. Make a new folder called "arduino_DHT" in the following destination:
C:\User\yourUSER\Documents\Arduino\libraries
4. Copy the content of the downloaded folder (i.e. after unzipping) to the new folder
"arduino_DHT"
5. Open the file "DHT.h" in a notepad
6. Replace "Wprogram.h" with "Arduino.h" and save the file
7. Then, open Arduino program to load the code file from:
C:\User\yourUSER\Documents\Arduino\libraries\arduino_DHT\examples\DHT_Test
8. Verify the code by clicking on the following button "Verify" :
## undefined
media: http://s16.postimg.org/88ixzzoz9/hackpad_com_0_Re2o_WBULh_M_p_107637_1390225111150_c.png
notes: 9. Now, your code is compiled and ready. Connect the Arduino with your laptop through the
USB cable
10. 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.
11. To monitor the data out of the sensor, click on "Serial Monitor" on the top right of the
Arduino window.
12. If everything went right, you will see the the following results:
##
media: http://s29.postimg.org/fc7zgszxj/hackpad_com_0_Re2o_WBULh_M_p_107637_1390224811228_T.png
notes: Notice: 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
## Carbon Monoxide sensor [MQ-7]
media: undefined
notes: Description of the Carbon monoxide:
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/
## HARDWARE SETUP:
media: undefined
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/
## schematic in Fritizing
media: undefined
notes: Note: R1=330R R2=10K Relay Coil Voltage=5V
## Bread Board By Fritizing
media: undefined
notes: undefined
## Software Setup:
media: undefined
notes: 1.Download MQ-7 library from here:
https://github.com/jmsaavedra/Air-Quality-Egg/tree/master/libraries/CS_MQ7.
2.copy and paste the downloaded library file in the libraries folder in the pass of the program 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 at
libraries file .
3.open the example file using Arduino >>>>go to file-->examples-->Cs_MQ7
4.run the project.
## expected output:
media: undefined
notes: undefined
## a.This is the first output at heating period:
media: undefined
notes: undefined
## b. This is the second output at sensing period:
media: undefined
notes: undefined
## INTEGRATION PHASE:
media: undefined
notes: 1.we now have combined both of modules on the same program
Note: make sure that you put the new project which will contain this code on the library file to be shown on example tab under file tab on arduino program
2. Library code: download it from the following link and copy it into the library folder
https://drive.google.com/file/d/0B2uQ5MUyXb6mNnJUZ1FEWU5ERXc/edit?usp=sharing
## a.during heating period
media: undefined
notes: undefined
## b.after heating period (the co sensor is ready now for sensing)
media: undefined
notes: undefined
# Notes
{"id":"8630094","user":"ahmedabdulaziz","description":"AIR QUALITY TESTING UNIT","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":[{"description":"AIR HUMIDITY AND TEMPERATURE Sensor Interface","media":"","$$hashKey":"008","notes":"SETUP:\n1. Put the RHT03(DHT22) sensor to the breadboard\n\n2. Prepare the wiring connection as follows."},{"$$hashKey":"01R","description":"ARDUINO + RHT03","media":"http://s28.postimg.org/hbc51ksf1/hackpad_com_0_Re2o_WBULh_M_p_107637_1390227262595_A.jpg","notes":"3. Make sure that you connected the yellow jumper wire to \"pin 2\" in Arduino from one side \n and on the second row for the sensor (from the left side) in the breadboard\n5. If everything went right, you will find your connection similar to the following:"},{"$$hashKey":"024","media":"http://s22.postimg.org/llqy7ofbl/hackpad_com_0_Re2o_WBULh_M_p_107637_1390229476848_c.jpg","notes":"4. You can use a resistor of 10K ohm as pull up resistor \n Notice: the resistance has to exceed 4.7K ohm\nReference Link: http://garagelab.com/profiles/blogs/tutorial-humidity-and-temperature-sensor-with-arduino"},{"$$hashKey":"027","description":"SOFTWARE SETUP:","notes":"1-Download the Arduino libraries from the following link:\nhttps://github.com/markruys/arduino-DHT\nNotice: This link includes libraries that are generic for DHT sensors (i.e DHT11 and \n 9DHT11 and DHT22) \n2. Unzip the folder into anywhere.\n3. Make a new folder called \"arduino_DHT\" in the following destination:\nC:\\User\\yourUSER\\Documents\\Arduino\\libraries\n4. Copy the content of the downloaded folder (i.e. after unzipping) to the new folder\n \"arduino_DHT\" \n5. Open the file \"DHT.h\" in a notepad \n6. Replace \"Wprogram.h\" with \"Arduino.h\" and save the file\n7. Then, open Arduino program to load the code file from:\nC:\\User\\yourUSER\\Documents\\Arduino\\libraries\\arduino_DHT\\examples\\DHT_Test\n8. Verify the code by clicking on the following button \"Verify\" :"},{"$$hashKey":"02A","media":"http://s16.postimg.org/88ixzzoz9/hackpad_com_0_Re2o_WBULh_M_p_107637_1390225111150_c.png","notes":"9. Now, your code is compiled and ready. Connect the Arduino with your laptop through the \n USB cable\n10. You have to \"upload\" the code into the Arduino by clicking the \"Upload\" button, and wait till a message appear saying \"Upload completed\"\ni.e. This means that your code have been successfully uploaded into the Arduino Chip.\n11. To monitor the data out of the sensor, click on \"Serial Monitor\" on the top right of the \n Arduino window.\n12. If everything went right, you will see the the following results:"},{"$$hashKey":"02K","notes":"Notice: 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.\n\nReference Link: http://playground.arduino.cc/Main/DHT11Lib","description":"","media":"http://s29.postimg.org/fc7zgszxj/hackpad_com_0_Re2o_WBULh_M_p_107637_1390224811228_T.png"},{"$$hashKey":"02N","description":"Carbon Monoxide sensor [MQ-7]","notes":"Description of the Carbon monoxide:\n\n 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\n \n reference :\n http://en.wikipedia.org/wiki/Carbon_monoxide_poisoning\n http://thesis.jmsaavedra.com/prototypes/software/mq-7-breakout-arduino-library/"},{"$$hashKey":"02Q","description":"HARDWARE SETUP:","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\nReferences :\nhttp://thesis.jmsaavedra.com/prototypes/technology/mq-7-carbon-monoxide-sensor-breakout/"},{"$$hashKey":"02X","description":"schematic in Fritizing","notes":"Note: R1=330R R2=10K Relay Coil Voltage=5V"},{"$$hashKey":"030","description":"Bread Board By Fritizing"},{"$$hashKey":"033","description":"Software Setup:","notes":"1.Download MQ-7 library from here:\n https://github.com/jmsaavedra/Air-Quality-Egg/tree/master/libraries/CS_MQ7.\n2.copy and paste the downloaded library file in the libraries folder in the pass of the program if you use :\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 at \n libraries file .\n3.open the example file using Arduino >>>>go to file-->examples-->Cs_MQ7 \n4.run the project."},{"$$hashKey":"036","description":"expected output:"},{"$$hashKey":"039","description":"a.This is the first output at heating period:"},{"$$hashKey":"03C","description":"b. This is the second output at sensing period:"},{"$$hashKey":"03F","description":"INTEGRATION PHASE:","notes":"1.we now have combined both of modules on the same program\n Note: make sure that you put the new project which will contain this code on the library file to be shown on example tab under file tab on arduino program\n2. Library code: download it from the following link and copy it into the library folder\nhttps://drive.google.com/file/d/0B2uQ5MUyXb6mNnJUZ1FEWU5ERXc/edit?usp=sharing"},{"$$hashKey":"03I","description":"a.during heating period"},{"$$hashKey":"03L","description":"b.after heating period (the co sensor is ready now for sensing)"}],"materials":[{"item":"Arduino uno","description":"It's micro-controller based on Atmega328","quantity":"1","price":"","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"},{"$$hashKey":"00O"}],"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><img src='https://www.facebook.com/photo.php?fbid=626258354094217&set=pb.472148879505166.-2207520000.1390719012.&type=3&theater'></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:</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<h2>undefined</h2>\n\n<ul>\n<li>description:undefined</li>\n<li>quantity:undefined</li>\n<li>price:undefined</li>\n<li>link:undefined</li>\n</ul>\n\n<h1>Steps</h1>\n\n<h2>AIR HUMIDITY AND TEMPERATURE Sensor Interface</h2>\n\n<p><img src='https://hackpad.com/AIR-QUALITY-TESTING-UNIT-0Re2oWBULhM'></p>\n\n<p>notes: SETUP:\n1. Put the RHT03(DHT22) sensor to the breadboard</p>\n\n<ol>\n<li>Prepare the wiring connection as follows.</li>\n</ol>\n\n<h2>ARDUINO + RHT03</h2>\n\n<p>{{2}}</p>\n\n<p>notes: 3. Make sure that you connected the yellow jumper wire to \"pin 2\" in Arduino from one side \n and on the second row for the sensor (from the left side) in the breadboard\n5. If everything went right, you will find your connection similar to the following:</p>\n\n<ol>\n<li>You can use a resistor of 10K ohm as pull up resistor \nNotice: the resistance has to exceed 4.7K ohm</li>\n</ol>\n\n<h2>undefined</h2>\n\n<p>{{3}}</p>\n\n<p>notes: Reference Link: <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>SOFTWARE SETUP:</h2>\n\n<p>{{4}}</p>\n\n<p>notes: 1-Download the Arduino libraries from the following link:\n<a href=\"https://github.com/markruys/arduino-DHT\">https://github.com/markruys/arduino-DHT</a>\nNotice: This link includes libraries that are generic for DHT sensors (i.e DHT11 and <br>\n 9DHT11 and DHT22) \n2. Unzip the folder into anywhere.\n3. Make a new folder called \"arduino_DHT\" in the following destination:\nC:\\User\\yourUSER\\Documents\\Arduino\\libraries\n4. Copy the content of the downloaded folder (i.e. after unzipping) to the new folder\n \"arduino_DHT\" \n5. Open the file \"DHT.h\" in a notepad \n6. Replace \"Wprogram.h\" with \"Arduino.h\" and save the file\n7. Then, open Arduino program to load the code file from:\nC:\\User\\yourUSER\\Documents\\Arduino\\libraries\\arduino_DHT\\examples\\DHT_Test\n8. Verify the code by clicking on the following button \"Verify\" :</p>\n\n<h2>undefined</h2>\n\n<p>{{5}}</p>\n\n<p>notes: 9. Now, your code is compiled and ready. Connect the Arduino with your laptop through the \n USB cable\n10. You have to \"upload\" the code into the Arduino by clicking the \"Upload\" button, and wait till a message appear saying \"Upload completed\"\ni.e. This means that your code have been successfully uploaded into the Arduino Chip.\n11. To monitor the data out of the sensor, click on \"Serial Monitor\" on the top right of the <br>\n Arduino window.\n12. If everything went right, you will see the the following results</p>\n\n<h2>undefined</h2>\n\n<p>{{6}}</p>\n\n<p>notes: Notice: 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.</p>\n\n<p>Reference Link: <a href=\"http://playground.arduino.cc/Main/DHT11Lib\">http://playground.arduino.cc/Main/DHT11Lib</a></p>\n\n<h2>Carbon Monoxide sensor [MQ-7]</h2>\n\n<p>{{7}}</p>\n\n<p>notes: Description of the Carbon monoxide:</p>\n\n<p>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 :\n <a href=\"http://en.wikipedia.org/wiki/Carbon_monoxide_poisoning\">http://en.wikipedia.org/wiki/Carbon_monoxide_poisoning</a>\n <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>HARDWARE SETUP:</h2>\n\n<p>{{8}}</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 :\n<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>schematic in Fritizing</h2>\n\n<p>{{9}}</p>\n\n<p>notes: Note: R1=330R R2=10K Relay Coil Voltage=5V</p>\n\n<h2>Bread Board By Fritizing</h2>\n\n<p>{{10}}</p>\n\n<p>notes: undefined</p>\n\n<h2>Software Setup:</h2>\n\n<p>{{11}}</p>\n\n<p>notes: 1.Download MQ-7 library from here:\n <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>.\n2.copy and paste the downloaded library file in the libraries folder in the pass of the program if you use :\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 at <br>\n libraries file .\n3.open the example file using Arduino >>>>go to file-->examples-->Cs_MQ7 <br>\n4.run the project.</p>\n\n<h2>expected output:</h2>\n\n<p>{{12}}</p>\n\n<p>notes: undefined</p>\n\n<h2>a.This is the first output at heating period:</h2>\n\n<p>{{13}}</p>\n\n<p>notes: undefined</p>\n\n<h2>b. This is the second output at sensing period:</h2>\n\n<p>{{14}}</p>\n\n<p>notes: undefined</p>\n\n<h2>INTEGRATION PHASE:</h2>\n\n<p>{{15}}</p>\n\n<p>notes: 1.we now have combined both of modules on the same program\n Note: make sure that you put the new project which will contain this code on the library file to be shown on example tab under file tab on arduino program\n2. Library code: download it from the following link and copy it into the library folder\n<a href=\"https://drive.google.com/file/d/0B2uQ5MUyXb6mNnJUZ1FEWU5ERXc/edit?usp=sharing\">https://drive.google.com/file/d/0B2uQ5MUyXb6mNnJUZ1FEWU5ERXc/edit?usp=sharing</a></p>\n\n<h2>a.during heating period</h2>\n\n<p>{{16}}</p>\n\n<p>notes: undefined</p>\n\n<h2>b.after heating period (the co sensor is ready now for sensing)</h2>\n\n<p>{{17}}</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