the world’s smallest microcontroller the pic10f 6-pin family...© 2004 microchip technology...

28
© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 1 The World’s Smallest Microcontroller The PIC10F 6-pin Family The World’s Smallest The World’s Smallest Microcontroller Microcontroller The PIC10F 6-pin Family The PIC10F 6-pin Family

Upload: others

Post on 09-Jan-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 1

The World’s SmallestMicrocontroller

The PIC10F 6-pin Family

The World’s SmallestThe World’s SmallestMicrocontrollerMicrocontroller

The PIC10F 6-pin Family The PIC10F 6-pin Family

Page 2: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 2

AgendaAgendaAgenda

PIC10F Family IntroductionUnique Features of the PIC10F Family

– 6-Pin SOT Package– Comparator– New Timer0 clock options– Expanded Wake-up options

Standard Features of the PIC10F FamilyDevelopment ToolsApplication examplesAdditional Resources

PIC10F Family IntroductionUnique Features of the PIC10F Family

– 6-Pin SOT Package– Comparator– New Timer0 clock options– Expanded Wake-up options

Standard Features of the PIC10F FamilyDevelopment ToolsApplication examplesAdditional Resources

Page 3: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 3

PIC10F Family IntroductionPIC10F Family IntroductionPIC10F Family Introduction

Physical SizeAvailable in a 6-pin SOT-23

Physical SizeAvailable in a 6-pin SOT-23

CostStarting at US$0.49

in 10k Quantities

CostStarting at US$0.49

in 10k Quantities

Ease-of-use33 Instructions, 4 I/OExisting Dev. Tools

Ease-of-use33 Instructions, 4 I/OExisting Dev. Tools

VersatileFlash Microcontroller

Analog/Digital

VersatileFlash Microcontroller

Analog/Digital

Enabling widespread use of microcontrollers as Enabling widespread use of microcontrollers as general purpose electronic design building blocksgeneral purpose electronic design building blocks

Page 4: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 4

PIC10F Family IntroductionPIC10F Family IntroductionPIC10F Family Introduction

The PIC10F Family enables the widespread use ofmicrocontrollers as general purpose electronicdesign building blocks– The small size enable designers to use it in almost any

design without PCB area concerns– The ease-of-use allows designs to be completed in a

few hours– The low cost enables use in applications typically void

of electronics– The versatility and power of the flash microcontroller

make it applicable in a wide range of applications

The PIC10F Family enables the widespread use ofmicrocontrollers as general purpose electronicdesign building blocks– The small size enable designers to use it in almost any

design without PCB area concerns– The ease-of-use allows designs to be completed in a

few hours– The low cost enables use in applications typically void

of electronics– The versatility and power of the flash microcontroller

make it applicable in a wide range of applications

Page 5: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 5

Unique FeaturesUnique FeaturesUnique Features

The PIC10F is the next generation of Microchip’sBaseline MCUs with:6-pin SOT-23 packageOn-board ComparatorTimer0 Comparator connection for expandedclocking optionsWake-up on change

The PIC10F is the next generation of Microchip’sBaseline MCUs with:6-pin SOT-23 packageOn-board ComparatorTimer0 Comparator connection for expandedclocking optionsWake-up on change

Page 6: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 6

Unique Features:6-Pin SOT PackageUnique Features:Unique Features:

6-Pin SOT Package6-Pin SOT Package

8 PinPDIP

PIC12C5091996

8 PinSOIC

PIC12C5091998

8 PinSOIC

PIC12C509A1998

8 PinMSOP

PIC12F5092004

6 PinSOT23

PIC10F20x2004 3 Pin

SOT23/SC70Typical

Transistorsizes

Page 7: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 7

Unique Features:PIC10F2XX PinoutUnique Features:Unique Features:PIC10F2XX PIC10F2XX PinoutPinout

GP0/CIN+

Vss

GP1/CIN-

GP3/MCLR/VPP

VDD

GP2/T0CKI/COUT/FOSC4

PIC10F200PIC10F202PIC10F204PIC10F206

6-PIN SOT-23

PIC10F2XX

Page 8: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 8

Unique Features: ComparatorUnique Features: ComparatorUnique Features: Comparator

Multiplexed non-inverting input– GP0 or GP1

Multiplexed inverting input– GP1 or 0.6V bandgap reference

Programmable Output– Externally on pin GP2– Internally as CMPOUT [CMCON0<7>]– Output polarity control– Pin saving internal connections

– Tmr0 clock source– Wake on change from Sleep

Multiplexed non-inverting input– GP0 or GP1

Multiplexed inverting input– GP1 or 0.6V bandgap reference

Programmable Output– Externally on pin GP2– Internally as CMPOUT [CMCON0<7>]– Output polarity control– Pin saving internal connections

– Tmr0 clock source– Wake on change from Sleep

PIC10F204/206

CWUFREADCMON

T0CKSEL

T0CKIPIN

OSCALBandgap Buffer

(0.6V)

T0CKI/GP2/COUT

CNREF CMPON POL

CWU

T0CKI

CPREF

C +C _

COUTEN

COUT (Register)

Q D

S

_

+

Page 9: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 9

Unique Features: Timer0Unique Features: Timer0Unique Features: Timer0

8-bit real-time clock/counter eliminates overheadon software side for clocking for eventsOptional clock sources– Internal FOSC/4– External clock input on GP2 (T0CKI)– Comparator output (COUT)

8-bit real-time clock/counter eliminates overheadon software side for clocking for eventsOptional clock sources– Internal FOSC/4– External clock input on GP2 (T0CKI)– Comparator output (COUT)

Page 10: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 10

Unique Features: Wake-upFrom SLEEP

Unique Features: Wake-upUnique Features: Wake-upFrom SLEEPFrom SLEEP

All wake-up functions generate a system resetStatus flags allow firmware to identify the sourceof reset

All wake-up functions generate a system resetStatus flags allow firmware to identify the sourceof reset

Source TO PD GPWUF CWUFWake on pin change 1 0 1 0Watch Dog Timer 0 1 0 0Comparator 1 0 0 1Master Clear 1 0 0 0

Page 11: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 11

Standard PIC10F FeaturesStandard PIC10F FeaturesStandard PIC10F Features

Baseline Core with 33 Instructions, 2 Stack LevelsFlash Program MemoryPrecision 4 MHz Internal OscillatorOptional external MCLR inputStandard 25mA I/O drive capabilityStandard 8-bit TimerLow Power (100nA) Sleep current with multiple wake-upsourcesIn Circuit Serial Programming™ (ICSP™) capability

Baseline Core with 33 Instructions, 2 Stack LevelsFlash Program MemoryPrecision 4 MHz Internal OscillatorOptional external MCLR inputStandard 25mA I/O drive capabilityStandard 8-bit TimerLow Power (100nA) Sleep current with multiple wake-upsourcesIn Circuit Serial Programming™ (ICSP™) capability

Page 12: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 12

Enhanced Features: PIC10F CPUEnhanced Features: PIC10F CPUEnhanced Features: PIC10F CPU

Internal RC Oscillator– IntOSC accuracy over voltage and temperature

– 4MHz 1% 3.0V, 25°C– 4MHz 2% 2.5V-5.5V, 0°C - + 85°C– 4MHz 5% 2.0V-5.5V, -40°C - +125°C

– Calibration value supplied at top of memory– Optional external output of FOSC/4

Optional external MCLR input enabled byconfiguration word

Internal RC Oscillator– IntOSC accuracy over voltage and temperature

– 4MHz 1% 3.0V, 25°C– 4MHz 2% 2.5V-5.5V, 0°C - + 85°C– 4MHz 5% 2.0V-5.5V, -40°C - +125°C

– Calibration value supplied at top of memory– Optional external output of FOSC/4

Optional external MCLR input enabled byconfiguration word

Page 13: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 13

PIC10F Device OptionsPIC10F Device OptionsPIC10F Device Options

ProgramFlash Data Internal

Device (Words) RAM Osc . Comparator PIC10F200 256 16 Yes -PIC10F202 512 24 Yes -PIC10F204 256 16 Yes 1PIC10F206 512 24 Yes 1

ProgramFlash Data Internal

Device (Words) RAM Osc . Comparator PIC10F200 256 16 Yes -PIC10F202 512 24 Yes -PIC10F204 256 16 Yes 1PIC10F206 512 24 Yes 1

Page 14: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 14

Development ToolsDevelopment ToolsDevelopment Tools

Page 15: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 15

Programming the PIC10FProgramming the PIC10FProgramming the PIC10F

Supported by Microchip standard programmers– PICSTART® Plus (DV003001)– PICSTART® Plus upgrade kit (UK003010)– MPLAB® ICD2 (DV164005)– PRO MATE® II (DV007003)– MPLAB® PM3 (DV007004)

New low pincount Flash specific programmers– PICkit™ 1 (DV164101)– Universal Adapter Board (AC163020)– Baseline Flash Microcontroller

Programmer (BFMP ) (PG164101)

Supported by Microchip standard programmers– PICSTART® Plus (DV003001)– PICSTART® Plus upgrade kit (UK003010)– MPLAB® ICD2 (DV164005)– PRO MATE® II (DV007003)– MPLAB® PM3 (DV007004)

New low pincount Flash specific programmers– PICkit™ 1 (DV164101)– Universal Adapter Board (AC163020)– Baseline Flash Microcontroller

Programmer (BFMP ) (PG164101)

Page 16: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 16

PIC10F ProgrammingPIC10F ProgrammingPIC10F Programming

PICkit™ 1 firmware 2.0.0 or newer– Firmware/GUI upgrade for PIC10F2xx (UK164101)

PICkit™ 1 firmware 2.0.0 or newer– Firmware/GUI upgrade for PIC10F2xx (UK164101)

Page 17: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 17

PIC10F ProgrammingPIC10F ProgrammingPIC10F Programming

Universal Programmer Adapter board(AC163020)– PICkit™ 1– BFMP– PICSTART® Plus– MPLAB® ICD2

Universal Programmer Adapter board(AC163020)– PICkit™ 1– BFMP– PICSTART® Plus– MPLAB® ICD2

Page 18: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 18

PIC10F ProgrammingPIC10F ProgrammingPIC10F Programming

Universal Programmer Adapter board(AC163020)– PICkit™ 1– BFMP– PICSTART® Plus– MPLAB® ICD2

Universal Programmer Adapter board(AC163020)– PICkit™ 1– BFMP– PICSTART® Plus– MPLAB® ICD2

Page 19: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 19

PIC10F ProgrammingPIC10F ProgrammingPIC10F Programming

New PIC10F specific programmer (PG164101)– Baseline Flash Microcontroller Programmer (BFMP)

New PIC10F specific programmer (PG164101)– Baseline Flash Microcontroller Programmer (BFMP)

Page 20: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 20

BFMPBFMPBFMP

Connects to Universal Programmer Adapterboard (or your own board)Connects to Universal Programmer Adapterboard (or your own board)

Page 21: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 21

PIC10FApplication Examples

PIC10FPIC10FApplication ExamplesApplication Examples

Page 22: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 22

Examples of potentialapplications

Examples of potentialExamples of potentialapplicationsapplications

Waveform generatorIdentification tagsDrug testerElectronic lockElectronic chimePressure sensorWater consumptiongaugePregnancy testerMedication dispensingLED FlashlightIntelligent power switch

Waveform generatorIdentification tagsDrug testerElectronic lockElectronic chimePressure sensorWater consumptiongaugePregnancy testerMedication dispensingLED FlashlightIntelligent power switch

Light dimmerFan controllerSystem watchdogSmoke/CO AlarmEngine GovernorProtocol HandlerFlat Iron temperaturecontrolDC/DC soft startCapacitive switchIrrigation controlSecurity monitor

Light dimmerFan controllerSystem watchdogSmoke/CO AlarmEngine GovernorProtocol HandlerFlat Iron temperaturecontrolDC/DC soft startCapacitive switchIrrigation controlSecurity monitor

Page 23: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 23

“Electronic Glue” Example:Uncertain external interface“Electronic Glue” Example:“Electronic Glue” Example:Uncertain external interfaceUncertain external interface

Re-programmable– Easy and quick updates

and changes– Flexibility to

accommodate multipleoptions

Remove somecomplexity from theASIC– Do not have to

accommodate allpossible options

Re-programmable– Easy and quick updates

and changes– Flexibility to

accommodate multipleoptions

Remove somecomplexity from theASIC– Do not have to

accommodate allpossible options

ASIC PIC10F

Start

Done

PWM, PPM,Manchester,

etc.

Page 24: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 24

Disposable Example:Package Handling Alarm

Disposable Example:Disposable Example:Package Handling AlarmPackage Handling Alarm

Low power consumption– 100nA SLEEP mode– Wakeup on pin change– Wide operating voltage

Internal oscillatorfrequency stability forsound generation

Small size– Easy placement/stick-on

Low power consumption– 100nA SLEEP mode– Wakeup on pin change– Wide operating voltage

Internal oscillatorfrequency stability forsound generation

Small size– Easy placement/stick-on

PIC10F

Vdd

Vdd

XYZ

Page 25: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 25

Mechatronics Example:Compressor lock out delay

MechatronicsMechatronics Example: Example:Compressor lock out delayCompressor lock out delay

Internal Oscillator providemore accurate timing

Mode jumpers andprogrammability giveflexible timing options

No mechanical calibration

Test time reduce fromminutes to milliseconds

Internal Oscillator providemore accurate timing

Mode jumpers andprogrammability giveflexible timing options

No mechanical calibration

Test time reduce fromminutes to milliseconds

PIC10F

VddMode Jumpers

On/OffControl

Page 26: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 26

Waveform Generation Example:Generating a sine wave

Waveform Generation Example:Waveform Generation Example:Generating a sine waveGenerating a sine wave

Vref

-+

Vout

Wien Bridge with AGC

-++

-2.5V

-+

Phase Shift Oscillator

Vout

PIC10FVout

PIC10F Oscillator

Fewer componentsProgrammable

– Frequency– Amplitude

Less board space– Clean and Compact

Solution

Fewer componentsProgrammable

– Frequency– Amplitude

Less board space– Clean and Compact

Solution

Current SolutionsCurrent Solutions PIC10F SolutionPIC10F Solution

Page 27: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 27

PIC10F SummaryPIC10F SummaryPIC10F Summary

The PIC10F Family enables the widespread use ofmicrocontrollers as general purpose electronicdesign building blocks– The small size enable designers to use it in almost any

design without PCB area concerns– The ease-of-use allows designs to be completed in a

few hours– The low cost enables use in applications typically void

of electronics– The versatility and power of the flash microcontroller

make it applicable in a wide range of applications

The PIC10F Family enables the widespread use ofmicrocontrollers as general purpose electronicdesign building blocks– The small size enable designers to use it in almost any

design without PCB area concerns– The ease-of-use allows designs to be completed in a

few hours– The low cost enables use in applications typically void

of electronics– The versatility and power of the flash microcontroller

make it applicable in a wide range of applications

Page 28: The World’s Smallest Microcontroller The PIC10F 6-pin Family...© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide

© 2004 Microchip Technology Incorporated. All Rights Reserved. PIC10F - The World’s Smallest Microcontroller Slide 28

Additional ResourcesAdditional ResourcesAdditional ResourcesPIC10F200/202/204/206 datasheet DS41239PIC10F200/202/204/206 ProgrammingSpecification DS41228Watch for the coming library of Technical Briefsincluding:– Programming Baseline Flash Devices with PICKIT 1– Implementing soft-start in a switching power supply– Vibration monitor for shipping– AC lamp dimmer– PFM switching power supply– Flatiron temperature control– ….with more to come

PIC10F200/202/204/206 datasheet DS41239PIC10F200/202/204/206 ProgrammingSpecification DS41228Watch for the coming library of Technical Briefsincluding:– Programming Baseline Flash Devices with PICKIT 1– Implementing soft-start in a switching power supply– Vibration monitor for shipping– AC lamp dimmer– PFM switching power supply– Flatiron temperature control– ….with more to come