Wa0003.
Wa0003.
Communication Technology, Vol 3, Issue 1, January- 2014 ISSN (Print) 2320- 5156
Abstract This system provides a unique method automatically switches off the car which will stop the
to curb drunken people. The system has an drink driving offenders. Thus we can reduce alcohol
alcohol sensor embedded on the steering of the related road accidents and hence these kinds of
car. Whenever the driver starts ignition, the detectors have a great relevance. It can also be used
sensor measures the content of the alcohol in his in schools, colleges, offices and some public places
breath and automatically switches off the car if he such as hospitals, libraries etc.
is drunken. In this system the sensor delivers a
current with a linear relationship to the alcohol
molecules from zero to very high concentration.
The output of the sensor is fed to the pic- II. BLOCK DIAGRAM
microcontroller for comparison. If the measured
value reaches the threshold, relay cut off
automatically and the buzzer produces sound. ALCOHOL
MICROCONTROLLER
SENSOR
(PIC 16F877A)
Keywords PIC16F877A, CMOS, MQ-3 gas
sensor
RELAY
I. INTRODUCTION
www.ijrcct.org Page 59
International Journal of Research in Computer and ISSN (Online) 2278- 5841
Communication Technology, Vol 3, Issue 1, January- 2014 ISSN (Print) 2320- 5156
Fig. 2 shows the schematic diagramof the gas sensors. It costs $6.90. Typically, it is used as
proposedalcohol detection system. The details of part of the breathalyzers or breath testers for the
each part will be described in the following sections. detection of ethanol in human breath.
IV.SCHEMATIC DESCRIPTION
A.Gas Sensor
www.ijrcct.org Page 60
International Journal of Research in Computer and ISSN (Online) 2278- 5841
Communication Technology, Vol 3, Issue 1, January- 2014 ISSN (Print) 2320- 5156
Fig.3 MQ-3 Gas Sensor controller has 14 Pins and LCDs with 2 controller
has 16 Pins (two pins are extra in both for back-
Basically it has 6 pins, the cover and the light LED connections).
body. Even though it has 6 pins, we can use only 4 of
them. 2 of them are for heating system and other 2 Above is the quite simple schematic. It
are for connecting power and ground. A little tube is consists of 16 pins (8 data lines, 3 control lines, 2
placed inside the sensor. This tube is a heating power lines, 1 contrast line and 2 pins for back light
system that is made of aluminium oxide and tin LED connection). Data line and control line are
dioxide and inside of it there are heater coils, which connected to the microcontroller. The LCD panel's
practically produce the heat. Two pins are connected Enable and Register Select is connected to the
to the heater coils and others are connected to the Control Port. The Control Port is an open collector /
tube. open drain output. When connecting LCD module
to a parallel I/O device, the burden of ensuring
The core system is the cube. Basically, it is proper operation falls on the software. While most
an Alumina tube cover by SnO2, which is tin dioxide. Parallel Ports have internal pull-upresistors, there is
And between them there is an Aurum electrode. a few which don't. Therefore by incorporating the
Basically, the alumina tube and the coils are the two 10K external pull up resistors, the circuit is
heating system. more portable for a wider range of computers, some
of which may have no internal pull up resistors.
If the coil is heated up, SnO2 ceramics will
become the semi - conductor, so there are more At the interface of LCD module, there are
movable electrons, which means that it is ready to three power supply terminals- Vdd, GND, Vo. The
make more current flow. Then, when the alcohol LCD is driven by a voltage which is determined by
molecules in the air meet the electrode that is Vdd-Vo.
between alumina and tin dioxide, ethanol burns into
acetic acid then more current is produced. So the The data bus lines are DB7-DB0.When the
more alcohol molecules there are the more current we enable signal is at the low level, this data bus
will get. Because of this current change, we get the terminals will remain in a high impedance state.
different values from the sensor. When the data bus is open it produces a high output
voltage. When the busy flag is at a high level, it
indicates that the controller is in the internal
operation mode and the next instruction will not be
B.Display Unit accepted. The next instruction must be written after
the busy flag goes low. The delay should be
suitable for most machines. If the LCD panel is not
initializing properly, you can try increasing the
delays.
www.ijrcct.org Page 61
International Journal of Research in Computer and ISSN (Online) 2278- 5841
Communication Technology, Vol 3, Issue 1, January- 2014 ISSN (Print) 2320- 5156
C. Relay
D. Microcontroller
www.ijrcct.org Page 62
International Journal of Research in Computer and ISSN (Online) 2278- 5841
Communication Technology, Vol 3, Issue 1, January- 2014 ISSN (Print) 2320- 5156
The circuit diagram of the power supply unit is V. RESULTS AND DISCUSSIONS
shown above.It mainly consists of a voltage regulator
(here it is 7805). The voltage regulator plays an The circuit has an alcohol sensor. This sensor
important role in a power supply unit. Output of the measures the content of alcohol from the breath of
power supply unit is always dc which is given to the drunken people. The sensor delivers a current with
controller. linear relationship to the alcohol molecules from zero
to very high concentrations. Output of the sensor is
The primary purpose of the regulator is to directly proportional to the alcohol content. When the
aid the rectifier and filter circuit in providing a alcohol molecules in the air meet the electrode that is
constant dc voltage to the device. Power supplies between alumina and tin dioxide in the sensor,
without regulators have an inherent problem of ethanol burns into acetic acid then more current is
changing of dc voltage values due to variations in the produced. So the more alcohol molecules more will
load or due to fluctuations in the input voltage. With be the current produced. Because of this current
regulator connected to the dc output, the voltage can change, we get the different values from the sensor.
be maintained with a close tolerant region of desired Output of the sensor is then fed to the microcontroller
output. for comparison.
www.ijrcct.org Page 63
International Journal of Research in Computer and ISSN (Online) 2278- 5841
Communication Technology, Vol 3, Issue 1, January- 2014 ISSN (Print) 2320- 5156
VI. CONCLUSION
REFERENCES
[3] www.alldatasheets.com
www.ijrcct.org Page 64