TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 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 (139560 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47607 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42551 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 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: 7223 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

Charger 8 Click

0

Charger 8 Click is an intelligent Li-Ion battery charger, system power manager, and a battery fuel gauge Click board™.

[Learn More]

USB UART 3 Click

0

USB UART 3 Click is a versatile and feature-rich USB to UART interface from Silicon Labs.

[Learn More]

EEPROM click

0

Simple example which demonstrates working with EEPROM click board in mikroBUS form factor. Example write bytes into EEPROM and read from it.

[Learn More]