evsjv `k cigvyy kw³ Kwgkb BANGLADESH ATOMIC ENERGY COMMISSION
|
|
- Cassandra Sullivan
- 6 years ago
- Views:
Transcription
1 Design and Development of Microcontroller Based Programmable Timer for Supply Control Md. Shahzamal, Mohammad Abu Sayid Haque, Md. Nasrul Haque Mia, Md. Anzan-Uz-Zaman, Sardar Masud Rana, Mahbubul Hoq, Fahmida Akter, Farhana Hafiz, Mahmudul Hasan NUCLEAR ELECTRONICS DIVISION NOVEMBER 2013 INSTITUTE OF ELECTRONICS ATOMIC ENERGY RESEARCH ESTABLISHMENT SAVAR, GPO BOX 3787, DHAKA-1349, BANGLADESH evsjv `k cigvyy kw³ Kwgkb BANGLADESH ATOMIC ENERGY COMMISSION
2 Edited by: Mahbubul Hoq Yasmeen Maula Mohammod Abu Sayid Haque Published by: Institute of Electronics Atomic Energy Research Establishment Ganakbari, Savar, Dhaka Bangladesh Atomic Energy Commission Printed by: Scientific Information Unit Atomic Energy Research Establishment Ganakbari, Savar, Dhaka Bangladesh Atomic Energy Commission
3 Design and Development of Microcontroller Based Programmable Timer for Supply Control *Md. Shahzamal 1, Mohammad Abu Sayid Haque 1,, Md. Nasrul Haque Mia 1,Md. Anzan-Uz-Zaman 1, Sardar Masud Rana 1, Mahbubul Hoq 1, Fahmida Akter 1, Farhana Hafiz 1, Mahmudul Hasan 2 1 Institute of Electronics, Atomic Energy Research Establishment, Savar, Dhaka, Bangladesh 2 Atomic Energy Research Establishment, Savar, Dhaka, Bangladesh Abstract: Timers are frequently used in the industries to run process/operation with predefined time interval. The most popular type of timer is the programmable timer that has various facilities to configure the timer by users. However, it is expensive to build such timer using ICs and discrete components. Moreover, when programmable timer is used for laboratory instruments, it is expected to be flexible to handle. Microcontroller has the potential to solve these constraints. In this development work, we have developed a microcontroller based programmable timer with digital display system that can be configured to connect the AC main line to the instruments for a specific time interval. This device can function in two modes: manual mode and programmable mode. In the programmable mode, the device connects AC main line to the power outlet for a set interval. The device has been designed and tested in the laboratory. Keywords: Timer, Microcontroller, A. C supply and Display System. I. INTRODUCTION Timers that schedule an event according to a predefined time value in the future are an integral part of many real-time embedded systems, similar to setting an alarm clock. They find applications in the control of sequential functions of industrial machinery at varying time intervals, in the laboratory to power instruments for a specific time and perform processes for a specific duration. Usually, two kind of timer are frequently used in various applications such as mechanical and electronic timers. Electronics timers are manufactured today to meet the complex function of industries. The Electronic timer consists of a crystal controlled stable oscillator, sequencing logic circuits, driving circuits and a digital display system with a facility depends on the application for connecting the output to individual machinery/system to control the operation at pre-determined time interval *Corresponding Author: Md. Shahzamal, Scientific Officer Institute of Electronics, AERE, Savar, Dhaka, Bangladesh zamal.iebaecbd@gamil.com, Phone: , Mob: Page 1 of 7
4 The timers which can be configured to set time interval is called programmable timer. The programmable timer is usually designed with different functions that would be flexible to customize by the users. To build such timer, many ICs and components are required. Therefore, manufacturing cost prohibit deploying programmable timer in many applications. Moreover, when programmable timer is used in laboratory, it should be sophisticated. In this development work, we have developed a microcontroller based programmable timer with digital display system. It works in two modes: manual mode and programmable mode. In manual mode, it can function like switch board. In the programmable mode, user can set the time how long AC main line could be connected to the power outlet. Then, it is disconnected automatically. The time is set for hours, minutes and seconds i.e. the time format is HH:MM: SS. Therefore, the maximum time would be 99h: 59m: 59s. The remaining time is shown on the display system designed with six seven-segment LEDs. This paper is organized as follows. In the section-ii, we have discussed about hardwire designing and software developing. We have presented timing performance in the section-iii and section-iv concludes our development work. II. DESIGN AND DEVELOPMENT Figure-1 shows the functional unit of the developed system. The first block is the switching unit that is used to change the operation mode of the system. It can change the system form manual mode to programmable mode. In the programmable mode, the system requires power supply to operate the circuit. This is done in the programmable circuit enable unit. Then, the time interval that the AC supply is continued is set through the push switches. The microcontroller receives the value of time and process to prepare the 16-bit timer that is integrated with the microcontroller. Finally, the relay circuit is energized for the predefined time. As a result, the AC main line connects to the power outlet. The remaining time is presented continuously on the LEDs based seven segment display system. The system can be reset pushing the timer start switch. Figure-2 shows the circuit diagram of the developed system. The working principle of the system is described in the following paragraphs. Figure-1: Functional Diagram of the Developed System. Page 2 of 7
5 A. Switching Options A two way contact switch has been used to change the operation mode. One wire is connected to the input of the switch. But, one connection is permanently connected in the both modes. When it is in the position of manual mode, the circuit connection to the socket is established with another manual contact switch. Figure-2: Circuit Diagram of the Developed System. B. Power Supply When the two way contact switch is connected to the programmable mode, the circuit is powered with a power supply that enables the programmable mode operation. This is constructed with a step down transform and a bridge rectifier. The output of the rectifiers is filtered with a combination of capacitor and resister. This produces a positive DC voltage with small amount of ripple. This voltage is passed through a regulator IC-7812 and +12V is derived from the output. The IC-7812 is protected with a reverse connected diode. The output voltage is filtered using a small capacitor. This +12V is used to operate relay. This output again is fed to input of IC-7805 and +5 V is obtained as output. This voltage is supplied to operate the microcontroller. C. Microcontroller PIC-16F72 Most of the task of the developed programmable timer is done using the microcontroller PIC-16F72. It has 2K x 14 words of FLASH Program Memory and 128 x 8 bytes of Data Memory (RAM) [3]. The operating frequency could be up to 20 MHz. It has three I/O ports named PORTA, PORTB and PORTC. PORTA is a 6-bit wide, bi-directional port. PORTB and PORTC are also a bi-directional, but 8-bit wide. Some pins for these I/O ports are multiplexed with an alternate function for the peripheral features on the device. In general, Page 3 of 7
6 when a peripheral is enabled, the pin may not be used as a general purpose I/O pin. The microcontroller has three timers: two 8-bit timers and one 16-bit timer. These timers can work counter as well when external clock is supplied to the respective pins while timers operate with the internal oscillator. D. Timer Operation Controller The operation of the programmable timer is controlled through the four pins of PORTB (RB7, RB6, RB5 and RB4). These pins have an interrupt-on-change feature. Only pins configured as inputs can cause this interrupt to occur. The input pins (of RB7:RB4) are compared with the old value latched on the last read of PORTB. The mismatch outputs of RB7:RB4 are OR d together to generate the RB Port Change Interrupt with flag bit RBIF (INTCON <0>). A mismatch condition will continue to set flag bit RBIF. Reading PORTB will end the mismatch condition and allow flag bit RBIF to be cleared. We have connected four push switches to enter the instructions to the microcontroller, as shown in figure-3. Switch-1 connected with RB4 is the set/reset switch. When the switch is pressed, the operation of entering time begins or reset entering time. The switch-2 is used to select which digit will be incremented. SW-3 is used to increment the value of the digit selected by the SW-2. If the digit is incremented above the maximum value for that digit, then it resets to zero again. SW-4 starts timer and displaying remaining time. After pushing this switch, the program transfer to timer configuration subroutine and start timer operation. We have developed a subroutine, named scanning switches and actions, to perform these operations. The follow chart is shown in the figure-4. This subroutine is executed with RB Port Change Interrupt. It also includes the de-bounce steps to avoid the unnecessary interrupt. This program receives the value of time interval and necessary instruction to start timing. Figure-3: Operation Controlling Switches. Figure-4:Flow Chart for Actions of Switches. Page 4 of 7
7 E. Timer Configuration The Timer1 module is a 16-bit timer/counter consisting of two 8-bit registers (TMR1H and TMR1L), which are readable and writable. The TMR1 Register pair (TMR1H:TMR1L) increments from 0000h to FFFFh and rolls over to 0000h. The TMR1 Interrupt, if enabled, is generated on overflow, which is latched in interrupt flag bit TMR1IF (PIR1<0>). This interrupt can be enabled/disabled by setting/clearing TMR1 interrupt enable bit TMR1IE (PIE1<0>). In this system, we have configured timer to generate signal after every half second. Further, we have used this signal to generate tick every second. As the operating frequency of the designed circuit is 4 MHz, each instruction cycle is equal to 1 us. We have also set 1: 8 presale values that divide the clock by 8. Therefore, to generate timer overflow after every half second the number of increments would be, = Thus, the timer will rolls over after half second if it starts to increment from = 3035=0BDB. This is done reloading TMR1L with DB and RMR1H with 0B. Figure-5 shows the flowchart for fixing remaining time. After every overflow, TMR1 Register pair rewrites. A noticing signal is produced to decrement the least significant digit. Next digits are adjusted after every decrement. The updated value is presented on the display system. Figure-5: Remaining Time Calculation Flowchart. Figure-6: Relay Driving Circuit F. Relay Driving Circuit The AC line is controlled through a relay based circuit as shown in figure-6. The microcontroller set high pin RB3 to connect AC to the outlet. The RB3 provide the bias current to the driving transistor and energized the relay to establish connection. This pin is kept high until every digit of remaining time becomes zero. A LED diode has been connected to show the status of the timer. The rectifier diode avoids the unwanted firing of relay. Page 5 of 7
8 G. Display System The time setup is monitored observing the entered digit on the display. The display system also shows the remaining time. The display system has been constructed using seven segment LEDs. A register memory is assigned to control the glow of LEDs for each segment. The register value is found out through different subroutines. The controlling subroutine selects the appropriate pattern for each digit to be displayed. Each digit is displayed applying time division technique. One segment is powered for a fixed interval and then turn off to power other segments. However, the data bus is common for all segments. III. RESULT AND DISCUSSION The system has two parts: 1) Designing Hardware Circuit and 2) Designing required Software. The system has been designed and tested successfully in the laboratory. The developed system is very cheap and flexible. The maximum time that can be set is 99H: 59M: 59S. As the time setting is independent of the ability of the timer of microcontroller, the system can be run for the maximum time perfectly. The picture-1 shows our developed board. The timing accuracy has been presented in the following Table-1. Table-1: Comparison of timing with standard watch. Observation No. Set time for the Timer Time passed in the standard watch Differences In Seconds 01 00:05:00 00:04: :20:00 00:10: :30:00 00:20: :40:00 00:40: :50:00 00:50: :00:00 01:00:00 00 Picture-1: Developed Programmable Timer. Figure-7: PCB for the Developed System Page 6 of 7
9 IV. CONCLUSSION We have successfully developed a prototype of a programmable timer. The developed system is very useful to run an instrument for a specific time interval. The timing is very precise as the system has been developed by the microcontroller. The performance of the system depends on the loads in many cases. The programmable timer has limited functions. In future, the system would be upgraded adding new functions such as periodic ON/OFF. REFERENCES [1] Electronic Industrial Timers, [2] Jonathan Gana KOLO and Umar Suleiman DAUDA, Development of a Simple Programmable Control Timer, Leonardo Journal of Sciences, Issue 12, January-June 2008, p [3] Data Sheet of Pic-16F72, ww1.microchip.com/downloads/en/devicedoc/39597b.pdf [4] Introduction to Embedded Programming - Timers, [5] Y. K. Woo, Timer and Timer Services, [6] Mitesh P. Parikh, programmable timer for appliances, [7] A Digital Timer Implementation using 7 Segment Displays, Page 7 of 7
EE6008-Microcontroller Based System Design Department Of EEE/ DCE
UNIT- II INTERRUPTS AND TIMERS PART A 1. What are the interrupts available in PIC? (Jan 14) Interrupt Source Enabled by Completion Status External interrupt from INT INTE = 1 INTF = 1 TMR0 interrupt T0IE
More informationSection 13. Timer0 HIGHLIGHTS. Timer0. This section of the manual contains the following major topics:
Section 13. Timer0 HIGHLIGHTS This section of the manual contains the following major topics: 13.1 Introduction... 13-2 13.2 Control Register... 13-3 13.3 Operation... 13-4 13.4 Timer0 Interrupt... 13-5
More informationSection 14. Timer1 HIGHLIGHTS. Timer1. This section of the manual contains the following major topics:
Section 14. Timer1 HIGHLIGHTS This section of the manual contains the following major topics: 14.1 Introduction... 14-2 14.2 Control Register... 14-4 14.3 Timer1 Operation in Timer Mode... 14-5 14.4 Timer1
More informationUNIVERSITY OF BOLTON SCHOOL OF ENGINEERING B.ENG (HONS) ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATION SEMESTER /2016
UNIVERSITY OF BOLTON TW59 SCHOOL OF ENGINEERING B.ENG (HONS) ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATION SEMESTER 1-2015/2016 INTERMEDIATE EMBEDDED SYSTEMS MODULE NO: EEE5004 Date: Thursday 14 January
More informationInterrupts on PIC18F252 Part 2. Interrupts Programming in C Language
Interrupts on PIC18F252 Part 2 Interrupts Programming in C Language Programming interrupts in C language using XC8 compiler is significantly simplified compared to C18 compiler. This note explains the
More informationPOWER SAVER METER USING MICROCONTROLLER TO SAVE ELECTRICITY UPTO 30-40%
POWER SAVER METER USING MICROCONTROLLER TO SAVE ELECTRICITY UPTO 30-40% Prof. Dipesh. M.Patel 1 Kandarp mehta 2 Himanshu amrutiya 3 Ravi bhalodia 4 Chirag amrutiya 5 1. Head, Electrical Engg. Department,
More informationDTMF BASED HOME AUTOMATION
DTMF BASED HOME AUTOMATION Vimlesh Kumar Agrahari 1, Md Arzoo 2, Harish Kumar 3 1, 2 Students, Electrical Engineering Department Greater Noida Institutes of Technology, Gr.Noida, (India) 3 Assistant Professor,
More informationSH69P48A EVB. Application Notes for SH69P48A EVB SH69V48A JP2 J4(ICE_J4) S1 IDD TEST JP1 74HC273 JP4 JP3 74HC273 JP6 STKOVE JP7 SW1 J5(ICE_J5)
SH69P48A EVB Application Notes for SH69P48A EVB The SH69P48A EVB is used to evaluate the SH69P48A chip's function for the development of application program. It contains of a SH69V48A chip to evaluate
More informationThe University of Texas at Arlington Lecture 21_Review
The University of Texas at Arlington Lecture 21_Review CSE 5442/3442 Agenda Tuesday December 1st Hand back Homework 7,8 and 9. Go over questions and answers Exam 3 Review Note: There will be a take home
More informationUNIVERSITY OF BOLTON SCHOOL OF ENGINEERING. BEng(Hons) Electrical and Electronics Engineering SEMESTER 1 EXAMINATION 2016/2017
TW34 UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BEng(Hons) Electrical and Electronics Engineering SEMESTER 1 EXAMINATION 2016/2017 INTERMEDIATE EMBEDDED SYSTEMS MODULE NO: EEE5004 Date: Thursday 12 January
More informationEasyPIC5 Development System
EasyPIC5 Development System Part No.: MPMICRO-PIC-Devel- EasyPIC5 Overview EasyPIC5 is a development system that supports over 120 8-, 14-, 18-, 20-, 28- and 40-pin PIC MCUs. EasyPIC5 allows PIC microcontrollers
More informationKeywords Digital IC tester, Microcontroller AT89S52
Volume 6, Issue 1, January 2016 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Digital Integrated
More informationInterrupts on PIC18F252 Part 2
Interrupts on PIC18F252 Part 2 Following pages list Special Function Registers (SFRs) involved in interrupt configuration and operation on PIC18F252 microcontroller. (Copied from Microchip s PIC18Fxx2
More informationSECURE DIGITAL ACCESS SYSTEM USING IBUTTON
SECURE DIGITAL ACCESS SYSTEM USING IBUTTON Access control forms a vital link in a security chain. Here we describe a secure digital access system using ibutton that allows only authorised persons to access
More informationwhich means that writing to a port implies that the port pins are first read, then this value is modified and then written to the port data latch.
Introduction to microprocessors Feisal Mohammed 3rd January 2001 Additional features 1 Input/Output Ports One of the features that differentiates a microcontroller from a microprocessor is the presence
More informationUsing Timers of Microchip PIC18F Microcontrollers
Using Timers of Microchip PIC18F Microcontrollers ARSLAB - Autonomous and Robotic Systems Laboratory Dipartimento di Matematica e Informatica - Università di Catania, Italy santoro@dmi.unict.it L.A.P.
More information3 PHASE FAULT ANALYSIS WITH AUTO RESET FOR TEMPORARY FAULT AND TRIP FOR PREMANENT
e-issn 2455 1392 Volume 3 Issue 4, April 2017 pp. 80 84 Scientific Journal Impact Factor : 3.468 http://www.ijcter.com 3 PHASE FAULT ANALYSIS WITH AUTO RESET FOR TEMPORARY FAULT AND TRIP FOR PREMANENT
More informationThese 3 registers contain enable, priority,
8.3.2) Registers Related to Interrupts These registers enable/disable the interrupts, set the priority of the interrupts, and record the status of each interrupt source. RCON INTCON, INTCON2, and INTCON3
More informationSH69P55A EVB. Application Note for SH69P55A EVB SH69P55A EVB SH69V55A
Application Note for SH69P55A EVB SH69P55A EVB The SH69P55A EVB is used to evaluate the SH69P55A chip's function for the development of application program. It contains of a SH69V55A chip to evaluate the
More informationUniversity of Jordan Faculty of Engineering and Technology Department of Computer Engineering Embedded Systems Laboratory
University of Jordan Faculty of Engineering and Technology Department of Computer Engineering Embedded Systems Laboratory 0907334 6 Experiment 6:Timers Objectives To become familiar with hardware timing
More informationCENG-336 Introduction to Embedded Systems Development. Timers
CENG-336 Introduction to Embedded Systems Development Timers Definitions A counter counts (possibly asynchronous) input pulses from an external signal A timer counts pulses of a fixed, known frequency
More informationSH69P21 EVB. Application Note for SH69P21 EVB SH69P21 EVB SH69P21
SH69P21 EVB Application Note for SH69P21 EVB The SH69P21 EVB is used to evaluate the SH69P21 chip's function for the development of application program. It contains of a SH69V21 chip to evaluate the functions
More informationSmart Programmable Timer
Smart Programmable Timer Santosh Laxman Kulangi¹, Dr.Mrs.P.Malathi² Electronics and Telecommunication Department, D.Y.Patil College of Engineering, Akurdi Pune University, Pune, India Abstract: The Electronic
More informationMechatronics and Measurement. Lecturer:Dung-An Wang Lecture 6
Mechatronics and Measurement Lecturer:Dung-An Wang Lecture 6 Lecture outline Reading:Ch7 of text Today s lecture: Microcontroller 2 7.1 MICROPROCESSORS Hardware solution: consists of a selection of specific
More informationUNIVERSITY OF BOLTON SCHOOL OF ENGINEERING MSC SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2016/2017
TW30 UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING MSC SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2016/2017 MICROPROCESSOR BASED SYSTEMS MODULE NO: EEM7016 Date: Wednesday 17 May
More informationThree criteria in Choosing a Microcontroller
The 8051 Microcontroller architecture Contents: Introduction Block Diagram and Pin Description of the 8051 Registers Some Simple Instructions Structure of Assembly language and Running an 8051 program
More informationPIC Microcontroller Introduction
PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.
More informationIMPROVING PROCESS CONTROL APPLICATIONS BY USING IP COMMUNICATIONS
7 th International Conference on DEVELOPMENT AND APPLICATION SYSTEMS S u c e a v a, R o m a n i a, M a y 27 29, 2 0 0 4 IMPROVING PROCESS CONTROL APPLICATIONS BY USING IP COMMUNICATIONS Eugen COCA University
More informationInput/Output Ports and Interfacing
Input/Output Ports and Interfacing ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning Basic I/O Concepts Peripherals such as LEDs and keypads are essential
More informationBHARATHIDASAN ENGINEERING COLLEGE. III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013)
BHARATHIDASAN ENGINEERING COLLEGE III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013) FREQUENTLY ASKED QUESTIONS IN UNIVERSITY EXAMINATION PART A UNIT 1-8085 PROCESSOR 1. Draw the
More informationSANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1
SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1 Subject: Microcontroller and Interfacing (151001) Class: B.E.Sem V (EC-I & II) Q-1 Explain RISC
More informationDepartment of Electronics and Instrumentation Engineering Question Bank
www.examquestionpaper.in Department of Electronics and Instrumentation Engineering Question Bank SUBJECT CODE / NAME: ET7102 / MICROCONTROLLER BASED SYSTEM DESIGN BRANCH : M.E. (C&I) YEAR / SEM : I / I
More informationMicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor
1 2 A microprocessor is a single, very-large-scale-integration (VLSI) chip that contains many digital circuits that perform arithmetic, logic, communication, and control functions. When a microprocessor
More informationUsing the HT16K33 in DVD Player Panel Applications
Using the HT16K33 in DVD Player Panel Applications D/N:AN0363E Introduction The HT16K33 is a memory mapping and multi-function LED controller driver. The maximum display capacity in the device is 128 dots
More informationDisplay Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.
Display Real Time Clock (RTC) On LCD PR12 Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion
More informationLaboratory 9. Programming a PIC Microcontroller - Part I
Laboratory 9 Programming a PIC Microcontroller - Part I Required Components: 1 PIC16F84 (4MHz) or PIC16F84A (20MHz) or compatible (e.g., PIC16F88) microcontroller 1 4MHz microprocessor crystal (20 pf),
More informationEmbedded World Television, Radio, CD player, Washing Machine Microwave Oven Card readers, Palm devices
A presentation on INTRODUCTION We are living in the Embedded World. We are surrounded with many embedded products and our daily life largely depends on the proper functioning of these gadgets. Television,
More informationEmbedded Systems and Software
Embedded Systems and Software Lecture 12 Some Hardware Considerations Hardware Considerations Slide 1 Logic States Digital signals may be in one of three states State 1: High, or 1. Using positive logic
More informationEmbedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad
Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad Objectives To be familiar with microcontrollers, PIC18F4550 microcontroller. Tools PIC18F4550 Microcontroller, MPLAB software,
More informationCHAPTER 6 CONCLUSION AND SCOPE FOR FUTURE WORK
134 CHAPTER 6 CONCLUSION AND SCOPE FOR FUTURE WORK 6.1 CONCLUSION Many industrial processes such as assembly lines have to operate at different speeds for different products. Process control may demand
More informationHardware Interfacing. EE25M Introduction to microprocessors. Part V. 15 Interfacing methods. original author: Feisal Mohammed
EE25M Introduction to microprocessors original author: Feisal Mohammed updated: 18th February 2002 CLR Part V Hardware Interfacing There are several features of computers/microcontrollers which have not
More information3. The MC6802 MICROPROCESSOR
3. The MC6802 MICROPROCESSOR This chapter provides hardware detail on the Motorola MC6802 microprocessor to enable the reader to use of this microprocessor. It is important to learn the operation and interfacing
More informationPIC18F452 Timer adjustment
PIC18F452 Wilfrid Laurier University January 23, 2018 PIC18F452 Here s a code fragment for the timer: PIC18F452 Here s a code fragment for the timer: t i m e a d j equ d 65536 d 25000 +d 12 +2 movff TMR0L,
More informationDesign and construction of ENP for Car : a novel Embedded System
Design and construction of ENP for Car : a novel Embedded System D.G.VYAS I/C Head(coordinator) and Assistant Professor, Dept. of Physics, Hemchandracharya North Gujarat University, Patan, Gujarat, India
More informationEEE394 Microprocessor and Microcontroller Laboratory Lab #6
Exp. No #6 Date: INTERRUPTS AND ADC IN PIC MICROCONTROLLER OBJECTIVE The purpose of the experiment is to configure external interrupt and the ADC in PIC microcontrollers. (i) To flip the LED connected
More informationEmbedded System Design
ĐẠI HỌC QUỐC GIA TP.HỒ CHÍ MINH TRƯỜNG ĐẠI HỌC BÁCH KHOA KHOA ĐIỆN-ĐIỆN TỬ BỘ MÔN KỸ THUẬT ĐIỆN TỬ Embedded System Design : Microcontroller 1. Introduction to PIC microcontroller 2. PIC16F84 3. PIC16F877
More informationUnit 2. Computer Control. PIC stands for PROGRAMMABLE INTERFACE CONTROLLER. A PIC chip takes in input signals and then controls output transducers
Unit 2 Computer Control PIC stands for PROGRAMMABLE INTERFACE CONTROLLER A PIC chip takes in input signals and then controls output transducers Name: Form: 2 ASIC or Application Specific Integrated Circuits
More informationEmbedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester
Embedded Systems PIC16F84A Internal Architecture Eng. Anis Nazer First Semester 2017-2018 Review Computer system basic components? CPU? Memory? I/O? buses? Instruction? Program? Instruction set? CISC,
More informationUNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.
UNIT V -8051 MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS 1. What is micro controller? Micro controller is a microprocessor with limited number of RAM, ROM, I/O ports and timer on a single chip
More informationA Programmer for the 68HC705C8 MicroController Figure 1 PROG05 As Built PROG05 User Guide Version C1 Page 1 of 14
A Programmer for the 68HC705C8 MicroController Figure 1 PROG05 As Built PROG05 User Guide Version C1 Page 1 of 14 Table of Contents midon design 1. Introduction...3 2. Description...4 3. Construction...5
More informatione-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text
e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text In this lecture the detailed architecture of 8051 controller, register bank,
More informationLaboratory: Introduction to Mechatronics
Laboratory: Introduction to Mechatronics Instructor TA: Edgar Martinez Soberanes (eem370@mail.usask.ca) 2017-02-9 Lab 3. LED Control and Interruptions. Lab Sessions Lab 1. Introduction to the equipment
More informationMicrocontrollers. Microcontroller
Microcontrollers Microcontroller A microprocessor on a single integrated circuit intended to operate as an embedded system. As well as a CPU, a microcontroller typically includes small amounts of RAM and
More informationCONTENTS. dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6
CONTENTS dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 Switches and Jumpers 7 MCU Sockets 8 Power Supply 10 On-Board USB 2.0 Programmer 11 MikroICD 12 RS-232 Communication Circuit 13
More informationPIC18F452 Timer adjustment
Wilfrid Laurier University February 10, 2012 Here s a code fragment for the timer: Here s a code fragment for the timer: t i m e a d j equ d 65536 d 25000 +d 12 +2 movff TMR0L, templ ; read 16 b i t c
More information8051 Microcontroller
8051 Microcontroller 1 Salient Features (1). 8 bit microcontroller originally developed by Intel in 1980. (2). High-performance CMOS Technology. (3). Contains Total 40 pins. (4). Address bus is of 16 bit
More informationIntroduction to Embedded Systems
Stefan Kowalewski, 4. November 25 Introduction to Embedded Systems Part 2: Microcontrollers. Basics 2. Structure/elements 3. Digital I/O 4. Interrupts 5. Timers/Counters Introduction to Embedded Systems
More informationES-562/564U COMBINATION CLOCK/TIMER
142 SIERRA ST., EL SEGUNDO, CA 90245 USA (310)322-2136 FAX (310)322-8127 www.ese-web.com ES-562/564U COMBINATION CLOCK/TIMER OPERATION AND MAINTENANCE MANUAL The ES-562U/564U is a combination six digit
More informationLABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F4580
LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F458 1. OBJECTIVES: 1.1 To learn how to interface LCD 16x2, Keypad 4x4 and 7Segment Display to the microcontroller. 1.2 To
More informationDS 1682 Total Elapsed Time Recorder with Alarm
DS 1682 Total Elapsed Time Recorder with Alarm www.dalsemi.com FEATURES Records the total time that the Event Input has been active and the number of events that have occurred. Volatile Elapsed Time Counter
More informationµpad: Microprocessor for Academic Development
µpad: Microprocessor for Academic Development Last Updated May 13, 2015 Figure 1: µpad Top Figure 2:µPAD Bottom Table of Contents WARNING: READ BEFORE PROCEDING!... 4 Overview... Error! Bookmark not defined.
More informationDEV-1 HamStack Development Board
Sierra Radio Systems DEV-1 HamStack Development Board Reference Manual Version 1.0 Contents Introduction Hardware Compiler overview Program structure Code examples Sample projects For more information,
More informationEXPERIMENT NO.1. A Microcontroller is a complete computer system built on a single chip.
EXPERIMENT NO.1 AIM: Study of 8051 Microcontroller TOOLS: 8051 kit THEORY: Salient Features of 8051 A Microcontroller is a complete computer system built on a single chip. It contains all components like
More informationChapter 2. Overview of Architecture and Microcontroller-Resources
Chapter 2 Overview of Architecture and Microcontroller-Resources Lesson 4 Timers, Real Time Clock Interrupts and Watchdog Timer 2 Microcontroller-resources Port P1 Port P0 Port P2 PWM Timers Internal Program
More informationLaboratory 10. Programming a PIC Microcontroller - Part II
Laboratory 10 Programming a PIC Microcontroller - Part II Required Components: 1 PIC16F88 18P-DIP microcontroller 1 0.1 F capacitor 3 SPST microswitches or NO buttons 4 1k resistors 1 MAN 6910 or LTD-482EC
More informationMICROPROCESSOR RELAY FOR PROTECTION OF ELECTRICAL SYSTEMS
MICROPROCESSOR RELAY FOR PROTECTION OF ELECTRICAL SYSTEMS V.LALITH KUMAR, IV-EEE S.T.I.C, GARIVIDI, VZM DT. INTRODUCTION: Modern power systems have a high degree of reliability. Power system design together
More informationBolt 18F2550 System Hardware Manual
1 Bolt 18F2550 System Hardware Manual Index : 1. Overview 2. Technical specifications 3. Definition of pins in 18F2550 4. Block diagram 5. FLASH memory Bootloader programmer 6. Digital ports 6.1 Leds and
More informationEmbedded Systems and Software
Embedded Systems and Software Some Hardware Considerations Embedded Systems in Vehicles Hardware, Slide 1 Logic States Digital signals may be in one of three states State 1: High, or 1. Using positive
More informationIntroduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.
Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform www.sierraradio.net www.hamstack.com Topics Introduction Hardware options Software development HamStack project
More informationECE Senior Project Status Report. for. Scalable Regulated Three Phase Rectifier. September 21, Prepared by: Tyler Budzianowski.
ECE Senior Project Status Report for Scalable Regulated Three Phase Rectifier September 21, 2004 Prepared by: Tyler Budzianowski Tao Nguyen Sponsors: Dr. Herb Hess (University of Idaho) Dr. Richard Wall
More informationArchitecture of Computers and Parallel Systems Part 6: Microcomputers
Architecture of Computers and Parallel Systems Part 6: Microcomputers Ing. Petr Olivka petr.olivka@vsb.cz Department of Computer Science FEI VSB-TUO Architecture of Computers and Parallel Systems Part
More informationDS1676 Total Elapsed Time Recorder, Erasable
www.dalsemi.com Preliminary DS1676 Total Elapsed Time Recorder, Erasable FEATURES Records the total time that the Event Input has been active and the number of events that have occurred. Volatile Elapsed
More informationMicrocomputer Architecture and Programming
IUST-EE (Chapter 1) Microcomputer Architecture and Programming 1 Outline Basic Blocks of Microcomputer Typical Microcomputer Architecture The Single-Chip Microprocessor Microprocessor vs. Microcontroller
More informationINTERFACING HARDWARE WITH MICROCONTROLLER
INTERFACING HARDWARE WITH MICROCONTROLLER P.Raghavendra Prasad Final Yr EEE What is a Microcontroller? A microcontroller (or MCU) is acomputer-on-a-chip. It is a type of microprocessor emphasizing self-
More informationDesign and Installation of Home Automation and Security System Using Microcontroller and ZigBee Modulation
Design and Installation of Home Automation and Security System Using Microcontroller and ZigBee Modulation Bhargav Mypati, Naseer Ahamed, Gopa Sai Chandra School of Electrical Engineering (SELECT), VIT
More informationTeam 3. By: Miriel Garcia. Microcontrollers/ TI MSP430F5438A. ECE 480 senior Design. Application Note 4/3/15
Microcontrollers/ TI MSP430F5438A ECE 480 senior Design Team 3 Application Note By: Miriel Garcia 4/3/15 Abstract Microcontrollers are key components on today s modern world. These devices have the ability
More informationC and Embedded Systems. So Why Learn Assembly Language? C Compilation. PICC Lite C Compiler. PICC Lite C Optimization Results (Lab #13)
C and Embedded Systems A µp-based system used in a device (i.e, a car engine) performing control and monitoring functions is referred to as an embedded system. The embedded system is invisible to the user
More informationMicrocontroller Based Automatic Temperature Control System
Human Journals Research Article December 2018 Vol.:11, Issue:2 All rights are reserved by May Zaw Tun Microcontroller Based Automatic Temperature Control System Keywords: PIC 16F887A, Microcontroller,
More informationHomework 5: Circuit Design and Theory of Operation Due: Friday, February 24, at NOON
Homework 5: Circuit Design and Theory of Operation Due: Friday, February 24, at NOON Team Code Name: Motion Tracking Laser Platform Group No.: 9 Team Member Completing This Homework: David Kristof NOTE:
More informationGeneral Purpose Programmable Peripheral Devices. Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar
Chapter 15 General Purpose Programmable Peripheral Devices by Rahul Patel, Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar Microprocessor & Interfacing (140701) Rahul Patel 1
More informationINTRODUCTION. Mechanical Considerations APPLICATION NOTE Z86E21 THERMAL PRINTER CONTROLLER ZILOG
ZILOG DESIGNING A LOW-COST THERMAL PRINTER USING THE Z86E21 TO CONTROL THE OPERATING CURRENT ON LOW-COST THERMAL PRINTERS PROVIDES DESIGN FLEXIBILITY AND HELPS SAFEGUARD PERFORMANCE. INTRODUCTION Compact
More informationDownloaded from Elcodis.com electronic components distributor
CONTENTS LV24-33A KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 Switches and Jumpers 7 MCU Sockets 8 Power Supply 10 On-board USB 2.0 Programmer 11 RS-232 Communication Circuit 12 LEDs 14 Push
More informationMicrocontroller Overview
Microcontroller Overview Microprocessors/Microcontrollers/DSP Microcontroller components Bus Memory CPU Peripherals Programming Microcontrollers vs. µproc. and DSP Microprocessors High-speed information
More informationEB-51 Low-Cost Emulator
EB-51 Low-Cost Emulator Development Tool for 80C51 Microcontrollers FEATURES Emulates 80C51 Microcontrollers and Derivatives Real-Time Operation up to 40 MHz 3.3V or 5V Voltage Operation Source-Level Debugger
More informationHistory and Basic Processor Architecture
History and Basic Processor Architecture History of Computers Module 1 Section 1 What Is a Computer? An electronic machine, operating under the control of instructions stored in its own memory, that can
More informationRapid40i PIC Prototyping PCB User Manual
Description This is a PCB designed to facilitate the rapid prototyping of a device based on a 40 pin Microchip PIC microcontroller. To allow users to focus on their application, we take care of key housekeeping
More informationMicrocontrollers. Fig. 1 gives a comparison of a microprocessor system and a microcontroller system.
Syllabus: : Introduction to, 8051 Microcontroller Architecture and an example of Microcontroller based stepper motor control system (only Block Diagram approach). (5 Hours) Introduction to A microcontroller
More informationAVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help
AVR Intermediate Development Board Product Manual Contents 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 1. Overview 2. Features The board is built on a high quality FR-4(1.6
More informationRapid40iXL PIC Prototyping PCB User Manual
Description This is a PCB designed to facilitate the rapid prototyping of a device based on a 40 pin Microchip PIC microcontroller. To allow users to focus on their application, we take care of key housekeeping
More informationLaboratory: Introduction to Mechatronics. Instructor TA: Edgar Martinez Soberanes Lab 1.
Laboratory: Introduction to Mechatronics Instructor TA: Edgar Martinez Soberanes (eem370@mail.usask.ca) 2017-01-12 Lab 1. Introduction Lab Sessions Lab 1. Introduction to the equipment and tools to be
More informationLCD. Configuration and Programming
LCD Configuration and Programming Interfacing and Programming with Input/Output Device: LCD LCD (liquid crystal display) is specifically manufactured to be used with microcontrollers, which means that
More information8051 Microcontroller
8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many
More informationSH69P25/P23/P20B EVB. Application Note for SH69P25/P23/P20B EVB SH69P25/P23/P20B EVB SH69V25
SH69P25/P23/P20B EVB Application Note for SH69P25/P23/P20B EVB The SH69P25/P23/P20B EVB is used to evaluate the SH69P25/P23/P20B chip's function for the development of application program It contains of
More informationCONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6
CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 Switches 7 Jumpers 8 MCU Sockets 9 Power Supply 11 On-board USB 2.0 Programmer 12 Oscillator 14 LEDs 15 Reset Circuit 17 Push-buttons
More informationAVR MICROCONTROLLER ARCHITECTURTE
AVR MICROCONTROLLER ARCHITECTURTE AVR MICROCONTROLLER AVR- Advanced Virtual RISC. The founders are Alf Egil Bogen Vegard Wollan RISC AVR architecture was conceived by two students at Norwegian Institute
More informationNH-67, TRICHY MAIN ROAD, PULIYUR, C.F , KARUR DT. DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING COURSE MATERIAL
NH-67, TRICHY MAIN ROAD, PULIYUR, C.F. 639 114, KARUR DT. DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING COURSE MATERIAL Subject Name : Embedded System Class/Sem : BE (ECE) / VII Subject Code
More informationPCI-1751U. 48-bit Digital Input/Output Card with Universal PCI Bus. User Manual
PCI-1751U 48-bit Digital Input/Output Card with Universal PCI Bus User Manual Copyright This documentation and the software included with this product are copyrighted 2006 by Advantech Co., Ltd. All rights
More informationSIOX Four I/O Mini Module
TELEFRANG AB SIOX Four I/O Mini Module SD1 General Description. SD1 is a general purpose four digital I/O module, isolated from the communication bus. Watchdog, input functions and count modes are saved
More informationLecture (02) PIC16F84 (I)
Lecture (02) PIC16F84 (I) By: Dr. Ahmed ElShafee ١ Review of Memory Technologies The PIC 16 Series PIC 16F84A The PIC 16F84A Memory The Oscillator Instruction Cycle Power up and Reset Parallel ports Technical
More informationME 515 Mechatronics. A microprocessor
ME 515 Mechatronics Microcontroller Based Control of Mechanical Systems Asanga Ratnaweera Department of Faculty of Engineering University of Peradeniya Tel: 081239 (3627) Email: asangar@pdn.ac.lk A microprocessor
More information