ArduinoArduino Projects

RFID based Bike Anti Theft system using Atmega328 controller


RFID based Bike Anti Theft System- This 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:

Arduino Uno:
Mega 2560:
lm7805 Voltage Regulator: 
330-ohm resistors pack: 
female DC power jack socket:
470uf capacitors:
5×7 cm Vero board:
female headers: 
connection wires: 
Super Starter kit:
Jumper Wires:
Bread Board:
12v Adaptor:
PCB plate:
Variable Supply: 
Digital Multimeter:
Vero Board / stripboard:
Soldering iron kit: 
Solder wire: 
Wire Stripper: 
PCB drill machine: 


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 a 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. A diode is connected with the relay coils for the back emf protection. At the relay output,a  terminal block is connected.  Digital pins 13 and 9  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

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button