Intel 8051 Microcontroller

Total Page:16

File Type:pdf, Size:1020Kb

Intel 8051 Microcontroller Computer Architecture 10 Intel 8051 Microcontroller Made wi th OpenOffi ce.org 1 8051 Facts DevelopedDeveloped byby IntelIntel inin 1980,1980, CISC,CISC, HarvardHarvard architecture,architecture, singlesingle chipchip microcontroller,microcontroller, becomebecome thethe industryindustry standardstandard tilltill now!now! MostMost popularpopular inin thethe 1980s1980s andand earlyearly 1990s,1990s, todaytoday supersededsuperseded byby enhancedenhanced devicesdevices withwith 8051-8051- compatiblecompatible processorprocessor corescores ManufacturedManufactured byby moremore thanthan 2020 independentindependent manufacturers:manufacturers: Atmel,Atmel, InfineonInfineon Technologies,Technologies, MaximMaxim ,, NXPNXP ,, Winbond,Winbond, STST Microelectronics,Microelectronics, SiliconSilicon LaboratoriesLaboratories ,, TexasTexas InstrumentsInstruments andand CypressCypress SemiconductorSemiconductor Made wi th OpenOffi ce.org 2 Main Features 8-bit8-bit datadata busbus andand 8-bit8-bit ALUALU 16-bit16-bit addressaddress busbus -- 6464 kBkB ofof RAMRAM andand ROMROM On-chipOn-chip RAMRAM -- 128128 (256)(256) bytesbytes ("Data("Data Memory")Memory") On-chipOn-chip ROMROM -- 44 kBkB ("Program("Program Memory")Memory") FourFour 8-bit8-bit bi-directionalbi-directional input/outputinput/output portsports OneOne (two)(two) UARTUART (serial(serial port)port) TwoTwo 16-bit16-bit timerstimers Two-levelTwo-level interruptinterrupt prioritypriority PowerPower savingsaving modemode AllAll modernmodern versionsversions areare CMOSCMOS Made wi th OpenOffi ce.org 3 cont. TheThe originaloriginal 80518051 corecore ranran atat 1212 clockclock cyclescycles perper machinemachine cycle,cycle, withwith mostmost instructionsinstructions executingexecuting inin oneone oror twotwo machinemachine cyclescycles WithWith aa 1212 MHzMHz clockclock frequency,frequency, thethe 80518051 achievedachieved 1MIPS1MIPS (for(for one-cycleone-cycle instructions)instructions) EnhancedEnhanced 80518051 corescores runrun atat six,six, four,four, two,two, oror eveneven oneone clockclock perper machinemachine cycle,cycle, andand havehave clockclock frequenciesfrequencies ofof upup toto 100100 MHzMHz HigherHigher speedspeed singlesingle cyclecycle 80518051 corescores (<150MHz)(<150MHz) areare availableavailable forfor useuse inin FPGAsFPGAs andand (>150MHz)(>150MHz) inin ASICsASICs Made wi th OpenOffi ce.org 4 Distinct Features Bit-levelBit-level booleanboolean logiclogic operationsoperations cancan bebe carriedcarried outout directlydirectly andand efficientlyefficiently onon internalinternal registersregisters andand RAMRAM –– especiallyespecially valuedvalued inin industrialindustrial controlcontrol applicationsapplications FourFour separateseparate registerregister sets,sets, whichwhich cancan bebe usedused toto greatlygreatly reducereduce interruptinterrupt latencylatency -- fasterfaster thanthan storingstoring interruptinterrupt contextcontext onon aa stackstack Made wi th OpenOffi ce.org 5 Enhanced Versions ● built-in reset timers with brown-out detection ● on-chip oscillators ● self-programmable Flash ROM program memory ● bootloader code in ROM ● EEPROM non-volatile data storage ● I²C, SPI, and USB host interfaces ● PWM generators ● analog comparators ● A/D and D/A converters ● RTCs ● extra counters and timers ● in-circuit debugging facilities ● more interrupt sources ● extra power saving modes. Made wi th OpenOffi ce.org 6 Memory Map EA – controls low program-memory source PSEN, RD and WR signals are generated for external memories during instruction fetch (PSEN) or external data access with MOVX instructions (RD or WR) Made wi th OpenOffi ce.org 7 Internal Data Memory High-RAM (128B), register indirect addressing only, (not available in some microcontrollers) SFR – Special Function Registers, direct addressing only ● Low-RAM (128B) ● 4-banks of internal registers: RB0 – RB3 (00h-1Fh), 7-registers (R0-R7) in each bank ● Stack area – initial address 07h (grows towards higher addresses, SP on last element) ● Bit-addressable space (20h – 2Fh) ● General purpose space (30h – 7Fh) ● direct or indirect addressing modes possible Made wi th OpenOffi ce.org 8 Low Data RAM 128B 7Fh General purpose RAM 30h Bit-addressable memory Bit addresses from 00h to 7F (128bits = 16B) 20h RB3 RB2 RB1 R7 7h SP initial value R6 R5 R4 R3 RB0 R2 Current Register Bank (RB) selected by R1 bits in state (PWS) register R0 0h Made wi th OpenOffi ce.org 9 SFR ACC – Accumulator B – Aux. accumulator PWS – uC state register DPH, DPL – 16bit data pointer SP – Instruction & Stack pointers P0,P1,P2,P4 – I/O ports data registers IE – Interrupt mask IP,IPH – Interrupt priority registers PCON – Power-save control register TCON,TMOD – Timer control registers TL0,TH0 – 16-bit timer register AUXR – Aux. control bits Enhanced versions of microcontroller introduce other specific registers Made wi th OpenOffi ce.org 10 Architecture Overview Made wi th OpenOffi ce.org 11 Port 1 – Typical I/O I/OI/O withwith weakweak pull-uppull-up (50k-100k)(50k-100k) simplifiedsimplified directiondirection settingsetting (1(1→→D:D: InputInput Pin)Pin) Made wi th OpenOffi ce.org 12 Port 0&2 – Memory Interface MemoryMemory interfaceinterface independentindependent fromfrom I/OI/O settingssettings WeakWeak pull-uppull-up oror openopen draindrain Made wi th OpenOffi ce.org 13 Port 3 – Alternative Functions AlternativeAlternative inputinput andand outputoutput portport functionsfunctions Made wi th OpenOffi ce.org 14 Timer 0 (1) – Mode 0&1 TimerTimer countscounts upup andand rollsrolls overover allall 1s1s toto allall 0s0s ModeMode 0&1:0&1: 1313 oror 16-bit16-bit timertimer countercounter ClockedClocked byby uCuC oscillatoroscillator oror externallyexternally (Tx)(Tx) CountingCounting cancan bebe gatedgated internallyinternally oror externallyexternally (INTx)(INTx) Made wi th OpenOffi ce.org 15 Timer 0 (1) – Mode 2 8-bit8-bit timertimer countercounter TimerTimer countscounts upup andand andand isis reloadedreloaded fromfrom registerregister Made wi th OpenOffi ce.org 16 Timer 0 (1) – Mode 3 TwoTwo 8-bit8-bit independentindependent timerstimers TimerTimer 11 inin modemode 33 isis haltedhalted Made wi th OpenOffi ce.org 17 Timer 2 AvailableAvailable inin enhancedenhanced versionsversions 16-bit16-bit timer,timer, upup oror downdown countercounter 33 modesmodes ofof operation:operation: auto-reload, capture, baud rate generator Made wi th OpenOffi ce.org 18 Serial Interface ManyMany 8051s8051s areare equippedequipped withwith UARTUART operatingoperating inin threethree full-duplexfull-duplex modesmodes ModesModes ofof operationoperation areare highlyhighly configurable:configurable: frameframe format,format, parity,parity, baudbaud raterate AsynchronousAsynchronous transmissiontransmission andand receptionreception cancan occuroccur simultaneouslysimultaneously andand atat differentdifferent baudbaud ratesrates Made wi th OpenOffi ce.org 19 Baud Rate – Mode 1&3 TheThe baudbaud ratesrates inin ModesModes 11 andand 33 areare determineddetermined byby thethe TimerTimer 11 oror TimerTimer 22 overflowoverflow raterate TheThe BaudBaud RateRate GeneratorGenerator forfor transmittransmit andand receivereceive clocksclocks cancan bebe selectedselected separatelyseparately Made wi th OpenOffi ce.org 20 Commonly Used Baud Rates TimerTimer 11 vsvs oscillatoroscillator frequencyfrequency Made wi th OpenOffi ce.org 21 Interrupt System ExternalExternal InterruptsInterrupts TimerTimer InteruptsInterupts UARTUART InterruptsInterrupts InterruptInterrupt requestsrequests bits:bits: IE0, IE1, TF0, TF1, TF2, EXF2, RI, TI IndividualIndividual interruptinterrupt masks:masks: EX0, EX1, ET0, ET1, ET2, ES GlobalGlobal interruptinterrupt maskmask –– 1bit1bit EAEA Made wi th OpenOffi ce.org 22 Interrupt System IE0 EX0 IE1 EX1 TF0 ET0 TF1 ET1 RI TI ES TF2 EXF2 ET2 EA Made wi th OpenOffi ce.org 23 Interrupt Priorities InterruptInterrupt ofof higherhigher prioritypriority levellevel interruptsinterrupts thethe executionexecution ofof lowerlower prioritypriority levellevel interruptinterrupt TheThe finalfinal cyclecycle inin thethe executionexecution ofof thethe instructioninstruction cannotcannot bebe interruptedinterrupted RETIRETI oror anyany accessaccess toto thethe IEIE oror IPIP registersregisters cannotcannot bebe interruptedinterrupted Made wi th OpenOffi ce.org 24 Interrupt Vectors InterruptInterrupt vectorsvectors areare fixedfixed toto thethe beginningbeginning ofof instructioninstruction memorymemory IfIf interruptsinterrupts areare used,used, thethe firstfirst instructioninstruction mustmust bebe LCALLLCALL (3B)(3B) toto thethe mainmain programprogram Made wi th OpenOffi ce.org 25 Addressing Modes DirectDirect AddressingAddressing (e.g.(e.g. ADDADD A,7FHA,7FH)) operand is specified by an 8-bit address field in the instruction, only lowest 128B of internal Data RAM and SFRs can be directly addressed IndirectIndirect AddressingAddressing (e.g.(e.g. ADDADD A,@R0A,@R0)) instruction specifies a register which contains the address of the operand. Both internal and external RAM can be indirectly addressed. The address register for 8-bit addresses can be R0 or R1 of the selected register bank, or the Stack Pointer. The address register for 16-bit addresses can only be the 16-bit “data pointer” register, DPTR. Made wi th OpenOffi ce.org 26 Addressing Modes ImmediateImmediate AddressingAddressing (e.g.(e.g. MOVMOV A,#100A,#100)) The value of a constant is included in the instruction opcode in Program Memory RegisterRegister DirectDirect (e.g.(e.g. ADDADD A,R7A,R7))
Recommended publications
  • The Birth, Evolution and Future of Microprocessor
    The Birth, Evolution and Future of Microprocessor Swetha Kogatam Computer Science Department San Jose State University San Jose, CA 95192 408-924-1000 [email protected] ABSTRACT timed sequence through the bus system to output devices such as The world's first microprocessor, the 4004, was co-developed by CRT Screens, networks, or printers. In some cases, the terms Busicom, a Japanese manufacturer of calculators, and Intel, a U.S. 'CPU' and 'microprocessor' are used interchangeably to denote the manufacturer of semiconductors. The basic architecture of 4004 same device. was developed in August 1969; a concrete plan for the 4004 The different ways in which microprocessors are categorized are: system was finalized in December 1969; and the first microprocessor was successfully developed in March 1971. a) CISC (Complex Instruction Set Computers) Microprocessors, which became the "technology to open up a new b) RISC (Reduced Instruction Set Computers) era," brought two outstanding impacts, "power of intelligence" and "power of computing". First, microprocessors opened up a new a) VLIW(Very Long Instruction Word Computers) "era of programming" through replacing with software, the b) Super scalar processors hardwired logic based on IC's of the former "era of logic". At the same time, microprocessors allowed young engineers access to "power of computing" for the creative development of personal 2. BIRTH OF THE MICROPROCESSOR computers and computer games, which in turn led to growth in the In 1970, Intel introduced the first dynamic RAM, which increased software industry, and paved the way to the development of high- IC memory by a factor of four.
    [Show full text]
  • Architecture of 8051 & Their Pin Details
    SESHASAYEE INSTITUTE OF TECHNOLOGY ARIYAMANGALAM , TRICHY – 620 010 ARCHITECTURE OF 8051 & THEIR PIN DETAILS UNIT I WELCOME ARCHITECTURE OF 8051 & THEIR PIN DETAILS U1.1 : Introduction to microprocessor & microcontroller : Architecture of 8085 -Functions of each block. Comparison of Microprocessor & Microcontroller - Features of microcontroller -Advantages of microcontroller -Applications Of microcontroller -Manufactures of microcontroller. U1.2 : Architecture of 8051 : Block diagram of Microcontroller – Functions of each block. Pin details of 8051 -Oscillator and Clock -Clock Cycle -State - Machine Cycle -Instruction cycle –Reset - Power on Reset - Special function registers :Program Counter -PSW register -Stack - I/O Ports . U1.3 : Memory Organisation & I/O port configuration: ROM RAM - Memory Organization of 8051,Interfacing external memory to 8051 Microcontroller vs. Microprocessors 1. CPU for Computers 1. A smaller computer 2. No RAM, ROM, I/O on CPU chip 2. On-chip RAM, ROM, I/O itself ports... 3. Example:Intel’s x86, Motorola’s 3. Example:Motorola’s 6811, 680x0 Intel’s 8051, Zilog’s Z8 and PIC Microcontroller vs. Microprocessors Microprocessor Microcontroller 1. CPU is stand-alone, RAM, ROM, I/O, timer are separate 1. CPU, RAM, ROM, I/O and timer are all on a single 2. designer can decide on the chip amount of ROM, RAM and I/O ports. 2. fix amount of on-chip ROM, RAM, I/O ports 3. expansive 3. for applications in which 4. versatility cost, power and space are 5. general-purpose critical 4. single-purpose uP vs. uC – cont. Applications – uCs are suitable to control of I/O devices in designs requiring a minimum component – uPs are suitable to processing information in computer systems.
    [Show full text]
  • Programmable Digital Microcircuits - a Survey with Examples of Use
    - 237 - PROGRAMMABLE DIGITAL MICROCIRCUITS - A SURVEY WITH EXAMPLES OF USE C. Verkerk CERN, Geneva, Switzerland 1. Introduction For most readers the title of these lecture notes will evoke microprocessors. The fixed instruction set microprocessors are however not the only programmable digital mi• crocircuits and, although a number of pages will be dedicated to them, the aim of these notes is also to draw attention to other useful microcircuits. A complete survey of programmable circuits would fill several books and a selection had therefore to be made. The choice has rather been to treat a variety of devices than to give an in- depth treatment of a particular circuit. The selected devices have all found useful ap• plications in high-energy physics, or hold promise for future use. The microprocessor is very young : just over eleven years. An advertisement, an• nouncing a new era of integrated electronics, and which appeared in the November 15, 1971 issue of Electronics News, is generally considered its birth-certificate. The adver• tisement was for the Intel 4004 and its three support chips. The history leading to this announcement merits to be recalled. Intel, then a very young company, was working on the design of a chip-set for a high-performance calculator, for and in collaboration with a Japanese firm, Busicom. One of the Intel engineers found the Busicom design of 9 different chips too complicated and tried to find a more general and programmable solu• tion. His design, the 4004 microprocessor, was finally adapted by Busicom, and after further négociation, Intel acquired marketing rights for its new invention.
    [Show full text]
  • Embedded Systems and Internet of Things (Iots) - Challenges in Teaching the ARM Controller in the Classroom
    Paper ID #20286 Embedded Systems and Internet of Things (IoTs) - Challenges in Teaching the ARM Controller in the Classroom Prof. Dhananjay V. Gadre, Netaji Subhas Institute of Technology Dhananjay V. Gadre (New Delhi, India) completed his MSc (electronic science) from the University of Delhi and M.Engr (computer engineering) from the University of Idaho, USA. In his professional career of more than 27 years, he has taught at the SGTB Khalsa College, University of Delhi, worked as a scientific officer at the Inter University Centre for Astronomy and Astrophysics (IUCAA), Pune, and since 2001, has been with the Electronics and Communication Engineering Division, Netaji Subhas Institute of Technology (NSIT), New Delhi, currently as an associate professor. He directs two open access laboratories at NSIT, namely Centre for Electronics Design and Technology (CEDT) and TI Centre for Embedded Product Design (TI-CEPD). Professor Gadre is the author of several professional articles and five books. One of his books has been translated into Chinese and another one into Greek. His recent book ”TinyAVR Microcontroller Projects for the Evil Genius”, published by McGraw Hill International consists of more than 30 hands-on projects and has been translated into Chinese and Russian. He is a licensed radio amateur with a call sign VU2NOX and hopes to design and build an amateur radio satellite in the near future. Dr. Ramesh S. Gaonkar, SUNY-PCC and IITGN Ramesh Gaonkar, Ph.D., Professor Emeritus, SUNY OCC, (Syracuse, NY) was a professor in Electrical Technology, and presently, he is teaching as a Visiting Professor at Indian Institute of Technology (IIT), Gandhinagar, India.
    [Show full text]
  • 2 XII December 2014
    2 XII December 2014 www.ijraset.com Volume 2 Issue XII, December 2014 ISSN: 2321-9653 International Journal for Research in Applied Science & Engineering Technology (IJRASET) Overview and Comparative Study of Different Microcontrollers Rajratna Khadse1, Nitin Gawai2, Bagwan M. Faruk3 1Assist.Professor, Electronics Engineering Department, RCOEM, Nagpur 2,3Assist.Professor, E & Tc Engineering Department, JDIET, Yavatmal Abstract—A microcontroller is a small and low-cost computer built for the purpose of dealing with specific tasks, such as displaying information on seven segment display at railway platform or receiving information from a television’s remote control. Microcontrollers are mainly used in products that require a degree of control to be exerted by the user. Today various types of microcontrollers are available in market with different word lengths such as 8bit, 16bit, 32bit, and microcontrollers. Microcontroller is a compressed microcomputer manufactured to control the functions of embedded systems in office machines, robots, home appliances, motor vehicles, and a number of other gadgets. Therefore in today’s technological world lot of things done with the help of Microcontroller. Depending upon the applications we have to choose particular types of Microcontroller. The aim of this paper to give the basic information of microcontroller and comparative study of 8051 Microcontroller, ARM Microcontroller, PIC Microcontroller and AVR Microcontroller Keywords— Microcontroller, Memory, Instruction, cycle, bit, architecture I. INTRODUCTION Microcontrollers have directly or indirectly impact on our daily life. Usually, But their presence is unnoticed at most of the places like: At supermarkets in Cash Registers, Weighing Scales, Video games ,security system , etc. At home in Ovens, Washing Machines, Alarm Clocks, paging, VCR, LASER Printers, color printers etc.
    [Show full text]
  • Introduction to Cpu
    microprocessors and microcontrollers - sadri 1 INTRODUCTION TO CPU Mohammad Sadegh Sadri Session 2 Microprocessor Course Isfahan University of Technology Sep., Oct., 2010 microprocessors and microcontrollers - sadri 2 Agenda • Review of the first session • A tour of silicon world! • Basic definition of CPU • Von Neumann Architecture • Example: Basic ARM7 Architecture • A brief detailed explanation of ARM7 Architecture • Hardvard Architecture • Example: TMS320C25 DSP microprocessors and microcontrollers - sadri 3 Agenda (2) • History of CPUs • 4004 • TMS1000 • 8080 • Z80 • Am2901 • 8051 • PIC16 microprocessors and microcontrollers - sadri 4 Von Neumann Architecture • Same Memory • Program • Data • Single Bus microprocessors and microcontrollers - sadri 5 Sample : ARM7T CPU microprocessors and microcontrollers - sadri 6 Harvard Architecture • Separate memories for program and data microprocessors and microcontrollers - sadri 7 TMS320C25 DSP microprocessors and microcontrollers - sadri 8 Silicon Market Revenue Rank Rank Country of 2009/2008 Company (million Market share 2009 2008 origin changes $ USD) Intel 11 USA 32 410 -4.0% 14.1% Corporation Samsung 22 South Korea 17 496 +3.5% 7.6% Electronics Toshiba 33Semiconduc Japan 10 319 -6.9% 4.5% tors Texas 44 USA 9 617 -12.6% 4.2% Instruments STMicroelec 55 FranceItaly 8 510 -17.6% 3.7% tronics 68Qualcomm USA 6 409 -1.1% 2.8% 79Hynix South Korea 6 246 +3.7% 2.7% 812AMD USA 5 207 -4.6% 2.3% Renesas 96 Japan 5 153 -26.6% 2.2% Technology 10 7 Sony Japan 4 468 -35.7% 1.9% microprocessors and microcontrollers
    [Show full text]
  • How to Make Ez80 Code Execute Faster with Copy To
    Application Note How to Make eZ80® Code Execute Faster with Copy To RAM AN015103-1208 Abstract Two popular versions of the eZ80 offered by Zilog® are the eZ80 General-Purpose MPU This Application Note discusses how Zilog’s (eZ80L92) and the eZ80Acclaim! Family of Flash eZ80® code can execute faster by executing from MCUs, which includes the eZ80F91, eZ80F92, and RAM instead of Flash Memory, and be able to eZ80F93 devices. store the eZ80 code in Flash. With Zilog Develop- ment Studio II (ZDS II) code development tools, a eZ80L92 Features few simple changes to the project settings and the project link file are required for speedy code exe- The key features of eZ80L92 include: cution. The leddemo project that is included with the eZ80L92 device, which uses the ZDS II toolset • Single-cycle instruction fetch, high-performance, for eZ80 microprocessor unit (MPU), is used in pipelined eZ80 CPU core this Application Note as an example. However, the • Low power features including SLEEP mode, information in this document is also applicable to HALT mode, and selective peripheral power- the ZDS II toolset for eZ80Acclaim!® microcon- down control trollers unit (MCU). • Two Universal Asynchronous Receiver/Trans- Note: The source code file associated with mitters (UART) with independent baud rate gen- this application note, AN0151- erators SC01.zip is available for down- • Serial Peripheral Interface (SPI) with indepen- load at www.zilog.com. dent clock rate generator • Inter-Integrated Circuit (I2C) with independent eZ80 Overview clock rate generator eZ80 has revolutionized the communication indus- • Infrared Data Association (IrDA)-compliant try. It executes Zilog’s Z80® code four times faster infrared encoder/decoder at the same clock speed of traditional Z80s and can • New DMA-like eZ80 instructions for efficient operate at frequencies up to 50 MHz.
    [Show full text]
  • Computer Architectures an Overview
    Computer Architectures An Overview PDF generated using the open source mwlib toolkit. See http://code.pediapress.com/ for more information. PDF generated at: Sat, 25 Feb 2012 22:35:32 UTC Contents Articles Microarchitecture 1 x86 7 PowerPC 23 IBM POWER 33 MIPS architecture 39 SPARC 57 ARM architecture 65 DEC Alpha 80 AlphaStation 92 AlphaServer 95 Very long instruction word 103 Instruction-level parallelism 107 Explicitly parallel instruction computing 108 References Article Sources and Contributors 111 Image Sources, Licenses and Contributors 113 Article Licenses License 114 Microarchitecture 1 Microarchitecture In computer engineering, microarchitecture (sometimes abbreviated to µarch or uarch), also called computer organization, is the way a given instruction set architecture (ISA) is implemented on a processor. A given ISA may be implemented with different microarchitectures.[1] Implementations might vary due to different goals of a given design or due to shifts in technology.[2] Computer architecture is the combination of microarchitecture and instruction set design. Relation to instruction set architecture The ISA is roughly the same as the programming model of a processor as seen by an assembly language programmer or compiler writer. The ISA includes the execution model, processor registers, address and data formats among other things. The Intel Core microarchitecture microarchitecture includes the constituent parts of the processor and how these interconnect and interoperate to implement the ISA. The microarchitecture of a machine is usually represented as (more or less detailed) diagrams that describe the interconnections of the various microarchitectural elements of the machine, which may be everything from single gates and registers, to complete arithmetic logic units (ALU)s and even larger elements.
    [Show full text]
  • The Z80 Microprocessor Architecture
    DESIGN AND FABRICATION OF AN ELECTRONIC SYSTEM FOR MONITORING AND CONTROLLING TEMPERATURE, LIGHT ILLUMINANCE AND HUMIDITY IN A GREENHOUSE WYCLIFFE OBANDA NYANYA I56/0243/2003 A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF REQUIREMENTS FOR THE DEGREE OF MASTER OF SCIENCE (ELECTRONICS AND INSTRUMENTATION) IN THE SCHOOL OF PURE AND APPLIED SCIENCES OF KENYATTA UNIVERSITY APRIL 2010 DECLARATION I declare that the work presented in this thesis is my original work and has not been presented for a degree in any other university or for any other award. WYCLIFFE OBANDA NYANYA Signature………………………… Date………… PHYSICS DEPARTMENT KENYATTA UNIVERSITY We confirm that the candidate carried out the work reported in this thesis under our supervision. DR. PATRICK M. KARIMI Signature…………………….......... Date……...... PHYSICS DEPARTMENT KENYATTA UNIVERSITY P. O. BOX 43844-00100 GPO NAIROBI-KENYA DR. ABDALLAH S. MERENGA Signature……………………….... Date …………… PHYSICS DEPARTMENT KENYATTA UNIVERSITY P. O. BOX 43844-00100 GPO NAIROBI- KENYA ii DEDICATION This work is dedicated to my wife, Elizabeth, my daughters Sharon and Louise, my son Mark and to my late father Herbert Ambundo who would have loved to see it all. iii ACKNOWLEDGEMENTS I would like to take this opportunity to thank all my lecturers in the physics department for instilling confidence in me when pursuing this course. Special thanks go to my supervisors, Dr. P. M. Karimi and Dr. A. S. Merenga, for their guidance throughout this research. I also wish to thank my colleague John Githaiga for his useful suggestions. The technicians in the Physics department were very helpful to me during the construction of the system. I also wish to thank my wife Elizabeth Obanda for her moral support and patience.
    [Show full text]
  • Time: Office Hour: TR 03:20Am ~ 05:20Pm Website
    EE‐446 Embedded Architectures (2014CSULA) 09/25/14 Instructor: Airs Lin Mentor: Dr. Charles Liu Time: . SEC1:TR 01:30PM~03:10PM . SEC2:TR 09:50AM~11:30AM Office Hour: TR 03:20am ~ 05:20pm Website: http://EE446.is‐an‐Engineer.com Email: [email protected] 1 EE‐446 Embedded Architectures (2014CSULA) 09/25/14 Week 1: . Introduction to Embedded Systems Week 2, 3: . UML in Embedded System Design . Homework 1: Embedded proposal . Homework 2: UML Week 4: . Memory Technology Week 5: . Peripheral Interfaces Week 6: . Microcontroller (Cypress PSoC 5) . PSoC Project Week 7: . PSoC Project Week 8: . Introduction to FPGA . Altera System on Chip (SoC) 2 EE‐446 Embedded Architectures (2014CSULA) 09/25/14 Week 9: . FPGA Project (Handshaking) Week 10: . FPGA Project (Handshaking) Final Week. 3 EE‐446 Embedded Architectures (2014CSULA) 09/25/14 Embedded Systems is a computer inside a product Computer system which is part of some other equipment Typically dedicated software (may be user‐ customizable) May be required to respond to events in real time A special‐purpose computer system Designed to perform one or a few dedicated functions, sometimes with real‐time computing constraints. Usually containing sensors and actuators (and its control loop) Usually embedded as part of another system 4 EE‐446 Embedded Architectures (2014CSULA) 09/25/14 Providing pervasive computational intelligence Appliance, equipment, facilities are getting more intelligent . Predicting your need . Optimizing consumption, performance . Coordinate with each other 5 EE‐446 Embedded Architectures (2014CSULA) 09/25/14 Early era: purposely built chips and boards . Integrating mostly analog components . Hardwired computation logic Recent: rise of cheap general purpose microprocessors .
    [Show full text]
  • Development of Microprocessor Learning Media Using Zilog Z-80 For
    Jurnal Pendidikan Vokasi Volume 8, No 3, November (238-248) Online: http://journal.uny.ac.id/index.php/jpv DEVELOPMENT OF MICROPROCESSOR LEARNING MEDIA USING ZILOG Z-80 FOR VOCATIONAL SCHOOL STUDENTS OF ELECTRONIC ENGINEERING EXPERT PROGRAM Nurul Fitri Fathia Universitas Negeri Jakarta Ivan Hanafi Universitas Negeri Jakarta Muhammad Rif’an Universitas Negeri Jakarta Abstract This development research aims to develop microprocessor learning media using Zilog Z80. The Learning Media quality is based on the following aspects: (1) media feasibility according to subject matter experts and media experts; (2) effective based on students ability test by pre test and post- test. The developed cycles and procedures refer to the ADDIE model (analysis, design, development, implementation, and evaluation). This development research produces learning media as microprocessor kits training and e-Learning namely “µProsessor” as learning support. Data analysis techniques to test the effectiveness of learning media using Paired Samples T-Test and Using a Likert scale to test the feasibility of learning media. The research results show that the feasibility of learning media is enough with a high score of above 88% and Paired Samples Test results for media effectiveness show an increase in the value of significant microprocessor capabilities. Measuring the improvement of the ability of students' microprocessors using N-gain (normalized gain). The results of the calculation of N-gain in the large group is 0.72 in the high category. Interpretation of the results of the research can be concluded that effective learning media as a learning media for microprocessors. Keywords: learning media, research and development, ADDIE model, microprocessors Permalink: http://dx.doi.org/10.21831/jpv.v8i3.20795 Contact Nurul Fitri Fathia [email protected] Universitas Negeri Jakarta, Jl.
    [Show full text]
  • Lecture #3 PIC Microcontrollers
    Integrated Technical Education Cluster Banna - At AlAmeeria ‎ © Ahmad © Ahmad El E-626-A Real-Time Embedded Systems (RTES) Lecture #3 PIC Microcontrollers Instructor: 2015 SPRING Dr. Ahmad El-Banna Banna Agenda - What’s a Microcontroller? © Ahmad El Types of Microcontrollers Features and Internal structure of PIC 16F877A RTES, Lec#3 , Spring Lec#3 , 2015 RTES, Instruction Execution 2 Banna What is a microcontroller? - • A microcontroller (sometimes abbreviated µC, uC or MCU) is a small computer on a single integrated circuit © Ahmad El containing a processor core, memory, and programmable input/output peripherals. • It can only perform simple/specific tasks. • A microcontroller is often described as a ‘computer-on-a- chip’. RTES, Lec#3 , Spring Lec#3 , 2015 RTES, 3 Microcomputer system and Microcontroller Banna based system - © Ahmad © Ahmad El RTES, Lec#3 , Spring Lec#3 , 2015 RTES, 4 Banna Microcontrollers.. - • Microcontrollers are purchased ‘blank’ and then programmed with a specific control program. © Ahmad El • Once programmed the microcontroller is build into a product to make the product more intelligent and easier to use. • A designer will use a Microcontroller to: • Gather input from various sensors • Process this input into a set of actions • Use the output mechanisms on the microcontroller to do something useful. RTES, Lec#3 , Spring Lec#3 , 2015 RTES, 5 Banna Types of Microcontrollers - • Parallax Propeller • Freescale 68HC11 (8-bit) • Intel 8051 © Ahmad El • Silicon Laboratories Pipelined 8051 Microcontrollers • ARM processors (from many vendors) using ARM7 or Cortex-M3 cores are generally microcontrollers • STMicroelectronics STM8 (8-bit), ST10 (16-bit) and STM32 (32-bit) • Atmel AVR (8-bit), AVR32 (32-bit), and AT91SAM (32-bit) • Freescale ColdFire (32-bit) and S08 (8-bit) • Hitachi H8, Hitachi SuperH (32-bit) • Hyperstone E1/E2 (32-bit, First full integration of RISC and DSP on one processor core [1996]) • Infineon Microcontroller: 8, 16, 32 Bit microcontrollers for Spring Lec#3 , 2015 RTES, automotive and industrial applications.
    [Show full text]