Similar documents
Basic Concepts of Information Technology (IT)

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

MICROPROCESSOR AND MICROCOMPUTER BASICS

Digital Electronics Detailed Outline

Electronics Merit Badge Class 3. 1/30/2014 Electronics Merit Badge Class 3 1

Chapter 3: Computer Hardware Components: CPU, Memory, and I/O

lesson 1 An Overview of the Computer System

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

Upon completion of unit 1.1, students will be able to

Programming Logic controllers

Chapter 8 Memory Units

CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions

Sigma Control PC INSIDE. 97 psi 187 F R on load


MULTIPLE CHOICE FREE RESPONSE QUESTIONS

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

DEVELOPMENT OF ANTI-THEFT DOOR SYSTEM FOR SECURITY ROOM

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Programming A PLC. Standard Instructions

LAB4: Audio Synthesizer

Siemens and National Instruments Deliver Integrated Automation and Measurement Solutions

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

1 PERSONAL COMPUTERS

INTEL HIGH-PERFORMANCE CONSUMER DESKTOP MICROPROCESSOR TIMELINE

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global

Development of a Simple Sound Activated Burglar Alarm System

Chapter 2 Logic Gates and Introduction to Computer Architecture

Section TELEPHONE AUTOMATIC DIALER SYSTEM

TYPES OF COMPUTERS AND THEIR PARTS MULTIPLE CHOICE QUESTIONS

THE BASICS OF PLL FREQUENCY SYNTHESIS

AUTOMATIC TRANSFER SWITCH CONTROL UNIT OPERATOR S MANUAL

Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level

Glitch Free Frequency Shifting Simplifies Timing Design in Consumer Applications

Introduction to Digital System Design

Microprocessor or Microcontroller?

Programmable Logic Controllers Definition. Programmable Logic Controllers History

Decimal Number (base 10) Binary Number (base 2)

CHAPTER 4 MARIE: An Introduction to a Simple Computer

Chapter 01: Introduction. Lesson 02 Evolution of Computers Part 2 First generation Computers

DM74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

Microprocessor & Assembly Language

54LS193 DM54LS193 DM74LS193 Synchronous 4-Bit Up Down Binary Counters with Dual Clock

CATALYST Frequently Asked Questions

Chapter 1 Basic Introduction to Computers. Discovering Computers Your Interactive Guide to the Digital World

================================================================

From Concept to Production in Secure Voice Communications

An Introduction to MPLAB Integrated Development Environment

Near Field Communication in the real world part III

Medical Vacuum Systems-PXMI

Technical Aspects of Creating and Assessing a Learning Environment in Digital Electronics for High School Students

EMBEDDED SYSTEM BASICS AND APPLICATION

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Elevator Security. General. In This Section. Several elevator security options are available for MCE Controllers. Basic Security

DIALER SPECIFICATION VERBATIM MODULAR SERIES VSS

Figure 8-1 Four Possible Results of Adding Two Bits

CHARACTERISTICS OF RADIO

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

Lecture N -1- PHYS Microcontrollers

T Zone Weekly Timer

OVERVIEW OF MICROPROCESSORS

The Central Processing Unit:

54191 DM54191 DM74191 Synchronous Up Down 4-Bit Binary Counter with Mode Control

ATS-505. GB Version 1

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands

Computer Systems Structure Input/Output

Seven-Segment LED Displays

International Journal of Engineering Research & Management Technology

Lecture-3 MEMORY: Development of Memory:

EZ DUPE DVD/CD Duplicator

Integration of Alarm Systems

Counters. Present State Next State A B A B

The components. E3: Digital electronics. Goals:

Firmware version: 1.10 Issue: 7 AUTODIALER GD30.2. Instruction Manual

Microcontrollers Figure 26-1 Objectives Key Words and Terms 26.1 OVERVIEW OF THE MICROCONTROLLER microcontroller

COMPUTER SCIENCE AND ENGINEERING - Microprocessor Systems - Mitchell Aaron Thornton

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

CpE358/CS381. Switching Theory and Logical Design. Class 4

What will I learn as an Electrical Engineering student?

Week One Lecture Note 1.0 INTRODUCTION TO COMPUTER 1.1 WHAT IS COMPUTER?

STUDY GUIDE CHAPTER 1

Information Technology Hardware Technician

A Digital Timer Implementation using 7 Segment Displays

HyperAccess Access Control System

DTW Works Master Specification Version 2006

International Journal of Advancements in Research & Technology, Volume 3, Issue 5, May ISSN THROUGH MOBILE

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

Primary Memory. Input Units CPU (Central Processing Unit)

Video Conferencing Glossary of Terms

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

Microcontroller Based Anti-theft Security System Using GSM Networks with Text Message as Feedback

Application Note 83 Fundamentals of RS 232 Serial Communications

Commander 2000 Control Panel

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

White Paper. Why Cellular as a Single Transmission Path meets the Requirements of NFPA 72. The Gradual Demise of POTS


Transcription:

Preface This book is dedicated to one proposition that it is relatively easy to use today s microprocessors, computers on a chip, to perform a variety of sophisticated tasks. The digital computer has made the transition from paraphernalia that required government funding to build and use, to a circuit component that is used in hundreds of applications. Microprocessor chips are designed into mixers, radio tuners, microwave ovens, and many other devices. The microprocessor has become a standard engineering building block, just as vacuum tubes and flip-flops were standard components several years ago. The appeal of a microprocessor over discrete logic is that a microprocessor does not have to be dedicated to performing a single defined task. Because a microprocessor is a computer, by its very nature it is a general-purpose device. The same circuitry may be programmed to perform any number of functions. Rather than designing a dozen separate circuits to perform a dozen separate functions, the computer program may simply be changed to perform each function. This book, Z-80 Microcomputer Design Projects, may be used by the electronics enthusiast who has a background in electronics other than microprocessors as a training course in microprocessor fundamentals. It may be used by the interested nontechnician to let him or her see how easy it really is to construct a complete microcomputer. It may be used by the hobbyist who wants to use a microcomputer primarily for the application or end result. This book provides a step-by-step guide in building a complete microcomputer, the EZ-80, and for implementing a number of different applications. Although some kit-building experience may be of help, every attempt has been made to provide a trouble-free guide to construction even for the neophyte. The applications range from a music synthesizer that will play one-voice musical scores with special effects, to a Morse code generator that generates code for practice or transmission, to a telephone dialer, to a timer that times external events over 100 days. Each application is fully documented in detail. For those readers who are interested in implementing their own unique applications, this book provides the ground work in programming methods so that they may create their own programmed applications packages using the input and output lines of the microcomputer to talk to the external world. The EZ-80 Microcomputer is built around the popular Z-80 microprocessor chip. The Z-80 microprocessor is a complete computer on a chip. It has a repertoire of hundreds of instructions and operates at speeds of up to hundreds of thousands of operations per second. In addition to the Z-80, about 12 other semiconductor devices are used. Some of these are memory, others enable the Z-80 to interface to the outside world, and others perform clocking and control functions. The complete set of parts to build the EZ-80 may be purchased for about $50 inexpensive indeed for the processing power that is available. Two methods of construction are possible.

The microcomputer may be wire-wrapped using simple techniques and tools. Alternatively, plans are provided for a printed-circuit board construction for those readers who have the wherewithal to produce printed circuits. Total construction time using wire-wrapping is approximately 20 hours. The book is divided into three sections. Section 1 covers the hardware and software basics of the Z-80 microprocessor. Since the microcomputer is built around the Z-80, discussion of the hardware signals and operation of the microprocessor are essential to a complete understanding of the microcomputer. Similarly, the programs presented in the book all use the built-in instruction set of the Z-80, and a discussion of basic Z-80 instructions is helpful in understanding operation of the microcomputer programs for the application. Section 2 describes the EZ-80 microcomputer built from the Z-80. The relationship of the Z-80 to other system components, such as memory, peripheral interface, and clock, is explored. Complete construction details on the EZ-80 are presented in this section. If you choose to program or burn in an applications program in the EPROM (Erasable Programmable Read-Only Memory) chip, you may do so by constructing the simple auxiliary EPROM programmer described in this section (or you may choose one of several other alternatives). A diagnostic program and step-by-step troubleshooting procedures are also provided in this section. These help in checkout of the EZ-80 after construction has been completed, and verify that the EZ-80 is working properly. Section 3 describes the applications that may be implemented with the EZ-80. A Morse Code Generator is described that will generate random code characters for code practice, and a Morse Code Sender that will send predefined messages is also discussed. Speed may be varied as desired. A Music Synthesizer is defined that will play prerecorded or user-defined scores. The envelope of the notes may be shaped to create special effects. A Timer with presets is described that enables six outputs with programmable times from seconds to days. Two security applications, a Burglar Alarm and Combination Lock, are described. The Burglar Alarm monitors five inputs for switch closures and provides an audio alarm and visual report. The Combination Lock provides a virtually unbreakable combination that may be used to open doors or for control functions. A Frequency Counter/Tachometer application describes a general counter that counts at rates of less than one event per second to tens of thousands of events per second. A Telephone Dialer application provides automatic dialing of a number of commonly used telephone numbers. A Microcomputer Educator program permits the user to construct his or her own assembly-language program to learn the basics of this type of programming. All of the applications presented in Section 3 are described in detail with complete applications programs that are ready to be used. Section 3 also describes how the user may implement other EZ-80 control projects, perform distributed processing and implement intelligent controllers using the EZ-80. A complete set of appendices provides information on binary and hexadecimal number systems and the Z-80 instruction set. The projects in this book are really a starting point in two senses. Firstly, they will convince the reader that it is possible to use a microprocessor in place of a great deal of other electronic circuitry and to have as a result a much more adaptable piece of equipment. Secondly, they may give the reader the initiative to implement his or her own projects, using the EZ-80 as a high-speed computer communicating with the external world. Special thanks are due John Albu for his pc board artwork. To Barb, John, Jon, and Danny W il l ia m B arden, J r.