Product categories

Have You Seen

B0505S-1WR3 MORNSUN Isolated DC - DC Converter

B0505S-1WR3 MORNSUN Isolated DC - DC Converter

Mornsun B0505S-1WR3 DC-DC Isolated ConverterMORNSUN B0505S 1WR3 1 watt, 5 Volts Isolated DC to DC Po..

Rs.106.20 (inc GST)
Rs.90.00 + GST

SKU: 2969 | DAE663
Stock: 100
XL1509-Adj E1 Buck DC to DC Converter IC (SOP8L Package)

XL1509-Adj E1 Buck DC to DC Converter IC (SOP8L Package)

XL1509-Adj E1 Buck DC to DC Converter IC (SOP8L Package)XL1509-Adj E1 Buck DC to DC Converter IC, Ad..

Rs.25.96 (inc GST)
Rs.22.00 + GST

SKU: 3657 | DAF397
Stock: 79

Password Access System



Password Access System

Aim

An Electronic lock is a locking device which operates by means of electric current. We can use Electronic lock for activating/deactivating Eletric lock. Electric locks use magnets, solenoids, or motors to actuate the lock by either supplying or removing power. More often electric locks are connected to an access control system. We can also use it to lock Electronic Devices by directly turning ON/OFF the power of the device. The main advantage of electronic lock over the Hardware lock is the ability to change the password without any change in the hardware.

A keypad is used to enter the password which is then compared by the microcontroller with the one saved in the EEPROM. If the password matches the relay is activated which can thus be used to activate the Eletric Lock. Facility to change the password is also provided the password can be anywhere from one digit to six digit. The password can only be changed after entering the current password.

Block Diagram:

Password Access System

Microcontroller-

It is the Heart of the circuit. We will be using ATMEL’s AT89S51 microcontroller. It is a 40 pin microcontroller with 128 bytes RAM & 4kb flash memory. The controller detects any switch press & accordingly performs the necessary action. Turns ON the relay when entered password is correct & turns OFF the relay when the ‘LOCK’ switch is pressed. It displays information on the LCD thus enabling user to enter or edit the password. The controller saves & reads the password from the EEPROM.

EEPROM-

EEPROM is used as external memory device to store password in case of power failure. The EEPROM does not require any external battery backup for storage. We are using 24C08 EEPROM which has 8k bits memory which is more than enough for saving the password. The EEPROM communicates with the Microcontroller using the I2C protocol.

Keypad-

In all 12 Tactile switches are used in the keypad section. These are 0-9, one Unlock switch & One Lock switch.  They are used to Lock, Unlock and change the password.

LCD-

The 16 X 2 LCD Display provides a user interface. A liquid crystal display (commonly abbreviated LCD) is a thin, flat display device made up of any number of color or monochrome pixels arrayed in front of a light source or reflector. It is prized by engineers because it uses very small amounts of electric power, and is therefore suitable for use in battery-powered electronic devices.

A very popular standard exists which allows us to communicate with the vast majority of LCDs regardless of their manufacturer. The standard is referred to as HD44780U, which refers to the controller chip which receives data from an external source (in this case, the 8051) and communicates directly with the LCD.

Relay-

Relays are components which are basically used to turn ON/OFF high current or Voltages devices. A relay is TURNED ON when a sufficient holding current is passed through its coil. We are using 12v SPDT relay i.e. the voltage required to energize the coil is 12v and of Single Pole Double Throw (SPDT) type i.e. it consists of one common Pole & two outputs namely the Normally Open (NO) & Normally Closed (NC) outputs.

Relay Driver-

The Relays require suitable ‘PULL IN’ current or ‘HOLDING’ current (around 70ma) to turn it ON. Moreover the Relay coil voltage (12volts) is more that what the controller can handle. So to provide the necessary current & at the required voltage a relay driver circuit is required.

Power Supply-

We require regulated 5 volts for microcontroller, LCD, EEPROM & approximately 12 volts for the Relay. These voltages are generated from 230v line voltage.

Hardware Requirement:

  1. Microcontroller 89s52.
  2. EEPROM: 24c08
  3. LCD: 16x2 Alphanumeric.
  4. Matrix Keypad.
  5. Relay & Relay Driver Circuit.

Software Requirement:

  1. Keil Software as Compiler. Coding in Assembly Language
  2. Proteus for Circuit Designing
  3. Protel for PCB Designing.

Advantages:

  1. Versatile password range i.e. password can be 1 digit to 6 digit long.
  2. Simple Microcontroller based design.
  3. Easy to implement.
  4. Low costing.

Disadvantages:

  1. Anyone who comes to know the password can access the system
  2. System based on electricity so if there is no power the lock will be deactivated.

Future Scope:

  1. Multilevel security i.e. Smart card, RFID or fingerprint.
  2. Logs can be added to know which person accessed the system and when.

APPLICATION:

  1. Home Access Control.
  2. Vehicle Ignition Interlock.
  3. Bank Lockers.
  4. Jeweler Stores Lockers.

Text Books:

  1. Muhammad Ali Mazidi –“THE 8051 MICROCONTROLLER AND EMBEDDED SYSTEMS”, Pearson education,
  2. Ayala- “INTRODUCTION TO 8051 MICROCONTROLLER”

Website:

  1. www.howstuffworks.com
  2. www.instructables.com/id/Cellphone-operated-Robot/
  3. www.dnatechindia.com
  4. www.answers.com

Magazines:

  1. Electronics for you
  2. Electrikindia

Written by Amol Shah

Amol Shah

Founder of DNA Technology an Electronic Engineer by choice. Started working on this website as an Hobby and now its a full time venture. Very passionate about Electronics and like to learn new stuff. Want to make DNA Technology one of the best Online Store for Electronics Components in India.
Follow Me Twitter | Facebook | Google Plus | Instagram