Arduino Projects

Bike anti theft system using MFRC522 RFID module

Bike Anti-theft system project Description:


Bike anti-theft system using the MFRC522 RFID module– This Project is based on the RFID-based Bike Anti Theft security system. the bike switch is controlled by the RFID card. The bike switch can only be turned ON and turned Off using the authorized RFID card. To cut the overall cost of this project, I designed my own PCB board. I will be using the same micro-controller which is used in Arduino Uno “Atmega328”. If you don’t want to make the PCB then you can also use the Arduino Uno or Arduino Nano board.

This Bike Anti Theft security system is entirely based on the Atmega328 and the famous MFRC522 RFID module. For the step-by-step explanation, you can watch a video at the end of this Article.

After I designed my PCB, using the Cadsoft eagle 9.1.0 version.

Amazon Links:

Arduino Nano USB-C Type (Recommended)

12v Adaptor:

MFRC522 RFID reader and tags:

Atmega328 micro controller:

16Mhz crystal:

22pf capacitors:

10k Resistor:

10uf capacitors:

1n4007 diode:

2n2222 NPN transistor

12V SPDT Relay:

One-Channel Relay Module:

Other Tools and Components:

ESP32 WiFi + Bluetooth Module (Recommended)

Top Arduino Sensors:

Super Starter kit for Beginners

Digital Oscilloscopes

Variable Supply

Digital Multimeter

Soldering iron kits

PCB small portable drill machines

*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!



Then I sent my PCB Gerber files to WellPCB company, and make an order of 50 PCB’s. these are the PCB’s which I

just received.


properly documented containing all the information about the PCB’s.  As you can see the quality is really great. I am 100% satisfied with their work.

Download this PCB board:

bike security

Bike anti theft PCB connections explanation:

Let’s start with the power supply, this is the terminal block where we connect the 12v and GND. wires. The 1n4007 diode is connected which protects the circuit if in case you connect the wires in the wrong way. The cathode side of the diode is connected with the input pin of the 7805 voltage regulator. As you can see clearly in the PCB design the Middle leg of the voltage regulator “7805” is connected with the ground.

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.

A 10k resistor is connected with pin number 1 of the atmega328 controller and the other side of the 10-kilo ohm resistor is connected with the 5 volts. a 5-volt wire is also connected with pin number 7 of the controller. Pin number 8 of the controller is connected with the ground. A 16 MHz crystal is connected with pin 9 and pin 10 of the controller. 22pf capacitors are connected with the 16 MHz crystal.

Pin number 11 which is the digital pin 5 is connected with the 10-kilo-ohms resistor, and the other side of the 10-kilo ohm 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.

While the buzzer positive pin is connected with the 5 volts. pin number 12 which is the digital pin 6 will be used to control a relay. The emitter is connected with the ground, while the collector is connected with one side of the relay coil while the other side of the relay coil is connected with 12 volts. This transistor is selected after the calculations, if you want to learn how to perform the relay driver circuit design calculation then you should watch my tutorial on relay driver circuit design calculations, You can find this tutorial on my YouTube channel “Electronic Clinic”. A diode is used across the relay coil for back emf protection. A terminal block is connected at the output of the relay. Digital pins 9 to 13  are connected with the RFID module. So that’s.


For the step by step explanation watch video at the end of this Article



MFRC522 RFID Module used in Bike Anti Theft system:


A few days back I posted a tutorial on ” Arduino MFRC522  RFID module Pinouts, Interfacing, how to read RFID tags  identity number and use”

in this tutorial I covered all the basics, like interfacing, finding the identity numbers of the tags, I am using the same RFID tag. So if you don’t know how to find the RFID tag identity number then you should watch this tutorial. You can check out this video on my YouTube channel.

Bike anti theft system Arduino Programming:

Watch Video Tutorial:

Related Articles

One Comment

Leave a Reply

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

Back to top button