-
-
Save stefania11/9727716a5c8a8e325fa1 to your computer and use it in GitHub Desktop.
Breathalyzer using Alcohol Gas Sensor with Arduino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Title | |
Breathalyzer using Alcohol Gas Sensor with Arduino | |
# Picture | |
media: http://www.deviantsart.com/39rl9d8.jpg | |
# Objective | |
# Duration | |
1 hour | |
# Age Group | |
all | |
# Materials | |
## Arduino | |
* description:Edit me! | |
* quantity:1 | |
* price:30€ | |
* link: | |
## Breadboard | |
* description:undefined | |
* quantity:1 | |
* price:3 | |
* link:undefined | |
## Led | |
* description:undefined | |
* quantity:3 | |
* price:2 | |
* link:undefined | |
## Resistor | |
* description:undefined | |
* quantity:3 | |
* price:1 | |
* link:undefined | |
## Alcohol sensor | |
* description:MQ3 | |
* quantity:1 | |
* price:5 | |
* link:undefined | |
# Steps | |
## Let's get started with our first LED | |
media: http://www.deviantsart.com/1tsrb9r.jpg | |
notes: We will connect a first LED to our Arduino Board to pin 13 and use a 10K resistor between the pin and the long leg of the LED. | |
## Is our LED working? Sending first code to test that. | |
media: undefined | |
notes: Use this code to test it https://gist.github.com/VimKanzo/9677451 | |
## 1 LED down 3 to GO !!! | |
media: http://www.deviantsart.com/24nmv3r.jpg | |
notes: We will connect now 2 more LEDs to pins number 1 and 2. Don't forget the resistors;) | |
## Let's test our new LEDs | |
media: http://www.deviantsart.com/2jv7ptm.jpg | |
notes: Check your connection to the correct pins | |
## Now let's discover our Alcohol sensor | |
media: http://www.deviantsart.com/p0j03s.jpg | |
notes: We are using the MQ3 sensor. You can discover everything about here http://www.pololu.com/file/0J310/MQ3.pdf | |
## Our sensor has 6 legs, how do we connect them? | |
media: http://www.deviantsart.com/2pq94e5.jpg | |
notes: By placing the sensor with the sticker on the left side connect the middle pin left to ground (you can use the ground on the board or on the breadboard). Now let's look at the pins on the right side: middle one connects to power (5V), upper pin to ground and lower pin to A0. VERY IMPORTANT: don't forget to connect a 10k resistor between ground pin and ground connection to board. | |
## We're almost done, double check all your connections | |
media: http://www.deviantsart.com/3t7r4k5.jpg | |
notes: undefined | |
## And now let's code:) | |
media: undefined | |
notes: See the code here https://gist.github.com/VimKanzo/9677412 | |
## And much awaited final test | |
media: http://www.deviantsart.com/mv2vi2.jpg | |
notes: Try to get some alcohol, the stronger the better and place the sensor inside the bottle. Your LEDs should light up based on the different intensity of the alcohol. | |
## Find out how it works | |
media: http://www.deviantsart.com/g3igj5.png | |
notes: Read more about breathalyzers http://en.wikipedia.org/wiki/Breathalyzer | |
# Notes | |
If your sensor get's hot, don't worry, it will not explode. It is normal for the sensor to "burn" in order to be able to measure the ethanol. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"id":"9676975","user":"VimKanzo","description":"Breathalyzer using Alcohol Gas Sensor with Arduino","urls":["undefined","undefined"],"raw":"# Title \nBreathalyzer using Alcohol Gas Sensor with Arduino\n# Picture \nmedia: undefined\n# Objective\nundefined\n# Duration\nundefined\n# Age Group\nundefined\n# Materials\n## Edit me!\n* description:Edit me!\n* quantity:0\n* price:10€\n* link:\n\n# Steps\n## Description\nmedia: undefined\n\nnotes: undefined\n\n# Notes\nundefined\n","steps":[{"description":"Let's get started with our first LED","$$hashKey":"029","picture":"http://www.deviantsart.com/1tsrb9r.jpg","media":"http://www.deviantsart.com/1tsrb9r.jpg","notes":"We will connect a first LED to our Arduino Board to pin 13 and use a 10K resistor between the pin and the long leg of the LED."},{"$$hashKey":"00R","description":"Is our LED working? Sending first code to test that.","notes":"Use this code to test it https://gist.github.com/VimKanzo/9677451"},{"$$hashKey":"00V","description":"1 LED down 3 to GO !!!","picture":"http://www.deviantsart.com/24nmv3r.jpg","media":"http://www.deviantsart.com/24nmv3r.jpg","notes":"We will connect now 2 more LEDs to pins number 1 and 2. Don't forget the resistors;)"},{"$$hashKey":"00Z","description":"Let's test our new LEDs","picture":"http://www.deviantsart.com/2jv7ptm.jpg","media":"http://www.deviantsart.com/2jv7ptm.jpg","notes":"Check your connection to the correct pins"},{"$$hashKey":"013","description":"Now let's discover our Alcohol sensor","picture":"http://www.deviantsart.com/p0j03s.jpg","media":"http://www.deviantsart.com/p0j03s.jpg","notes":"We are using the MQ3 sensor. You can discover everything about here http://www.pololu.com/file/0J310/MQ3.pdf"},{"$$hashKey":"017","description":"Our sensor has 6 legs, how do we connect them?","picture":"http://www.deviantsart.com/2pq94e5.jpg","media":"http://www.deviantsart.com/2pq94e5.jpg","notes":"By placing the sensor with the sticker on the left side connect the middle pin left to ground (you can use the ground on the board or on the breadboard). Now let's look at the pins on the right side: middle one connects to power (5V), upper pin to ground and lower pin to A0. VERY IMPORTANT: don't forget to connect a 10k resistor between ground pin and ground connection to board."},{"$$hashKey":"01B","description":"We're almost done, double check all your connections","picture":"http://www.deviantsart.com/3t7r4k5.jpg","media":"http://www.deviantsart.com/3t7r4k5.jpg"},{"$$hashKey":"01F","description":"And now let's code:)","notes":"See the code here https://gist.github.com/VimKanzo/9677412"},{"$$hashKey":"01J","description":"And much awaited final test","picture":"http://www.deviantsart.com/mv2vi2.jpg","media":"http://www.deviantsart.com/mv2vi2.jpg","notes":"Try to get some alcohol, the stronger the better and place the sensor inside the bottle. Your LEDs should light up based on the different intensity of the alcohol."},{"$$hashKey":"019","description":"Find out how it works","picture":"http://www.deviantsart.com/g3igj5.png","media":"http://www.deviantsart.com/g3igj5.png","notes":"Read more about breathalyzers http://en.wikipedia.org/wiki/Breathalyzer"}],"materials":[{"item":"Arduino","description":"Edit me!","quantity":"1","price":"30€","link":"","$$hashKey":"027"},{"$$hashKey":"011","item":"Breadboard","quantity":"1","price":"3"},{"$$hashKey":"014","item":"Led","quantity":"3","price":"2"},{"$$hashKey":"017","item":"Resistor","quantity":"3","price":"1"},{"$$hashKey":"01A","item":"Alcohol sensor","description":"MQ3","quantity":"1","price":"5"}],"title":"Breathalyzer using Alcohol Gas Sensor with Arduino","content":"<h1>Title</h1>\n\n<p>Breathalyzer using Alcohol Gas Sensor with Arduino</p>\n\n<h1>Picture</h1>\n\n<p><img src='undefined'></p>\n\n<h1>Objective</h1>\n\n<h1>Duration</h1>\n\n<p>1 hour</p>\n\n<h1>Age Group</h1>\n\n<p>all</p>\n\n<h1>Materials</h1>\n\n<h2>Arduino</h2>\n\n<ul>\n<li>description:Edit me!</li>\n<li>quantity:1</li>\n<li>price:30€</li>\n<li>link:</li>\n</ul>\n\n<h2>Breadboard</h2>\n\n<ul>\n<li>description:undefined</li>\n<li>quantity:1</li>\n<li>price:3</li>\n<li>link:undefined</li>\n</ul>\n\n<h2>Led</h2>\n\n<ul>\n<li>description:undefined</li>\n<li>quantity:3</li>\n<li>price:2</li>\n<li>link:undefined</li>\n</ul>\n\n<h2>Resistor</h2>\n\n<ul>\n<li>description:undefined</li>\n<li>quantity:3</li>\n<li>price:1</li>\n<li>link:undefined</li>\n</ul>\n\n<h2>Alcohol sensor</h2>\n\n<ul>\n<li>description:MQ3</li>\n<li>quantity:1</li>\n<li>price:5</li>\n<li>link:undefined</li>\n</ul>\n\n<h1>Steps</h1>\n\n<h2>Let's get started with our first LED</h2>\n\n<p><img src='undefined'></p>\n\n<p>notes: We will connect a first LED to our Arduino Board to pin 13 and use a 10K resistor between the pin and the long leg of the LED.</p>\n\n<h2>Is our LED working? Sending first code to test that.</h2>\n\n<p>{{2}}</p>\n\n<p>notes: Use this code to test it <a href=\"https://gist.github.com/VimKanzo/9677451\">https://gist.github.com/VimKanzo/9677451</a></p>\n\n<h2>3 led</h2>\n\n<p>{{3}}</p>\n\n<p>notes: undefined</p>\n\n<h2>code and test</h2>\n\n<p>{{4}}</p>\n\n<p>notes: </p>\n\n<h2>sensor setup</h2>\n\n<p>{{5}}</p>\n\n<p>notes: undefined</p>\n\n<h2>sensor Terminal connections</h2>\n\n<p>{{6}}</p>\n\n<p>notes: undefined</p>\n\n<h2>sensor board connection</h2>\n\n<p>{{7}}</p>\n\n<p>notes: undefined</p>\n\n<h2>final code</h2>\n\n<p>{{8}}</p>\n\n<p>notes: See the code here <a href=\"https://gist.github.com/VimKanzo/9677412\">https://gist.github.com/VimKanzo/9677412</a></p>\n\n<h2>testttt</h2>\n\n<p>{{9}}</p>\n\n<p>notes: undefined</p>\n\n<h1>Notes</h1>\n\n<p>undefined</p>","ownedByMe":"true","objective":"","picture":"http://www.deviantsart.com/39rl9d8.jpg","media":"http://www.deviantsart.com/39rl9d8.jpg","duration":"1 hour","ageGroup":"all","notes":"If your sensor get's hot, don't worry, it will not explode. It is normal for the sensor to \"burn\" in order to be able to measure the ethanol."} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment