basic information. * microcontrollers incorporate the microprocessor, memory and input/output...

8
Basic information * Microcontroller s

Upload: cody-thornton

Post on 17-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Basic information. * Microcontrollers incorporate the microprocessor, memory and input/output interfaces all on one chip * Microcontrollers have a separate

Basic information

*Microcontrollers

Page 2: Basic information. * Microcontrollers incorporate the microprocessor, memory and input/output interfaces all on one chip * Microcontrollers have a separate

*Differences compared to

microprocessors

*Microcontrollers incorporate the microprocessor, memory and input/output interfaces all on one chip

*Microcontrollers have a separate program instruction bus (Harvard architecture)

*Microcontrollers are better at small dedicated tasks, microprocessors are generally more flexible

Page 3: Basic information. * Microcontrollers incorporate the microprocessor, memory and input/output interfaces all on one chip * Microcontrollers have a separate

*Introducing the PIC

microcontroller

*PIC stands for Peripheral Interface Controller

*The PIC you will be using is the 16F627

*It has flash memory which means it can be easily reprogrammed

*PICs with flash memory can generally be programmed up to 1000 times

Page 4: Basic information. * Microcontrollers incorporate the microprocessor, memory and input/output interfaces all on one chip * Microcontrollers have a separate

*Peripherals

*Peripherals are interfaces or memory which are external to the microprocessor

*Carry out some research and see if you can name up to 5 peripherals

Page 5: Basic information. * Microcontrollers incorporate the microprocessor, memory and input/output interfaces all on one chip * Microcontrollers have a separate

*Some peripherals

*Input and output ports

*Timers

*Clocks

*ADC converters

*USART

*DAC converters

*LCD drivers

*Buffers

Page 6: Basic information. * Microcontrollers incorporate the microprocessor, memory and input/output interfaces all on one chip * Microcontrollers have a separate

Inside thePIC 16F627

Datasheet on Bluepill

http://ww1.microchip.com/downloads/en/DeviceDoc/40300C.pdf

Page 7: Basic information. * Microcontrollers incorporate the microprocessor, memory and input/output interfaces all on one chip * Microcontrollers have a separate

*PIC 16F627 pin connections

Page 8: Basic information. * Microcontrollers incorporate the microprocessor, memory and input/output interfaces all on one chip * Microcontrollers have a separate

*Your first PIC circuit