RFID based Bike Anti Theft system using Atmega328 controller


RFID based bike anti theft


RFID based Bike Anti Theft SystemThis project was designed specifically for the protection of motorcycles.  The RFID module is used in this project to secure the bike. In protecting your bike from theft, this project can be really helpful. This design is based on the RFID module MFRC522, Atmega328 and other components of the electronics. The goal of not using the Arduino board itself is to reduce the overall cost of the venture. This project is very simple and can be planned by anyone after reading this article. This is the PCB design image I’m going to explain in a minute. The wiring is transparent, as you can see.

The Amazon Purchase links are given below:

MFRC522 RFID module and tags: best deal: https://amzn.to/2uv54Wb
atmega328 microcontroller: https://amzn.to/2QXUHSa
terminal block connector: https://amzn.to/2tI98le
Arduino Uno: https://amzn.to/39aq6ZT
Mega 2560: https://amzn.to/2SszMsI
lm7805 Voltage Regulator: https://amzn.to/2ERYoTJ
330-ohm resistors pack: https://amzn.to/2Qj1Igg
female DC power jack socket: https://amzn.to/377Pg9M
470uf capacitors: https://amzn.to/2MrN3xR
5×7 cm Vero board: https://amzn.to/37b7KWO
female headers: https://amzn.to/350w6RE
connection wires: https://amzn.to/2MvOJXd
Super Starter kit for Beginners: https://amzn.to/398dliF
Jumper Wires: https://amzn.to/2SrnBwo
Bread Board: https://amzn.to/2MxV5FM
12v Adaptor: https://amzn.to/2MuOlZk
PCB plate: https://amzn.to/2MuwNMB
Variable Supply: https://amzn.to/39d0KdP
Digital Multimeter: https://amzn.to/34WbVoa
Vero Board / stripboard: https://amzn.to/39nL9Zg
Soldering iron kit: “best” You guys should definitely purchase this: https://amzn.to/2PVwexF
Solder wire: https://amzn.to/2QlOvTS
Wire Stripper: https://amzn.to/353tYJa
wirecutter: https://amzn.to/2tV2lFj
PCB small portable drill machine: https://amzn.to/2MvQqnx


Please Note: these are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

RFID based bike anti theft

Then sent my PCB Gerber files to the company Wellpcb and ordered 50 pcbs. It’s the pcbs.

RFID based bike anti theft

Properly documented with all the pcbs information.   The quality is really great, as you can see. I’m 100% happy with their work.

Download this PCB board: bike anti theft pcb

PCB connections explanation:

RFID based bike anti theft

Starting with the power supply, this is the terminal block where the 12v and GND are connected. wires. The 1n4007 diode is connected to protect the circuit if the wires are connected in an incorrect manner. The 7804 voltage regulator input pin is connected to the diode’s cathode side. The ground is connected to the 7805 voltage regulator’s middle pin.

RFID based bike anti theft

A 330-ohm resistor is connected with the output of the regulator, this resistor is connected in series with the led anode side, this is a current limiting resistor, the other leg of the led is connected with the ground. A 10uf capacitor is also connected at the output of the voltage regulator.

RFID based bike anti theft

A 10k resistor is connected with pin number1 of the atmega328 controller and the other side of the 10k resistor is connected with the 5v. Pin number 7 also connected to the 5v of the controller. Pin number 8 of the controller is connected with the ground. A 16Mhz crystal is connected with pin9 and pin10 of the controller. 22pf capacitors are connected with the 16Mhz crystal.

RFID based bike anti theft

Pin number11 which is the digital pin5 is connected with the 10k resistor, and the other side of the 10k resistor is connected with the base of 2n2222 NPN transistor, the emitter is connected with the ground, while the collector is connected with the ground pin of the buzzer. This transistor will be used to control this buzzer.

RFID based bike anti theft

While the positive pin of the buzzer is attached to the 5v. Pin number12, the digital pin6, is used to power relay. The emitter is connected to the surface while the collector is connected to one side of the relay coil and 12v is connected to the other side of the relay coil. After  the calculations, this transistor is chosen.  diode  is  connected  with  the relay coils for the back emf protection. At the relay output terminal block is connected. Digital pins 13 and of the Arduino are connected to the RFID module MFRC522. That’s it, therefore.

All the components are Soldered:

RFID based bike anti theft

MFRC522 RFID Module:

RFID based bike anti theft

This is the RFID unit used in this project for MFRC522. You will know how to read the identity numbers of the RFID tags before using this RFID unit.

RFID based bike anti-theft Programming:

Watch Video Tutorial

Recommended For You

About the Author: Fawad

My name is Shahzada Fawad and I am a Programmer. Currently, I am running my own YouTube channel "Expertstech", and managing this Website. My Hobbies are * Watching Movies * Music * Photography * Travelling * gaming and so on...

Leave a Reply

%d bloggers like this: