Robotic_room_automation-2022-23-Project

Robotics Club MNNIT

AIM

To add a certain degree of automation in our robotics club premises. Implemented keyless access to the club.

IMG20230507004341

Project report

CONTRIBUTORS

Name Branch Registration number Year
Deepak Kumar Singh ECE 20215141 Second Year
Vinay Kumar ECE 20215029 Second Year
Shobhit Singh ME 20213041 Second Year
Harsh vardhan Raghuvanshi ME 20213009 Second Year

MENTORS

Name Branch Registration number Year
Bipul Karna CE 20201037 Third Year
Purushotam Kumar Agrawal EE 20192042 Final Year

TECH STACK

1. Arduino

2. RFID Tags and Reader

3. Automatic locking System.

INTRODUCTION

In the past, doors, and gates were typically secured using traditional lock and key mechanisms. However, in today's modern era, keyless electronic door locks are becoming increasingly popular in homes, hotels, offices, and other establishments. These types of door locks use various access control systems to allow entry.

As part of our project, we have developed an electronic door lock system that uses RFID technology with an Arduino and RC522 RFID Module. To unlock the door, a specific card or key tag is required, which must be presented to the RFID reader. If an incorrect card or key tag is used, the door will not unlock.

We have designed the system with a manual override option in case of any hardware issues or power failures. This allows access to the premises using a traditional key if necessary.

COMPONENTS

  • Arduino NANO

  • RFID Reader(RC522)

  • Rfid Tags

  • 16×2 LCD Display and I2C module

  • Servo Motor (mg995)

  • Jumper wires

  • Bread board

  • IC 7805

  • 5V power supply

Working of the Bot:

RFID systems are composed of three primary components: an RFID reader, an RFID tag or smart label, and an antenna. The RFID tag includes an integrated circuit (IC) and an antenna, which transmit data to the RFID reader, also known as an interrogator. Each RFID tag is programmed with a unique key, which the reader uses to verify authorization. If the key matches an authorized key, the tag can be assigned a specific function, which is accomplished through changes in the code in Arduino IDE.

Once the Arduino confirms the tag's authorization, it sends a signal to the servo motor. The servo motor is attached to the doorknob in a way that allows it to rotate and open or close the door according to the circumstances. This process ensures that only authorized individuals with matching keys can access the designated area.

If we need to manually override an RFID door lock system with a key, we can typically do so by locating the keyhole on the door lock,insert the key into the keyhole and turn it to unlock the door and this will allow you to open the door manually.

It's important to note that manual override of an RFID door lock should only be used in emergency situations or when the electronic system fails. Regular use of the key override can compromise the security of the lock and should be avoided.

Ciruit Diagram:

image3

Door Lock System:

image2

A. Door lock for manual override. It's a retractable system, when a key is applied the whole servo+door lock system will be retracted.

B. Servo Motor

C. 3-D printed module which connects the servo motor with the handle of the door lock.

Video link:

The Problem Faced :

  • Standard LCD uses a lot of Arduino pins, this problem was solved by using an I2C module.

  • The backlight of the LCD was too sharp that the output was not visible, the contrast of the LCD was controlled by the potentiometer present on the I2C module.

  • The address of the I2C module was not known, we got the address by uploading the I2C scanner code to the arduino board which we got from File > Examples > Wire > i2c_scanner.

  • The regular power supply to the servo motor led to a wastage of power in the form of vibration in the servo motor, this problem was solved by detaching the servo motor from the Arduino board using detach() function in starting and attaching attach() function when RFID scan the tags to open or close the door.

  • Setting the angle to close and open the door for the servo motor was frustrating to calculate.

  • A 0lot of errors were given by Arduino during uploading the code to the Arduino board resolving those errors was interesting as well as frustrating.

  • There was an issue of continuous power supply to the application to stay in ‘ON’ mode in case of unavailability of electricity, this problem was resolved by installing a power bank and providing a power supply through it.

  • After making all connections between Arduino, servo motor, RFID reader and LCD, LCD, and servo motor were not able to perform effectively due to lack of sufficient power supply as well as the arduino board started heating up, this was resolved by using voltage regulator IC 7805.

  • In the end, after all, the connections between Arduino, servo motor, RFID reader, and LCD, the setup at the door was also challenging with the conditions that the door open and close with both traditional key and tags.

Real-life applications and Benefits:

  • Authentication: Use the application as a pass to enter your workspace. This will prevent you from unauthorized people in your workspace.

  • Convenience: Convenient for elderly and physically impaired people.

  • Cost Savings: For applications where access is required for a large number of people, for instance, gym members, getting traditional keys cut can be very expensive.

  • Easy To Carry: The size of tags is almost identical to bank or id cards, making them easy to store.

  • Uses: Rfid door lock is the perfect door lock for hotels, hospitals, and large corporations.

Resources:



THANK YOU
Team Robotic Room Automation