Documente Academic
Documente Profesional
Documente Cultură
PAPER BY:
R.ARIKRISHNAN
INSTRUMENTATION AND CONTROL ENGINEERING (ICE)
ST.JOSEPH’S COLLEGE OF ENGINEERING
CHENNAI-119
ariradha@gmail.com
+91 9003472891
K.ARUN KUMAR
INSTRUMENTATION AND CONTROL ENGINEERING (ICE)
ST.JOSEPH’S COLLEGE OF ENGINEERING
CHENNAI-119
arunkumar.ice2010@gmail.com
+91 9566314515
of the tape inside the toy. Since it was very
ABSTRACT costly to use a full-fledged computer to
control the system of intelligent machines,
“To err is human; to forgive is the concept of using a micro controller
god”; an old saying but here “to err is containing all the controlling program and
human; to stop it is technology”; A new connecting it with the input and output unit
saying that will suit this paper. was introduced.
2
3
CHOSSING A MICRCONTROLLER: the heavy traffic. These kinds of problems
There are four major 8-bit are fully solved by this project & theft
microcontrollers. They are Motorola’s proof techniques are also introduced.
6811, Intel’s 8051, Zilog’s Z8 and PIC
16X from Microchip Technology. Each of METHODOLOGY:
the above microcontrollers has a unique
instruction set and register set: therefore,
they are not compatible with each other. Password
Programs written for one will not run on
the others. There are also 16-bit and 32-bit
microcontrollers made by various
chipmakers.
With all these different microcontrollers,
what criteria do designers consider in
choosing one? NO
Password Correct? Error Detection
Three criteria in choosing microcontrollers
are as follows:
1. Meeting the computing needs of the task
at hand efficiently and cost effectively.
2. Availability of Software development YES
tools such as compilers, assemblers, and
debuggers, and
3. Wide availability and reliable sources of
microcontroller.
Hold Mode Ride Mode Lock Mode
OUR INNOVATION
4
Block Diagram:
M
I STEPPER MOTOR LOCK
C
R
O
C MAGNETIC LOCK PETROL TANK CAP
O
S E TKEY
U PPAD
:
N
T
R SOLENOID VALVE FUEL FLOW
O
L
L
E BUZZER
R
Petrol tank cap operation :
Bike lock: The cap is designed as a magnetic
A proper mechanical setup has lock. This lock is designed such as when
been fixed at the spindle of the stepper power supply is given the lock gets
motor (12V, 4 step). The motor is opened. After fuelling the tank, we can
programmed to rotate in both clock and close the tank by simply pressing the top
anti-clock wise. When the motor rotates in of the cap downwards.
clockwise direction, the bike gets locked &
when it rotates in Anti-clock wise TECHNOLOGY:
direction, the bike lock gets opened. The This paper is based on Number system
conventional lock in the bike can be technology.
replaced by this setup & we can also use
this setup in front or back wheel for extra NUMBER SYSTEM:
safety. Here PIC micro controller is used. To
Fuel flow: start the bike, we have to enter the 4- digit
Solenoid valve is used for petrol password. A keypad is provided for this
flow. It is an automatic valve, which is purpose. After entering the password we
used for liquid flow controlling. When can operate the bike.
power is given the valve gets opened & it
is closed when power supply is cut off. Simulation:
These are available in two categories. One We have done a simulation for this
is normally closed type and another is using the microcontroller 89c51 and the
normally opened type. The solenoid that I stimulation code is:
am using here for the petrol flow from the
tank to the engine is 3/8 inch, 12v, one
inlet- one outlet & normally closed type.
5
Simulation Code:
Address Op code Instruction Comment
0000 78 00 MOV R0,#00 Initialize the counter
0002 75 80 FF MOV P0,#FF Assign the input port
0005 75 90 C0 MOV P1,#C0 Assign the output port
0008 08 INC R0 Increment the counter
0009 B8 04 05 CJNE R0,#04,0011 Check for switch ON the buzzer
000C D2 91 SETB P1.1 Switch ON the buzzer
000E 02 00 00 LJMP 0000 Go to start
0011 E5 90 MOV A,P1 Get the ready signal
0013 54 40 ANL A,#40 Mask other bits except ready sgnl.
0015 B4 40 F9 CJNE A,#40,0011 Check for on cond. of ready sgnl.
0018 E5 80 MOV A,P0 Get the password
001A D2 92 SETB P1.2 Req. to switch off the ready signal
001C F9 MOV R1,A Move the pass word to R1
001D E5 90 MOV A,P1 Get the ready signal
001F 54 40 ANL A,#40 Mask other bits except ready sgnl.
0021 B4 00 F9 CJNE A,#00,001D Check for OFF cond. of ready sgnl.
0024 C2 92 CLR P1.2 Password accepted
0026 E9 MOV A,R1 Move the password to accu.
0027 B4 77 DE CJNE A,#77,0008 Check for right password
002A C2 91 CLR P1.1 Switch off the buzzer
002C D2 90 SETB P1.0 Connect the ignition circuit & fuel
flow to the engine
002E E5 90 MOV A,P1 Get the stop signal
0030 54 20 ANL A,#80 Mask other bits except stop signal.
0032 B4 80 F9 CJNE A,#80,002E Check for the ON cond. of stop sgnl.
0035 C2 90 CLR P1.0 Disconnect the ignition ckt. & fuel
flow is stopped
0037 02 00 LJMP 0000 Go to start.
SIGNAL FLOW DIAGRAM:
M
I
Password P0 C P1.0 To Ignition Circuit
8 R & solenoid valve
O (for fuel flow)
C
Ready signal P1.6 O P1.1 To Buzzer
N
T
R
O
Stop signal L Password accepted
P1.7 L P1.2
E
R
6
SPECIAL FEATURES: The device must be designed as
T h e f t p r o o f : An alarm starts loading waterproof, damage proof.
on these conditions
If anyone presses wrong password more Advantages:
than three times 1. Simple circuit
If the main wire is cut down 2. Operation is also simple
B a t t e r y p o w e r i n d i c a t o r : This 3. Power consumption is low
project draws power from the bike battery 4. Cost is very less.
itself and no separate power source is
needed. A red light glows whenever the Disadvantage:
battery goes down & immediately the Whenever a new feature is to be included,
system draws power from a additional the microcontroller has to be
battery provided which is capable of reprogrammed.
providing power up to five hours and with
in this five hours we can recharge the main
battery. Conclusion:
Password changing: We can This paper enables the riders to enjoy the
change our password whenever we need. digital technology. This project also
For changing the password we have to provides an entire facility for the safety
enter old password (XXXX) + zero (0) + and security measures in the automobiles.
New password (XXXX). Green light will This could be extended for sending an
blink for confirmation. Then again enter SMS/Notification to the owner of the
the new password, which will switch off vehicle whenever unauthorized persons
that blinking green light. start the vehicle.
Here the password is 4-digits for
convenience. The user can select the no. Reference:
Of digits from 4 up to 12. But according
to the general survey 4-digits is the best. “Embedded Systems” By Raj Kamal.
For e.g. ATM, cell phones are all requires
4-digits password. “Embedded Microcomputer Systems”
For visibility during night optical keypad By Jonathan W. Valvans.
is used. By pressing the light button, the
keypad can be lit. “Programming With 8051” By Kenneth
Ayala.
www.eembc.com