TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136638 times)
  2. FAT32 Library (69845 times)
  3. Network Ethernet Library (55895 times)
  4. USB Device Library (46230 times)
  5. Network WiFi Library (41867 times)
  6. FT800 Library (41089 times)
  7. GSM click (28947 times)
  8. PID Library (26402 times)
  9. mikroSDK (26320 times)
  10. microSD click (25329 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

RFid Lock with 4 Relays

Rating:

11

Author: MIKROE

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Category: RFid

Downloaded: 7164 times

Followed by: 3 users

License: MIT license  

Using PIC-Ready1 with PIC18F4520, RFid reader, Relay 4 board, along with EasyInput and EasyBuzz we have created a simple RFid lock that controls 4 separate relays with RFid cards. And it will cost you less than $100 USD!

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "RFid Lock with 4 Relays" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "RFid Lock with 4 Relays" changes.

Do you want to report abuse regarding "RFid Lock with 4 Relays".

  • Information
  • Comments (1)

Project Blog

Figure 1 - Your own RFid Lock set

Figure 1 - Your own RFid Lock set

Boards connected

View full image

At least once in our lives we have come across some kind of RFid locks in homes, offices, elevators or hotels. Some of you may have been inspired to build your own version of it for your home or as a final product. We will show you how you can do this in a blink of an eye. Using PIC-Ready1 with PIC18F4520, RFid reader, Relay 4 board, along with EasyInput and EasyBuzz we have created a RFid lock that controls 4 separate relays with RFid cards. And it will cost you less than $100!

RFid lock with 4 relays video

Video demonstration of the project

Watch on YouTube

Before you can use it, you must program the board to recognize your RFid cards, and assign them to each relay separately.

  1. Bring 5V to the input pins on PORTA associated with relays. You can do this using EasyInput board
  2. Reset PIC-Ready1 board to enter programming mode. Buzzer will signal that programming mode is enabled.
  3. One-by-one, program the RFid card for each relay by swaping it over RFid reader when a relay LED turns on.
  4. After you are finished, bring inputs on PORTA to GND and reset the board to enter normal mode.
  5. By swapping the appropriate card over the RFid reader, associated relay will turn on for 2 seconds, accompanied by a sound signalization.
  6. Buzzer will signal if the card is not recognized.

Figure 2 - RFid Lock schematics

Figure 2 - RFid Lock schematics

RFid Lock schematics

View full image

Source code of this project is provided for free, so you can modify it to suit your needs. Since PIC18F4520 comes preprogrammed with free UART Bootloader, you won’t have to spend a dollar more on external programmers. You can modify the project as much as you like, and expand this basic functionality with your own implementation ideas.

ALSO FROM THIS AUTHOR

MOTION click

0

MOTION click is a motion detector sensitive only to live bodies. It carries PIR500B, a pyroelectric sensor. The click is designed to run on 3.3V power supply only.

[Learn More]

ECG click

5

This is an ECG (or EKG) machine on a click board. It measures the electrical activity of a beating heart through electrodes taped to the skin. It requires little setup, and the final measurement results can be displayed as an Electrocardiogram using a free PC app.

[Learn More]

Mikromedia 5 for STM32F4 Capacitive

0

This project contains example for testing modules on Mikromedia 5 for STM32F4 Capacitive

[Learn More]