In this project we have designed alcohol level meter using arduino mq 135 alcohol gas sensor for measuring the level of alcohol in humans breathe.
Alcohol sensor arduino code.
In this tutorial we will learn how to detect smoke and inflammable gases using an mq 2 sensor.
Paste this arduino code into the arduino ide and upload it to the arduino uno or compatible board.
And the led is an output will serves an indicator if the sensor has detected alcohol.
In this project i am going to interface an alcohol sensor with arduino.
This is because the sensor is an input to the arduino for the arduino to read and process the sensor value.
The alcohol gas sensor we used is the mq 135 sensor.
The next block of code reads the sensor pin aout and stores the value in the integer value.
Simply we have interfaced mq 135 gas sensor module with arduino and 16 2 lcd module for display.
Select file new.
Here simple arduino alcohol sensor code is written to interface mq 3 gas sensor alcohol with arduino board in this case we used arduino uno board.
If the grove lcd rgb backlight option is available in the examples folder then you are good to go.
Make sure the alcohol sensor is not connected to the arduino while uploading your code to the.