Académique Documents
Professionnel Documents
Culture Documents
Department of Electronics and Communication Engineering Minor Project BIKE - SECURITY ALARM Session2007-08
ANKIT AP
CERTIFICATE
This is to certify that the minor project work entitled Bike-security Alarm is Submitted by Mr. Deepesh Verma, Mr. Apratim Singhal and Mr. Ankit Rajoria , BE III year of Electronics & Communication branch. They have completed their work satisfactorily and within the prescribed time limit.
Internal Examiner
External Examiner
Date:
Date:
ACKNWOLEDGEMENT
In attaining our accomplishments there are some knowledgeable and intellectual personalities to help and guide us at every step of our difficulties and confusions. Whenever a challenging job is undertaken, a person tries to seek help from maximum number of people and sources. At times some magic words of someone makes us realize that things are done and we find ourselves fully satisfied with all our tetchiest efforts and pain. So, a thanks giving is something very small to show your lasting gratitude for such an immense support but there are no other words to express your gratitude except thank you. Here, I with my sincerity would like to express my gratitude because without their support this project would never have been a reality. I express my deepest sense of gratitude to the director of our college Mr. O. P. Bhatia. I am grateful to him for granting me permission to carry on my project work in college and providing equipped laboratory. To achieve the success even the brilliant ideas must be translated into creative actions by systematic, sustained and dedicated efforts and proper guidance. I would like to extend my thanks to Ms. Sofia Shahid & Mr. Surendra Sharma, my instructors, guide and immense source of inspiration, who helped me at every step of the progress of the project.
INDEX
1. Introduction. 2. Block Diagram. 3. Circuit Diagram. 4. List of Components. 5. Working 6. Resistors. 7. Capacitors. 8. Transistors. 9. TSOP 1738. 10.LM7805 Voltage Regulators. 11.7473 J-K Flip Flops. 12.LM311 Voltage Comparator. 13.LM555 Timer IC. 14.Reference.
INTRODUCTION
Now a day Bike theft is very common. There are specific bikes components which can be efficiently used in making generators. Hence it is necessary to protect the bike in public parking. There are some bike locks available in the market. Here is an electronic circuit which can ensure bike safety. This circuit works on the basis of Infra Red radiation. The IR LED and IR receiver i.e. TSOP is the heart of the circuit. If anybody tries to steal the bike, this circuit turns on the horn of the bike to alert the owner of the impending theft. Usually, a handle lock is used on the handle bar for the safety of bikes, with the front mudguard in a slanted position. When the handle lock is freed, the front mudguard can be aligned with the body of the bike. This is the basic theme of the circuit. An IR LED is placed at the back of front mudguard and an IR receiver (TSOP) along the crash guard, near horn. Whenever the owner locks his bike, the front mudguard is in slanted position and the LED and the TSOP are not in the line of sight. Every time the owner locks the bike he will have to switch on this circuit. Now if anybody tries to take the bike (even if he has the keys) as soon as he unlocks the handle, the TSOP and IR LED comes in line of sight, the circuit is completed and the horn starts blowing .The blowing horn will not stop even if the thief again slants the handle. It will only take the owner of the bike to stop it. The whole circuitry can be kit up in the locker of the bike. Only the IR LED and the TSOP will be outside, hence only authorized person can access the circuit.
BLOCK DIAGRAM
Bike-Security Alarm
CIRCUIT DIAGRAM
Bike-Security Alarm
LIST OF COMPONENTS
1. Resistors:
R1:________________5 , 2w Resistor. R2:________________15 k Resistor. R3:________________4.7 k Resistor. R4:________________2.2 k Resistor. R5:________________22 , 1w Resistor. R6:________________390 Resistor. R7:________________2.2 k Resistor. R8:________________1 k Resistor. R9:________________4.7 k Resistor. R10:_______________2.2 k Resistor.
2. Integrated Circuits:
IC1:_______________7805 IC. IC2:_______________555 timer IC. IC3:_______________LM 311 IC. IC4:_______________7473 IC.
3. Capacitors:
C1:________________470 F, 40 v capacitor. C2:________________0.1 F capacitor. C3:________________0.001 F capacitor. C4:________________0.01 F capacitor. C5:________________100 F, 16 v capacitor. C6:________________1 F, 16 v capacitor.
C7:________________100 F, 16 v capacitor.
4. Switches:
S1:________________ON/OFF switch. S2:________________Push to on switch.
5. Transistors:
T1:________________BC547 NPN Transistor. T2:________________SL100 NPN Transistor.
6. Miscellaneous:
D1:________________1N4001 Diode. RL1:_______________12 v, 200 1 C/O Relay. IRLED1:____________IR LED> IRX1:______________TSOP 1738.
RESISTORS
A resistor is a two-terminal electrical or electronic component that opposes an electric current by producing a voltage drop between its terminals in accordance with Ohm's law: The electrical resistance is equal to the voltage drop across the resistor divided by the current through the resistor while the temperature remains the same. Resistors are used as part of electrical networks and electronic circuits.
Variable Resistor
Identifying Resistors
Most axial resistors use a pattern of colored stripes to indicate resistance. Surface-mount resistors are marked numerically. Cases are usually brown, blue, or green, though other colors are occasionally found such as dark red or dark grey. One can also use a millimeter or ohmmeter to test the values of a resistor.
1st band Black 0 Brown 1 Red 2 Orange 3 Yellow 4 Green 5 Blue 6 Violet 7 Gray 8 White 9 Gold Silver None Color
2nd band 0 1 2 3 4 5 6 7 8 9
3rd band (multiplier) 100 101 102 103 104 105 106 107 108 109 10-1 10-2
0.5% (D) 0.25% (C) 0.1% (B) 0.05% (A) 5% (J) 10% (K) 20% (M)
CAPACITORS
A capacitor is an electrical/electronic device that can store energy in the electric field between a pair of conductors (called "plates"). The process of storing energy in the capacitor is known as "charging", and involves electric charges of equal magnitude, but opposite polarity, building up on each plate. Capacitors are often used in electric and electronic circuits as energy-storage devices. They can also be used to differentiate between high-frequency and low-frequency signals. This property makes them useful in electronic filters. Capacitors are occasionally referred to as condensers. This is considered an antiquated term in English, but most other languages use an equivalent, like "Kondensator" in German, "Condensador" in Spanish, or "Kondensa" in Japanese.
Physics
Diagram of a parallel-plate capacitor A capacitor consists of two conductive electrodes, or plates, separated by a dielectric.
Capacitance
The capacitor's capacitance (C) is a measure of the amount of charge (Q) stored on each plate for a given potential difference or voltage (V) which appears between the plates:
In SI units, a capacitor has a capacitance of one farad when one coulomb of charge is stored due to one volt applied potential difference across the plates. Since the farad is a very large unit, values of capacitors are usually expressed in microfarads (F), Nan farads (nF), or Pico farads (pF).
When there is a difference in electric charge between the plates, an electric field is created in the region between the plates that is proportional to the amount of charge that has been moved from one plate to the other. This
electric field creates a potential difference V = Ed between the plates of this simple parallel-plate capacitor. The capacitance is proportional to the surface area of the conducting plate and inversely proportional to the distance between the plates. It is also proportional to the permittivity of the dielectric (that is, non-conducting) substance that separates the plates. The capacitance of a parallel-plate capacitor is given by:
where is the permittivity of the dielectric (see Dielectric constant), A is the area of the plates and d is the spacing between them. In the diagram, the rotated molecules create an opposing electric field that partially cancels the field created by the plates, a process called dielectric polarization.
TRANSISTOR
An electrical signal can be amplified by using a device that allows a small current or voltage to control the flow of a much larger current. Transistors are the basic devices providing control of this kind. Modern transistors are divided into two main categories: bipolar junction transistors (BJTs) and field effect transistors (FETs). Applying current in BJTs and voltage in FETs between the input and common terminals increases the conductivity between the common and output terminals, thereby controlling current flow between them. The characteristics of a transistor depend on its type. The term "transistor" originally referred to the point contact type, which saw very limited commercial application, being replaced by the much more practical bipolar junction types in the early 1950s. Today's most widely used schematic symbol, like the term "transistor", originally referred to these long-obsolete devices.[1] In analog circuits, transistors are used in amplifiers, (direct current amplifiers, audio amplifiers, radio frequency amplifiers), and linear regulated power supplies. Transistors are also used in digital circuits where they function as electronic switches, but rarely as discrete devices, almost always being incorporated in monolithic Integrated Circuits. Digital circuits include logic gates, random access memory (RAM), microprocessors, and digital signal processors (DSPs).
Types
PNP
P-channel
NPN
N-channel
BJT
JFET
Semiconductor material : germanium, silicon, gallium arsenide, silicon carbide, etc. Structure: BJT, JFET, IGFET (MOSFET), IGBT, "other types" Polarity: NPN, PNP (BJTs); N-channel, P-channel (FETs) Maximum power rating: low, medium, high Maximum operating frequency: low, medium, high, radio frequency (RF), microwave (The maximum effective frequency of a transistor is denoted by the term fT, an abbreviation for "frequency of transition". The frequency of transition is the frequency at which the transistor yields unity gain). Application: switch, general purpose, audio, high voltage, super-beta, matched pair Physical packaging: through hole metal, through hole plastic, surface mount, ball grid array, power modules Amplification factor Hfe (transistor beta)
Field-effect transistor
The field-effect transistor (FET), sometimes called a unipolar transistor, uses either electrons (in N-channel FET) or holes (in P-channel FET) for conduction. The four terminals of the FET are named source, gate, drain, and body (substrate). On most FETs, the body is connected to the source
inside the package, and this will be assumed for the following description.In FETs, the drain-to-source current flows via a conducting channel that connects the source region to the drain region. The conductivity is varied by the electric field that is produced when a voltage is applied between the gate and source terminals; hence the current flowing between the drain and source is controlled by the voltage applied between the gate and source. As the gatesource voltage (Vgs) is increased, the drainsource current (Ids) increases exponentially for Vgs below threshold, and then at a roughly quadratic rate ( ) (where VT is the threshold voltage at which drain current begins) in the "space-charge-limited" region above threshold. A quadratic behavior is not observed in modern devices, for example, at the 65nm technology node.]To turn on a transistor it has to be charged like a capacitor. One polarity of charge is responsible for conduction, the other serves for charge neutrality. In the BJT, both types of charge carriers come close together and so the capacitance is high, therefore only low voltages are needed to produce a given amount of charge. In a FET both types of charges are separated by the dielectric and additionally the Debye length, thus reducing the capacity and increasing the voltage needed for switching. Above zero Kelvin, the exponential curve is convoluted with the hard turn on of the BJT and the parabolic turn on of the FET.
TSOP-1738
Description
The TSOP1738 is a miniaturized receiver for infrared remote control systems specifically for a carrier frequency of 38 kHz . PIN diode and preamplifier are assembled on lead frame, the epoxy package is designed as IR filter. The demodulated output signal can directly be decoded by a microprocessor. TSOP1738 is the standard IR remote control receiver series, supporting all major transmission codes.
Features:
Photo detector and preamplifier in one package Internal filter for PCM frequency Improved shielding against electrical field disturbance TTL and CMOS compatibility Output active low Low power consumption High immunity against ambient light Continuous data transmission possible (up to 2400 bps)
Block Diagram
Application Circuit
Features:
Output current in excess of 1A. Internal thermal overload protection. No external components required. Output transistor safe area protection.
Internal short circuit current limit. Available in the aluminum TO-3 package. Voltage range 5v.
Voltage Range:
LM7805C LM7812C LM7815C 5V 12V 15V
Connection Diagram
Plastic Package TO-220 (T)
Note: Thermal resistance of the TO-3 package (K, KC) is typically 4C/W junction to case and 35C/W case to ambient. Thermal resistance of the TO220 package (T) is typically 4C/W junction to case and 50C/W case to ambient.
7473
General Description
J-K FLIP-FLOPS
This device contains two independent positive pulse triggered J-K flip-flops with complementary outputs. The J and K data is processed by the flip-flops after a complete clock pulse. While the clock is LOW the slave is isolated from the master. On the positive transition of the clock, the data from the J and K inputs is transferred to the master. While the clock is HIGH the J and K inputs are disabled. On the negative transition of the clock, the data from the master is transferred to the slave. The logic states of the J and K inputs must not be allowed to change while the clock is HIGH. Data transfers to the outputs on the falling edge of the clock pulse. A LOW logic level on the clear input will reset the outputs regardless of the logic states of the other inputs.
Connection Diagram
Function Table
Note: The Absolute Maximum Ratings are those values beyond which the safety of the device cannot be guaranteed. The device should not be
operated at these limits. The parametric values defined in the Electrical Characteristics tables are not guaranteed at the absolute maximum ratings. The Recommended Operating Conditions table will define the conditions for actual device operation.
Connection Diagram
Dual-In-Line Package
Features:
Operates from single 5V supply. Input current: 150 nA max. over temperature. Offset current: 20 nA max. over temperature. Differential input voltage range: 30V. Power consumption: 135 mW at 15V.
Small Outline Package Vapor Phase (60 seconds)..215C Infrared (15 seconds) 220C
LM555 TIMER IC
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 200 mA or drive TTL circuits.
Features:
Direct replacement for SE555/NE555 Timing from microseconds through hours Operates in both astable and monostable modes Adjustable duty cycle Output can source or sink 200 mA Output and supply TTL compatible Temperature stability better than 0.005% per C Normally on and normally off output Available in 8 pin MSOP package
Applications:
Precision timing Pulse generation
Sequential timing Time delay generation Pulse width modulation Pulse position modulation Linear ramp generator
Connection Diagram
Dual-In-Line, Small Outline and Molded Mini Small Outline Packages
Applications Information:
ASTABLE OPERATION If the circuit is connected as shown in Figure 4 (pins 2 and 6 connected) it will trigger itself and free run as a multivibrator. The external capacitor charges through RA + RB and discharges through RB. Thus the duty cycle may be precisely set by the ratio of these two resistors.
In this mode of operation, the capacitor charges and discharges between 1/3 VCC and 2/3 VCC. As in the triggered mode, the charge and discharge times, and therefore the frequency are independent of the supply voltage.
The charge time (output high) is given by: t1 = 0.693 (RA + RB) C And the discharge time (output low) by: t2 = 0.693 (RB) C Thus the total period is: T = t1 + t2 = 0.693 (RA +2RB) C The frequency of oscillation is:
WORKING
This circuit consists of transmitter and receiver sections. The transmitter (IR LED1) is fitted on the back end of the front mudguard and the receiver sensor (IRX1) is fitted on the central portion of the crash guard of the bike such that IR rays from the transmitter directly fall on the sensor when the front mudguard comes in line with the body of the bike. The transmitter section is built around timer 555 (IC2), which is wired as an astable multivibrator with a frequency of around 38 kHz. The output of IC2 is further amplified by transistor T1 and given to an infrared light-emitting diode (IR LED1), which continuously transmits the IR frequency. The receiver section uses IR receiver module TSOP 1738 (IRX1), which is normally used in TV receivers. The receiver module senses the IR modulated frequency transmitted by the IR LED. When no IR rays are incident on the sensor, its output is high. But the output of the IR sensor goes low when it senses the modulated IR signal. The output of the receiver module is given to a negative voltage comparator built around IC LM311 (IC3). The input voltage at pin 2 of IC3 is fixed by using the voltage-divider network comprising resistors R7 and R8.
When IR rays are not incident on the IR receiver module, the voltage at pin 3 of IC3 is greater than the voltage at pin 2. As a result, the output of comparator IC3 is low. But when the receiver senses IR rays from IR LED1, the voltage at pin 3 of IC3 is lower than the voltage at pin 2. As a result, the output of the comparator goes high. The output of the comparator is given to a latch made up of JK flip-flop (IC4). The low-to-high going pulse from the comparator makes the output of IC4 high until it is reset. The output of IC4 is latched and used to energies relay RL1 via transistor T2. The relay is connected to the negative terminal of the bikes horn, while the positive terminal of the horn is connected to the positive terminal of the battery via resistor R1. The energized relay drives the horn, which continues sounding until you press reset switch S2 momentarily. At night, lock your bike using the handle lock and switch on the circuit using switch S1. Since the IR transmitter (IR LED1) and the receiver (IRX1) will not be in line of sight, IR rays from IR LED1 will not be incident on the sensor. When anyone tries to move the bike away, the IR transmitter and the IR receiver will come in line of sight and the IR rays from the IR transmitter will be incident on the receiver. This will make the output of the Comparator (IC3) high. The pulse from the comparator will make the output of latch IC4 high and transistor T2 will conduct to sound the horn via relay RL1.
FUTURE ENHANCEMENTS
REFRENCE
1. Electronics for you Magazine. 2. www.efy.com. 3. www.DatasheetCatalog.com. 4. Op-Amps and Linear Integrated Circuits Ramakant A. Gayakwad.