applications of pics advantages/disadvantages digital and analogue control loops, sub-routines,...

16
Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with interfacing to external devices Structure of microprocessors Applications of microprocessors in manufacturing PIC Micro controllers

Upload: shelby-harwood

Post on 31-Mar-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

Applications of PICsAdvantages/disadvantagesDigital and analogue controlLoops, sub-routines, scanning, counting and

feedbackInterruptsProblems with interfacing to external devicesStructure of microprocessorsApplications of microprocessors in

manufacturing

PIC Micro controllers

Page 2: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

Programmable Integrated Circuit/Programmable Interface Controller

Capable of storing instructions in the form of a programme

Can switch output devices on and off in sequence in response to input signals

Can be programmed and erased up to 100,000 timesRequire a supply voltage of 3 to 5.5VAvailable as 8, 14, 18, 28 and 40 pin DIL packagesApplications include alarm systems, medical

equipment, vending machines, traffic lights, cash machines, petrol pumps…..

What is a PIC

Page 3: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

AdvantagesOne PIC can replace

a wide variety of separate electronic components or circuits

PIC Microcontrollers

Page 4: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

AdvantagesOne PIC can replace

a wide variety of separate electronic components or circuits

Increase d product reliability through the use of less components

PIC Microcontrollers

Page 5: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

AdvantagesOne PIC can replace

a wide variety of separate electronic components or circuits

Increase d product reliability through the use of less components

Reduced stock levels

PIC Microcontrollers

Page 6: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

AdvantagesOne PIC can replace a

wide variety of separate electronic components or circuits

Increase d product reliability through the use of less components

Reduced stock levels Simplified product

assembly and smaller end products

PIC Microcontrollers

Page 7: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

AdvantagesOne PIC can replace a wide

variety of separate electronic components or circuits

Increase d product reliability through the use of less components

Reduced stock levels Simplified product assembly

and smaller end productsGreater product flexibility,

adaptability resulting in rapid product changes

PIC Microcontrollers

Page 8: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

AdvantagesOne PIC can replace a wide

variety of separate electronic components or circuits

Increase d product reliability through the use of less components

Reduced stock levels Simplified product assembly

and smaller end productsGreater product flexibility,

adaptability resulting in rapid product changes

PIC Microcontrollers

Disadvantages

Page 9: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

AdvantagesOne PIC can replace a wide

variety of separate electronic components or circuits

Increase d product reliability through the use of less components

Reduced stock levels Simplified product assembly

and smaller end productsGreater product flexibility,

adaptability resulting in rapid product changes

Knowledge of programming required

PIC Microcontrollers

Disadvantages

Page 10: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

AdvantagesOne PIC can replace a wide

variety of separate electronic components or circuits

Increase d product reliability through the use of less components

Reduced stock levels Simplified product assembly

and smaller end productsGreater product flexibility,

adaptability resulting in rapid product changes

Knowledge of programming required

PICs have a low power output and so require interfacing circuitry to drive higher current devices

PIC Microcontrollers

Disadvantages

Page 11: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

Microcontroller diagrams

System diagrams

can still be used

to develop

designs, but the

process element

would be

replaced with

lines of

programme

rather than a list

of components

INPUTPROCE

SSOUTPUT

INPUTPIC

MICROCONTROLLER

OUTPUT

For traditional electronics this would

require a variety of components designed

through a circuit diagram

Although still requiring a circuit, processing would be programmed with all

previous components being replaced by a

single PIC

Page 12: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

Inside a PIC

Like all

computers, a PIC

micro controller

has a Central

Processing Unit,

Random Access

Memory, Read

Only Memory, a

clock and

Input/Output

ports. The key

difference is that

all of these are

built into one IC,

rather than a

variety of

individual ICs

CPU

IO

RAM

ROM

Page 13: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

FLASHMost common formCan be erased up to

100,000 timesReprogrammed by

simply downloading the new programme to the IC

Offer flexibility to manufactures

Can be programmed only once

More suited to mass produced products

Types of PIC One Time Programmable (OTP)

Page 14: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with

PIC Programming

ProcessDecision

Input/Output

TerminatorSubroutine

Programming can be via a flow chart sequence or BASIC programming language

Page 15: Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with