Bicycle Alarm Project

Authors Avatar

Bicycle Alarm Project

BTEC National Diploma Final Year Project

By:

Stewart Watkiss

June 1996

Contents 

Page 

Introduction ... 1

Specification ... 1 

Meeting specifications ... 2 

Circuit description ... 3 

Keypad and PIN decoder ... 3 

Alarm set indicator ... 10 

Set and part set selection ... 12 

Alarm status decoding circuit ... 13 

Karnaugh map ... 14 

NAND only solution ... 15 

NOR only solution ... 16 

Monostable hold ... 18 

Sounder ... 19 

Low battery indicator ... 20 

Circuit Diagram ... 21 

Printed circuit board ... 22 

Circuit additions ... 23 

Price List ... 24 

Problems encountered ... 25 

Bibliography ... 26 

Bicycle Alarm Project 

Introduction 

The crime rate in the UK is high and thefts pedal bicycles is on the increase. The reason for this increase is due to the increase in the cost of the bikes (many bikes now cost around £300), and due to the lack of security devices for bikes. The conventional bicycle lock is prone to thiefs who can break the chain links with a pair of bolt croppers. The bike locks also suffers in that it cannot protect against the theft of the bicycle lights or other attachments. The solution to this is an intelligent burglar alarm that can detect both the movement of the bike or the removal of accessories.

Specification 

The need for an alarm is evident and so a list of specifications has been drawn up indicating what the circuit has to meet up to. Although there are no commercial bike alarms to compare this system with there have been a couple published in magazines for hobby electronic enthusiasts, these turned out to be very simple devices that were often activated while trying to turn the device off. The local police force were contacted for any advice and the following list of specifications has been drawn up.

1. The alarm should prevent theft of the bicycle.

2. The alarm should prevent theft of the bicycles accessories (eg. lamps).

3. The alarm should have an anti-tamper trigger to prevent the alarm from being de-activated by unauthorised persons entering the housing.

4. The alarm should have an automatic time out reset to reset the alarm after a time has past, in case of a false triggering.

5. The alarm should be de-activated by use of a PIN number which can be changed by the user.

6. The alarm must have a indication of the batteries voltage level to warn the operator of a flat battery. This should be selected by a means that would not allow a thief to see the battery level without triggering the alarm.

Meeting specifications 

1. To set the alarm off when the bike is stolen I have decided to use a vibration sensor. This is triggered by movement in any direction from any other position. Unlike a mercury tilt switch the vibration switch can be left in any position.

2. The theft of the accessories could be done in many ways. The method I intend to use is aluminium foil on the lamps connected to the alarm by a contactor. The alarm will therefore be triggered by either the removal of the lamps or if the wire is cut. I am also incorporating a "part set" state for when the lights are left at home and to prevent the alarm sounding in this case.

3. The anti-tamper is to be achieved by a micro-switch inside the box that is switched by the removal of the case lid and a foil wire around the alarm and bicycle frame to prevent the alarm being removed.

4. An auto-reset could be achieved in many different ways and is explained in the circuit description.

5. This is to be entered on a membrane numerical keypad and is described under the circuit description.

6. This is in the form of a tri-colour LED that is lit by pressing a key on the numerical keypad. This prevents unauthorised persons using it as pressing the wrong number will activate the alarm. The correct number can be set by the operator.

Circuit description 

Keypad and PIN decoder (IC1) 

There are 2 main types of keypad output that can be used. One is the telephone type where all the switches are connected to a common rail and the matrix output keypad which gives an output similar to a computer memory by having addresses relating to each switch. The type of keypad to be used is dependant upon the PIN (Personal Identification Number) decoder. Both types of keypad are shown below.

Join now!

Telephone type keypad 

The above is a diagram of a telephone type numerical keypad. The keypad has a common rail which all the switches are connected to.

Matrix output Keypad 

Above is a diagram of the layout of a typical matrix output keypad. The address matrix can be clearly seen. ( for example if the top left hand switch was closed then the switch B1, A1 would be closed).

As can be seen the telephone type keypad gives out a logic level output (TTL & CMOS will need a resistor for the common rail and from ...

This is a preview of the whole essay