SparkFun Electronics will be closed in observance of memorial day on Monday, May 29th. We will resume normal business hours on Tuesday, May 30th. Any orders placed after 2pm Mountain Time on Friday, May 26th will process and ship out on Tuesday, May 30th.

Member #354946

Member Since: August 23, 2012

Country: United States

  • Doesn’t work for me.. I’ve even tried 1 second and it won’t work. Any ideas?

    Relevant code: int interval=10, delayer=1000, timer; […] if (millis() > timer + interval) { // reset digitalWrite(SWITCH_PIN, LOW); delay(delayer); timer = millis(); digitalWrite(SWITCH_PIN, HIGH); } where SWITCH_PIN goes to the VDD leg. I bring one side of the magnet close, it goes to 1, I pull it away and wait, it usually doesn’t drop to 0. Code is naïve on purpose.

  • Do you have to blow on it or does it also provide decent reading in plain air? How far does the sensor need to be to get any level of reading if the person isn’t blowing on it?

    I can’t fully protect my circuit from humidity and the chip needs to be close to everything else so the blowing would mess the circuit up. Plus, I don’t need a high resolution output, just to differ between “Didn’t drink anything / had a little to drink / smashed”.

No public wish lists :(