Site Navigation

Your Account

Choose Language

Introduction

Today you will find an Alcohol Sensor. This sensor will test the presence of alcohol in the air. If you're under the age of 18, you will need to enlist Mum or Dad to help with "acquiring the data".

Tools

No tools required.

Parts

Connect the 5V line from the Arduino to the Module.
  • Connect the 5V line from the Arduino to the Module.

Add Comment

Connect the Ground line from the Arduino to the Module.
  • Connect the Ground line from the Arduino to the Module.

Add Comment

Connect Analogue 0 to the Module.
  • Connect Analogue 0 to the Module.

Add Comment

  • Grab this code and upload it in the Arduino IDE

  • Open the serial monitor

  • Now grab a beer! ....or better a whisky!

  • When you breathe alcohol over this sensor, you should get a spike in the reading.

Add Comment

  • In the Arduino IDE go Tools → Serial Plotter.

Add Comment

  • Here we have used the Serial Plotter to view the results as a graph.

Add Comment

Now you can set up an alcohol sensor for Santa after his ice-cold beer (so he is not over the limit sleigh driving)!
  • Now you can set up an alcohol sensor for Santa after his ice-cold beer (so he is not over the limit sleigh driving)!

Add Comment

Conclusion

After today you should be able take the reading from an alcohol sensor and see who is having the most fun this Xmas day.

7 other people completed this guide.

Madeleine Schappi

Member since: 09/27/2017

4,857 Reputation

57 Guides authored

Team

Advent Edit Member of Advent Edit

Community

3 Members

57 Guides authored

2 Comments

Hi Just wondering what I do when I receive this

Arduino: 1.8.5 (Mac OS X), Board: "Arduino/Genuino Uno"

Sketch uses 2142 bytes (6%) of program storage space. Maximum is 32256 bytes.

Global variables use 200 bytes (9%) of dynamic memory, leaving 1848 bytes for local variables. Maximum is 2048 bytes.

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00

etc

ZoeM - Reply

I am getting this: a long series of backward question marks.

john Zuill - Reply

Add Comment

View Statistics:

Past 24 Hours: 0

Past 7 Days: 0

Past 30 Days: 4

All Time: 161