pic microcontrollers

13
PIC microcontrollers Electronicsand C om puter System sEngineering

Upload: emery

Post on 19-Mar-2016

68 views

Category:

Documents


1 download

DESCRIPTION

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 very powerful devices that have 32 Kilo words of memory and 84 pins to connect to electronic circuits. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: PIC microcontrollers

PIC microcontrollers

Electronics and Computer Systems Engineering

Page 2: 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 very powerful devices that have 32 Kilo words of memory and 84 pins to connect to electronic circuits.

Electronics and Computer Systems Engineering

Page 3: PIC microcontrollers

8 and 16 bit EEPROM/EPROM/ROM CMOS Microcontroller

Applications in personal care, security systems, remote transmitter/receivers

Programmable input/output terminations

Electronics and Computer Systems Engineering

Page 4: PIC microcontrollers

This block diagram shows a PIC microcontroller application in a vacuum cleaner

http://www.microchip.com

Electronics and Computer Systems Engineering

Page 5: PIC microcontrollers

Microchip’s Infrared products enable the embedded system designer to easily add infrared wireless connectivity

http://www.microchip.com

Electronics and Computer Systems Engineering

Page 6: PIC microcontrollers

Electronics and Computer Systems Engineering

Page 7: PIC microcontrollers

Internal view of a microcontroller

Electronics and Computer Systems Engineering

Page 8: PIC microcontrollers

PIC development boards are used to program and run simple programs

Serial PC interface to program IC

Some small PICs though powerful have only 35 instructions that control its operation.

Electronics and Computer Systems Engineering

Page 9: PIC microcontrollers

PROGRAM DEVELOPMENT TOOLS Icon Assembler (CoreChart) Simple Flowchart

Electronics and Computer Systems Engineering

Page 10: PIC microcontrollers

Pin Description for PIC12C508AGP0 Bi-directional I/O port/ serial programming data mode.

GP1 Bi-directional I/O port/ serial programming clock.

GP2/T0CKI I/O Bi-directional I/O port. Can be configured as T0CKI.

GP3/MCLR/VPP Input port/master clear (reset) input/programming voltage input.

GP4/OSC2 I/O Bi-directional I/O port/oscillator crystal output.

GP5/OSC1/CLKIN Bidirectional IO port/oscillator crystal input/external clock source

input

VDD— Positive supply for logic and I/O pins

VSS— Ground reference for logic and I/O pins

Electronics and Computer Systems Engineering

Page 11: PIC microcontrollers

THE PICAXE MICRO CONTROLLER

The PICAXE is a low-cost ‘FLASH’ memory based microcontroller.

These microcontrollers can be programmed over and over again (typically 100 000 times).

The PICAXE uses a simple BASIC language (or graphical flowcharts).

Electronics and Computer Systems Engineering

Page 12: PIC microcontrollers

It is much easier to learn and debug than industrial programming languages.

PICAXE programming is at the ‘chip’ level.

The microcontroller is programmed via a 3-wire connection to the computers serial port.

THE PICAXE MICRO CONTROLLER

Electronics and Computer Systems Engineering

Page 13: PIC microcontrollers

Has an internal A to D converter enabling analogue inputs with digital outputs.

THE PICAXE MICRO CONTROLLER

Electronics and Computer Systems Engineering