How do you light an LED ASAP when breathing on a sensor?

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
bahootas
 
Posts: 5
Joined: Sat May 11, 2013 9:35 pm

How do you light an LED ASAP when breathing on a sensor?

Post by bahootas »

Trying to make an LED immediately (or as fast as possible) light up when breathing/exhaling a little hard onto a sensor, then have the LED immediately stop being lit when breathing on the sensor stops. Tried the DHT22 with an Arduino using Ada's example code for it, but the LED lights up only after a few seconds rather then lighting up immediately, then the sensor takes a few seconds to get back to its normal resting state. Is there a sensor or sketch (would a thermistor be better?) you can recommend with an immediate reaction time and an immediate resting state? Whew … Thanks!

User avatar
Franklin97355
 
Posts: 23938
Joined: Mon Apr 21, 2008 2:33 pm

Re: How do you light an LED ASAP when breathing on a sensor?

Post by Franklin97355 »

For a very simple sensor you could hang two parallel strips of thin (very flexible) foil in front of the air source. When air is flowing they'd end up pushed together, giving you (essentially) a switch closure you could read.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”