Thursday, February 21, 2019

Parity Generator

PARITY GENERATOR Vinti Thakkar Swetha Jain Riddhi Vira TE B-3 TE B-3 TE B-3 pass 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 hit in our day-today life.Every ane wants to be as much secure as possible. An retrieve control for populate accesss forms a vital link in a credentials chain. The microcontroller based digital hook for entrances is an access control ar cultivatement that allows l wizardsome(prenominal) authorized individuals to access a restricted atomic number 18a. The constitution is fully controlled by the 8 slur microcontroller AT89C2051 which has a 2Kbytes of ROM for the program memory. The rallying cry is stored in the EPROM so that we can change it at any time. The system has a Keypad by which the give-and-take can be tucked by means of it.When the entered password fair to middlings with the password stored in the memo ry then the relay gets on and so that the door is opened. If we entered a wrong password for more(prenominal) than trinity times then the Alarm is thrashed on. 1. IntroductionPassword Based Door Security System utilise Microcontroller is utilise in the places where we need more security. It can also used to secure lockers and another(prenominal) protective doors. The system comprises a number come uponpad and the keypads argon machine-accessible to the 8 bit microcontroller AT89C2051. This is superstar of the popular Microcontroller.It has only 20 pins and in that location be 15 input/ widening lines. The microcontroller has a program memory of 2 Kilobytes. The microcontroller interminably monitor the keypad and if somebody enters the password it provide 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 contrivance. The system will allow the person who go to be ds the password and it will not allow who dont know the password and the system will also show the persons who try to endanger the protection barrier. 3. band Diagram ExplanationThe Main Part of the above Circuit diagrams is the Microcontroller AT89C2051. The Keypad was the input crook and it was connected in a intercellular substance format 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 trine times then an fear will be switched on until a right password was touch 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 control 1234 Old password- New Password. The big businessman supply sectio n is the important ane. It should portray constant output regulated power supply for successful on the job(p) of the run across. A 0-12V/500 mA transformer 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 short circuit protection.The secondary is connected to the diodes convert from 12V AC to 12V DC voltage. Which is further regulated to +5v, by using IC 78054. Component Details1) Resistor Resistor is a component that resists the consort of immediately or alternating electric circuit. Resistors can limit or divide the current, reduce the voltage, protect an electric circuit, or provide too large heart and souls of wake or light. An electric current is the movement of charged particles called electrons from one region to another. Resistors are usually placed in electric circuits.Physicists condone the flow of current through a material, such as a resistor, by comparing it to water flowing through a pipe. Resistors are de indicateed to have a specific value of resistance. Resistors used in electric circuits are cylindrical. They are often color coded by trinity or four color bands that indicate the specific value of resistance. Resistors succeed ohms law, which states that the current density is directly proportional to the electric field of operations 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 outside(a) resistor and capacitor. For astable operation as an oscillator, the free running relative frequency and duty cycle are accurately controlled with ii 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 monolithic 3-terminal positive voltage regulators employ internal current-limiting, thermal shutdown and safe-area compensation, making them essentially indestructible. If adequate heat sinking is provided, they can deliver over 1. 0A output current. They are mean 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 profit to use as fixed voltage regulators, these devices can be used with external components to obtain adjustable output voltages and currents. Considerable effort was expended to earn the entire series of regulators easy to use and minimize 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 p ower supply.EEPROM (AT24C02) -The AT24C02 provides 2048 bits of serial electrically erasable and programmable read-only memory (EEPROM) organized as 256words of 8 bits each. The device is optimized for use in many industrial and commercial applications where low-power and low-tension 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 unused 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,KEYS ANL 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 impart our profound thanks to the people around us who helped make this childbed a reality. Firstly, we would handle to thank Ms. Vidya Daund for mentoring this project, right from the selection 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 ship canal 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 home offices separated by a non touching layer 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 original charge is negative and negative if the original charge is positive. The electrical size of the capacitor is its capacitance. Capacitors are limited 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 capacity and variable capacity capacitors are used in con union 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 highroad to high resistance path. It is capable of performing many functions of the vacuum pipework 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 o r steel envelope containing two electrodes a cathode and an anode. The diodes commonly used in electronic circuits are semiconducting material diodes. There are different diodes used in electronic circuits such as Junction diode, Zener diode, Photo 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 overcome with this project was interfacing the micro controller with the hardware components. We come up that this electronic door lock is very marketable because it is easy to use, relatively inexpensive due to low power consumption, and highly reliable. This door lock is therefore particularly useful in applications such as hotel room door locks, residential housing, and even office 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