MIC Micropro
MIC Micropro
a) To create various types of report and get more knowledge about how to make report.
We have chosen this micro project to get knowledge about detect the amount of
alcohol.
1. The goal of preventing or reducing alcohol use among young adolescents by using
a multilevel, communitywide approach
****************
A
PROJECT REPORT
ON
“ALCOHOL DETECTION”
SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE AWARD
OF
DIPLOMA IN
COMPUTER ENGINEERING
SUBMITTED TO
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION, MUMBAI
SUBMITTED BY
CERTIFICATE
This is to vertify that the project report entitled “Alcohol detection” Was successfully
completed by Student of fourth semester Diploma in computer engineering.
Priyanka Pokharkar
Samrudhhi Shirole
Niraj Suryavanshi
In partial fulfillment of the requirements for the award of the Diploma in Computer
engineering and submitted to the Department of Computer of Samarth Polytechnic,
Belhe work carried out during a period for the academic year 2021-22 as per curriculum
.
This project is done as a fourth semester project, as a part course titled “alcohol detector”.
I am really thankful to our course the Principal Prof. Kapile A. S. and the HOD Prof. Kshirsagar S.B Samarth
Polytechnic, Belhe for his invaluable guidance and assistance, without which the accomplishment of the task
would have never been possible.
I also thank Prof. Kedar A.L. for giving this opportunity to explore into the real world and realize the
interrelation without which a Project can never progress. In our present project I have chosen the topic-
“alcohol detector”.
I also thankful to parents, friend and all staff of Computer engineering department, for providing us relevant
information and necessary clarifications, and great support.
Chapter1 Synonpsis 10
Chapter2 Abstract 11
Chapter3 Introduction 12
Chapter7 Conclusion 37
Chapter 9 Reference 39
CHAPTER 1
SYNOPSIS
ALCOHOL DETECTOR
None
The main aim of this embedded application is to detect the alcohol drunken
people. We are developing an embedded kit which will be placed in a vehicle. Now,
the vehicle will be under the control of the kit .If any drunken person enter in to the
vehicle it gives a buzzer sound immediately , and now the car will be under the
control of the hardware used.
It aims at designing and executing the vehicle controlling using RF. By using the
RF communication, whenever alcohol is detected using the alcohol detector, the micro
controller sends the information to the encoder and the encoder encodes the values and is
received by the RF Transmitter. RF Receiver receives the information from the RF
Transmitter and decoder decodes the serial input and sends the output to the micro
controller and according to the information received by the micro controller the robot
will move in that particular direction.
The robot movement is driven with the help of L293D as driver IC.
INTRODUCTION
Objective: The main aim of this embedded application is to design a alcohol detector using
RF Communication and AT89c51 Programmable controller.
RF Transmitter Module1:
RF
Rec e iver
BUZZER
Decoder
CHAPTER 4
Samarth Polytechnic, Belhe
DESCRIPTION OF THE PROJECT
The Keil C51 C Compiler for the 8051 microcontroller is the most popular
8051 C compiler in the world. It provides more features than any other 8051 C
compiler available today. The C51 Compiler allows you to write 8051 microcontroller
applications in C that, once compiled, have the efficiency and speed of assembly
language. Language extensions in the C51 Compiler give you full access to all
resources of the 8051.
The C51 Compiler translates C source files into reloadable object modules
which contain full symbolic information for debugging with the µVision Debugger
or an in-circuit emulator. In addition to the object file, the compiler generates a
listing file which may optionally include symbol table and cross reference
information.
The main aim of this embedded application is to detect the alcohol drunken
people. We are developing an embedded kit which will be placed in a vehicle. Now,
the vehicle will be under the control of the kit .If any drunken person enter in to the
vehicle it gives a buzzer sound immediately , and now the car will be under the
control of the hardware used.
It aims at designing and executing the vehicle controlling using RF. By using the
RF communication, whenever alcohol is detected using the alcohol detector, the micro
controller sends the information to the encoder and the encoder encodes the values and is
received by the RF Transmitter. RF Receiver receives the information from the RF
Transmitter and decoder decodes the serial input and sends the output to the micro
controller and according to the information received by the micro controller the robot
will move in that particular direction.
4.1 SCHEMATIC:
TRANSMITTER:
4.2 HT12E:
Features:
_ Operating voltage
Samarth Polytechnic, Belhe
_ 2.4V~5V for the HT12A
_ 2.4V~12V for the HT12E
_ Low power and high noise immunity CMOS technology
_ Low standby current: 0.1_A (typ.) at VDD=5V
_ HT12A with a 38kHz carrier for infrared transmission medium
_ Minimum transmission word
_ Four words for the HT12E
_ One word for the HT12A
_ Built-in oscillator needs only 5% resistor
_ Data code has positive polarity
_ Minimal external components
_ Pair with Holtek_s 212 series of decoders
_ 18-pin DIP, 20-pin SOP package
Applications
CHAPTER 5
The 212 encoders are a series of CMOS LSIs for remote control system
applications. They are capable of encoding information which consists of N address
bits and 12_N data bits. Each address/data input can be set to one of the two logic
states. The programmed addresses/ data are transmitted together with the header bits
via an RF or an infrared transmission medium upon receipt of a trigger signal. The
capability to select a TE trigger on the HT12E or a DATA trigger on the HT12A
further enhances the application flexibility of the 212 series of encoders. The HT12A
additionally provides a 38kHz carrier for infrared systems.
Selection Table:
5.2 HT12D:
Features
_ Operating voltage: 2.4V~12V
Applications:
_ Burglar alarm system
_ Smoke and fire alarm system
_ Garage door controllers
_ Car door controllers
_ Car alarm system
_ Security system
_ Cordless telephones
_ Other remote control systems
5.3 Description:
Selection Table
Block Diagram:
Samarth Polytechnic, Belhe
Samarth Polytechnic, Belhe
5.4 BLOCK DIAGRAM:
Intel’s 8051 while maintaining instruction set compatibility. Many instructions that
Samarth Polytechnic, Belhe
execute in 12 CPU clock cycles in an 8051, will execute in only 4 clocks for the
On the chip are three lock bits that can be left unprogrammed (U) or can
be programmed (P) to obtain the additional features listed in the table below. When
lock bit 1 is programmed, the logic level at the EA pin is sampled and latched during
reset. If the device is powered up without a reset, the latch initializes to a random
value, and holds that value until reset is activated. It is necessary that the latched
value of EA be in agreement with the current logic level at that pin in order for the
device to function properly.
RESET: When the reset pin is activated, the 8051 jumps to address location 0000.
This is the power-up reset.
Two interrupts are set aside for hardware external hardware interrupts. Pin numbers
12 (P3.2) and 13 (P3.3) in port34 are for the external hardware
interrupts INT0 and INT1, respectively. Memory locations 0003H and 0013H in the
interrupt vector table are assigned to INT0 and INT1, respectively.
Serial communication has a single interrupt that belongs to both receive and transfer.
The interrupt vector table location 0023H belongs to this interrupt.
Table 1: Interrupt Vector Table for the 8051
DC motors are configured in many types and sizes, including brush less,
servo, and gear motor types. A motor consists of a rotor and a permanent magnetic
field stator. The magnetic field is maintained using either permanent magnets or
electromagnetic windings.
DC motors are most commonly used in variable speed and torque.
Motion and controls cover a wide range of components that in some way are
used to generate and/or control motion. Areas within this category include bearings
and bushings, clutches and brakes, controls and drives, drive components, encoders
and resolves, Integrated motion control, limit switches,
linear actuators, linear and rotary motion components, linear position sensing,
motors (both AC and DC motors), orientation position sensing, pneumatics and
pneumatic components, positioning stages, slides and guides, power transmission
(mechanical), seals, slip rings, solenoids, springs.
Motors are the devices that provide the actual speed and torque in a drive
system. This family includes AC motor types (single and multiphase motors,
universal, servo motors, induction, synchronous, and gear motor) and DC motors
(brush less, servo motor, and gear motor) as well as linear, stepper and air motors,
and motor contactors and starters.
Let's start by looking at a simple 2-pole DC electric motor (here red represents a
magnet or winding with a "North" polarization, while green represents a magnet or
winding with a "South" polarization).
Every DC motor has six basic parts -- axle, rotor (a.k.a., armature), stator,
commutator, field magnet(s), and brushes. In most common DC motors (and all that
Beamers will see), the external magnetic field is produced by high-strength
permanent magnets1. The stator is the stationary part of the motor -- this includes the
motor casing, as well as two or more permanent magnet pole pieces. The rotor
(together with the axle and attached commutator) rotates with respect to the stator.
The rotor consists of windings (generally on a core), the windings being electrically
connected to the commutator. The above diagram shows a common motor layout --
with the rotor inside the stator (field) magnets.
The geometry of the brushes, commutator contacts, and rotor windings are
such that when power is applied, the polarities of the energized winding and the
stator magnet(s) are misaligned, and the rotor will rotate until it is almost
In real life, though, DC motors will always have more than two poles (three is a very
common number). In particular, this avoids "dead spots" in the commutator. You can
imagine how with our example two-pole motor, if the rotor is exactly at the middle
of its rotation (perfectly aligned with the field magnets), it will get "stuck" there.
Meanwhile, with a two-pole motor, there is a moment where the commutator shorts
out the power supply (i.e., both brushes touch both commutator contacts
simultaneously). This would be bad for the power supply, waste energy, and damage
motor components as well. Yet another disadvantage of such a simple motor is that it
would exhibit a high amount of torque” ripple" (the amount of torque it could
produce is cyclic with the position of the rotor).
When an enable input is high, the associated drivers are enabled and their
outputs are active and in phase with their inputs. When the enable input is low, those
drivers are disabled and their outputs are off and in the high-impedance state. With
the proper data inputs, each pair of drivers forms a full-H (or bridge) reversible drive
General Description:
The LM555 is a highly stable device for generating accurate time delays or
oscillation. Additional terminals are provided for triggering or resetting if desired. In
the time delay mode of operation, the time is precisely controlled by one external
resistor and capacitor. For astable operation as an oscillator, the free running
frequency and duty cycle are accurately controlled with two external resistors and
one capacitor. The circuit may be triggered and reset on falling waveforms, and the
output circuit can source or sink up to 200mA or drive TTL circuits.
Features
Applications
• Precision timing
• Pulse generation
• Sequential timing
• Time delay generation
5.11 Battery:
Features
• Output Current of 1.5A
• Output Voltage Tolerance of 5%
• Internal thermal overload protection
• Internal Short-Circuit Limited
• No External Component
• Output Voltage 5.0V, 6V, 8V, 9V, 10V,
12V, 15V, 18V, 24V
5.13 Description:
The Bay Linear LM78XX is integrated linear positive regulator with three
terminals. The LM78XX offer several fixed output voltages making them useful in
wide range of applications. When used as a zener diode/resistor combination
replacement, the LM78XX usually results in an effective output impedance
improvement of two orders of magnitude, lower quiescent current. The LM78XX is
available in the TO-252, TO-220 & TO-263 Packages
Applications:
• Post regulator for switching DC/DC converter
Bias supply for analog circuits
CHAPTER 6
Samarth Polytechnic, Belhe
SOFTWARE DISCRIPTION
CODE:
#include<reg51.h
> sbit alc =P3^0;
sbit motp=P1^1;
sbit motn=P1^0;
void main()
{
motp=1;motn=0;
if(alc==1)
motp=motn=0; for(i=0;i<65535;i++);motp=1;motn=0;
}//while }//main
CHAPTER 7
Secondly, using highly advanced IC’s and with the help of growing
technology the project has been successfully implemented.
CHAPTER 8
In this project the main in this application is to provide house cleaning robot
using RF. There is a huge scope for improvement in wireless communication
technology. One of the highly hyped advancement is in Wireless LANS. For
example the data can be transmitted between different LANS by using simple coding
technique and that too very efficiently.
CHAPTER 9
https://www.eeweb.com/70-best-microcontroller-based-mini-projects-for-engineering-
students/
https://www.electronicshub.org/microcontroller-based-mini-projects-ideas/
https://www.projectsof8051.com/alcohol-detector-mini-project-using-pic-microcontroller/
amp/
a) Practical Outcomes…………………………………………………………………