Friday, May 17, 2019

Parity Generator

PARITY GENERATOR Vinti Thakkar Swetha Jain Riddhi Vira TE B-3 TE B-3 TE B-3 Roll no 0812103 Roll no 0812106 Roll no 0812114 email vinti. thakkar Email shweta. mjain Email riddhi1312 gmail. com emailprotected com gmail. com AbstractSecurity is a prime concern in our day-today life.Everyone wants to be as much conceptive as possible. An access control for doors forms a vital link in a security chain. The microcontroller found figure of speechal lock for Doors is an access control system of rules that set asides hardly authorized persons to access a dependant atomic number 18a. The system is fully controlled by the 8 bit microcontroller AT89C2051 which has a 2Kbytes of ROM for the program retentiveness. The password is stored in the EPROM so that we can change it at any time. The system has a Keypad by which the password can be unloaded through it.When the entered password equals with the password stored in the retention and so the relay gets on and so that the do or is opened. If we entered a wrong password for more than three times then the Alarm is switched on. 1. IntroductionPassword Based Door Security System victimization Microcontroller is used in the places where we need more security. It can also used to secure lockers and separate protective doors. The system comprises a number keypad and the keypads are connected to the 8 bit microcontroller AT89C2051. This is one of the popular Microcontroller.It has only 20 pins and there are 15 input/output lines. The microcontroller has a program memory of 2 Kilobytes. The microcontroller unceasingly monitor the keypad and if somebody enters the password it will check the entered password with the password which was stored in the memory and if it they are same then the microcontroller will switch on the corresponding eddy. The system will solelyow the person who knows the password and it will not allow who dont know the password and the system will also show the persons who try to break the protection barrier. 3.Circuit Diagram ExplanationThe Main set forth of the above Circuit diagrams is the Microcontroller AT89C2051. The Keypad was the input device and it was connected in a matrix stage so that the numbers of ports needed are reduced. The Microcontroller reads a four-digit password through the Keypad. Then the Microcontroller compares the four digit password with the number which is preprogrammed and if it is equal then the Microcontroller will switch on the motor for the door and if we enter the wrong password for more than three times then an alarm will be switched on until a right password was pressed through the Keypad.The Password was stored in the EEPROM and the password can be changed at any time using the same keypad. To change the password dial 1234 Old password- in the altogether Password. The power picture section is the important one. It should deliver constant output regulated power supply for successful working of the project. A 0-12V/500 mA transf ormer is used for our purpose the primary of this transformer is connected in to main supply through on/off switch& fuse for protecting from overload and absolutely circumference protection.The secondary is connected to the diodes convert from 12V AC to 12V DC electric potential. Which is further regulated to +5v, by using IC 78054. Component Details1) Resistor Resistor is a component that resists the flow of direct or vary electric circuit. Resistors can limit or divide the online, reduce the voltage, protect an electric circuit, or pass on large amounts of heat up or light. An electric current is the movement of charged particles called electrons from one region to anformer(a). Resistors are usually placed in electric circuits.Physicists explain the flow of current through a material, such(prenominal) as a defense, by comparing it to water flowing through a pipe. Resistors are knowing to have a specific value of resistance. Resistors used in electric circuits are cylindr ical. They are a good deal color coded by three or four color bands that indicate the specific value of resistance. Resistors attend ohms law, which states that the current density is directly proportional to the electric field when the temperature is constant. ) Integrated Circuits Timer IC (555) -The LM555 is a highly stable device for generating accurate time delays or oscillation. Additional terminals are provided for triggering or resetting if desired. In the time delay mode of operation, the time is precisely controlled by one external resistor and capacitor. For astable operation as an oscillator, the free running frequency and duty cycle are accurately controlled with deuce external resistors and one capacitor. The circuit may be triggered and reset on falling waveforms, and the output circuit can source or sink up to 200mA or drive TTL circuits.Regulator IC (LM 7805) -The LM7805 monumental 3-terminal positive voltage regulators employ internal current-limiting, thermal s hutdown and safe-area compensation, making them essentially indestructible. If adequate heat sinking is provided, they can deliver over 1. 0A output current. They are intended as fixed voltage regulators in a wide range of applications including local (on-card) regulation for elimination of noise and distribution problems associated with single-point regulation.In addition to use as fixed voltage regulators, these devices can be used with external components to view as adjustable output voltages and currents. Considerable effort was expended to make the entire series of regulators easy to use and smear the number of external components. It is not necessary to bypass the output, although this does improve transient response. Input bypassing is needed only if the regulator is located far from the filter capacitor of the power supply.EEPROM (AT24C02) -The AT24C02 provides 2048 bits of serial electrically erasable and programmable read-only memory (EEPROM) organized as 256words of 8 b its each. The device is optimized for use in many industrial and commercial applications where low-power and low-voltage operation are essential. The AT24C02 is available in space-saving 8-lead PDIP, 8-lead JEDEC SOIC, 8-lead MAP, 5-lead SOT23 (AT24C02) and 8-lead TSSOP packages and is accessed via a 2-wire serial interface. In addition, the entire family is available in 2. 7V (2. 7V to 5. 5V) and 1. 8V (1. 8V to 5. 5V) versions. heck till all keys releasedK2ACALL DEALAY call 20 msec delayMOV A,KEYSsee if any key is pressedANL A,11100000B mask reinvigorated bitsCJNE A,11100000B,OVERkey pressed, await closureSJMP K2OVERACALL DEALAYMOV A,KEYSANL A,11100000BCJNE A,11100000B,OVER1SJMP K2OVER1MOV A,KEYSORL A,11111110BMOV KEYS,ACLR ROW1MOV A,KEYSANL A,11100000BCJNE A,11100000B,ROW_1MOV A,KEYSORL A,11111110BMOV KEYS,ACLR ROW2MOV A,KEYSANL A,11100000BCJNE A,11100000B,ROW_2MOV A,KEYSORL A,11111110BMOV KEYS,ACLR ROW3MOV A,KEYSANL A,11100000BCJNE A,11100000B,ROW_3MOV A,KEYSORL A,11111110BMOV KEYS,ACLR ROW4MOV A,KEYSANL A,11100000BCJNE A,11100000B,ROW_4LJMP K2ROW_1RLC AJCMAT1MOV KEY,01HAJMP K1MAT1RLC AK1CJNE R3,01H,G1INC R3MOV N1,KEYAJMP KEYBOARDG1CJNE R3,02H,G2INC R3MOV N2,KEYAJMP KEYBOARDG2CJNE R3,03H,G3INC R3MOV N3,KEYAJMP KEYBOARDG3CJNE R3,04H,G4MOV R3,01HMOV N4,KEYG4MOV A,N1SWAP AORL A,N2MOV N2,AHIGHER DIGITSS IN N2MOV A,N3SWAP AORL A,N4MOV N4,ALOWER DISITS IN N4MOV A,N2CJNE A,12H, BV1MOV A,N4CJNE A,79H,BV1CPL L1CLR ALRMMOV COUNT,00HAJMP KEYBOARDBV1MOV A,N2CJNE A,12H, BV2MOV A,N4CJNE A,71H,BV2CPL L2CLR ALRMMOV COUNT,00HAJMP KEYBOARDBV2INC COUNTMOV A,COUNTCJNE A,03H,HH1SETB ALRMMOV COUNT,00H HH1AJMP KEYBOARD((((((((((((((((((((((((((((((((8. AcknowledgmentsWe wish to express our profound thank to the people around us who helped make this project a reality. Firstly, we would like to thank Ms. Vidya Daund for mentoring this project, right from the filling of the topic to its completion. Also, we would like to thank the laboratory assistants Bhakti Maam and Kiran Sir who have been constantly there for us whenever we were in need and helped us in whatever ways possible. We would also like to thank all those who have contributed towards the development of our project 2.Flowchart2) Capacitor Capacitor or electric condenser is a device for storing an electric charge. The simplest form of capacitor consists of two metal plates separated by a non touching horizontal surface called the dielectric. When one plate is charged with electricity from a direct current or electrostatic source, the other plate have induced in it a charge of the opposite sign that is, positive if the headmaster charge is negative and negative if the original charge is positive. The electrical size of the capacitor is its capacitance. Capacitors are express mail in the amount of electric charge they can absorb they can conduct direct current for only instances but function well as conductors in alternating current circuits.Fixed potentiality and variable capacity capacitors a re used in conjunction with coils as resonant circuits in radios and other electronic equipment. Capacitors are produced in a wide variety of forms. Air, Mica, Ceramics, Paper, Oil, and Vacuums are used as dielectrics depending on the purpose for which the device is intended. 3) Transistor Transistor is a device which transforms current flow from low resistance path to high resistance path. It is capable of performing many functions of the vacuum tube in electronic circuits, the transistor is the solid state device consisting of a tiny piece of semi conducting material, usually germanium or silicon, to which three or more electrical connections are made. ) Diode Diode is a electronic device that allows the passage of current in only one direction. The first such devices were vacuum-tube diodes, consisting of an evacuated glass or steel envelope containing two electrodes a cathode and an anode. The diodes commonly used in electronic circuits are semiconductor device diodes. There a re different diodes used in electronic circuits such as Junction diode, Zener diode, pic diodes, and tunnel diode. Junction diodes consist of junction of two different kinds of semiconductor material. 5. Program (Code) -include REG_51. PDF KEYSEQUP1ROW1EQUP1. 4ROW2EQUP1. 3ROW3EQUP1. 2ROW4EQUP1. 1COL1EQUP1. 5COL2EQUP1. 6COL3EQUP1. 7L1EQUP3. 13. 7L2EQUP3. 0ALRMEQUP3. DSEGORG 20HKEYDS1N1DS1N2DS1N3DS1N4DS1COUNTDS1CSEGORG 0000HSETB L1SETB L2CLR ALRMMOV R3,01HMOV COUNT,00HKEYBOARDMOV KEY,00HSETB COL1SETB COL2SETB COL3K11CLR ROW1CLR ROW2CLR ROW3CLR ROW4MOV A,KEYSANL A,11100000BCJNE A,11100000B,K11JC MAT2MOV KEY,02HAJMP K1MAT2RLC AJC K1MOV KEY,03HAJMP K1ROW_2RLC AJC MAT3MOV KEY,04HAJMP K1MAT3RLC AJC MAT4MOV KEY,05HAJMP K1MAT4RLC AJC K1MOV KEY,06HAJMP K1ROW_3RLC AJC MAT5MOV KEY,07HAJMP K1MAT5RLC AJC MAT6MOV KEY,08HAJMP K1MAT6RLC AJC K1MOV KEY,09HAJMP K1ROW_4RLC AJC MAT7MOV KEY,0AHMOV COUNT,00HMOV R3,01HAJMP KEYBOARDMAT7RLC AJC MAT8MOV KEY,0BHfor 0AJMP K1MAT8RLC AJC K1MOV KEY,0CHDELAYMOV R1, 50REPP2NOPDJNZ R1,REPP2RET((((((((((((((((((((((((((((((((END6. Conclusion7. ApplicationOur electronic door lock performed as expected.We were able to implement all of the functions specified in our proposal. The biggest hurdle we had to stamp down with this project was interfacing the micro controller with the hardware components. We feel that this electronic door lock is very salable because it is easy to use, comparatively inexpensive due to low power consumption, and highly reliable. This door lock is so particularly useful in applications such as hotel room door locks, residential housing, and even contribution buildings.. 9. References 1) Microchip, AT89C2051 Data Sheet, Microchip Technology Inc. , 2003 2) Arrick Robotics, Driving High-Power Loads with a Microprocessor, 2005,

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.