NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Project Help and Ideas » Breathalyzer
April 07, 2013 by scootergarrett ![]() |
I got a Alcohol Gas Sensor and got some results last night. It’s very easy to wire up and use. Here is the basic circuit and code.
Code:
This code just sends raw data to the computer so my C program can grab and plot it as discussed Serial interface with basic C program. The sensor apparently needs 48 hours of on time before it takes reliable measurements. But if you take a bottle of gin and blow across the top towards the sensor it defiantly responds. Takes a long time to settle back.
Future work includes extensive testing (don’t know how to calibrate without a real breathalyzer). Adding code so a max can be recorded (and reset) then displayed on the LCD so I don’t need my computer in the testing zone. Adding a buzzer that changes frequency with sensor response |
---|
Please log in to post a reply.
Did you know that NerdKits has been featured on Slashdot, Hack A Day, Hacked Gadgets, the MAKE blog, and other DIY-oriented websites? Learn more...
|