RFID technology has become very famous in our world now. So I made the project to make our lives easier and technological by using RFID card.
Step 1: Collecting the parts
You can buy the parts from the links I gave.
- TCRT5000 IR Reciever
- 9V Power Supply
- Breadboard
Step 2: Wiring
MFRC522:
- 3.3V >>> 3.3V
- RST >>> 9
- GND >>> GND
- MISO >>> 12
- MOSI >>> 11
- SCK >>> 13
- SDA >>> 10
Buzzer:
- Cathode >>> GND
- Anode >>> 7
Green Led:
- Cathode >>> GND
- Anode >>> 3
Red Led:
- Cathode >>> GND
- Anode >>> 2
Servo:
- Cathode >>> GND
- Anode >>> 5V
- Pulse >>> 8
TCRT5000:
- Out >>> 5
- VCC >>> 5V
- GND >>> GND
The circuit diagram is given below. You could also use that.
Step 3: Coding
You need to download the RFID.h. You can download it from the link i gave.
To download from github:
- Go to the link.
- Then press the code button.
Code button.
- Select "Download ZIP".
- When downloaded go to Arduino IDE.
- Sketch >>> Include Library >>> Add .ZIP library.
- Done
The full code is given below.
Step 4: Output
If you have any questions, comment it.
Comments
Please log in or sign up to comment.