TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 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 (136552 times)
  2. FAT32 Library (69754 times)
  3. Network Ethernet Library (55852 times)
  4. USB Device Library (46193 times)
  5. Network WiFi Library (41813 times)
  6. FT800 Library (41008 times)
  7. GSM click (28930 times)
  8. PID Library (26386 times)
  9. mikroSDK (26295 times)
  10. microSD click (25304 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

LightRanger 7 click

0

LightRanger 7 Click is a compact add-on board capable of precise distance measurement and motion tracking. This board features the AFBR-S50, a medium-range 3D multipixel Time-of-Flight (ToF) sensor from Broadcom. Besides a VCSEL-based ToF sensor (Laser Class 1 eye safety), optimized to measure various distances working equally well on white, black, colored, and metallic reflective surfaces, this board also includes a 32-bit MCU, RA4M2 group of Renesas MCU with Arm® Cortex®-M33 core, alongside a 4-pin standard CAN connections compatible with Pixhawk®, a popular general-purpose flight controller.

[Learn More]

Waveform click

5

Waveform Click is a precise sine/triangle/square waveform generator, capable of reproducing frequencies up to 12MHz.

[Learn More]

UART Mux click

5

The UART Mux click is a Click board that switches the UART pins (RX and TX) from the mikroBUSâ„¢ to one of the four available outputs. It employs the SN74LV4052A, a Dual 4-Channel Multiplexer and Demultiplexer from Texas Instruments. It is designed for 2-V to 5.5-V VCC operation.

[Learn More]