Вы находитесь на странице: 1из 848
Embedded Control Handbook Update 2000  1999 Microchip Technology Inc. DS00711A

Embedded Control Handbook Update 2000

Embedded Control Handbook Update 2000  1999 Microchip Technology Inc. DS00711A

1999 Microchip Technology Inc.

DS00711A

“All rights reserved. Copyright © 1999, Microchip Technology Incorporated, USA. Information contained in this
“All rights reserved. Copyright © 1999, Microchip Technology Incorporated, USA. Information contained in this
“All rights reserved. Copyright © 1999, Microchip Technology Incorporated, USA. Information contained in this

“All rights reserved. Copyright © 1999, Microchip Technology Incorporated, USA. Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. No rep- resentation or warranty is given and no liability is assumed by Microchip Technology Incorporated with respect to the accu- racy or use of such information, or infringement of patents or other intellectual property rights arising from such use or oth- erwise. Use of Microchip’s products as critical components in life support systems is not authorized except with express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights. The Microchip logo and name are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries. All rights reserved. All other trademarks mentioned herein are the property of their respective companies. No licenses are conveyed, implicitly or otherwise, under any intellectual prop- erty rights.”

Trademarks

The Microchip name, logo, KEELOQ, PIC, PICMASTER, PICmicro, PRO MATE, PICSTART, MPLAB, and SEEVAL are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

Total Endurance, In-Circuit Serial Programming (ICSP), microID, FilterLab are trademarks of Microchip Technology Incorporated in the U.S.A.

Serialized Quick Term Programming (SQTP) is a service mark of Microchip Technology Incorporated in the U.S.A.

All other trademarks mentioned herein are property of their respective companies.

© 1999, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

Incorporated, Printed in the U.S.A., All Rights Reserved. DS00711A - page ii  1999 Microchip Technology
TO OUR VALUED CUSTOMERS: Welcome to the Embedded Control Handbook (ECHB) Update 2000. The ECHB
TO OUR VALUED CUSTOMERS: Welcome to the Embedded Control Handbook (ECHB) Update 2000. The ECHB
TO OUR VALUED CUSTOMERS: Welcome to the Embedded Control Handbook (ECHB) Update 2000. The ECHB

TO OUR VALUED CUSTOMERS:

Welcome to the Embedded Control Handbook (ECHB) Update 2000. The ECHB Update 2000 is the third in the series of application-orientated publications from Microchip Technology Inc. It includes all new application notes, tech- nical briefs and reference designs which have been written and published since the Embedded Control Handbook, Volumes 1 and 2 were released.

Embedded Control Handbook (ECHB) - Volume 1. The ECHB - Volume 1 is the first Volumein our library system of PICmicro ® 8-Bit microcontroller, Nonvolatile Memory, Secure Data Products, and other product application notes, tech- nical briefs, and reference designs. Volume 1 replaces the 1994/1995 ECHB (released in September 1994) and 1995/ 1996 ECHB Update I (released in September 1995).

Embedded Control Handbook (ECHB) - Volume 2 Math Library. This book is the second Volumein our library sys- tem of product application notes. Volume 2 contains a compilation of fixed-point, floating-point and trigonometry func- tion application notes to help designers use the PICmicro ® microcontroller library functions in a C program.

Microchip will continue publishing application notes, technical briefs and reference designs in a series of supplemental handbooks called Updates. Updates will be published annually, providing an uninterrupted flow of current application notes, technical briefs and reference designs for our customersconvenience and use. These Updates, with revised and new documents, will be incorporated into future Volumes as appropriate.

And of course, as individual application notes become available, they will be posted to our web site for download at:

www.microchip.com.

It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip products. To this end, we will continue to improve our publications to better suit your needs. Our publi- cations will be refined and enhanced as new Volumes and Updates are introduced. We welcome your feedback.

If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via fax at 480.917.4150.

the Marketing Communications Department via fax at 480.917.4150.  1999 Microchip Technology Inc. DS00711A-page iii
DS00711A-page iv  1999 Microchip Technology Inc.
DS00711A-page iv  1999 Microchip Technology Inc.
DS00711A-page iv  1999 Microchip Technology Inc.
DS00711A-page iv  1999 Microchip Technology Inc.
Table of Contents PAGE UPDATE 2000 SUBJECT INDEX ix VOLUME 1 APPLICATION NOTES - ALPHABETICAL
Table of Contents PAGE UPDATE 2000 SUBJECT INDEX ix VOLUME 1 APPLICATION NOTES - ALPHABETICAL
Table of Contents PAGE UPDATE 2000 SUBJECT INDEX ix VOLUME 1 APPLICATION NOTES - ALPHABETICAL

Table of Contents

Table of Contents PAGE UPDATE 2000 SUBJECT INDEX ix VOLUME 1 APPLICATION NOTES - ALPHABETICAL xiii

PAGE

UPDATE 2000 SUBJECT INDEX

ix

VOLUME 1 APPLICATION NOTES - ALPHABETICAL

xiii

VOLUME 2 APPLICATION NOTES - ALPHABETICAL

xvi

VOLUME 1 APPLICATION NOTES - NUMERICAL

xvii

VOLUME 2 APPLICATION NOTES - NUMERICAL

xx

SECTION 1

COMPANY PROFILE

Company Profile

1-1

SECTION 2

PICmicro ® 8-BIT MICROCONTROLLER APPLICATION NOTES AND TECHNICAL BRIEFS

Engineers Assistant Using a PIC16F84A - AN689 Make a Delta-Sigma Converter Using a Microcontrollers Analog Comparator Module - AN700 Switch Mode Battery Eliminator Based on a PIC16C72A - AN701 RS-232 Autobaud for the PIC16C5X Devices - AN712 Measure Tilt Using PIC16F84A & ADXL202 - AN715 Migrating Designs from PIC16C74A/74B to PIC18C442 - AN716 Brush-DC Servomotor Implementation using PIC17C756A - AN718 System Design Considerations for Implementing a ROM Microcontroller - AN721 Using PICmicro ® MCUs to Connect to Internet via PPP - AN724 PIC17CXXX to PIC18CXXX Migration - AN726 How to Implement ICSPUsing PIC16CXXX OTP MCUs - TB013 How to Implement ICSPUsing PIC17CXXX OTP MCUs - TB015 How to Implement ICSPUsing PIC16F8X FLASH MCUs - TB016 How to Implement ICSPUsing PIC12C5XX OTP MCUs - TB017 PIC12C67X Emulation Using PIC16C72 PICMASTER ® Emulator Probe - TB020 Downloading HEX Files to External FLASH Memory Using PIC17CXXX PICmicro ® Microcontrollers - TB024 Downloading HEX Files to PIC16F87X PICmicro ® Microcontrollers - TB025 Calculating Program Memory Checksums Using a PIC16F87X - TB026 Simplifying External Memory Connections of PIC17CXXX PICmicro ® Microcontrollers - TB027 Technique to Calculate Day of Week - TB028 Complementary LED Drive - TB029 Using the PIC16F877 To Develop Code For PIC16CXXX Devices - TB033

2-1

2-53

2-61

2-81

2-97

2-131

2-143

2-173

2-177

2-205

2-241

2-247

2-253

2-257

2-265

2-273

2-281

2-289

2-295

2-301

2-311

2-315

SECTION 3

SECURE DATA PRODUCT APPLICATION NOTES AND TECHNICAL BRIEFS

Designing a Transponder Coil for the HCS410 - AN650 PICmicro ® Mid-Range MCU Code Hopping Decoder - AN672 HCS410 Transponder Decoder Using a PIC16C56 - AN675 Designing a Base Station Coil for the HCS410 - AN677 Wireless Home Security Implementing KEELOQ ® and the PICmicro ® Microcontroller - AN714 A Guide to Designing for EuroHomelink ® Compatibility - TB021

3-1

3-11

3-23

3-39

3-47

3-121

- TB021 3-1 3-11 3- 23 3-39 3-47 3-121  1999 Microchip Technology Inc. DS00711A-page v
Table of Contents (continued) SECTION 4 ANALOG/INTERFACE PRODUCT APPLICATION NOTES AND TECHNICAL BRIEFS PAGE Temperature
Table of Contents (continued) SECTION 4 ANALOG/INTERFACE PRODUCT APPLICATION NOTES AND TECHNICAL BRIEFS PAGE Temperature
Table of Contents (continued) SECTION 4 ANALOG/INTERFACE PRODUCT APPLICATION NOTES AND TECHNICAL BRIEFS PAGE Temperature

Table of Contents (continued)

Table of Contents (continued) SECTION 4 ANALOG/INTERFACE PRODUCT APPLICATION NOTES AND TECHNICAL BRIEFS PAGE Temperature

SECTION 4

ANALOG/INTERFACE PRODUCT APPLICATION NOTES AND TECHNICAL BRIEFS

PAGE

Temperature Sensing Technologies - AN679 Using Single Supply Operational Amplifiers in Embedded Systems - AN682 Single Supply Temperature Sensing with Thermocouples - AN684 Thermistors in Single Supply Temperature Sensing Circuits - AN685 Understanding and Using Supervisory Circuits - AN686 Precision Temperature Sensing with RTD Circuits - AN687 Layout Tips for 12-Bit A/D Converter Application - AN688 Anti-Aliasing, Analog Filters for Data Acquisition Systems - AN699 Interfacing Microchip MCP3201 A/D Converter to 8051-Based Microcontroller - AN702 Using the MCP320X 12-Bit Serial A/D Converter with Microchip PICmicro ® Devices - AN703 Interfacing Microchips MCP3201 Analog/Digital (A/D) Converter to MC68HC11E9-Based Microcontroller - AN704 Controller Area Network (CAN) Basics - AN713 Building a 10-bit Bridge Sensing Circuit using the PIC16C6XX and MCP601 Operational Amplifier - AN717 Interfacing Microchips MCP3201 Analog-to-Digital Converter to the PICmicro® Microcontroller - AN719 Operational Amplifier Topologies and DC Specifications - AN722

4-1

4-11

4-19

4-35

4-45

4-49

4-53

4-59

4-69

4-81

4-103

4-113

4-121

4-129

4-149

SECTION 5

NON-VOLATILE MEMORY APPLICATION NOTES AND TECHNICAL BRIEFS

Interfacing a Microchip PIC16C92x to Microchip SPISerial EEPROMs - AN668 Converting from 93LC56/56B/66/66B Devices to 93LC56A/56B/66A/66B Devices - AN671 Solving Second Sourcing Issues with the 24LC00 Device in a SOT-23 Package - AN674 Physical Slot Identification Techniques for the 24LCS61/62 - AN676 How to Use the 24LCS61/62 Software Addressable Serial EEPROM - AN683 I 2 CMemory Autodetect - AN690 Microchip 93 Series Serial EEPROM Compatibility - AN698 System Level Design Considerations When Using I 2 C Serial EEPROM Devices - AN709 SPI25XX080/160 Mode 1,1 Write Operation - TB012 Operational Differences Between 24LCS21 and 24LCS21A - TB014

5-1

5-7

5-9

5-11

5-17

5-25

5-39

5-43

5-45

5-47

SECTION 6

RFID APPLICATION NOTES AND TECHNICAL BRIEFS

RFID Coil Design - AN678 Passive RFID Basics - AN680 MCRF 355/360 Applications - AN707 Antenna Circuit Design - AN710 Optimizing Read-Range of the 13.56 MHz Demonstration Reader - AN725 Contactless Programmer Interface Protocol - TB019 Contact Programming Support - TB023 Microchip Development Kit Sample Format - TB031 MCRF355/360 Factory Programming Support (SQTP SM ) - TB032

6-1

6-19

6-25

6-31

6-51

6-53

6-57

6-59

6-61

6-19 6-25 6-31 6-51 6-53 6-57 6-59 6-61 DS00711A-page vi  1999 Microchip Technology Inc.
Table of Contents (continued) SECTION 7 REFERENCE DESIGNS PAGE Uninterruptible Power Supply Reference Design -
Table of Contents (continued) SECTION 7 REFERENCE DESIGNS PAGE Uninterruptible Power Supply Reference Design -
Table of Contents (continued) SECTION 7 REFERENCE DESIGNS PAGE Uninterruptible Power Supply Reference Design -

Table of Contents (continued)

Table of Contents (continued) SECTION 7 REFERENCE DESIGNS PAGE Uninterruptible Power Supply Reference Design - PICREF-1

SECTION 7

REFERENCE DESIGNS

PAGE

Uninterruptible Power Supply Reference Design - PICREF-1 Intelligent Battery Charger Reference Design - PICREF-2 Watt-Hour Meter Reference Design - PICREF-3 PICDIM Lamp Dimmer for the PIC12C508 - PICREF-4 13.56 MHz Reader Reference Design - microID13.56 MHz Design Guide FSK Reader Reference Design - microID125 kHz Design Guide PSK Reader Reference Design - microID125 kHz Design Guide ASK Reader Reference Design - microID125 kHz Design Guide FSK Anticollision Reader Reference Design - microID125 kHz Design Guide

7-1

7-3

7-5

7-7

7-9

7-11

7-13

7-15

7-17

SECTION 8

DEVELOPMENT SYSTEMS

System Support

Development Tools Selection Chart Microchip Internet Connections Integrated Development Environment Universal PICmicro ® Microcontroller Assembler Software In-Circuit Debugger In-Circuit Emulator Software Simulator ANSI-Compliant C Compiler for PIC17CXXX Microcontrollers ANSI-Compliant C Compiler for PIC18CXXX Microcontrollers Low-Cost PIC16CXXX In-Circuit Emulator Universal Microchip Device Programmer Low-cost Development Kit Supports All PICmicro® MCUs Evaluation Kit Transponder Evaluation Kit Low-Cost PICmicro ® Demonstration Board Low-Cost PIC16CXX Demonstration Board Low-Cost PIC16C9XX Demonstration Board PICmicro ® Demonstration Board

8-1

On-Line Support

8-15

MPLAB ®

8-17

MPASM

8-19

MPLAB

®

-ICD

8-21

MPLAB

®

-ICE

8-23

MPLAB

®

-SIM

8-25

MPLAB

®

-C17

8-27

MPLAB

®

-C18

8-29

ICEPIC PRO MATE ® II PICSTART ® Plus

8-31

8-33

8-35

KEELOQ

®

8-37

KEELOQ

®

8-39

PICDEM-1

8-41

PICDEM-2

8-43

PICDEM-3

8-45

PICDEM-17

8-47

MCP2510

 

8-49

microIDmicroIDmicroIDmicroIDFilterLabSEEVAL ® Designers Kit Total Endurance

CAN Development Kit Programmer Kit 125 kHz microID Developers Kit 125 kHz Anticollision microID Developers Kit 13.56 MHz Anticollision microID Developers Kit Active Filter Software Design Tool Microchip Serial EEPROM Designers Kit Microchip Serial EEPROM Endurance Model

8-51

8-53

8-55

8-57

8-59

8-61

8-63

WORLDWIDE SALES AND SERVICE

8-67

8-57 8-59 8-61 8-63 WORLDWIDE SALES AND SERVICE 8 -67  1999 Microchip Technology Inc. DS00711A-page
PAGE DS00711A-page viii  1999 Microchip Technology Inc.
PAGE DS00711A-page viii  1999 Microchip Technology Inc.
PAGE DS00711A-page viii  1999 Microchip Technology Inc.
PAGE DS00711A-page viii  1999 Microchip Technology Inc.

PAGE

PAGE DS00711A-page viii  1999 Microchip Technology Inc.
Update 2000 Subject Index The following is an alphabetical subject index for the application notes,
Update 2000 Subject Index The following is an alphabetical subject index for the application notes,
Update 2000 Subject Index The following is an alphabetical subject index for the application notes,

Update 2000 Subject Index

Update 2000 Subject Index The following is an alphabetical subject index for the application notes, technical

The following is an alphabetical subject index for the application notes, technical briefs and reference designs that are ONLY available in the Embedded Control Handbook Update 2000. For complete listings of other application notes, tech- nical briefs and reference designs available, please refer to Volume 1 Application Noteson page xiii, and Volume 2 Application Noteson page xvi directly following the subject index.

Miscellaneous

TB019

6-53

12-bit ADC:

TB023

6-57

AN704

4-103

TB031

6-59

AN719

4-129

TB032

6-61

16F87X: TB033

2-315

Anti-Aliasing filter: AN699

4-59

24LC00: AN674

5-9

Anticollision:

24LCS21: TB014

5-47

AN678

6-1

24LCS21A: TB014

5-47

AN680

6-19

24LCS61/62:

AN707

6-25

AN676

5-11

AN710

6-31

AN683

5-17

AN725

6-51

24LCS61:

TB019

6-53

AN676

5-11

TB023

6-57

AN683

5-17

TB031

6-59

24LCS62:

TB032

6-61

AN676

5-11

Autobaud Detector: AN712

2-81

AN683

5-17

Autodetect: AN690

5-25

8051 Interface: AN702 93 Series Compatability:

4-69

Automotive: AN713

4-113

AN671

5-7

B

AN698

5-39

Battery Charging: PICREF-2

7-3

93LC56/56B/66/66B: AN671

5-7

Battery Eliminator: AN701

2-61

93LC56A/56B/66A/66B: AN671

5-7

Battery:

93XX46: AN698

5-39

AN714

3-47

93XX56: AN698

5-39

PICREF-2

7-3

93XX66: AN698

5-39

Baud Rate Detection: AN712 Boot Loader Program:

2-81

A

TB025

2-281

Accelerometer: AN715

2-97

TB027

2-295

Analog-to-Digital (A/D) Converter:

Bridge Sensor: AN717

4-121

AN684

4-19

Brown-out detect (BOD): AN686

4-45

AN685

4-35

Buck Converter: PICREF-2

7-3

AN687

4-49

AN688

4-53

C

AN699

4-59

Calendar: TB028

2-301

AN700

2-53

CAN: AN713

4-113

AN702

4-69

Checksums:

AN703

4-81

TB026

2-289

AN704

4-103

Code Development: TB033

2-315

AN716

2-131

Code Hopping:

AN719

4-129

Decoders, see KEELOQ ®

3-1

Antenna:

Compatability: AN726

2-205

AN678

6-1

Conversion: AN726

2-205

AN680

6-19

AN707

6-25

AN710

6-31

AN725

6-51

AN680 6-19 AN707 6-25 AN710 6-31 AN725 6-51  1999 Microchip Technology Inc. DS00711A-page ix
Update 2000 Subject Index (continued) D   AN683 5-17 Day-of-Week: TB028 2-301 AN690 5-25 DC
Update 2000 Subject Index (continued) D   AN683 5-17 Day-of-Week: TB028 2-301 AN690 5-25 DC
Update 2000 Subject Index (continued) D   AN683 5-17 Day-of-Week: TB028 2-301 AN690 5-25 DC

Update 2000 Subject Index (continued)

Update 2000 Subject Index (continued) D   AN683 5-17 Day-of-Week: TB028 2-301 AN690 5-25 DC

D

 

AN683

5-17

Day-of-Week: TB028

2-301

AN690

5-25

DC

Motor: AN718

2-143

AN709

5-43

Decoders:

AN716

2-131

 

Code Hopping, see KEELOQ ®

3-1

TB014

5-47

KEELOQ ® , see KEELOQ ®

3-1

ICEPIC - PIC16CXXX In-Circuit Emulator

8-31

Delta-Sigma Converter: AN700

2-53

ICSP:

Design Considerations: AN709

5-43

TB013

2-241

Difference Amplifier: AN682

4-11

TB015

2-247

Differences: AN726

2-205

TB016

2-253

Downloader Program:

TB017

2-257

 

TB024

2-273

In-Circuit Debugger: TB033

2-315

TB025

2-281

In-Circuit Serial Programming (ICSP):

 

TB013

2-241

E

 

TB015

2-247

Emulator: TB020

2-265

TB016

2-253

Energy: PICREF-3

7-5

TB017

2-257

Engineers Assistant: AN689

2-1

Industrial: AN713

4-113

Enhancements: AN726

2-205

Instrument: AN689

2-1

EPROM: AN721

2-173

Instrumentation Amplifier: AN682

4-11

EuroHomelink: see KEELOQ ®

3-121

Internet: AN724

2-177

External Memory:

Inverter: PICREF-1

7-1

 

TB024

2-273

TB027

2-295

K

 

KEELOQ ® Evaluation Kit

8-37

F

 

KEELOQ ® Transponder Evaluation Kit

8-39

Filter:

KEELOQ ® :

 

Analog:

 

Decoder, Midrange: AN672

3-11

 

AN682

4-11

Decoder, transponder: AN675

3-23

AN699

4-59

EuroHomelink: TB021

3-121

FilterLab: AN699

4-59

Wireless Home Security: AN714

3-47

FLASH Memory:

Keypad: AN714

3-47

 

TB016

2-253

TB024

2-273

L

TB025

2-281

LCD Display:

TB026

2-289

AN689

2-1

TB027

2-295

AN714

3-47

TB033

2-315

LED Drive: TB029

2-311

Frames: AN713

4-113

Lighting: PICREF-4

7-7

Frequency Counter: AN689

2-1

Logic Analyzer: AN689

2-1

 

Low Pass Filter: AN699

4-59

H

 

HCS515: AN714

3-47

M

Hex Files:

MC68HC11: AN704

4-103

 

TB024

2-273

MCP130:

TB025

2-281

AN704

4-103

How to use I 2 C: AN709

5-43

AN719

4-129

 

MCP2510 - CAN Development Kit

8-49

I

MCP320x: AN703

4-81

I/O

Multiplexing: TB029

2-311

Memory Autodetect: AN690

5-25

I

2 C:

Microcontroller (MCU):

AN674

5-9

AN721

2-173

AN676

5-11

AN724

2-177

AN674 5-9 AN721 2-173 AN676 5-11 AN724 2-177 DS00711A-page x  1999 Microchip Technology Inc.
Update 2000 Subject Index (continued) micro ID ™ 125 kHz Anticollision Developer ’ s Kit
Update 2000 Subject Index (continued) micro ID ™ 125 kHz Anticollision Developer ’ s Kit
Update 2000 Subject Index (continued) micro ID ™ 125 kHz Anticollision Developer ’ s Kit

Update 2000 Subject Index (continued)

Update 2000 Subject Index (continued) micro ID ™ 125 kHz Anticollision Developer ’ s Kit .

microID125 kHz Anticollision Developers Kit . 8-55 microID125 kHz Design Guide:

ASK Reader Reference Design

13.56 MHz Reader Reference Design

7-15

FSK Anticollision Reader Reference Design

7-17

FSK Reader Reference Design

7-11

PSK Reader Reference Design

7-13

microID125 kHz Developers Kit

8-53

microID13.56 MHz Design Guide:

7-9

microIDProgrammer Kit Migration:

8-51

AN716

 

2-131

AN726

2-205

Mode 1,1: TB012

5-45

MPLAB ®

8-17

MPLAB ® -C17

8-27

MPLAB ® -C18

8-29

MPLAB

®

-ICD

8-21

MPLAB

®

-ICE

8-23

MPLAB

®

-SIM

8-25

N

Noise:

AN688

 

4-53

AN717

4-121

O

On-Line Support

8-15

Operational Amplifier:

AN682

 

4-11

AN684

4-19

AN685

4-35

AN687

4-49

AN699

4-59

AN717

4-121

AN722

4-149

OTP Memory:

AN721

 

2-173

TB013

2-241

TB015

2-247

TB017

2-257

P

PCB Layout: AN688

4-53

Photo Detector Pre-Amp: AN682

4-11

PIC12C508: PICREF-4

7-7

PIC12C508A: AN714

3-47

PIC12C5XX:TB017

2-257

PIC12C67X: TB020

2-265

PIC16C62A: AN703

4-81

PIC16C67: AN719

4-129

PIC16C74A/74B: AN716

2-131

PIC16C77: AN714

3-47

PIC16C7X: PICREF-2

7-3

PIC16C924: AN668

5-1

PIC16C92X:

AN668

5-1

PICREF-3

7-5

PIC16CF87X: TB026

2-289

PIC16CXXX:

TB013

2-241

PIC16F84: AN715

2-97

PIC16F87X:

TB016

2-253

TB025

2-281

PIC17C43: PICREF-1

7-1

PIC17C4X:TB015

2-247

PIC17C756: AN718

2-143

PIC17C75X:TB015

2-247

PIC17CXXX:

AN726

2-205

TB015

2-247

TB024

2-273

TB027

2-295

PIC18C442: AN716

2-131

PIC18CXXX:

AN726

2-205

PICDEM-1

8-41

PICDEM-17

8-47

PICDEM-2

8-43

PICDEM-2: AN719

4-129

PICDEM-3

8-45

PICMASTER ® : TB020

2-265

PICmicro ® : AN724

2-177

PICSTART ® Plus

8-35

PID Algorithm: AN718 Plug and Play:

2-143

AN676

5-11

AN683

5-17

Power on reset (POR): AN686

4-45

Power Supply: PICREF-1

7-1

Power: PICREF-3

7-5

PPP: AN724

2-177

PRO MATE ® II Program Memory:

8-33

TB026

2-289

Protocol: AN713 Pulse Width Modulation:

4-113

AN701

2-61

AN718

2-143

R

Read Range:

AN678

6-1

AN680

6-19

AN707

6-25

Read Range: AN678 6-1 AN680 6-19 AN707 6-25  1999 Microchip Technology Inc. DS00711A-page xi
Update 2000 Subject Index (continued) AN710 6-31 Temperature Sensing: AN725 6-51 AN679 4-1 TB019
Update 2000 Subject Index (continued) AN710 6-31 Temperature Sensing: AN725 6-51 AN679 4-1 TB019
Update 2000 Subject Index (continued) AN710 6-31 Temperature Sensing: AN725 6-51 AN679 4-1 TB019

Update 2000 Subject Index (continued)

Update 2000 Subject Index (continued) AN710 6-31 Temperature Sensing: AN725 6-51 AN679 4-1 TB019

AN710

6-31

Temperature Sensing:

AN725

6-51

AN679

4-1

TB019

6-53

AN684

4-19

TB023

6-57

AN685

4-35

TB031

6-59

AN687

4-49

TB032

6-61

Thermistor:

Remote Keyless Entry (RKE): AN714

3-47

AN679

4-1

RFID Applications:

AN685

4-35

AN678

6-1

Thermocouple:

AN680

6-19

AN679

4-1

AN707

6-25

AN684

4-19

AN710

6-31

Tilt Measurement: AN715

2-97

AN725

6-51

Transponder:

TB019

6-53

Coil Design, base station: AN677

3-39

TB023

6-57

Coil Design, HCS410: AN650

3-1

TB031

6-59

Decoder: AN675

3-23

TB032

6-61

Triac Control: PICREF-4

7-7

ROM: AN721

2-173

RTD:

U

AN679

4-1

UPS: PICREF-1

7-1

AN687

4-49

Utility Meter: PICREF-3

7-5

S

V

Security: see KEELOQ ® and Wireless

3-47

VESA: TB014

5-47

Sensor: AN715

2-97

Vibration: AN715

2-97

Serial Communication: AN712

2-81

Voltage Regulator: AN701

2-61

Serial EEPROM:

Software Addressable:

W

AN676

5-11

Watt: PICREF-3

7-5

AN683

5-17

Wireless Security: AN714

3-47

TB014

5-47

Servomotor: AN718

2-143

Z

Sigma-Delta Converter: AN700

2-53

Zero Crossing Detect: PICREF-4

7-7

SOT-23: AN674 SPI:

5-9

AN668

5-1

AN700

4-103

TB012

5-45

Supervisory Circuit: AN686

4-45

Switchmode Power Supply: AN701

2-61

System Support

8-1

T

Tag:

AN678

6-1

AN680

6-19

AN707

6-25

AN710

6-31

AN725

6-51

TB019

6-53

TB023

6-57

TB031

6-59

TB032

6-61

6-53 TB023 6-57 TB031 6-59 TB032 6-61 DS00711A-page xii  1999 Microchip Technology Inc.
Volume 1 Application Notes - Alphabetical The following is an alphabetical list of application notes,
Volume 1 Application Notes - Alphabetical The following is an alphabetical list of application notes,
Volume 1 Application Notes - Alphabetical The following is an alphabetical list of application notes,

Volume 1 Application Notes - Alphabetical

Volume 1 Application Notes - Alphabetical The following is an alphabetical list of application notes, technical

The following is an alphabetical list of application notes, technical briefs and reference designs that are available in the Microchip Technology Inc. Embedded Control Handbook, Volume 1. Please see your local Microchip Sales Represen- tative, Distributor or Sales Office for the latest copy (order number DS00092).

PAGE

1.8 Volt Technology Benefits

AN550

7-67

24C01A Compatibility Issue and Its Mobility for Memory Upgrade

AN517

7-11

A PC-Based Development Programmer for the PIC16C84

AN589

3-237

A Clock Design Using the PIC16C54 for LED Displays and Switch Inputs

AN590

2-197

A Comparison of 8-Bit Microcontrollers

AN520

2-69

A Real-Time Operating System for PIC16/17

AN585

5-105

Adaptive Differential Pulse Code Modulation using PIC16/17 Microcontrollers

AN643

3-451

Adding a Simple 4-channel 8-bit A/D to a PIC17C4X

TB010

9-33

Air Flow Control Using Fuzzy Logic

AN600

3-319

An Introduction to KEELOQ ® Code Hopping

TB003

9-7

Analog to Digital Conversion Using a PIC16C54

AN513

2-47

Apple ® Desktop Bus (ADB)

AN591

3-243

Automatic Calibration of the WDT Time-out Period

TB004

9-17

Basic Serial EEPROM Operation

AN536

7-45

Clock Design Using Low Power/Cost Techniques

AN615

5-199

Code Development for the PIC16C52

AN641

2-235

Code Hopping Decoder Using a PIC16C56

AN661

6-19

Code Hopping Decoder Using Secure Learn

AN662

6-33

Communicating with the I 2 C Bus Using the PIC16C5X

AN515

7-1

Continuous Improvement

AN603

8-27

Converting NTQ104/105/106 Designs to HCS200/300s

AN644

6-1

Converting to 24LCXXB and 93LCXX Serial EEPROMs

AN608

7-183

D/A Conversion Using PWM and R-2R Ladders to Generate Sine and DTMF Waveforms

AN655

2-237

Decoding Infrared Remote Controls Using a PIC16C5X Microcontroller

AN657

2-255

Digital Signal Processing with the PIC16C74

AN616

3-373

EEPROM Endurance Tutorial

AN601

7-177

Four Channel Digital Voltmeter with Display and Keyboard

AN557

3-121

Frequency and Resolution Options for PWM Outputs

AN539

4-145

Frequency Counter Using PIC16C5X

AN592

2-209

How to get 10 Million Cycles Out of Your Microchip Serial EEPROM

AN602

7-181

Implementation of an Asynchronous Serial I/O

AN510

2-1

Implementation of Fast Fourier Transforms

AN542

4-177

Implementation of the Data Encryption Standard Using PIC17C42

AN583

4-311

Implementing a Simple Serial Mouse Controller

AN519

2-57

Implementing a Table Read

AN556

5-95

Implementing IIR Digital Filters

AN540

4-157

Implementing Long Calls

AN581

2-171

Implementing Ohmmeter/Temperature Sensor

AN512

2-41

Implementing Table Read and Table Write

AN548

4-295

Implementing Ultrasonic Ranging

AN597

3-301

Implementing Wake-up on Key Stroke

AN528

2-89

Implementing Wake-up on Key Stroke

AN552

3-21

Improving the Susceptibility of an Application to ESD

AN595

8-1

In-Circuit Serial Programming of Calibration Parameters Using a PIC16CXXX

AN656

3-535

Intelligent Battery Charger Reference Design Based on PIC16C7X

RD002

10-3

Intelligent Remote Positioner (Motor Control)

AN531

2-121

Intelligent Remote Positioner (Motor Control) AN5 31 2-121  1999 Microchip Technology Inc. DS00711A-page xiii
Volume 1 Application Notes - Alphabetical (continued) PAGE Interfacing 93CX6 Serial EEPROMs to PIC16C5X Microcontrollers
Volume 1 Application Notes - Alphabetical (continued) PAGE Interfacing 93CX6 Serial EEPROMs to PIC16C5X Microcontrollers
Volume 1 Application Notes - Alphabetical (continued) PAGE Interfacing 93CX6 Serial EEPROMs to PIC16C5X Microcontrollers

Volume 1 Application Notes - Alphabetical (continued)

Volume 1 Application Notes - Alphabetical (continued) PAGE Interfacing 93CX6 Serial EEPROMs to PIC16C5X Microcontrollers

PAGE

Interfacing 93CX6 Serial EEPROMs to PIC16C5X Microcontrollers

AN530

7-13

Interfacing Microchip PIC16C54 to Microchip SPI Serial EEPROMs

AN648

7-235

Interfacing Microchip PIC16C64/74 to Microchip SPISerial EEPROMs

AN647

7-231

Interfacing Microchip Serial EEPROMs to Motorola ® 68HC11 Microcontroller

AN609

7-185

Interfacing Motorola 68HC11 to Microchip SPISerial EEPROMs

AN646

7-225

Interfacing the 24LCXXB Serial EEPROMs to the PIC16C54

AN567

7-145

Interfacing the 8051 with 2-wire Serial EEPROMs

AN614

7-213

Interfacing the 93XX76 and 93XX86 to a PIC16C5X

AN619

7-223

Interfacing to AC Power Lines

AN521

2-79

Interfacing to an LCD Module

AN587

3-205

LCD Fundamentals Using PIC16C92X Microcontrollers

AN658

3-557

Lead-Acid Battery Charger Implementation Using PIC14C000

AN626

3-421

Logic Powered Serial EEPROMs

AN535

7-35

Low Power Design Using PIC16/17

AN606

5-161

Low-Power Real-Time Clock

AN582

3-181

Macros for Page and Bank Switching

AN586

2-175

Math Utility Routines

AN544

4-209

Modifying PIC16C54A Code for the PIC16C58A

AN618

2-227

Multiplexing LED Drive and a 4x4 Keypad Sampling

AN529

2-95

Optimizing Serial Bus Operations with Proper Write Cycle Times

AN559

7-117

PIC14C000 A/D Theory and Implementation

AN624

3-411

PIC14C000 Calibration Parameters

AN621

3-405

PIC16/17 Oscillator Design Guide

AN588

5-143

PIC16C54A EMI Results

AN577

2-165

PIC16C57 Based Code Hopping Security System

AN645

6-7

PIC16C5X / PIC16CXXX Math Utility Routines

AN526

5-1

Plastic Packaging and the Effects of Surface Mount Soldering Techniques

AN598

8-19

PLD Replacement

AN511

2-19

Power-up Considerations

AN522

2-81

Power-up Trouble Shooting

AN607

5-177

PWM, a Software Solution for the PIC16CXXX

AN654

3-523

Questions and Answers Concerning Serial EEPROMs

AN572

7-173

Resistance and Capacitance Meter Using a PIC16C622

AN611

3-339

Saving and Restoring Status on Interrupt (Implementing a Parameter Stack)

AN534

4-141

Secure Learning RKE Systems Using KEELOQ ® Encoders

TB001

9-1

Serial EEPROM Endurance

AN537

7-59

Serial EEPROM Solutions vs. Parallel Solutions

AN551

7-69

Serial Port Routines Without Using Timer0

AN593

2-221

Serial Port Utilities

AN547

4-283

Servo Control of a DC-Brush Motor

AN532

4-1

Simple Code Hopping Decoder

AN663

6-49

Sine and DTMF Waveforms

AN655

2-237

Smart Battery Charger with SMBus Interface

AN667

3-579

Software Implementation of Asynchronous Serial I/O

AN555

3-85

Software Implementation of I 2 CBus Master

AN554

3-25

Software Interrupt Techniques

AN514

2-53

Software Stack Management

AN527

2-85

Techniques to Disable Global Interrupts

AN576

5-99

Tone Generation

AN543

4-199

Transformerless Power Supply

TB008

9-31

Uninterruptible Power Supply Reference Design Based on PIC17C43

RD001

10-1

Use of the SSP Module in the I 2 CMulti-Master Environment

AN578

3-153

Using a PIC16C5X as a Smart I 2 CPeripheral

AN541

2-135

a PIC16C5X as a Smart I 2 C  Peripheral AN541 2-135 DS00711A-page xiv  1999
Volume 1 Application Notes - Alphabetical (continued) PAGE Using External RAM with PIC17CXX Devices TB005
Volume 1 Application Notes - Alphabetical (continued) PAGE Using External RAM with PIC17CXX Devices TB005
Volume 1 Application Notes - Alphabetical (continued) PAGE Using External RAM with PIC17CXX Devices TB005

Volume 1 Application Notes - Alphabetical (continued)

Volume 1 Application Notes - Alphabetical (continued) PAGE Using External RAM with PIC17CXX Devices TB005 9-23

PAGE

Using External RAM with PIC17CXX Devices

TB005

9-23

Using KEELOQ to Generate Hopping Passwords

AN665

6-63

Using Microchip 93 Series Serial EEPROMs with Microcontroller SPIPorts

AN613

7-199

Using PIC16C5X Microcontrollers as LCD Drivers

AN563

2-151

Using PWM to Generate Analog Output

AN538

4-143

Using SRAM With A PIC16CXX

TB011

9-45

Using the 24LC21 Dual Mode Serial EEPROM

AN610

7-193

Using the 24xx65 and 25xx32 with Stand-alone PIC16C54 Code

AN558

7-73

Using the 8-Bit Parallel Slave Port

AN579

3-169

Using the 93LC56 and 93LC66

AN560

7-121

Using the Analog-to-Digital (A/D) Converter

AN546

3-1

Using the Capture Module

AN545

4-259

Using the CCP Module(s)

AN594

3-277

Using the Microchip Endurance Predictive Software

AN562

7-141

Using the PORTB Interrupt on Change as an External Interrupt

AN566

3-149

Using the PWM

AN564

4-299

Using Timer1 in Asynchronous Clock Mode

AN580

3-177

Watt-Hour Meter Reference Design Based on PIC16C924

RD003

10-5

Yet Another Clock Featuring the PIC16C924

AN649

3-491

Yet Another Clock Featuring the PIC16C924 AN649 3-491  1999 Microchip Technology Inc. DS00711A-page xv
Volume 2 Application Notes - Alphabetical The following is an alphabetical list of application notes
Volume 2 Application Notes - Alphabetical The following is an alphabetical list of application notes
Volume 2 Application Notes - Alphabetical The following is an alphabetical list of application notes

Volume 2 Application Notes - Alphabetical

Volume 2 Application Notes - Alphabetical The following is an alphabetical list of application notes that

The following is an alphabetical list of application notes that are available in the Microchip Technology Inc. Embedded Control Handbook, Volume 2, Math Library. Please see your local Microchip Sales Representative, Distributor or Sales Office for the latest copy (order number DS00167).

PAGE

Embedding Assembly Routines into C Language Using A Floating Point Routine as an ExampleAN669

5-1

Fixed Point Routines

AN617

3-1

Floating Point Math Functions

AN660

4-1

Floating Point to ASCII Conversion

AN670

6-1

IEEE 754 Compliant Floating Point Routines

AN575

2-1

6-1 IEEE 754 Compliant Floating Point Routines AN575 2-1  1999 Microchip Technology Inc. DS00711A-page xvi
Volume 1 Application Notes – Numerical The following is a numerical list of application notes,
Volume 1 Application Notes – Numerical The following is a numerical list of application notes,
Volume 1 Application Notes – Numerical The following is a numerical list of application notes,

Volume 1 Application Notes – Numerical

Volume 1 Application Notes – Numerical The following is a numerical list of application notes, technical

The following is a numerical list of application notes, technical briefs and reference designs that are available in the Mi- crochip Technology Inc. Embedded Control Handbook, Volume 1. Please see your local Microchip Sales Representa- tive, Distributor or Sales Office for the latest copy (order number DS00092).

PAGE

AN510

Implementation of an Asynchronous Serial I/O

2-1

AN511

PLD Replacement

2-19

AN512

Implementing Ohmmeter/Temperature Sensor

2-41

AN513

Analog to Digital Conversion Using a PIC16C54

2-47

AN514

Software Interrupt Techniques

2-53

AN515

Communicating with the I 2 C Bus Using the PIC16C5X

7-1

AN517

24C01A Compatibility Issue and Its Mobility for Memory Upgrade

7-11

AN519

Implementing a Simple Serial Mouse Controller

2-57

AN520

A Comparison of 8-Bit Microcontrollers

2-69

AN521

Interfacing to AC Power Lines

2-79

AN522

Power-up Considerations

2-81

AN526

PIC16C5X / PIC16CXXX Math Utility Routines

5-1

AN527

Software Stack Management

2-85

AN528

Implementing Wake-up on Key Stroke

2-89

AN529

Multiplexing LED Drive and a 4x4 Keypad Sampling

2-95

AN530

Interfacing 93CX6 Serial EEPROMs to PIC16C5X Microcontrollers

7-13

AN531

Intelligent Remote Positioner (Motor Control)

2-121

AN532

Servo Control of a DC-Brush Motor

4-1

AN534

Saving and Restoring Status on Interrupt (Implementing a Parameter Stack)

4-141

AN535

Logic Powered Serial EEPROMs

7-35

AN536

Basic Serial EEPROM Operation

7-45

AN537

Serial EEPROM Endurance

7-59

AN538

Using PWM to Generate Analog Output

4-143

AN539

Frequency and Resolution Options for PWM Outputs

4-145

AN540

Implementing IIR Digital Filters

4-157

AN541

Using a PIC16C5X as a Smart I 2 CPeripheral

2-135

AN542

Implementation of Fast Fourier Transforms

4-177

AN543

Tone Generation

4-199

AN544

Math Utility Routines

4-209

AN545

Using the Capture Module

4-259

AN546

Using the Analog-to-Digital (A/D) Converter

3-1

AN547

Serial Port Utilities

4-283

AN548

Implementing Table Read and Table Write

4-295

AN550

1.8 Volt Technology Benefits

7-67

AN551

Serial EEPROM Solutions vs. Parallel Solutions

7-69

AN552

Implementing Wake-up on Key Stroke

3-21

AN554

Software Implementation of I 2 CBus Master

3-25

AN555

Software Implementation of Asynchronous Serial I/O

3-85

AN556

Implementing a Table Read

5-95

AN557

Four Channel Digital Voltmeter with Display and Keyboard

3-121

AN558

Using the 24xx65 and 25xx32 with Stand-alone PIC16C54 Code

7-73

AN559

Optimizing Serial Bus Operations with Proper Write Cycle Times

7-117

AN560

Using the 93LC56 and 93LC66

7-121

AN562

Using the Microchip Endurance Predictive Software

7-141

AN563

Using PIC16C5X Microcontrollers as LCD Drivers

2-151

AN564

Using the PWM

4-299

as LCD Drivers 2-1 51 AN564 Using the PWM 4-299  1999 Microchip Technology Inc. DS00711A-page
Volume 1 Application Notes – Numerical (continued) PAGE AN566 Using the PORTB Interrupt on Change
Volume 1 Application Notes – Numerical (continued) PAGE AN566 Using the PORTB Interrupt on Change
Volume 1 Application Notes – Numerical (continued) PAGE AN566 Using the PORTB Interrupt on Change

Volume 1 Application Notes Numerical (continued)

Volume 1 Application Notes – Numerical (continued) PAGE AN566 Using the PORTB Interrupt on Change as

PAGE

AN566

Using the PORTB Interrupt on Change as an External Interrupt

3-149

AN567

Interfacing the 24LCXXB Serial EEPROMs to the PIC16C54

7-145

AN572

Questions and Answers Concerning Serial EEPROMs

7-173

AN576

Techniques to Disable Global Interrupts

5-99

AN577

PIC16C54A EMI Results

2-165

AN578

Use of the SSP Module in the I 2 CMulti-Master Environment

3-153

AN579

Using the 8-Bit Parallel Slave Port

3-169

AN580

Using Timer1 in Asynchronous Clock Mode

3-177

AN581

Implementing Long Calls

2-171

AN582

Low-Power Real-Time Clock

3-181

AN583

Implementation of the Data Encryption Standard Using PIC17C42

4-311

AN585

A Real-Time Operating System for PIC16/17

5-105

AN586

Macros for Page and Bank Switching

2-175

AN587

Interfacing to an LCD Module

3-205

AN588

PIC16/17 Oscillator Design Guide

5-143

AN589

A PC-Based Development Programmer for the PIC16C84

3-237

AN590

A Clock Design Using the PIC16C54 for LED Displays and Switch Inputs

2-197

AN591

Apple ® Desktop Bus (ADB)

3-243

AN592

Frequency Counter Using PIC16C5X

2-209

AN593

Serial Port Routines Without Using Timer0

2-221

AN594

Using the CCP Module(s)

3-277

AN595

Improving the Susceptibility of an Application to ESD

8-1

AN597

Implementing Ultrasonic Ranging

3-301

AN598

Plastic Packaging and the Effects of Surface Mount Soldering Techniques

8-19

AN600

Air Flow Control Using Fuzzy Logic

3-319

AN601

EEPROM Endurance Tutorial

7-177

AN602

How to get 10 Million Cycles Out of Your Microchip Serial EEPROM

7-181

AN603

Continuous Improvement

8-27

AN606

Low Power Design Using PIC16/17

5-161

AN607

Power-up Trouble Shooting

5-177

AN608

Converting to 24LCXXB and 93LCXX Serial EEPROMs

7-183

AN609

Interfacing Microchip Serial EEPROMs to Motorola ® 68HC11 Microcontroller

7-185

AN610

Using the 24LC21 Dual Mode Serial EEPROM

7-193

AN611

Resistance and Capacitance Meter Using a PIC16C622

3-339

AN613

Using Microchip 93 Series Serial EEPROMs with Microcontroller SPIPorts

7-199

AN614

Interfacing the 8051 with 2-wire Serial EEPROMs

7-213

AN615

Clock Design Using Low Power/Cost Techniques

5-199

AN616

Digital Signal Processing with the PIC16C74

3-373

AN618

Modifying PIC16C54A Code for the PIC16C58A

2-227

AN619

Interfacing the 93XX76 and 93XX86 to a PIC16C5X

7-223

AN621

PIC14C000 Calibration Parameters

3-405

AN624

PIC14C000 A/D Theory and Implementation

3-411

AN626

Lead-Acid Battery Charger Implementation Using PIC14C000

3-421

AN641

Code Development for the PIC16C52

2-235

AN643

Adaptive Differential Pulse Code Modulation using PIC16/17 Microcontrollers

3-451

AN644

Converting NTQ104/105/106 Designs to HCS200/300s

6-1

AN645

PIC16C57 Based Code Hopping Security System

6-7

AN646

Interfacing Motorola 68HC11 to Microchip SPISerial EEPROMs

7-225

AN647

Interfacing Microchip PIC16C64/74 to Microchip SPISerial EEPROMs

7-231

AN648

Interfacing Microchip PIC16C54 to Microchip SPI Serial EEPROMs

7-235

AN649

Yet Another Clock Featuring the PIC16C924

3-491

AN654

PWM, a Software Solution for the PIC16CXXX

3-523

AN655

D/A Conversion Using PWM and R-2R Ladders to Generate Sine and DTMF Waveforms

2-237

and R-2R Ladders to Generate Sine and DTMF Waveforms 2-237 DS00711A-page xviii  1999 Microchip Technology
Volume 1 Application Notes – Numerical (continued) PAGE AN656 In-Circuit Serial Programming of Calibration
Volume 1 Application Notes – Numerical (continued) PAGE AN656 In-Circuit Serial Programming of Calibration
Volume 1 Application Notes – Numerical (continued) PAGE AN656 In-Circuit Serial Programming of Calibration

Volume 1 Application Notes Numerical (continued)

Volume 1 Application Notes – Numerical (continued) PAGE AN656 In-Circuit Serial Programming of Calibration

PAGE

AN656

In-Circuit Serial Programming of Calibration Parameters Using a PIC16CXXX

3-535

AN657

Decoding Infrared Remote Controls Using a PIC16C5X Microcontroller

2-255

AN658

LCD Fundamentals Using PIC16C92X Microcontrollers

3-557

AN661

Code Hopping Decoder Using a PIC16C56

6-19

AN662

Code Hopping Decoder Using Secure Learn

6-33

AN663

Simple Code Hopping Decoder

6-49

AN665

Using KEELOQ to Generate Hopping Passwords

6-63

AN667

Smart Battery Charger with SMBus Interface

3-579

RD001

Uninterruptible Power Supply Reference Design Based on PIC17C43

10-1

RD002

Intelligent Battery Charger Reference Design Based on PIC16C7X

10-3

RD003

Watt-Hour Meter Reference Design Based on PIC16C924

10-5

TB001

Secure Learning RKE Systems Using KEELOQ ® Encoders

9-1

TB003

An Introduction to KEELOQ ® Code Hopping

9-7

TB004

Automatic