Alcohol Detection System With Alcohol Sensor
This Project Demonstrate How to make a DIY Alcohol Detector with a MQ3 Alcohol sensor and Arduino Nano Board..
The Circuit Detect Alcohol and Turn on buzzer and Led as Alert system.
Application Of this Project is Detect drunken driver and Disable him to drive car or vehicle for protect From Road accident .
Components:
1. MQ3 Alcohol sensor
2. Arduino Nano
3. Buzzer
4. Red LED
5 Some Wires
Alter finish connection of circuit , Plugin usb from arduino to pc for upload program ,.. the code in below
Just Copy and Pest the code to arduino software.
Download Arduino software : https://www.arduino.cc/download.php?f=/arduino-nightly-windows.zip
Program for Arduino :
const int MQ3=0;
const int Buzzer=8;
const int LED=9;
int value;
void setup() {
Serial.begin(9600);
pinMode(MQ3, INPUT);
pinMode(Buzzer, OUTPUT);
pinMode(LED, OUTPUT);
digitalWrite(Buzzer,LOW);
digitalWrite(LED,LOW);
}
void loop()
{
value= analogRead(MQ3);
Serial.println(value);
if(value>550)
{
digitalWrite(Buzzer,HIGH);
digitalWrite(LED,HIGH);
}else{
digitalWrite(Buzzer,LOW);
digitalWrite(LED,LOW);
}
delay (500);
}
Open Code With Arduino software
If any Question Please Comment Me On Comment BOX.. Tnx
Watch Full Tutorial On YouTube : https://www.youtube.com/watch?v=gqZ9bZcFssk
Other Videos:
How to make a fire Alarm sensor (simple circuit) : https://www.youtube.com/watch?v=qsdpNrtmPis
How to make LDR Dark Sensor Circuit ( Simple DIY ): https://www.youtube.com/watch?v=laY6CtZShX8
The Circuit Detect Alcohol and Turn on buzzer and Led as Alert system.
Application Of this Project is Detect drunken driver and Disable him to drive car or vehicle for protect From Road accident .
Components:
1. MQ3 Alcohol sensor
2. Arduino Nano
3. Buzzer
4. Red LED
5 Some Wires
Alter finish connection of circuit , Plugin usb from arduino to pc for upload program ,.. the code in below
Just Copy and Pest the code to arduino software.
Download Arduino software : https://www.arduino.cc/download.php?f=/arduino-nightly-windows.zip
Program for Arduino :
const int MQ3=0;
const int Buzzer=8;
const int LED=9;
int value;
void setup() {
Serial.begin(9600);
pinMode(MQ3, INPUT);
pinMode(Buzzer, OUTPUT);
pinMode(LED, OUTPUT);
digitalWrite(Buzzer,LOW);
digitalWrite(LED,LOW);
}
void loop()
{
value= analogRead(MQ3);
Serial.println(value);
if(value>550)
{
digitalWrite(Buzzer,HIGH);
digitalWrite(LED,HIGH);
}else{
digitalWrite(Buzzer,LOW);
digitalWrite(LED,LOW);
}
delay (500);
}
Open Code With Arduino software
If any Question Please Comment Me On Comment BOX.. Tnx
Watch Full Tutorial On YouTube : https://www.youtube.com/watch?v=gqZ9bZcFssk
Other Videos:
How to make a fire Alarm sensor (simple circuit) : https://www.youtube.com/watch?v=qsdpNrtmPis
How to make LDR Dark Sensor Circuit ( Simple DIY ): https://www.youtube.com/watch?v=laY6CtZShX8
Comments
Post a Comment