0% found this document useful (0 votes)
24 views

Pic Intro

The document introduces PIC microcontrollers, describing their use in embedding low-cost control solutions into electronic devices. It provides examples of PIC applications in automotive systems, mechatronics, and motor control. Additionally, it outlines the features of common PIC microcontrollers like the PIC16F84A and discusses the hardware, software, and knowledge required to use PICs in projects.

Uploaded by

Nono
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Pic Intro

The document introduces PIC microcontrollers, describing their use in embedding low-cost control solutions into electronic devices. It provides examples of PIC applications in automotive systems, mechatronics, and motor control. Additionally, it outlines the features of common PIC microcontrollers like the PIC16F84A and discusses the hardware, software, and knowledge required to use PICs in projects.

Uploaded by

Nono
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 14

Introduction to PIC Microcontrollers

Peripheral
Interface
Controller

Speaker : Sunil Jha


Why Microcontrollers ??

Design without MCU Design with MCU


POWER
Switch
P
O
W Device M
Input
E
R CTRL
Control
Signal
C Signal
Temperature
U
Temperature
Sensor

Functional Requirements
Device
Device ON Temperature < 60 deg C

Device OFF Temperature > 75 deg C


Why Microcontrollers ??
To Embed Low-cost Electronics Intelligence
and Control Solutions for your Appliance
Applications
Applications

Automotive Mechatronics

• Tire Pressure monitoring • Lawn sprinklers


• Electronic ignition to door locks • Freezer compressors
• Heads-up display • Egg timers
• Keyless entry • Light timers/dimmers
• Brakes control • Capacitive sensor buttons
• Audio controls • Automotive air conditioners
• Motor controls • Windshield wiper control
• Airbag crash sensors • Turn signals
• Backup warnings • Robotics
• Trip computers
• Electronic climate controls
Motor Control
Connectivity
Infrared
EEPROM Flash
RAM
Memory

8-bit PIC USART


CCP/PWM MCU Core

Internal
ADC Timers Oscillator
PIC Microcontrollers
Memory Type I/O Pin counts Memory Size (bytes)
Flash 6 – 17 pins 0.5K – 1K
OTP 18 – 27 pins 2K – 4K
ROM 28 – 44 pins 8K – 16K
45 – 80 pins 24K – 32K
48K – 64K
96K – 128K
Special Features
Nano Watt Technology
Motor Control
LCD
USB
KEELOQ
Radio Frequency
PIC Selection
PIC16F84A
Only 35 single word instructions to learn
• All instructions single-cycle except for
program
branches which are two-cycle
• Operating speed: DC - 20 MHz clock input
DC - 200 ns instruction cycle
• 1024 words of program memory
• 68 bytes of Data RAM
• 64 bytes of Data EEPROM
• 14-bit wide instruction words
• 8-bit wide data bytes
• 15 Special Function Hardware registers
Peripheral Features:
Four interrupt sources: • 13 I/O pins with individual direction control
- External RB0/INT pin • High current sink/source for direct LED drive
- TMR0 timer overflow - 25 mA sink max. per pin
- PORTB<7:4> interrupt-on-change - 25 mA source max. per pin
- Data EEPROM write complete • TMR0: 8-bit timer/counter with 8-bit
programmable prescaler
REGISTER FILE MAP
MINIMUM CIRCUIT

+5V

RL

PIC +5V
16F84A

GND
H-Bridge

PWM

Encoder

Speed Control
DC Motor Control
Things Required to use PIC in your Project

• Basic knowledge about PIC microcontroller


• Any PIC microcontroller PIC16F84, PIC16F877
www.microchip.com

• PIC Programmer hardware


P877, PPWIN programmer
www.semis.demon.co.uk/Pics/PICmain.htm
• PIC Programmer SoftwareICPROG www.ic-prog.com

• A Good Idea
• An Application Board
• A Personal Computer

You might also like