SlideShare a Scribd company logo
1 of 3
Download to read offline
Yekkati Vishnu, Nirmal K Thomas, Divya Gupta, Gaurav Chitranshi/ International Journal of
   Engineering Research and Applications (IJERA)        ISSN: 2248-9622 www.ijera.com
                       Vol. 3, Issue 2, March -April 2013, pp.592-594

                                       Digital Access System
         Yekkati Vishnu**, Nirmal K Thomas **,Divya Gupta*, Gaurav
                                Chitranshi*
                  * Assistant Professor, Dept. of. ECE, ASET, Amity University, Noida, India.
                 ** Student, Mtech-Vlsi, Dept. of. ECE, ASET, Amity University, Noida, India.


Abstract—
          This paper present an approach to                with the simulator. The design is tested on the
design a digital access control system. The heart          simulator only and is not tested with the actual
of the system is a digital controller. The                 hardware.
controller specifications are as follows: The
numbers from 0 to 9 are coded in natural binary                      KEYPAD MODULE DESIGN
on 4 bits. A, B and O are coded in the following
way A: 1010, B: 1011, O: 1111. The controller
works in two modes: Day Mode: The door opens
while pressing on "O" or if entering the
correctcode. Night Mode: The door opens only if
the code is correct. To distinguish between the
Day and Night modes, an external "timer"
generates the signal “day” which is equal to ’1’
between 8h00 and 20h00 and ’0’ otherwise. The
controller sets an “alarm” signal as soon as one of
the entered numbers is not correct. The “reset”
signal is also triggered after the door opens. The
correct code is chosen to be 53A17. The digital
access system is a part of Mentor Graphics
Design Contest 2012.
.
                      INTRODUCTION
          Digital access systems are commonly now
replacing the ordinary access systems throughout the
world as it brings in stability and technology into the
midst. Here the system works in two modes day and                      Fig 1: Keypad Module Index
night modes and to differentiate these two modes we
use a timer generated signal „day‟ that returns either a   The complete working of the Digital access system
„1‟ or „0‟. The basic working of the system is as          is divided into various modules. The various
follows first there will be an keypad which is             modules are:
connected to a controller via an encoder and the
controller is designed using the state machine             Keypad Module Controller
encoding principles of verilog HDL. Then there is the                This module controls the components of the
timer that is connected to the controller for              keypad. The function of this module is to scan the
differentiation of the two modes the day and night.        keypad for user input, translates the coordinates of
`         The day mode works or follows the rule that      the keypress to binary values and transfer the binary
the door is given access when the key „O‟ is pressed       data to other modules.
and also when the code is entered correctly. Whereas
in night mode what happens is that the door is given       Keypad Debounce Counter
access only when the correct code is entered that                   This is a counter to implement a delay
which makes the system more secure and less theft          equal to the debouncing period. The counter has a
prone. The output of the system is of two led‟s green      preset value of 100 with preset being held high.
and red when the access is granted that is when the        When a keypress is detected, the keypad controller
output is „1‟ the led flashes green and when it is         drops the presst signal. The counter then counts
entered wrongly the red led is turned on.                  down to zero and signals the keypad controller when
Our approach is to design a separate FSM for day           finished. We have taken the clock speed as 5 MHz
and night mode based on the requirement. From              so the delay becomes 0.2usec. For a consistent
FSM we will generate the verilog code and test it          keypad bouncing we require a delay of 2-3 msec so


                                                                                                 592 | P a g e
Yekkati Vishnu, Nirmal K Thomas, Divya Gupta, Gaurav Chitranshi/ International Journal of
   Engineering Research and Applications (IJERA)        ISSN: 2248-9622 www.ijera.com
                       Vol. 3, Issue 2, March -April 2013, pp.592-594

we need a counter with initial counter value of
10000 which is a 14 bit wide counter.

Keypad Row Scanner
          This is a 5 bit counter/register that is used
to scan the keypad. It keeps all 1 except 1 zero that
cycles through (01111,10111,11011,11101,11110).
This pattern is used to scan the rows of the keypad.
The '0' enables one row at a time to allow key
presses to be detected by columns. The '1's disable
the other rows. The scanner also has an enable signal
which allows the keypad controller to hold the
scanner value in order to determine the coordinates
of the key press.

Look Up Tables (LUT)
        We have used a look up table for keypad
coordinate conversion to binary values. The binary
values are used by the comparison module to
compare with the desired authentic code.
                                                                        Fig 3: FSM in Day Mode
                     NIGHT FSM.
                                                                           V. RESULTS




                                                             Fig 4: Output waveform for night mode module




               Fig 2: FSM of Night Mode
                                                              Fig 5: Output waveform for day mode module
  As mentioned the night mode works only when the                      when “o” is given as input
correct code is pressed and the correct code to be
pressed is “53A17”.
  The keypad has 13 keys thus a possible 13 states.
Here the FSM used is a mealy one as it depends both
on the input and present state.

                      IV. DAY FSM
          The FSM is similar to the night mode the
only addition being that when the key „O‟ is pressed
the door opens thus an additional state is required          Fig 6: Output waveform for day mode module
and this is also an mealy machine.
                                                          From Fig 4 we can say that as soon as the correct
                                                          code is entered, that is, 53A17 the output is high



                                                                                              593 | P a g e
Yekkati Vishnu, Nirmal K Thomas, Divya Gupta, Gaurav Chitranshi/ International Journal of
   Engineering Research and Applications (IJERA)        ISSN: 2248-9622 www.ijera.com
                       Vol. 3, Issue 2, March -April 2013, pp.592-594

means that the door will open. In the day mode, we
can switch on the door directly by pressing the O
button which is shown in Fig 5.

              ACKNOWLEDGMENT
        The authors like to thank Amity University,
Noida for their support and cooperation. The present
work is a part of the design contest conducted by
Mentor Graphics in 2012.

                   REFERENCES
    Iqbalur Rahman Rokon, Toufiq Rahman, Md.
      Murtoza Ali Quader, and Mukit Alam,
      “Hardware Implementation of Watchdog
      Timer for Application in ATM Machine Using
      Verilog and FPGA”, International Conference
      on Electronics, Biomedical
    Engineering       and      its     Applications
      (ICEBEA'2012) Jan. 7-8, 2012 Dubai.
    K. H. Yeap, H. Nisar, K. H. Chong, Z. I.
      Rizman, C. C. Yang, Y. T. Yong and K. C. Lai
      , “Design of a Keyless Coded Home Lock
      System Using Verilog Hardware Description
      Language”, IJECCT 2012, Vol. 3 (1) 10.
    Samir Palnitkar, “VERILOG HDL A Guide to
      Digital Design and Synthesis”, second edition
      pearson.
    Wayne wolf, “FPGA based system design”,
      prentice hall, 2005.
   M. Morris Mano, “Digital Design” prentice
      hall, 2008.
   Seetha Ramachandran “Digital Vlsi System
      Design : A manual for implementation of
      projects on FPAs and ASICs using Verilog”,
      springer,2007.
    T.R. Padmanabhan, B R Bala Tripura Sundari
      “Design using verilog HDL”, Institue of
      Electronic and electricl engineers,2004
   www.ece.ualberta.ca/~elliott/ee552/projects/19
      97f/digital_humidifier/vhdl/keypad.vhd




                                                                             594 | P a g e

More Related Content

What's hot

IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD Editor
 
Ijarcet vol-2-issue-7-2389-2397
Ijarcet vol-2-issue-7-2389-2397Ijarcet vol-2-issue-7-2389-2397
Ijarcet vol-2-issue-7-2389-2397
Editor IJARCET
 

What's hot (18)

Arduino embedded systems and advanced robotics
Arduino embedded systems and advanced roboticsArduino embedded systems and advanced robotics
Arduino embedded systems and advanced robotics
 
IRJET- IoT Color based Product Sorting Machine
IRJET- IoT Color based Product Sorting MachineIRJET- IoT Color based Product Sorting Machine
IRJET- IoT Color based Product Sorting Machine
 
IRJET - Robot for Prescription Writing
IRJET -  	  Robot for Prescription WritingIRJET -  	  Robot for Prescription Writing
IRJET - Robot for Prescription Writing
 
Industrial Safety Measurement using Sensors and Voice Announcement
Industrial Safety Measurement using Sensors and Voice AnnouncementIndustrial Safety Measurement using Sensors and Voice Announcement
Industrial Safety Measurement using Sensors and Voice Announcement
 
Bluetooth LE Button
Bluetooth LE ButtonBluetooth LE Button
Bluetooth LE Button
 
Design and implementation of real time security guard robot using GSM/CDMA ne...
Design and implementation of real time security guard robot using GSM/CDMA ne...Design and implementation of real time security guard robot using GSM/CDMA ne...
Design and implementation of real time security guard robot using GSM/CDMA ne...
 
Arduino
ArduinoArduino
Arduino
 
Smart k
Smart kSmart k
Smart k
 
Arduino_Project_Report
Arduino_Project_ReportArduino_Project_Report
Arduino_Project_Report
 
SYSTEM ON PROGRAMMABLE CHIP FOR PERFOMANCE ESTIMATION OF LOOM MACHINE
SYSTEM ON PROGRAMMABLE CHIP FOR PERFOMANCE ESTIMATION OF LOOM MACHINESYSTEM ON PROGRAMMABLE CHIP FOR PERFOMANCE ESTIMATION OF LOOM MACHINE
SYSTEM ON PROGRAMMABLE CHIP FOR PERFOMANCE ESTIMATION OF LOOM MACHINE
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
Ijarcet vol-2-issue-7-2389-2397
Ijarcet vol-2-issue-7-2389-2397Ijarcet vol-2-issue-7-2389-2397
Ijarcet vol-2-issue-7-2389-2397
 
Bm 04 FINGERPRINT BASED LIFT OPERATING SYSTEM
Bm 04 FINGERPRINT BASED LIFT OPERATING SYSTEMBm 04 FINGERPRINT BASED LIFT OPERATING SYSTEM
Bm 04 FINGERPRINT BASED LIFT OPERATING SYSTEM
 
IRJET- Speaking Microcontroller for Deaf and Dumb People
IRJET- Speaking Microcontroller for Deaf and Dumb PeopleIRJET- Speaking Microcontroller for Deaf and Dumb People
IRJET- Speaking Microcontroller for Deaf and Dumb People
 
Iot bootcamp abridged - part 2
Iot bootcamp   abridged - part 2Iot bootcamp   abridged - part 2
Iot bootcamp abridged - part 2
 
A Smart Handheld Measuring and Testing Electronic Device with Touch Screen
A Smart Handheld Measuring and Testing Electronic Device with Touch ScreenA Smart Handheld Measuring and Testing Electronic Device with Touch Screen
A Smart Handheld Measuring and Testing Electronic Device with Touch Screen
 
Smard card123
Smard card123Smard card123
Smard card123
 
Arduino based Real Time Clock with Ringing of Bell and National Anthem
Arduino based Real Time Clock with Ringing of Bell and National AnthemArduino based Real Time Clock with Ringing of Bell and National Anthem
Arduino based Real Time Clock with Ringing of Bell and National Anthem
 

Viewers also liked

Projetos comunidade
Projetos comunidadeProjetos comunidade
Projetos comunidade
clauciene
 
Copia conflictos y resolucion (2)
Copia conflictos y resolucion (2)Copia conflictos y resolucion (2)
Copia conflictos y resolucion (2)
cefic
 

Viewers also liked (20)

Db32637643
Db32637643Db32637643
Db32637643
 
D32035052
D32035052D32035052
D32035052
 
Cx32617623
Cx32617623Cx32617623
Cx32617623
 
De32662675
De32662675De32662675
De32662675
 
Da32633636
Da32633636Da32633636
Da32633636
 
Im3314481452
Im3314481452Im3314481452
Im3314481452
 
Gq3412071214
Gq3412071214Gq3412071214
Gq3412071214
 
Ga3411031110
Ga3411031110Ga3411031110
Ga3411031110
 
Gj3411701173
Gj3411701173Gj3411701173
Gj3411701173
 
Fy3410901095
Fy3410901095Fy3410901095
Fy3410901095
 
Go3411961201
Go3411961201Go3411961201
Go3411961201
 
Gc3411211125
Gc3411211125Gc3411211125
Gc3411211125
 
Gn3411911195
Gn3411911195Gn3411911195
Gn3411911195
 
Z32178181
Z32178181Z32178181
Z32178181
 
Dd32653661
Dd32653661Dd32653661
Dd32653661
 
Tarefa 2(3)
Tarefa 2(3)Tarefa 2(3)
Tarefa 2(3)
 
Simbolismo renan
Simbolismo renanSimbolismo renan
Simbolismo renan
 
Projetos comunidade
Projetos comunidadeProjetos comunidade
Projetos comunidade
 
Sistemas operativo
Sistemas operativoSistemas operativo
Sistemas operativo
 
Copia conflictos y resolucion (2)
Copia conflictos y resolucion (2)Copia conflictos y resolucion (2)
Copia conflictos y resolucion (2)
 

Similar to Cs32592594

Similar to Cs32592594 (20)

FPGA Based Implementation of Electronic Safe Lock
FPGA Based Implementation of Electronic Safe LockFPGA Based Implementation of Electronic Safe Lock
FPGA Based Implementation of Electronic Safe Lock
 
FINGERPRINT BASED LOCKER WITH IMAGE CAPTURE
FINGERPRINT BASED LOCKER WITH IMAGE CAPTUREFINGERPRINT BASED LOCKER WITH IMAGE CAPTURE
FINGERPRINT BASED LOCKER WITH IMAGE CAPTURE
 
Project report on dtmf based door opening system
Project report on  dtmf based door opening systemProject report on  dtmf based door opening system
Project report on dtmf based door opening system
 
IRJET - RFID based Automatic Entry Restricted Mechanism for Home Security
IRJET - RFID based Automatic Entry Restricted Mechanism for Home SecurityIRJET - RFID based Automatic Entry Restricted Mechanism for Home Security
IRJET - RFID based Automatic Entry Restricted Mechanism for Home Security
 
Auto Room Lighting and Door lock Report
Auto Room Lighting and Door lock ReportAuto Room Lighting and Door lock Report
Auto Room Lighting and Door lock Report
 
G05124550
G05124550G05124550
G05124550
 
Smart vault ppt
Smart vault pptSmart vault ppt
Smart vault ppt
 
Towards secure smart cities: design and implementation of smart home digital ...
Towards secure smart cities: design and implementation of smart home digital ...Towards secure smart cities: design and implementation of smart home digital ...
Towards secure smart cities: design and implementation of smart home digital ...
 
Real time model of a lock gate system upon fingerprint with microcontroller
Real time model of a lock gate system upon fingerprint with microcontrollerReal time model of a lock gate system upon fingerprint with microcontroller
Real time model of a lock gate system upon fingerprint with microcontroller
 
IRJET- Voice-Activated Home Automation using NodeMCU
IRJET- Voice-Activated Home Automation using NodeMCUIRJET- Voice-Activated Home Automation using NodeMCU
IRJET- Voice-Activated Home Automation using NodeMCU
 
Random Number Generator Using Seven Segment Display In Labview
Random Number Generator Using Seven Segment Display In LabviewRandom Number Generator Using Seven Segment Display In Labview
Random Number Generator Using Seven Segment Display In Labview
 
Fingerprint Based Security System
Fingerprint Based Security SystemFingerprint Based Security System
Fingerprint Based Security System
 
Fingerprint base security system
Fingerprint base security systemFingerprint base security system
Fingerprint base security system
 
Intellectual Bank Locker Security System
Intellectual Bank Locker Security SystemIntellectual Bank Locker Security System
Intellectual Bank Locker Security System
 
Intellectual Bank Locker Security System
Intellectual Bank Locker Security SystemIntellectual Bank Locker Security System
Intellectual Bank Locker Security System
 
Embedded system development-Arduino UNO
Embedded system development-Arduino UNOEmbedded system development-Arduino UNO
Embedded system development-Arduino UNO
 
IRJET- Smart Home: Speech Recognition based Home Automation using IoT
IRJET-  	  Smart Home: Speech Recognition based Home Automation using IoTIRJET-  	  Smart Home: Speech Recognition based Home Automation using IoT
IRJET- Smart Home: Speech Recognition based Home Automation using IoT
 
F0463842
F0463842F0463842
F0463842
 
Design Analysis Automatic Garage Door Opener
Design Analysis Automatic Garage Door OpenerDesign Analysis Automatic Garage Door Opener
Design Analysis Automatic Garage Door Opener
 
ESP32 CAM Face Detection Door Lock
ESP32 CAM Face Detection Door LockESP32 CAM Face Detection Door Lock
ESP32 CAM Face Detection Door Lock
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Cs32592594

  • 1. Yekkati Vishnu, Nirmal K Thomas, Divya Gupta, Gaurav Chitranshi/ International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 3, Issue 2, March -April 2013, pp.592-594 Digital Access System Yekkati Vishnu**, Nirmal K Thomas **,Divya Gupta*, Gaurav Chitranshi* * Assistant Professor, Dept. of. ECE, ASET, Amity University, Noida, India. ** Student, Mtech-Vlsi, Dept. of. ECE, ASET, Amity University, Noida, India. Abstract— This paper present an approach to with the simulator. The design is tested on the design a digital access control system. The heart simulator only and is not tested with the actual of the system is a digital controller. The hardware. controller specifications are as follows: The numbers from 0 to 9 are coded in natural binary  KEYPAD MODULE DESIGN on 4 bits. A, B and O are coded in the following way A: 1010, B: 1011, O: 1111. The controller works in two modes: Day Mode: The door opens while pressing on "O" or if entering the correctcode. Night Mode: The door opens only if the code is correct. To distinguish between the Day and Night modes, an external "timer" generates the signal “day” which is equal to ’1’ between 8h00 and 20h00 and ’0’ otherwise. The controller sets an “alarm” signal as soon as one of the entered numbers is not correct. The “reset” signal is also triggered after the door opens. The correct code is chosen to be 53A17. The digital access system is a part of Mentor Graphics Design Contest 2012. .  INTRODUCTION Digital access systems are commonly now replacing the ordinary access systems throughout the world as it brings in stability and technology into the midst. Here the system works in two modes day and Fig 1: Keypad Module Index night modes and to differentiate these two modes we use a timer generated signal „day‟ that returns either a The complete working of the Digital access system „1‟ or „0‟. The basic working of the system is as is divided into various modules. The various follows first there will be an keypad which is modules are: connected to a controller via an encoder and the controller is designed using the state machine Keypad Module Controller encoding principles of verilog HDL. Then there is the This module controls the components of the timer that is connected to the controller for keypad. The function of this module is to scan the differentiation of the two modes the day and night. keypad for user input, translates the coordinates of ` The day mode works or follows the rule that the keypress to binary values and transfer the binary the door is given access when the key „O‟ is pressed data to other modules. and also when the code is entered correctly. Whereas in night mode what happens is that the door is given Keypad Debounce Counter access only when the correct code is entered that This is a counter to implement a delay which makes the system more secure and less theft equal to the debouncing period. The counter has a prone. The output of the system is of two led‟s green preset value of 100 with preset being held high. and red when the access is granted that is when the When a keypress is detected, the keypad controller output is „1‟ the led flashes green and when it is drops the presst signal. The counter then counts entered wrongly the red led is turned on. down to zero and signals the keypad controller when Our approach is to design a separate FSM for day finished. We have taken the clock speed as 5 MHz and night mode based on the requirement. From so the delay becomes 0.2usec. For a consistent FSM we will generate the verilog code and test it keypad bouncing we require a delay of 2-3 msec so 592 | P a g e
  • 2. Yekkati Vishnu, Nirmal K Thomas, Divya Gupta, Gaurav Chitranshi/ International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 3, Issue 2, March -April 2013, pp.592-594 we need a counter with initial counter value of 10000 which is a 14 bit wide counter. Keypad Row Scanner This is a 5 bit counter/register that is used to scan the keypad. It keeps all 1 except 1 zero that cycles through (01111,10111,11011,11101,11110). This pattern is used to scan the rows of the keypad. The '0' enables one row at a time to allow key presses to be detected by columns. The '1's disable the other rows. The scanner also has an enable signal which allows the keypad controller to hold the scanner value in order to determine the coordinates of the key press. Look Up Tables (LUT) We have used a look up table for keypad coordinate conversion to binary values. The binary values are used by the comparison module to compare with the desired authentic code. Fig 3: FSM in Day Mode  NIGHT FSM. V. RESULTS Fig 4: Output waveform for night mode module Fig 2: FSM of Night Mode Fig 5: Output waveform for day mode module As mentioned the night mode works only when the when “o” is given as input correct code is pressed and the correct code to be pressed is “53A17”. The keypad has 13 keys thus a possible 13 states. Here the FSM used is a mealy one as it depends both on the input and present state. IV. DAY FSM The FSM is similar to the night mode the only addition being that when the key „O‟ is pressed the door opens thus an additional state is required Fig 6: Output waveform for day mode module and this is also an mealy machine. From Fig 4 we can say that as soon as the correct code is entered, that is, 53A17 the output is high 593 | P a g e
  • 3. Yekkati Vishnu, Nirmal K Thomas, Divya Gupta, Gaurav Chitranshi/ International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 3, Issue 2, March -April 2013, pp.592-594 means that the door will open. In the day mode, we can switch on the door directly by pressing the O button which is shown in Fig 5. ACKNOWLEDGMENT The authors like to thank Amity University, Noida for their support and cooperation. The present work is a part of the design contest conducted by Mentor Graphics in 2012. REFERENCES  Iqbalur Rahman Rokon, Toufiq Rahman, Md. Murtoza Ali Quader, and Mukit Alam, “Hardware Implementation of Watchdog Timer for Application in ATM Machine Using Verilog and FPGA”, International Conference on Electronics, Biomedical  Engineering and its Applications (ICEBEA'2012) Jan. 7-8, 2012 Dubai.  K. H. Yeap, H. Nisar, K. H. Chong, Z. I. Rizman, C. C. Yang, Y. T. Yong and K. C. Lai , “Design of a Keyless Coded Home Lock System Using Verilog Hardware Description Language”, IJECCT 2012, Vol. 3 (1) 10.  Samir Palnitkar, “VERILOG HDL A Guide to Digital Design and Synthesis”, second edition pearson.  Wayne wolf, “FPGA based system design”, prentice hall, 2005.  M. Morris Mano, “Digital Design” prentice hall, 2008.  Seetha Ramachandran “Digital Vlsi System Design : A manual for implementation of projects on FPAs and ASICs using Verilog”, springer,2007.  T.R. Padmanabhan, B R Bala Tripura Sundari “Design using verilog HDL”, Institue of Electronic and electricl engineers,2004  www.ece.ualberta.ca/~elliott/ee552/projects/19 97f/digital_humidifier/vhdl/keypad.vhd 594 | P a g e