Keyboard Controlled Scoreboard

Size: px
Start display at page:

Download "Keyboard Controlled Scoreboard"

Transcription

1 Universities Research Journal 2011, Vol. 4, No. 4 Keyboard Controlled Scoreboard Kyaw Hlaing 1 and Win Swe 2 Abstract The objective of this research work is to design a keyboard controlled scoreboard that is easy to use, portable, and cost effective. Both hardware and software have been designed for the keyboard controlled scoreboard. All program source codes are written by assembly language. PIC16F84A and PIC16F877A microcontrollers are used as control devices in data transmitting circuit and data receiving circuit of this research work. The display screen is composed of 8 8 dot-matrix modules and 7- segment displays. The size of one character in 8 8 dot-matrix modules is 12 cm length and 7.5 cm breadth. Each module can display one character. Four modules are cascaded to display the name of team and two modules are cascaded to display the scores. 7-segment displays are used for showing time. The last two digits show minutes and the first digit shows hour. Key words: PIC16F84A, PIC16F877A, 8 8 dot-matrix modules Introduction A scoreboard is a device that allows spectators and players to be able to know the score at every point in the game. This is critical to competition as teams usually strategize their game play based on key factors related to the information displayed on the scoreboard. In order for this information to be current and easily updateable it is best that the scoreboard be remote controlled. The infrared radiation technique is used between the keyboard data transmitter and scoreboard. Keyboard is connected to the input pin of PIC16F84A so that keyboard data is transmitted via an infrared LED that is under the control of PIC16F84A. Synchronous serial communication is used between keyboard and PIC16F84A. A software development is also implemented for keyboard data receiving, keyboard data transmitting and data receiving from keyboard data transmitter. Block diagram of developed keyboard controlled scoreboard system is shown in Fig Assistant Lecturer, Department of Physics, University of Mandalay 2. Associate Professor, Department of Physics, University of Mandalay

2 132 Universities Research Journal 2011, Vol. 4, No. 4 Fig.1. Block diagram of keyboard controlled scoreboard Hardware Design In the Hardware Design, there are six units. They are Keyboard Data Receiving, and Transmitting Unit, Main Control Unit, Horizontal Scanning Unit, Timer Display Unit and Display Unit. Keyboard Data Receiving and Transmitting Unit This unit generates the modulated pulses for main control unit and receives the synchronous data of PS/2 keyboard. It consists of three main parts infrared LED, C1383 n-p-n transistor and PIC16F84A microcontroller. The 40 khz modulated signal energizes the infrared LED is connected with emitter of C1383. The specified numbers of modulated pulses are transmitted each time via an infrared LED under control of PIC16F84A microcontroller. The two transistors (C1383) are connected as Darlington connection (Horowitz, P. and Winfield, H.) because infrared LED is required large amount of current. Therefore, the result behaves like a single transistor with beta equal to the product of the two transistors beta. Circuit diagram of infrared transmitter unit is shown in Fig. 2.

3 Universities Research Journal 2011, Vol. 4, No V Keyboard clock line Keyboard data line C1383 C K 330 O PIC16F84A 22pF 20 MHz 22pF Fig.2. Circuit diagram of infrared transmitter unit Main Control Unit This is the main control part of the system, which receives infrared signal from the transmitter unit, scans the data to display the character and transmits specified data to the data receiving and scanning unit. This unit performs the required mathematical operations and also generates the pulses for horizontal scanning unit and timer display unit. The infrared signal is detected by infrared receiver. Four infrared receiver are used for detect the infrared signal from every site. The control device of this unit is the PIC16F877A microcontroller manufactured by Microchip Inc. Circuit diagram of main control unit is shown in Fig.3.

4 134 Universities Research Journal 2011, Vol. 4, No V Output result of IR receiver unit C9013 all 22 pf pf PIC 16F877A HCF017BE R Q1 CLK Q2 EN Q3 Q9 Q4 Q5 Q6 Q7 Q8 I1 I2 I3 I4 I5 I6 I7 I8 ULN2803A O1 O2 O3 O4 O5 O6 O7 O8 Fig.3. Circuit diagram of main control unit

5 Universities Research Journal 2011, Vol. 4, No Horizontal Scanning Unit The main function of this unit is horizontal scanning for the display system. It consists of three main parts HCF4017BE, ULN2803APG and two input HCF4081BP ICs. For four characters scanning, four numbers of HCF4017BE, four numbers of ULN2803APG and HCF4081BP ICs are used. The outputs of HCF4017BE are connected to the inputs of ULN2803APG. The ULN2893 outputs are connected with 8 8 dot-matrix display. HCF4081BP IC is used for the serial clock input of three HCF4017BE ICs. Circuit diagram of horizontal scanning unit is shown in Fig.4. Fig.4. Circuit diagram of horizontal scanning unit for one team

6 136 Universities Research Journal 2011, Vol. 4, No. 4 Timer Display Unit The main function of this unit is to display the playing time of the game. It consists of three main parts, SN74LS90 Decade counter, HFE4543B BCD to 7-segment driver, HCF4081BP 2-input AND gate. The clock and reset pin of SN74LS90 decade counter is connected with pin number 3 and pin number 4 of portb of PIC16F877A. PIC16F877A controls decade counter to display the playing time of the game. Then decade counter generates binary code to HFE4543B. Then HFE4543B generate 7-segment display pattern code that will be appearing on the 7- segment display. Display Unit It consists of two 32 8 dot-matrix displays and two 16 8 dot-matrix displays. The first will be used to show the teams in the game. The second will be used to show the marks of the team. Dot-matrix displays are constructed as 8 8 dot-matrix modules. Each module contains 64 pixels. Each pixel has four LEDs. The photograph of 8 8 dot-matrix module is shown in Fig.5. The wire connection of 8 8 dot-matrix module is shown in Fig.6. It also contains 7-segment display to show the playing time of the teams. Fig.5. The photograph of 8 8 dot-matrix module (Front and back view)

7 Universities Research Journal 2011, Vol. 4, No Fig.6. The wire connection of 8 8 dot-matrix module Software Implementation There are two main programmes in the software implementation. The first program consists of keyboard data receiving program and data transmitting subroutine. The second program receives 40 khz modulated IR signal and controls the output data for the display unit. For keyboard data receiving programmes, the control device is PIC16F84A. The assembly language is used to program PIC16F84A to receive data. The clock and data lines of keyboard are connected to the input pins (RA0 and RA1) of PIC16F84A. For the keyboard data input currently update, interrupt feature of PIC is used. PIC16F84A receives keyboard scan code and transform receive scan code to transmit code. Then PIC16F84A generates 40 khz modulated clock pulse via an IR LED. Flowchart of keyboard data receiving program is shown in Fig.7 and Flowchart of data transmitting subroutine is shown in Fig. 8.

8 138 Universities Research Journal 2011, Vol. 4, No. 4 Fig.7. Flowchart of keyboard data receiving program

9 Universities Research Journal 2011, Vol. 4, No Is CLK = 1? No Yes Yes Is CLK = 1 No Exclusive OR with data and parity, AND with 1 Is CLK = 1? Yes No Is CLK =1? Yes No No Check parity error Go to start No Yes Is the receive data =0xF0? Yes Transmit keyboard data End Fig.7. Flowchart of keyboard data receiving program (Continued)

10 140 Universities Research Journal 2011, Vol. 4, No. 4 In the second programme, PIC16F877A receives 40 khz modulated clock pulse via an IR receiver. The output of IR receiver is connected with the input pin (RB0) of PIC16F877A microcontroller. PIC16F877A classifies binary-1 or binary-0 according to the incoming pulse numbers. The binary-1 state is composed of 40 pulses of 40 khz modulated clock pulse. The binary-0 state is composed of pulses of 40 khz modulated clock pulse (Smitch, D.W.). According to the input data information, PIC16F877A determine character or number. Then PIC16F877A displays received information on the display screen. PIC16F877 A also determines the time during of the game from start and display the corresponding time on the 7-segment displays.

11 Universities Research Journal 2011, Vol. 4, No Fig.8. Flow chart of main control function Results and Discussion The keyboard controlled scoreboard is constructed using peripheral interface controller. The data communication between PIC16F84A and PIC16F877A is asynchronous serial communication. The output current of

12 142 Universities Research Journal 2011, Vol. 4, No. 4 microcontroller is not enough to transmit infrared single for a distance of 1 m. To solve this problem, Darlington connection is used. Using Darlington connection, the infrared signal can reach about 12 m. There are many illumination sources, such as fluorescent lamps or sunlight can introduce light noise that can interfere with proper data reception. To overcome this problem, it is arranged in such a way that keyboard data transmitter transmits three start bits and eight data bits. In the receiver unit, the control program exits the interrupt subroutine if the three start bit is incorrect. If the infrared receiver receives error signal, the controller is said to be ready for next infrared signal. The microcontroller does not provide the scanning for the error signal. In the data receiving system, the binary-1 state and binary-0 state are classified by the period of the low state. The active time of binary-1 state is 1 ms and binary-0 state is 0.25 ms. There is a relax time between every two data bits. So the incoming data is identical with the data format of this system. Otherwise the data receiving system does not accept the incoming data for scanning process. So other infrared transmitters cannot easily control the display system of this keyboard controlled scoreboard. The photographs of display form and internal circuit diagram of the system are shown in Fig.9 and Fig. respectively. Fig.9. The photograph of display form of the system

13 Universities Research Journal 2011, Vol. 4, No Fig.. The photograph of internal circuit diagram of constructed system Conclusion A keyboard controlled scoreboard has been designed and constructed. In the display system, the microcontroller PIC16F877A is used as a control device. The microcontroller is scanning characters on the 8 8 LED dot-matrix display screen. Generally, one microcontroller is scanning four characters. So, the duty cycle of one LED is 5 percent. Therefore, the brightness of the LED is reduced. To avoid this problem, the number of scanning characters must be reduced. Otherwise the many microcontrollers are to be used for scanning process. The display of scoreboard can be seen clearly when the bright light of site is 150 Lm. The bright light of ordinary room is between 138 Lm and 150 Lm. Therefore this scoreboard is suitable for indoor games. If this scoreboard will be used for outdoor games, the display LEDs should be replaced with super bright LEDs.

14 144 Universities Research Journal 2011, Vol. 4, No. 4 Acknowledgements The authors would like to thank Professor Dr Khin Swe Myint, Rector, University of Mandalay, for her encouragement. We are also grateful to Professor Dr Daw Yin Mya, Head of Department, Department of Physics, University of Mandalay. References Horowitz, P. and Winfield, H. (2006). The Art of Electronics, Cambridge University Press, United Kingdom. Smitch, D.W. (2006). PIC in Practice, Second Edition, Cepha Imaging Pvt Ltd, India.

Lecture 14: Computer Peripherals

Lecture 14: Computer Peripherals Lecture 14: Computer Peripherals The last homework and lab for the course will involve using programmable logic to make interesting things happen on a computer monitor should be even more fun than the

More information

Chapter 9 MSI Logic Circuits

Chapter 9 MSI Logic Circuits Chapter 9 MSI Logic Circuits Chapter 9 Objectives Selected areas covered in this chapter: Analyzing/using decoders & encoders in circuits. Advantages and disadvantages of LEDs and LCDs. Observation/analysis

More information

ECE 372 Microcontroller Design

ECE 372 Microcontroller Design E.g. Port A, Port B Used to interface with many devices Switches LEDs LCD Keypads Relays Stepper Motors Interface with digital IO requires us to connect the devices correctly and write code to interface

More information

Experiment # 9. Clock generator circuits & Counters. Digital Design LAB

Experiment # 9. Clock generator circuits & Counters. Digital Design LAB Digital Design LAB Islamic University Gaza Engineering Faculty Department of Computer Engineering Fall 2012 ECOM 2112: Digital Design LAB Eng: Ahmed M. Ayash Experiment # 9 Clock generator circuits & Counters

More information

TV Synchronism Generation with PIC Microcontroller

TV Synchronism Generation with PIC Microcontroller TV Synchronism Generation with PIC Microcontroller With the widespread conversion of the TV transmission and coding standards, from the early analog (NTSC, PAL, SECAM) systems to the modern digital formats

More information

Digital Clock. Perry Andrews. A Project By. Based on the PIC16F84A Micro controller. Revision C

Digital Clock. Perry Andrews. A Project By. Based on the PIC16F84A Micro controller. Revision C Digital Clock A Project By Perry Andrews Based on the PIC16F84A Micro controller. Revision C 23 rd January 2011 Contents Contents... 2 Introduction... 2 Design and Development... 3 Construction... 7 Conclusion...

More information

Figure 30.1a Timing diagram of the divide by 60 minutes/seconds counter

Figure 30.1a Timing diagram of the divide by 60 minutes/seconds counter Digital Clock The timing diagram figure 30.1a shows the time interval t 6 to t 11 and t 19 to t 21. At time interval t 9 the units counter counts to 1001 (9) which is the terminal count of the 74x160 decade

More information

Contents Circuits... 1

Contents Circuits... 1 Contents Circuits... 1 Categories of Circuits... 1 Description of the operations of circuits... 2 Classification of Combinational Logic... 2 1. Adder... 3 2. Decoder:... 3 Memory Address Decoder... 5 Encoder...

More information

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters The Islamic University of Gaza Engineering Faculty Department of Computer Engineering Spring 2018 ECOM 2022 Khaleel I. Shaheen Sequential Digital Design Laboratory Manual Experiment #7 Counters Objectives

More information

0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 1 1 Stop bits. 11-bit Serial Data format

0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 1 1 Stop bits. 11-bit Serial Data format Applications of Shift Registers The major application of a shift register is to convert between parallel and serial data. Shift registers are also used as keyboard encoders. The two applications of the

More information

ADC Peripheral in Microcontrollers. Petr Cesak, Jan Fischer, Jaroslav Roztocil

ADC Peripheral in Microcontrollers. Petr Cesak, Jan Fischer, Jaroslav Roztocil ADC Peripheral in s Petr Cesak, Jan Fischer, Jaroslav Roztocil Czech Technical University in Prague, Faculty of Electrical Engineering Technicka 2, CZ-16627 Prague 6, Czech Republic Phone: +420-224 352

More information

Data Conversion and Lab (17.368) Fall Lecture Outline

Data Conversion and Lab (17.368) Fall Lecture Outline Data Conversion and Lab (17.368) Fall 2013 Lecture Outline Class # 11 November 14, 2013 Dohn Bowden 1 Today s Lecture Outline Administrative Detailed Technical Discussions Lab Microcontroller and Sensors

More information

Radio Clock with DCF77

Radio Clock with DCF77 Radio Clock with DCF77 by Nicolas L. F. September 2011 Abstract Since the 1980s radio clocks have been popular, and in this article Nicolas guides us through the creation of his own radio clock using the

More information

UNIVERSITI TEKNOLOGI MALAYSIA

UNIVERSITI TEKNOLOGI MALAYSIA SULIT Faculty of Computing UNIVERSITI TEKNOLOGI MALAYSIA FINAL EXAMINATION SEMESTER I, 2016 / 2017 SUBJECT CODE : SUBJECT NAME : SECTION : TIME : DATE/DAY : VENUES : INSTRUCTIONS : Answer all questions

More information

Digital Fundamentals: A Systems Approach

Digital Fundamentals: A Systems Approach Digital Fundamentals: A Systems Approach Counters Chapter 8 A System: Digital Clock Digital Clock: Counter Logic Diagram Digital Clock: Hours Counter & Decoders Finite State Machines Moore machine: One

More information

Dynamic Animation Cube Group 1 Joseph Clark Michael Alberts Isaiah Walker Arnold Li

Dynamic Animation Cube Group 1 Joseph Clark Michael Alberts Isaiah Walker Arnold Li Dynamic Animation Cube Group 1 Joseph Clark Michael Alberts Isaiah Walker Arnold Li Sponsored by: Department of Electrical Engineering & Computer Science at UCF What is the DAC? The DAC is an array of

More information

Registers and Counters

Registers and Counters Registers and Counters Clocked sequential circuit = F/Fs and combinational gates Register Group of flip-flops (share a common clock and capable of storing one bit of information) Consist of a group of

More information

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET) APPLIANCE SWITCHING USING EYE MOVEMENT FOR PARALYZED PEOPLE

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET) APPLIANCE SWITCHING USING EYE MOVEMENT FOR PARALYZED PEOPLE INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET) International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 ISSN 0976 6464(Print)

More information

EDUCATIONAL TUTOR FOR MENTALLY DISABLE STUDENTS

EDUCATIONAL TUTOR FOR MENTALLY DISABLE STUDENTS EDUCATIONAL TUTOR FOR MENTALLY DISABLE STUDENTS Shailaja Patil Assistant Professor, Rajarambapu Institute of Technology, Islampur Email: shaila.nalawade@ritindia.edu ABSTRACT Educational Tutor for mentally

More information

Logic Design. Flip Flops, Registers and Counters

Logic Design. Flip Flops, Registers and Counters Logic Design Flip Flops, Registers and Counters Introduction Combinational circuits: value of each output depends only on the values of inputs Sequential Circuits: values of outputs depend on inputs and

More information

Experiment 8 Introduction to Latches and Flip-Flops and registers

Experiment 8 Introduction to Latches and Flip-Flops and registers Experiment 8 Introduction to Latches and Flip-Flops and registers Introduction: The logic circuits that have been used until now were combinational logic circuits since the output of the device depends

More information

PHYS 3322 Modern Laboratory Methods I Digital Devices

PHYS 3322 Modern Laboratory Methods I Digital Devices PHYS 3322 Modern Laboratory Methods I Digital Devices Purpose This experiment will introduce you to the basic operating principles of digital electronic devices. Background These circuits are called digital

More information

Asynchronous (Ripple) Counters

Asynchronous (Ripple) Counters Circuits for counting events are frequently used in computers and other digital systems. Since a counter circuit must remember its past states, it has to possess memory. The chapter about flip-flops introduced

More information

Laboratory 8. Digital Circuits - Counter and LED Display

Laboratory 8. Digital Circuits - Counter and LED Display Laboratory 8 Digital Circuits - Counter and Display Required Components: 2 1k resistors 1 10M resistor 3 0.1 F capacitor 1 555 timer 1 7490 decade counter 1 7447 BCD to decoder 1 MAN 6910 or LTD-482EC

More information

Registers and Counters

Registers and Counters Registers and Counters Clocked sequential circuit = F/Fs and combinational gates Register Group of flip-flops (share a common clock and capable of storing one bit of information) Consist of a group of

More information

Design and Implementation of Timer, GPIO, and 7-segment Peripherals

Design and Implementation of Timer, GPIO, and 7-segment Peripherals Design and Implementation of Timer, GPIO, and 7-segment Peripherals 1 Module Overview Learn about timers, GPIO and 7-segment display; Design and implement an AHB timer, a GPIO peripheral, and a 7-segment

More information

Model Solution and marking scheme for Examination Paper EEE305J1: Microcontroller Systems 2004/5 General Observations

Model Solution and marking scheme for Examination Paper EEE305J1: Microcontroller Systems 2004/5 General Observations Model Solution and marking scheme for Examination Paper EEE305J1: Microcontroller Systems 2004/5 General Observations Design questions like A1 below are extremely difficult to mark, not least because there

More information

Design of VGA Controller using VHDL for LCD Display using FPGA

Design of VGA Controller using VHDL for LCD Display using FPGA International OPEN ACCESS Journal Of Modern Engineering Research (IJMER) Design of VGA Controller using VHDL for LCD Display using FPGA Khan Huma Aftab 1, Monauwer Alam 2 1, 2 (Department of ECE, Integral

More information

EKT 121/4 ELEKTRONIK DIGIT 1

EKT 121/4 ELEKTRONIK DIGIT 1 EKT 2/4 ELEKTRONIK DIGIT Kolej Universiti Kejuruteraan Utara Malaysia Sequential Logic Circuits - COUNTERS - LATCHES (review) S-R R Latch S-R R Latch Active-LOW input INPUTS OUTPUTS S R Q Q COMMENTS Q

More information

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL 1. A stage in a shift register consists of (a) a latch (b) a flip-flop (c) a byte of storage (d) from bits of storage 2. To serially shift a byte of data into a shift register, there must be (a) one click

More information

LED Array Board.

LED Array Board. LED Array Board www.matrixtsl.com EB087 Contents About This Document 2 General Information 3 Board Layout 4 Testing This Product 5 Circuit Description 6 Circuit Diagram 7 About This Document This document

More information

Laboratory Exercise 4

Laboratory Exercise 4 Laboratory Exercise 4 Polling and Interrupts The purpose of this exercise is to learn how to send and receive data to/from I/O devices. There are two methods used to indicate whether or not data can be

More information

Digital (5hz to 500 Khz) Frequency-Meter

Digital (5hz to 500 Khz) Frequency-Meter Digital (5hz to 500 Khz) Frequency-Meter Posted on April 4, 2008, by Ibrahim KAMAL, in Sensor & Measurement, tagged Based on the famous AT89C52 microcontroller, this 500 Khz frequency-meter will be enough

More information

Operating Manual Ver.1.1

Operating Manual Ver.1.1 Event Counter Operating Manual Ver.1.1 An ISO 9001 : 2000 company 94-101, Electronic Complex Pardesipura, Indore- 452010, India Tel : 91-731- 2570301/02, 4211100 Fax: 91-731- 2555643 e mail : info@scientech.bz

More information

Digital IC Tester by Using PIC18F4550

Digital IC Tester by Using PIC18F4550 Digital IC Tester by Using PIC18F4550 Mrs. Amruta S. Dixit 1, Mrs. Aditi A. Prabhune 2 Department of Electronics & Telecommunication Pune Institute of Computer Technology, Pune, Maharashtra, India Corresponding

More information

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science SOLUTIONS

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science SOLUTIONS University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science EECS 5 Fall 25 R. H. Katz SOLUTIONS Problem Set #3: Combinational and Sequential Logic

More information

7 SEGMENT LED DISPLAY KIT

7 SEGMENT LED DISPLAY KIT ESSENTIAL INFORMATION BUILD INSTRUCTIONS CHECKING YOUR PCB & FAULT-FINDING MECHANICAL DETAILS HOW THE KIT WORKS CREATE YOUR OWN SCORE BOARD WITH THIS 7 SEGMENT LED DISPLAY KIT Version 2.0 Which pages of

More information

CHAPTER1: Digital Logic Circuits

CHAPTER1: Digital Logic Circuits CS224: Computer Organization S.KHABET CHAPTER1: Digital Logic Circuits 1 Sequential Circuits Introduction Composed of a combinational circuit to which the memory elements are connected to form a feedback

More information

Operating Manual Ver.1.1

Operating Manual Ver.1.1 Johnson Counter Operating Manual Ver.1.1 An ISO 9001 : 2000 company 94-101, Electronic Complex Pardesipura, Indore- 452010, India Tel : 91-731- 2570301/02, 4211100 Fax: 91-731- 2555643 e mail : info@scientech.bz

More information

TV Character Generator

TV Character Generator TV Character Generator TV CHARACTER GENERATOR There are many ways to show the results of a microcontroller process in a visual manner, ranging from very simple and cheap, such as lighting an LED, to much

More information

4.3inch 480x272 Touch LCD (B) User Manual

4.3inch 480x272 Touch LCD (B) User Manual 4.3inch 480x272 Touch LCD (B) User Manual Chinese website: www.waveshare.net English Website: www.wvshare.com Data download: www.waveshare.net/wiki Shenzhen Waveshare Electronics Ltd. Co. 1 目录 1. Overview...

More information

Logic Design Viva Question Bank Compiled By Channveer Patil

Logic Design Viva Question Bank Compiled By Channveer Patil Logic Design Viva Question Bank Compiled By Channveer Patil Title of the Practical: Verify the truth table of logic gates AND, OR, NOT, NAND and NOR gates/ Design Basic Gates Using NAND/NOR gates. Q.1

More information

Computer Systems Architecture

Computer Systems Architecture Computer Systems Architecture Fundamentals Of Digital Logic 1 Our Goal Understand Fundamentals and basics Concepts How computers work at the lowest level Avoid whenever possible Complexity Implementation

More information

Design and Simulation of a Digital CMOS Synchronous 4-bit Up-Counter with Set and Reset

Design and Simulation of a Digital CMOS Synchronous 4-bit Up-Counter with Set and Reset Design and Simulation of a Digital CMOS Synchronous 4-bit Up-Counter with Set and Reset Course Number: ECE 533 Spring 2013 University of Tennessee Knoxville Instructor: Dr. Syed Kamrul Islam Prepared by

More information

BISHOP ANSTEY HIGH SCHOOL & TRINITY COLLEGE EAST SIXTH FORM CXC CAPE PHYSICS, UNIT 2 Ms. S. S. CALBIO NOTES lesson #39

BISHOP ANSTEY HIGH SCHOOL & TRINITY COLLEGE EAST SIXTH FORM CXC CAPE PHYSICS, UNIT 2 Ms. S. S. CALBIO NOTES lesson #39 BISHOP ANSTEY HIGH SCHOOL & TRINITY COLLEGE EAST SIXTH FORM CXC CAPE PHYSICS, UNIT 2 Ms. S. S. CALBIO NOTES lesson #39 Objectives: Students should be able to Thursday 21 st January 2016 @ 10:45 am Module

More information

Digital Stopwatch Timer Circuit Using 555timer and CD4033

Digital Stopwatch Timer Circuit Using 555timer and CD4033 Digital Stopwatch Timer Circuit Using 555timer and CD4033 Kokila.C 1, Kousalya.J.R 2, Madhumitha.K 3, Nandhini.P 4 and Mr.Martin Joel Ratnam 5 UG Scholar, Department of ECE, Adhiyamaan College of Engineering,

More information

Spring 2011 Microprocessors B Course Project (30% of your course Grade)

Spring 2011 Microprocessors B Course Project (30% of your course Grade) Course Project guidelines Spring 2011 Microprocessors B 17.384 Course Project (30% of your course Grade) Overall Guidelines Design a fairly complex system that contains at least one microcontroller (the

More information

International Journal of scientific research and management (IJSRM) Volume 1 Issue 6 Pages Website: ISSN (e):

International Journal of scientific research and management (IJSRM) Volume 1 Issue 6 Pages Website:   ISSN (e): International Journal of scientific research and management (IJSRM) Volume 1 Issue 6 Pages 346-351 2013 Website: www.ijsrm.in ISSN (e): 2321-3418 Design and Development of a 6-Digit Microcontroller Based

More information

Today 3/8/11 Lecture 8 Sequential Logic, Clocks, and Displays

Today 3/8/11 Lecture 8 Sequential Logic, Clocks, and Displays Today 3/8/ Lecture 8 Sequential Logic, Clocks, and Displays Flip Flops and Ripple Counters One Shots and Timers LED Displays, Decoders, and Drivers Homework XXXX Reading H&H sections on sequential logic

More information

Embedded System Training Module ABLab Solutions

Embedded System Training Module ABLab Solutions Embedded System Training Module ABLab Solutions www.ablab.in Table of Contents Course Outline... 4 1. Introduction to Embedded Systems... 4 2. Overview of Basic Electronics... 4 3. Overview of Digital

More information

ECE 263 Digital Systems, Fall 2015

ECE 263 Digital Systems, Fall 2015 ECE 263 Digital Systems, Fall 2015 REVIEW: FINALS MEMORY ROM, PROM, EPROM, EEPROM, FLASH RAM, DRAM, SRAM Design of a memory cell 1. Draw circuits and write 2 differences and 2 similarities between DRAM

More information

NS8050U MICROWIRE PLUSTM Interface

NS8050U MICROWIRE PLUSTM Interface NS8050U MICROWIRE PLUSTM Interface National Semiconductor Application Note 358 Rao Gobburu James Murashige April 1984 FIGURE 1 Microwire Mode Functional Configuration TRI-STATE is a registered trademark

More information

Design and analysis of microcontroller system using AMBA- Lite bus

Design and analysis of microcontroller system using AMBA- Lite bus Design and analysis of microcontroller system using AMBA- Lite bus Wang Hang Suan 1,*, and Asral Bahari Jambek 1 1 School of Microelectronic Engineering, Universiti Malaysia Perlis, Perlis, Malaysia Abstract.

More information

ECB DIGITAL ELECTRONICS PROJECT BASED LEARNING PROJECT REPORT ON 7 SEGMENT DIGITAL STOP WATCH USING DECODER

ECB DIGITAL ELECTRONICS PROJECT BASED LEARNING PROJECT REPORT ON 7 SEGMENT DIGITAL STOP WATCH USING DECODER ECB2212 - DIGITAL ELECTRONICS PROJECT BASED LEARNING PROJECT REPORT ON 7 SEGMENT DIGITAL STOP WATCH USING DECODER SUBMITTED BY ASHRAF HUSSAIN (160051601105) S SAMIULLAH (160051601059) CONTENTS >AIM >INTRODUCTION

More information

Data Sheet. Electronic displays

Data Sheet. Electronic displays Data Pack F Issued November 0 029629 Data Sheet Electronic displays Three types of display are available; each has differences as far as the display appearance, operation and electrical characteristics

More information

Logic. Andrew Mark Allen March 4, 2012

Logic. Andrew Mark Allen March 4, 2012 Logic Andrew Mark Allen - 05370299 March 4, 2012 Abstract NAND gates and inverters were used to construct several different logic gates whose operations were investigate under various inputs. Then the

More information

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M CSE-4523 Latches and Flip-flops Dr. Izadi NOR gate property: A B Z A B Z Cross coupled NOR gates: S M S R M R S M R S R S R M S S M R R S ' Gate R Gate S R S G R S R (t+) S G R Flip_flops:. S-R flip-flop

More information

IT T35 Digital system desigm y - ii /s - iii

IT T35 Digital system desigm y - ii /s - iii UNIT - III Sequential Logic I Sequential circuits: latches flip flops analysis of clocked sequential circuits state reduction and assignments Registers and Counters: Registers shift registers ripple counters

More information

Universal Asynchronous Receiver- Transmitter (UART)

Universal Asynchronous Receiver- Transmitter (UART) Universal Asynchronous Receiver- Transmitter (UART) (UART) Block Diagram Four-Bit Bidirectional Shift Register Shift Register Counters Shift registers can form useful counters by recirculating a pattern

More information

INC 253 Digital and electronics laboratory I

INC 253 Digital and electronics laboratory I INC 253 Digital and electronics laboratory I Laboratory 9 Sequential Circuit Author: ID Co-Authors: 1. ID 2. ID 3. ID Experiment Date: Report received Date: Comments For Instructor Full Marks Pre lab 10

More information

Counters

Counters Counters A counter is the most versatile and useful subsystems in the digital system. A counter driven by a clock can be used to count the number of clock cycles. Since clock pulses occur at known intervals,

More information

TSIU03, SYSTEM DESIGN. How to Describe a HW Circuit

TSIU03, SYSTEM DESIGN. How to Describe a HW Circuit TSIU03 TSIU03, SYSTEM DESIGN How to Describe a HW Circuit Sometimes it is difficult for students to describe a hardware circuit. This document shows how to do it in order to present all the relevant information

More information

Published in A R DIGITECH

Published in A R DIGITECH Design of propeller clock by using 8051 Microcontroller Ahmed H. Al-Saadi*1 *1 (B.Sc. of Computer Engineering in Al Hussein University College of Engineering, Iraq) ah9@outlook.com*1 Abstract The propeller

More information

Digital Fundamentals. Lab 5 Latches & Flip-Flops CETT Name: Date:

Digital Fundamentals. Lab 5 Latches & Flip-Flops CETT Name: Date: Richland College School of Engineering & Technology Rev. 0 B. Donham Rev. 1 (7/2003) J. Horne Rev. 2 (1/2008) J. Bradbury Rev. 3 (7/2015) J. Bradbury Digital Fundamentals CETT 1425 Lab 5 Latches & Flip-Flops

More information

Computer Architecture Basic Computer Organization and Design

Computer Architecture Basic Computer Organization and Design After the fetch and decode phase, PC contains 31, which is the address of the next instruction in the program (the return address). The register AR holds the effective address 170 [see figure 6.10(a)].

More information

Laboratory 11. Required Components: Objectives. Introduction. Digital Displays and Logic (modified from lab text by Alciatore)

Laboratory 11. Required Components: Objectives. Introduction. Digital Displays and Logic (modified from lab text by Alciatore) Laboratory 11 Digital Displays and Logic (modified from lab text by Alciatore) Required Components: 2x lk resistors 1x 10M resistor 3x 0.1 F capacitor 1x 555 timer 1x 7490 decade counter 1x 7447 BCD to

More information

TRAINING KITS ON DIGITAL ELECTRONIC EXPERIMENTS. Verify Truth table for TTL IC s AND, NOT, & NAND GATES

TRAINING KITS ON DIGITAL ELECTRONIC EXPERIMENTS. Verify Truth table for TTL IC s AND, NOT, & NAND GATES TRAINING KITS ON DIGITAL ELECTRONIC EXPERIMENTS CEE 2800 Basic Logic Gates using TTL IC's (7 in 1) To verify the truth table For TTL AND, OR. NOT, NAND,NOR, EX-OR, & EX-NOR Gates. Instrument comprises

More information

Task 4_B. Decoder for DCF-77 Radio Clock Receiver

Task 4_B. Decoder for DCF-77 Radio Clock Receiver Embedded Processor Lab (EIT-EMS-546-L-4) Task 4_B FB Elektrotechnik und Informationstechnik Prof. Dr.-Ing. Norbert Wehn Dozent: Uwe Wasenmüller Raum 12-213, wa@eit.uni-kl.de Task 4_B Decoder for DCF-77

More information

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops Objective Construct a two-bit binary decoder. Study multiplexers (MUX) and demultiplexers (DEMUX). Construct an RS flip-flop from discrete gates.

More information

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM MDETS UCTECH's Modular Digital Electronics Training System is a modular course covering the fundamentals, concepts, theory and applications of digital electronics.

More information

Lecture 12. Amirali Baniasadi

Lecture 12. Amirali Baniasadi CENG 24 Digital Design Lecture 2 Amirali Baniasadi amirali@ece.uvic.ca This Lecture Chapter 6: Registers and Counters 2 Registers Sequential circuits are classified based in their function, e.g., registers.

More information

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE NORTHWESTERN UNIVERSITY TECHNOLOGICL INSTITUTE ECE 270 Experiment #8 DIGITL CIRCUITS Prelab 1. Draw the truth table for the S-R Flip-Flop as shown in the textbook. Draw the truth table for Figure 7. 2.

More information

MODULE 3. Combinational & Sequential logic

MODULE 3. Combinational & Sequential logic MODULE 3 Combinational & Sequential logic Combinational Logic Introduction Logic circuit may be classified into two categories. Combinational logic circuits 2. Sequential logic circuits A combinational

More information

Combo Board.

Combo Board. Combo Board www.matrixtsl.com EB083 Contents About This Document 2 General Information 3 Board Layout 4 Testing This Product 5 Circuit Diagram 6 Liquid Crystal Display 7 Sensors 9 Circuit Diagram 10 About

More information

Electronic Grocery Machine

Electronic Grocery Machine IJIRST International Journal for Innovative Research in Science & Technology Volume 2 Issue 09 February 2016 ISSN (online): 2349-6010 Electronic Grocery Machine Ruchit C. Kundariya Darshana M. Vekariya

More information

LSN 12 Shift Registers

LSN 12 Shift Registers LSN 12 Shift Registers Department of Engineering Technology LSN 12 Shift Registers Digital circuits with data storage and data movement functions Storage capacity is the total number of bits of digital

More information

16 * 16LED Dot Matrix Display

16 * 16LED Dot Matrix Display Current Electronics and Telecomunications (2018) Original Research Article 16 * 16LED Dot Matrix Display Yi Chen,Meihua Wu,Peiyuan Dong Electronic Information Engineering College, Jinhua University of

More information

Sequential circuits. Same input can produce different output. Logic circuit. William Sandqvist

Sequential circuits. Same input can produce different output. Logic circuit. William Sandqvist Sequential circuits Same input can produce different output Logic circuit If the same input may produce different output signal, we have a sequential logic circuit. It must then have an internal memory

More information

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit) Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6. - Introductory Digital Systems Laboratory (Spring 006) Laboratory - Introduction to Digital Electronics

More information

EXPERIMENT 2: Elementary Input Output Programming

EXPERIMENT 2: Elementary Input Output Programming EXPERIMENT 2: Elementary Input Output Programming Objectives Introduction to the Parallel Input/Output (I/O) Familiarization to Interfacing with digital inputs and outputs such as switches, LEDs and 7-segment.

More information

Microcontrollers and Interfacing week 7 exercises

Microcontrollers and Interfacing week 7 exercises SERIL TO PRLLEL CONVERSION Serial to parallel conversion Microcontrollers and Interfacing week exercises Using many LEs (e.g., several seven-segment displays or bar graphs) is difficult, because only a

More information

Prototype Model of Li-Fi Technology using Visible Light Communication

Prototype Model of Li-Fi Technology using Visible Light Communication Prototype Model of Li-Fi Technology using Visible Light Communication Rashmi.T 1, Rajalaxmi.R 2, Mr.Balaji.V.R 3 1,2 UG Student, 3 Assistant Professor Department of ECE, St. Joseph s Institute of Technology

More information

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 6 Following the slides of Dr. Ahmed H. Madian ذو الحجة 1438 ه Winter

More information

Serial Peripheral Interface

Serial Peripheral Interface Serial Peripheral Interface ECE 362 https://engineering.purdue.edu/ee362/ Rick Reading Assignment Textbook, Chapter 22, Serial Communication Protocols, pp. 527 598 It s a long chapter. Let s first look

More information

UNIT V 8051 Microcontroller based Systems Design

UNIT V 8051 Microcontroller based Systems Design UNIT V 8051 Microcontroller based Systems Design INTERFACING TO ALPHANUMERIC DISPLAYS Many microprocessor-controlled instruments and machines need to display letters of the alphabet and numbers. Light

More information

C-MAX. CMM-9301-V3.1S Bluetooth 4.0 Single Mode HCI Module. Description. 1.1 Features

C-MAX. CMM-9301-V3.1S Bluetooth 4.0 Single Mode HCI Module. Description. 1.1 Features Description This Module is limited to OEM installation ONLY The module is a Bluetooth SIG qualified, miniaturised BLE controller module based on EM Microelectronic's low power fully integrated single-chip

More information

Christmas LED Snowflake Project

Christmas LED Snowflake Project Christmas LED Snowflake Project Version 1.1 (01/12/2008) The snowflake is a follow-on from my Christmas star project from a few years ago. This year I decided to make a display using only white LEDs, shaped

More information

Modeling Digital Systems with Verilog

Modeling Digital Systems with Verilog Modeling Digital Systems with Verilog Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw 6-1 Composition of Digital Systems Most digital systems can be partitioned into two types

More information

ME 515 Mechatronics. Introduction to Digital Electronics

ME 515 Mechatronics. Introduction to Digital Electronics ME 55 Mechatronics /5/26 ME 55 Mechatronics Digital Electronics Asanga Ratnaweera Department of Faculty of Engineering University of Peradeniya Tel: 8239 (3627) Email: asangar@pdn.ac.lk Introduction to

More information

DRAFT Microprocessors B Lab 3 Spring PIC24 Inter-Integrated Circuit (I 2 C)

DRAFT Microprocessors B Lab 3 Spring PIC24 Inter-Integrated Circuit (I 2 C) PIC24 Inter-Integrated Circuit (I 2 C) Lab Report Objectives Materials See separate report form located on the course webpage. This form should be completed during the performance of this lab. 1) To utilize

More information

This document describes a program for 7-segment LED display (dynamic lighting) and key matrix and input.

This document describes a program for 7-segment LED display (dynamic lighting) and key matrix and input. R8C/25 Group 1. Abstract This document describes a program for 7-segment LED display (dynamic lighting) and key matrix and input. 2. Introduction The application example described in this document applies

More information

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Objectives: Analyze the operation of sequential logic circuits. Understand the operation of digital counters.

More information

Introduction to Sequential Circuits

Introduction to Sequential Circuits Introduction to Sequential Circuits COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals Presentation Outline Introduction to Sequential Circuits Synchronous

More information

AbhijeetKhandale. H R Bhagyalakshmi

AbhijeetKhandale. H R Bhagyalakshmi Sobel Edge Detection Using FPGA AbhijeetKhandale M.Tech Student Dept. of ECE BMS College of Engineering, Bangalore INDIA abhijeet.khandale@gmail.com H R Bhagyalakshmi Associate professor Dept. of ECE BMS

More information

Chapter 3: Sequential Logic Systems

Chapter 3: Sequential Logic Systems Chapter 3: Sequential Logic Systems 1. The S-R Latch Learning Objectives: At the end of this topic you should be able to: design a Set-Reset latch based on NAND gates; complete a sequential truth table

More information

Digital Systems Laboratory 3 Counters & Registers Time 4 hours

Digital Systems Laboratory 3 Counters & Registers Time 4 hours Digital Systems Laboratory 3 Counters & Registers Time 4 hours Aim: To investigate the counters and registers constructed from flip-flops. Introduction: In the previous module, you have learnt D, S-R,

More information

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters Logic and Computer Design Fundamentals Chapter 7 Registers and Counters Registers Register a collection of binary storage elements In theory, a register is sequential logic which can be defined by a state

More information

Embedded Systems Lab. Dynamic Traffic and Street Lights Controller with Non-Motorized User Detection

Embedded Systems Lab. Dynamic Traffic and Street Lights Controller with Non-Motorized User Detection UNIVERSITY OF JORDAN Embedded Systems Lab Dynamic Traffic and Street Lights Controller with Non-Motorized User Detection Preferred Group Size Grading Project Due Date (2) Two is the allowed group size.

More information

Counter dan Register

Counter dan Register Counter dan Register Introduction Circuits for counting events are frequently used in computers and other digital systems. Since a counter circuit must remember its past states, it has to possess memory.

More information

Decade Counters Mod-5 counter: Decade Counter:

Decade Counters Mod-5 counter: Decade Counter: Decade Counters We can design a decade counter using cascade of mod-5 and mod-2 counters. Mod-2 counter is just a single flip-flop with the two stable states as 0 and 1. Mod-5 counter: A typical mod-5

More information