TOP Contributors

  1. MIKROE (2642 codes)
  2. Alcides Ramos (347 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 (136219 times)
  2. FAT32 Library (69480 times)
  3. Network Ethernet Library (55705 times)
  4. USB Device Library (45990 times)
  5. Network WiFi Library (41639 times)
  6. FT800 Library (40781 times)
  7. GSM click (28788 times)
  8. PID Library (26327 times)
  9. mikroSDK (26053 times)
  10. microSD click (25139 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: 7162 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

LEM click

6

LEM click carries the LTS 6-NP current transducer and MCP3201 ADC converter. The click can measure AC and DC current with exceptional speed, up to 200 KHz. LEM click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over SPI interface.

[Learn More]

Proximity 16 click

0

Proximity 16 Click is a compact add-on board that contains a close-range proximity sensing solution. This board features the VL53L5CX, a Time-of-Flight (ToF) multizone ranging sensor from STMicroelectronics. The VL53L5CX integrates a SPAD array, physical infrared filters, and diffractive optical elements (DOE) to achieve the best-ranging performance in various ambient lighting conditions with different cover glass materials. It allows absolute distance measurement, whatever the target color and reflectance, provides accurate ranging up to 400cm, and can work at fast speeds (60Hz). Also, multizone distance measurements are possible with either 4x4 or 8x8 separate zones with broad 63° diagonal software-configurable Field-of-View (FoV).

[Learn More]

Audio amplifier

0

Simple Audio amplifier which uses 2x30W Amp and ProxFusion click boards.

[Learn More]