Wireless Door Locking

Page 1

International Journal of Engineering, Management & Sciences (IJEMS) ISSN-2348 –3733, Volume-2, Issue-5, May 2015

Wireless Door Locking Shailendra Singh Chauhan, Gaurav Kumar, Sumit Siwach, Vinay Ranjan Jaiswal  Abstract— Nowadays everything is moving from manual to automatic so it is necessary to develop door locking device involving some electronic component and mechanical mechanism.The wireless locking system works on single slider crank mechanism and performs the operation locking of door, vaults, etc. This system can be remotely controlled by RF module (Radio Frequency) and DTMF (Dual Tone Multi Frequency). The whole prototype in controlled by ATMEGA-8 microcontroller for controlling the opening or closing of the door. This mechanism (single slider crank mechanism) is highly efficient and economical as it uses only one motor and crank slider mechanism is made up of wood which is not so costly. The main objective of the project is to reduce human effort to remotely control the opening and closing of a simple gate. Index Terms— Four Bar Linkage, Grashof Condition, Motors, Transmitter and Receivers, DTMF Module, AVR Controller Board, L239D motor driving IC..

I. INTRODUCTION As human race is reaching new heights people are evolving too with it in every field from technology to the way of living. Thus, wireless technology is one of most advancing areas in 21st century. As people around the globe are getting caught up in the busy schedule so they want their way of living to reach new heights and experience new inventions and gadgets that could make their live cozy and comfortable. People tends to get annoyed by constant knocking on the door while sleeping especially in hostels, so one of our senior advised us to make some kind of automated mechanism for opening and closing of door. Keeping this thought in mind we put our minds together to bring up a new advancement in the field of wireless technology by bringing up wireless locking system. The whole system consists of first inversion of four bar mechanism that is single slider crank mechanism and some electrical components.IN this project we use RFID technology, radio frequency identification is a fundamental and inexpensive technology that enables wireless data transmission. When we press the button 1 on RFID Module the gate locks itself, while when we press button 2 on the RFID Module the gate unlocks itself and finally when the button 3 is pressed, the operation of the motor controlling the motion of the locking system, stops.

II. MECHANISM The mechanism consist of first inversion of four bar mechanism that is it is a single slider crank mechanism. The slider consists of two rods which performs to and fro motion for locking and unlocking the door. The whole mechanism is powered by a six rpm, six volt DC gear motor and so designed to transform rotational motion of motor into translational motion by means of single slider crank machanism.this mechanism is first inversion of four bar linkage. A. Four Bar Linkage: A four bar link mechanism or linkage is the most fundamental of the plane kinematics linkages. It is a much preferred mechanical device for the mechanization and control of motion due to its simplicity and versatility. Basically it consists of four rigid links which are connected in the form of a quadrilateral by four pin joints. A link that makes complete revolutions is the crank, the link opposite to the fixed link is the coupler and the fourth link a lever or rocker if oscillates or an another crank, if rotate.

Fig 1: Four Bar Linkage B. Planar Four Bar Linkage:Planar four-bar linkages are constructed from four links connected in a loop by four one degree of freedom joints. A joint may be either a revolute that is a hinged joint, denoted by R, or a prismatic, as sliding joint, denoted by P.A link connected to ground by a hinged joint is usually called a crank. A link connected to ground by a prismatic joint is called a slider. Sliders are sometimes considered to be cranks that have a hinged pivot at an extremely long distance away perpendicular to the travel of the slider. The link that connects two cranks is called a floating link or coupler. A coupler that connects a crank and a slider, it is often called a connecting rod. There are three basic types of planar four-bar linkage depending on the use of revolute or prismatic joints: 1. Four revolute joints: The planar quadrilateral linkage is formed by four links and four revolute joints, denoted RRRR. It consists of two cranks connected by a coupler. 2. Three revolute joints and a prismatic joint: The slider-crank linkage is constructed from four links connected by three revolute and one prismatic joint, or RRRP. It can be constructed with crank and a slider connected by the connecting rod. Or it can be constructed as a two cranks with

Manuscript received May 24, 2015. Shailendra Singh Chauhan, Department Of Mechanical Engineering Sikkim Manipal Institute Of Technology, Majhitar, Sikkim, India Gaurav Kumar, Department Of Mechanical Engineering Sikkim Manipal Institute Of Technology, Majhitar, Sikkim, India Sumit Siwach, Department Of Mechanical Engineering Sikkim Manipal Institute Of Technology, Majhitar, Sikkim, India Vinay Ranjan Jaiswal, Department Of Mechanical Engineering Sikkim Manipal Institute Of Technology, Majhitar, Sikkim, India

108

www.alliedjournals.com


Wireless Door Locking

the slider acting as the coupler, known as an inverted slider-crank. 3. Two revolute joints and two prismatic joints: The double slider is a PRRP linkage. This linkage is constructed by connecting two sliders with a coupler link. If the directions of movement of the two sliders are perpendicular then the trajectories of the points in the coupler are ellipses and the linkage is known as an elliptical trammel, or the Trammel of Archimedes. C. First Inversion of Four Bar:First inversion (Reciprocating engine and compressor) – this inversion is obtained when link 1 is fixed and links2 and 4 are made the crank and the slider respectively. D. Grashof Condition The Grashof condition for a four-bar linkage states: If the sum of the shortest and longest link of a planar quadrilateral linkage is less than or equal to the sum of the remaining two links, then the shortest link can rotate fully with respect to a neighboring link. In other words, the condition is satisfied if -

current decided by the microcontroller and unlock for opposite direction. These motors, like any other electrical motor, use the magnetism induced by an electric current to rotate a rotor that is connected to a shaft .As we know that a coil of wire with current running through it generates an electro-magnetic field aligned with the center of coil, these fields generated transfer energy from the rotor to the shaft of each motor respectively. In a gear motor, the energy output is then used to turn a series of gear of the motor in an integrated gear train. There are various types of motors but the most common motors generally in terms of use are the AC gear motors and the DC gear motors (AC for alternating current, DC for direct current respectively). IV. TRANSMITTER AND RECEIVERS

S+L ≤ P+Q (1) Here S is the shortest link, L is the longest, and P and Q are the other links

Fig 4: Transmitter and receiver A " 434MHZ RF 4CH " wireless remote control was operated as a transmitter and also as a receiver. This device is a two module-a transmitter and receiver. Together they make an addressable wireless system that can range up to 65 meters .This RF module used is compatible to HT12D/12E standards.

[

. Fig 2:-linkage mechanism Table 1: Dimensions of Links VARIABLES Crank Connecting rod Stroke length Forward stroke angle Return stroke angle

DIMENSIONS 6.8 cm 15.2 cm 5 cm 15⁰ 55⁰ III. MOTORS

Fig 3: DC Gear Motor DC motor is used in this project as actuator. The rotary motion of the motor is converted to linear motion by means of single slider crank mechanism. Again by changing the direction of current by microcontroller rotation direction of motor is changed .thus it locks the door for one direction of

109

A. Transmitter: - transmitter of wireless remote control is a powerful transmitter module based on CMOS technology. There is an internal calibrated crystal oscillator in module HT12E .This module has 18 pin encoder IC [HT12E], with which the pin female connector compatible with 12DRF transmitter antenna is connected and one 8 bit address selected is connected and one 8 bit address select gives us the option of isolation the communication between the transmitter and the receiver module 4 bit data is available for providing input to the encoder I.C. On board we have a L7808 voltage regulator that regulates the voltage ranging from 3V -24 V. B. Receiver end: - receiver of wireless remote is a powerful transmitter module base on CMOS technology. There is an internal calibrated crystal oscillator in module IC HT 12D, so there is no need to provide crystal oscillator externally. This module has 18 pin decoder IC (HT12D), with which 8 pin female connector compatible with 12DRF receiver antenna is connected and 8 bit address select is connected. 8 bit address select gives us the option of isolating the communication between the transmitter and the transmitter and the receiver module.4 bit data pins data pins are given for data output . One LED is connected to denote valid transmission.

www.alliedjournals.com


International Journal of Engineering, Management & Sciences (IJEMS) ISSN-2348 –3733, Volume-2, Issue-5, May 2015 V. DTMF MODULE

Fig 5: DTMF Module DTMF module version (RM0033) decodes DTMF signal either from an audio source or phone line to 4 bit binary, TTL (SV) level output. It also indicates output with LED. It can be used with microcontrollers develop various DTMF related applications like remote control, caller ID, Auto Dialer. This module can be easily be used in conjunction with any of the robosapien development boards and develop mobile operated robots and gadgets. Highly accurate filter circuits are implemented to divide tone signals into high frequency and low frequency signals. Basically it is an 18 pin IC. The HT9170 series consist of band pass filters and two digital decoder circuits to convert a tone DTMF signal into some signal output. It has a built-in amplifier circuit to adjust the input signals. The pre-filter circuit may filter out the dialing tone of 350Hz to 400Hz signal, and then use the high-pass and low-pass filters to split into high and low frequency signals. When the HT9170 receives an effective tone (DTMF) signal. The DV pin goes high and tone code (DTMF) signal is transferred to its internal circuit for decoding after setting the OE pin goes high and the DTMF decodes will appear on pin D0-D3. A standard 3.579545MHz connected to X1 and X2 terminals implement the oscillatory function. 1. AVR Controller Board

Fig 6: AVR Controller Board AVR Controller Board is a complete starter kit and development system for the AVR Atmega16/32/8535 microcontrollers from ATMEL ÂŽ Corporation. It is designed to give designers a quick start to develop code on the AVR.AVR Development Board kit is based on our 40 pin development board which is compatible with many of the Atmel AVR microcontrollers. This kit is an easy and low cost way to get started with microcontrollers. Included on board is an Atmega16/32/8535 microcontroller, external crystal with supporting capacitors, AVCC filter parts, Power supply parts and more. The Controller used is an 8-bit microcontroller. The versatility of board helps us to avail Programmable 16KB of flash, 1KB of RAM and Accessible 24C x I2C EEPROM. The board has 32 I/O lines,

110

one programmable full duplex USART, 4 PWM channels and 8 channel 10-bit ADC Converter. The board create a perfect platform for operating dual 8-bit Timers each having separate pre-scalars and compare modes. Additionally, a single 16-bit timer with a separate pre-scalar, compare and capture mode can be used. The Atmega16/32 is a feature packed and very versatile microcontroller. The board takes Input which can be either analog or Digital in nature. On board we have PIN extensions of all the parallel I/O line available with the micro controller to make the peripherals plug n play. Two L293D ICs are also available in Atmega-16/32 development board to run 4 different motors simultaneously. There is 1 DB-9 female connecter also mounted on board for PC connection. There is one 16 pins LCD connector (female) also available. There are four PWM channels also available by which we can control stepper/servo motors. Master/Slave SPI serial interface availability make use of USBASP programmer to flash program in controller.8 keypad switch and pattern of 8 different lids are also available on Atmega-16 board. There are two different option to provide power supply (DC battery/adapter) to the development board. It also has 4 Interrupt switches to create interrupts. 7. Program Code #include<avr/io.h> int main(void) { int d=0; int b=0; DDRB=0b11111111; //PORTB as output Port connected to motors DDRD=0b00000000; //PORTD Input port connected to RFID module while(1) // infinite loop { d=PIND&0b11111111; //PORTB=0b11111111; if(d==0b00000001) //if Key 1 is pressed { PORTB=0b00000001; } if(d==0b00000010) // if Key 2 is pressed { PORTB=0b00000010; } if(d==0b000000011) // if Key 3 pressed { PORTB=0b00000000;// } } //while closed } //main closed

www.alliedjournals.com


Wireless Door Locking

VI.FLOW CHART

Fig 7: Working Wireless Door Locking System

Fig 8: 3D VIEW

VII. FUTURE PROSPECTIVE  Hydraulic technology can be used in near future for smoother operation.  IR Sensors can be used to make it fully automated.  Password protection can be used to make it effective for home security.  The design of this project can also be replaced by Biometric finger print device. VIII.CONCLUSION This project is a working state of art developing technology in the field of wireless automatic systems. The unmanned system and wireless controls helps in saving time and human power. However the range of RF module is limited only up to 65metres only so it cannot be controlled from distance. It has wider use that is it can be used in home, factory and for lockers with password protection. This projects is certainly a boon for the lazy people.

Fig 9: Front view

Fig 10:TOP VIEW

111

www.alliedjournals.com


International Journal of Engineering, Management & Sciences (IJEMS) ISSN-2348 –3733, Volume-2, Issue-5, May 2015

Fig 11: SIDE VIEW IX. ACKNOWLEDGEMENT It is my pleasure to take this opportunity to thank all those who helped me directly or indirectly in successfully making this project. Not everything that I have learned can be acknowledged with a few words, not everything that I acknowledge will relieve me from my indebt-ness. I am grateful to Mr. Dheeraj Kumar, Assistant Professor, Department of Mechanical engineering, Sikkim Manipal Institute of Technology for his patience, motivation, enthusiasm, immense knowledge and constant support. His guidance has helped me throughout my project work and in writing my paper. I would like to extend my sincere thanks to Mr. Dhruva Kumar, Assistant Professor, Department of Mechanical engineering, Sikkim Manipal Institute of Technology for constantly motivating us and helping us out selflessly. I would like to thank all my friends and especially my classmates for all the discussions and helping us out with programing. We are especially indebted to our parents for their love, sacrifice, and support. Our full dedication to the work would have not been possible without their blessings and moral support. This project is a dedication to them. REFERENCES Journal Papers: [1] Zeydin pala and Nihat Inan ,”smart parking application using [2]

[3] [4] [5] [6] [7]

RFID Technology”, RFID Eurasia, 1st annual in RFID Eurasia, 2007 Goodrum, P. Mclarem, M.Durfee “ The Application of Active Radio Frequency Identification Technology for Tour Tracking on Contruction job Sites” Automation in Construction, 15 (3), 2006, pp 292-302 Theory of Machines by SS Ratan Robomart (http://www.robomart.com) Robosapiens (https://robosapi.com) Electroncomponents (http://www.electroncomponents.com) Frontiers in Robotics Automation and Control – Alexander Zemliak

112

www.alliedjournals.com


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.