Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.

Slides:



Advertisements
Similar presentations
Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with.
Advertisements

EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
1-1 Microprocessor Engineering Microprocessor Systems Microcontrollers Infineon 16-bit Processor Family  specifically 167CS microcontroller C Programming.
Railway Foundation Electronic, Electrical and Processor Engineering.
Microcontrollers Lecture L12.2 Section Microcontrollers Microcontrollers vs. Microprocessors Two standard architectures PIC microcontroller 68HC12.
16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 29: Microcontroller intro.
Parallel ports, power supply, and the clock oscillator Chapter Three Dr. Gheith Abandah1.
Railway Foundation Electronic, Electrical and Processor Engineering.
ASPPRATECH.
BILAL AHMED BHATTI B.E Electronics (Specialization in AVIONICS)
Microcontroller based system design
Microcontroller: Introduction
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Programming 8-bit PIC Microcontrollers in C Martin Bates Elsevier 2008.
Micro controllers A self-contained system in which a processor, support, memory, and input/output (I/O) are all contained in a single package.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
Camera Interfacing using ARM7
PIC microcontrollers. PIC microcontrollers come in a wide range of packages from small chips with only 8 pins and 512 words of memory all the way up to.
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
ECE 447: Lecture 1 Microcontroller Concepts. ECE 447: Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device.
Objectives How Microcontroller works
Applied Control Systems Technology. © t 4 Galway Education Centre 2 Applied Control Systems Inputs Push switches L.D.R. Microphone Tilt switch Infrared.
MICRO CONTROLLER MODULE 1. Learning Objectives Name some gadgets that use microcontrollers. Define a microcontroller. Differentiate between a computer.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
MICROPROCESSOR AND MICRO CONTROLLER LAB
MICROPROCESSOR AND MICRO CONTROLLER
Basic information. * Microcontrollers incorporate the microprocessor, memory and input/output interfaces all on one chip * Microcontrollers have a separate.
MICROCONTROLLER SYSTEMS Part 1. Figure 1.1Elements of a digital controller CPU Central Processing Unit Input Peripherals Output Peripherals ROM Read Only.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
Representing Numerical Data Analog Any signal that varies continuously over time Mechanical Pneumatic Hydraulic Electrical Digital Quantities are represented.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
EE 1001 Digital Topics Introduction to Electrical Engineering Dr. Chris Carroll MWAH ccarroll.
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
Welcome to the world of ARM. COURSE CONTENT Module 1: Introduction  Introduction of ARM Processors  Evolution of ARM  32 - bit Programming Module 2:
July 18, UCSD - R.A. de Callafon Short Intro to Micro Processors and I/O functions of our Kinetic Sculpture Control Box Raymond de Callafon.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Lecture 7: Overview Microprocessors / microcontrollers.
Department of Electronic & Electrical Engineering EE10140 Introduction to Microprocessors and interfacing (Embedded Systems)  Microcontrollers (PIC16F84A)
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
Serial Peripheral Interface SPI I2C (i-squared cee)
Embedded Systems Introduction. Microprocessor building blocks 1. ALU (Arithmetic Logic Unit): The ALU is a sequential logic circuitry that is intended.
ECET 340 Entire Course (All ilabs and Homework) For more classes visit ECET 340 Week 1 HomeWork 1 ECET 340 Week 1 iLab 1 ECET 340.
Microcontroller based Traffic signal Umer Butt Amna Rashid Izza Rabbani Rozab Naveed Ramesha Akram.
15: Microprocessor and microcontroller
TRANSMISSION LINE MULTIPLE FAULT DETECTION AND INDICATION TO EB
BATCH MEMBERS R.ABHISHEK-08N41A0401 K.DHEERAJ REDDY-08N41A0412 S.RAJENDRA REDDY-08N41A0458 JYOTHISHMATHI COLLEGE OF ENGINEERING AND TECHNOLOGY,TURKAPALLY.
Case Study #1 Microcontroller System. What is a microcontroller? A microcontroller can be considered a self-contained system with a processor, memory.
Introduction to Microcontroller Technology
IF I ONLY HAD A BRAIN THE MICROCONTROLLER
Popular Microcontrollers and their Selection by Lachit Dutta
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
Government Engg College Bhuj E. C. Engg. Department
Microcontrollers & GPIO
For further information
Microprocessor Systems Design I
UNIT – Microcontroller.
Microprocessor Systems Design I
Project Title EVM IN PIC Under the Guidance of Submitted by.
Why microcontrollers in embedded systems?
Introduction to Microprocessors and Microcontrollers
Tiny Computers, Hidden Control
Lecture 3 - Instruction Set - Al
EE Embedded Systems Fall 2015
Introducing the PIC Mid-Range Family and the 16F84A
8051 Micro Controller.
EECE.3170 Microprocessor Systems Design I
Presentation transcript:

Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit containing: ● Processor core (CPU) ● Memory ● Programmable input/output peripherals. ● Program memory ● More... Microcontrollers are designed for embedded applications, in contrast to the microprocessors used in personal computers or other general purpose applications.

Department of Electronic & Electrical Engineering Applications ● Car industry ● Telephones ● Appliances ● Cameras ● Displays ● Gadgets ● Remote controls ● Washing machine ● STUDENT PROJECTS!!!

Department of Electronic & Electrical Engineering Typical Input and output ● Inputs: ● Switches ● Sensors( light,sound,temperature,humidity ) ● Analogue to digital conversion (ADC) ● LEDs ● Outputs ● LCD (displays) ● DAC (audio signals) ● Control / Power Electronics

Department of Electronic & Electrical Engineering PIC microcontroller Made by Microchip Technology P eripheral I nterface C ontroller We will be using the PIC16F84A. ● Simple ( 35 instructions RISC ) ● Cheap ( ~ £3 ) ● Robust (I haven't broken one yet!!!)

Department of Electronic & Electrical Engineering Background reading The Quintessential PIC (quite advanced) Many simpler online articles on PIC programing. Tutorials/links via moodle.

Department of Electronic & Electrical Engineering Example: Voltmeter Demo ADC PIC Voltage(analogue) Serial digital 12bits (SPI) Volts LCD display Parallel interface

Department of Electronic & Electrical Engineering PIC 16F84A pin layout

Department of Electronic & Electrical Engineering Summary of pins OSC1/CLKIN: Oscillator crystal input. OSC2/CLKOUT: Oscillator crystal output. MCLR(inv): Master clear(reset)input. Programming voltage input. RA0 - RA3: Bi-directional I/O port. RA4/T0CKI: Bi-directional I/O port. Clock input to the TMR0 timer. RB0/INT : Bi-directional I/O port. External interrupt pin. RB1 - RB7: Bi-directional I/O port. VSS: Ground VDD: Positive supply(+2.0V to +5.5V)

Department of Electronic & Electrical Engineering PIC development.

Department of Electronic & Electrical Engineering CLOCK Program/run Reset

Department of Electronic & Electrical Engineering

LAB INTRO DEMO Simple example program to light up LED maybe a switch?