an1024 - microchip technologyww1.microchip.com/downloads/en/appnotes/01024b.pdf · transmits a...

26
© 2007 Microchip Technology Inc. DS01024B-page 1 AN1024 INTRODUCTION Hands-free Passive Keyless Entry (PKE) is quickly becoming mainstream in automotive remote keyless entry applications and is a common option on new automobile models. Instead of pressing a transmitter button to unlock or lock a car door, it is possible to gain vehicle access simply having a valid transponder in your possession. Hands-free PKE applications require bidirectional communication between the base station and transponder units. The base unit inside the vehicle transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located, the transponder in the vehicle owner’s possession then automatically responds to the base unit. The base unit then unlocks the car doors, if a valid authentication response is received. In typical PKE applications, the base station unit is designed to output the maximum power that is allowed by electromagnetic field radiation rules that are mandated by government agencies. When it operates with a 9 to 12 VDC of power source, the maximum attainable antenna voltage is about 300 VPP. Because of the non-propagating property of the low-frequency (125 kHz) signal, the signal level becomes only about a few mVPP when it is received by a typical key fob transponder approximately two meters away from the base station unit. Furthermore, due to antenna orientation properties, the input signal level at the transponder becomes considerably weaker if the antenna is not oriented face-to-face with the base station antenna. The most probable source of PKE operation failure is due to a weak input signal level at the transponder. Therefore, for a reliable hands-free PKE application, it is necessary to make the input signal strong enough (above input sensitivity level) in any condition within the desired communication range. In order to make the PKE system reliable, the system designer must consider four important parameters: 1. Output power of the base station command, 2. Input sensitivity of the transponder, 3. Antenna directionality, and 4. Battery life of the transponder. The PIC16F639 is a microcontroller (MCU) with a three-channel analog front-end. The device’s analog front-end features are controlled by the MCU firmware. Because of its easy-to-use features, the device can be used for various smart low-frequency sensing and bidirectional communication applications. This application note provides design circuit examples of the smart PKE transponder using the PIC16F639 MCU. The MCU firmware examples for the circuits shown in this application note are also available. The given circuit and MCU firmware examples can be easily modified for users specific applications. Author: Youbok Lee, Ph.D. Microchip Technology Inc. PKE System Design Using the PIC16F639

Upload: nguyentram

Post on 05-Feb-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024PKE System Design Using the PIC16F639

INTRODUCTIONHands-free Passive Keyless Entry (PKE) is quicklybecoming mainstream in automotive remote keylessentry applications and is a common option on newautomobile models. Instead of pressing a transmitterbutton to unlock or lock a car door, it is possible to gainvehicle access simply having a valid transponder inyour possession.

Hands-free PKE applications require bidirectionalcommunication between the base station andtransponder units. The base unit inside the vehicletransmits a Low-Frequency (LF) command thatsearches for a transponder in the field. Once located,the transponder in the vehicle owner’s possession thenautomatically responds to the base unit. The base unitthen unlocks the car doors, if a valid authenticationresponse is received.

In typical PKE applications, the base station unit isdesigned to output the maximum power that is allowedby electromagnetic field radiation rules that aremandated by government agencies. When it operateswith a 9 to 12 VDC of power source, the maximumattainable antenna voltage is about 300 VPP. Becauseof the non-propagating property of the low-frequency(125 kHz) signal, the signal level becomes only abouta few mVPP when it is received by a typical key fobtransponder approximately two meters away from the

base station unit. Furthermore, due to antennaorientation properties, the input signal level at thetransponder becomes considerably weaker if theantenna is not oriented face-to-face with the basestation antenna.

The most probable source of PKE operation failure isdue to a weak input signal level at the transponder.Therefore, for a reliable hands-free PKE application, itis necessary to make the input signal strong enough(above input sensitivity level) in any condition within thedesired communication range.

In order to make the PKE system reliable, the systemdesigner must consider four important parameters:

1. Output power of the base station command,2. Input sensitivity of the transponder,3. Antenna directionality, and 4. Battery life of the transponder.

The PIC16F639 is a microcontroller (MCU) with athree-channel analog front-end. The device’s analogfront-end features are controlled by the MCU firmware.Because of its easy-to-use features, the device can beused for various smart low-frequency sensing andbidirectional communication applications.

This application note provides design circuit examplesof the smart PKE transponder using the PIC16F639MCU. The MCU firmware examples for the circuitsshown in this application note are also available. Thegiven circuit and MCU firmware examples can be easilymodified for users specific applications.

Author: Youbok Lee, Ph.D.Microchip Technology Inc.

© 2007 Microchip Technology Inc. DS01024B-page 1

Page 2: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

PIC16F639 PKE TRANSPONDERThe PIC16F639 has a digital MCU section (PIC16F639core) and an analog front-end (AFE) section. Thedevice can be used for various low-frequency sensingand bidirectional smart communication applications.

Figure 1 shows an example of a typical PKE system.The base station unit transmits a 125 kHz command tosearch for a valid transponder in the field. The PKEtransponder sends back a response if the receivedcommand is valid.

The PIC16F639 device has high analog inputsensitivity (up to 1 mVPP) and three antennaconnection pins. By connecting three antennas that arepositioned to x, y and z directions, the transponder canpick up signals from any direction at any given time.Therefore, it reduces the likelihood of missing signalsdue to the properties of antenna directionality. Theinput signal at each antenna pin is detectedindependently and summed afterwards. Each inputchannel can be independently enabled or disabled byprogramming the Configuration register. The deviceconsumes less operating power if fewer channels areenabled.

For hands-free operation, the transponder is continu-ously waiting and detecting input signals. This presentsan issue for the life expectancy of the battery. There-fore, in order to reduce the operating current, the digitalMCU section can stay in low-current mode (Sleep),while the Analog Front-End (AFE) is looking for a validinput signal. The digital MCU section is waking up onlywhen the AFE detects a valid input signal. This featureis possible by using an Output Enable Filter (wake-upfilter). There are nine Output Enable Filter optionsavailable in the PIC16F639. Users can program thefilter using the Configuration register. Once the filter isprogrammed, the device passes detected output to thedigital section only if the incoming signal meets the filterrequirement.

Figure 2 shows an example of the PKE transponderconfiguration. The transponder consists of thePIC16F639 device, external LC resonant circuits, pushbuttons, a UHF transmitter, battery back-up (optional),and a 3V lithium battery.

The digital sections have two I/O ports; PORTA andPORTC. Each of the PORTA pins is individuallyconfigurable as an Interrupt-on-change pin. The pinson PORTC have no Interrupt-on-change function.

The AFE section shares three I/O pins in PORTC of thedigital section; RC1, RC2 and RC3, which are internallybonded with CS, SCLK/ALERT and LFDATA/CCLK/RSSI/SDIO pad of the AFE, respectively. LFDATA/CCLK/RRSI and ALERT are outputs of the AFE. SDIO,SCLK and CS are used to program or read the AFEConfiguration registers. Refer to the PIC12F635/PIC16F636/639 Device Data Sheet (DS41232) for moredetails (see “References”).

To save battery power, the digital section is normally inSleep mode while the AFE section is detecting LF inputsignals. Although the AFE’s output pads are internallybonded to the PORTC pins, the AFE output cannotwake-up the digital section from Sleep by Interrupt-on-change events, because the pins are not Interrupt-on-change pins. Therefore, it is recommended that theLFDATA and ALERT pins of the AFE be connected tothe PORTA pins externally, as shown in Figure 2.

The digital section can wake up when one of thefollowing three conditions occur:

1. AFE output at LFDATA pin,2. AFE output at ALERT pin, or3. Any event by push button switches on PORTA.

DS01024B-page 2 © 2007 Microchip Technology Inc.

Page 3: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

FIGURE 1: BIDIRECTIONAL PASSIVE KEYLESS ENTRY (PKE) SYSTEM

FIGURE 2: EXAMPLE OF PASSIVE KEYLESS ENTRY (PKE) TRANSPONDER CONFIGURATION

LED

UHFTransmitter

3-InputAnalog Front-End

MCU (PIC16F636)

+

PIC16F639

LED

UHFReceiver

LFTransmitter/

Receiver

Mic

roco

ntro

ller

(MC

U)

LF Command(125 kHz)

LF Talk-back(125 kHz)

Response(UHF)

EncryptedCodes

Base Station Transponder

Ant. X

Ant. Y

Ant. Z

125 kHzLC SeriesResonant Circuit

125 kHzLC ParallelResonant Circuit

(MCP2030)

PIC

16F6

39

1

2

3

4

20

19

18

17

5

6

7

16

15

14

8

9

10

13

12

11

+3V+3V

VDD

S0

S1

S2

S3

S4

S5

VSS

Data

RFEN

LFDATA/RSSI/SDIOVDDT

LCZ

LCY

CS

SCLK/ALERT

VSST

LED

LCCOM

LCX

RF Circuitry(UHF TX)

433.92 MHz

air-corecoil ferrite-core

coilferrite-core

coil

Battery(2-3.6V) D1

D2

C1D3

D4

Push Button Switch

© 2007 Microchip Technology Inc. DS01024B-page 3

Page 4: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

Wake-up Filter and Signal DetectionUsers can program one of the nine possible OutputEnable filters using the Configuration registers. Refer tothe PIC12F635/PIC16F636/639 Device Data Sheet(DS41232) for more details (see “References”).

Figures 3 and 4 show examples of inputs anddemodulated outputs. The input signal is applied to oneof the three input pins or on all pins (LCX, LCY, LCZ) atthe same time. The outputs are available on theLFDATA pin of the device. The figures show thedifferences in output pins depending on the setting ofthe output enable (wake-up) filter option. For the casesshown in Figure 3 and Figure 4, the minimum

modulation depth requirement is set to 8% and theOutput Enable Filter is set to (TOEH: 2 ms, TOEL = 2 ms).The input signal amplitude is 2.7 mVPP with amodulation depth of about 9%. Figure 3 shows theinput signal and the demodulated data output after thewake-up filter is matched. The demodulated output ofthe correct (wanted) input signal wakes up the digitalsection, and will respond if the command is valid.Figure 4 shows the case when the input does not meetthe programmed filter requirement. The demodulatedoutput is not available at the output pin since the inputdoes not meet the programmed filter requirement. Thisensures that the digital section will not wake-up due tounwanted input signals.

FIGURE 3: INPUT SIGNAL AND DEMODULATED OUTPUT WHEN OUTPUT ENABLE FILTER IS ENABLED AND INPUT MEETS THE FILTER TIMING REQUIREMENT

FIGURE 4: INPUT SIGNAL AND DEMODULATED OUTPUT WHEN OUTPUT ENABLE FILTER IS ENABLED AND INPUT DOES NOT MEET THE FILTER TIMING REQUIREMENT

DS01024B-page 4 © 2007 Microchip Technology Inc.

Page 5: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

External LC Resonant AntennaThe PIC16F639 device includes three low-frequencyinput channels. The LCX, LCY and LCZ pins are forexternal LC resonant antenna circuit connections (foreach LF input channel). The external circuits are con-nected to the antenna input pins and the LCCOM pin.LCCOM is a common pin for all external antenna cir-cuits. A capacitor (1-10 μF) between the LCCOM pinand ground is recommended to provide a stable condi-tion for the internal detection circuit when it detectsstrong input signals.

Although the PIC16F639 has three LC input pins for thethree external antenna attachments, the user can useonly one or two antennas, instead of using all three,depending on the application. The operating currentconsumption is proportional to the number of channelsenabled. Fewer channels enabled results in lowercurrent consumption. However, it is highlyrecommended to use all three antennas for hands-freePKE applications.

THEORY OF LC RESONANT ANTENNATo detect a low-frequency magnetic field, a tuned loopantenna is commonly used. In order to maximize theantenna voltage, the loop antenna must be preciselytuned to the frequency of interest. For PKEapplications, the antenna should be tuned to the carrierfrequency of the base station. The loop antenna ismade of a coil (inductor) and capacitors that areforming a parallel LC resonant circuit. The voltageacross the antenna is also maximized by increasing thesurface area of the loop and quality factor (Q) of thecircuit.

The resonant frequency of the LC resonant circuit isgiven by Equation 1:

EQUATION 1:

where L is the inductance of the loop and C is thecapacitance.

For a given LC resonant circuit, the received antennavoltage is approximately given by Equation 2 (refer toapplication note AN710, “Antenna Circuit Design forRFID Applications,” (DS00710) for details):

EQUATION 2:

where:

In Equation 2, the quality factor (Q) is a measure of theselectivity of the frequency of the interest by the tunedcircuit. Assuming that the capacitor is lossless at125 kHz, Q of the LC circuit is mostly governed by theinductor defined by:

EQUATION 3:

where fo is the tuned frequency, L is the inductancevalue and r is the resistance value of the inductor.

In typical transponder applications, the inductancevalue is in the 1-9 mH range. Q of the LC circuit isgreater than 20 for an air-core inductor and about 40 fora ferrite-core inductor.

The S cos α term in Equation 2 represents an effectivesurface area of the antenna that is defined as anexposed area of the loop to the incoming magneticfield. The effective antenna surface area is maximizedwhen cos α becomes unity, which occurs when theantennas of the base station and the transponder unitsare positioned in a face-to-face arrangement. Inpractical applications, the user might notice the longestdetection range when the two antennas are facing eachother and the shortest range when they areorthogonally faced. Figure 5 shows a graphicaldemonstration of the antenna orientation problem inpractical applications.

fo1

2π LC------------------=

fc = Carrier frequency of the base station (Hz)

Δ f = | fc - fo| fo = Resonant frequency of LC circuit (Hz)

N = Number of turns of coil in the loop

S = Surface area of loop in square meters

Q = Quality factor of LC circuit

Βo = Magnetic field strength (Weber/m2)

α = Angle of arrival of signal

Vcoil fc

1 Δf+( )-------------------NSQBo αcos≈

QL2π fo L

r----------------------=

© 2007 Microchip Technology Inc. DS01024B-page 5

Page 6: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

FIGURE 5: ANTENNA ORIENTATION

DEPENDENCY

The antenna orientation problem can be significantlyreduced if the three antennas are placed orthogonallyon the same PCB board. This increases the probabilitythat at least one of the transponder antennas facestoward the base station antenna at a given incidentduring application. Figure 6 shows a graphicalillustration of placing three antennas on thetransponder board. A large air-core coil is used for LCZand two ferrite-core coils are used for LCX and LCY.There are companies that make the ferrite coilsspecifically for the 125 kHz RFID and low-frequencysensing applications.

FIGURE 6: RECOMMENDED ANTENNA PLACEMENT ON TRANSPONDER BOARD

Transponder’s LF antenna

Magnetic field from the base station

a

Line of axis

Effective Antenna Surface Area = S cos a

with surface area S

Transponder PCB

Ferrite-core Antenna

(LCY Input Pin)

(LCZ antenna)

(LCX Input Pin)

Ferrite-core Antenna

Air-core Antenna

Note 1: Keep the size of the air-core antenna (LCZ)as large as possible, given the PCB spaceavailable.

2: Keep the separation between the antennasas far apart as possible to reduce a mutualcoupling between them.

DS01024B-page 6 © 2007 Microchip Technology Inc.

Page 7: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

LC ANTENNA TUNINGAs shown in Equations 2 and 3, the induced coil volt-age is maximized when the LC circuit is tuned preciselyto the incoming carrier frequency. In practical applica-tions, however, the LC resonant frequency differs fromtransponder to transponder due to the tolerance varia-tion of the LC components. To compensate the errordue to the component tolerance, the PIC16F639 hasan internal resonant capacitor bank per channel. Thecapacitor value can be programmed up to 63 pF with1 pF per step. Figure 7 shows an example of thecapacitance tuning using the Configuration register bits(6 bits). The capacitance is monotonically increasedwith the Configuration register bits. Refer to thePIC12F635/PIC16F636/639 Device Data Sheet(DS41232) for more details (see “References”).

The capacitance can be effectively tuned by monitoringthe RSSI current output. The RSSI output is propor-tional to the input signal strength. Therefore, the higherRSSI output will be monitored the closer the LC circuitis tuned to the carrier frequency.

The total capacitance adds up as the Configurationregister bits step up . The resulting internal capacitanceis added to the present capacitor values of the LCcircuit. The LC resonant frequency will shift to lower byadding the internal resonant capacitor.

FIGURE 7: CAPACITANCE TUNING VS. BIT SETTING

Battery Back-up and Batteryless ModesIn real-life applications, there is the chance that thebattery can be momentarily disconnected from thecircuit by accident, for example, if the unit is droppedonto a hard surface. If this should happen, the datastored in the MCU may not be recovered correctly. Toprotect the battery from accidental misplacement,users may consider using a battery back-up circuit. Thebattery back-up circuit provides a temporary VDDvoltage to the transponder. The circuit is recommendedfor sophisticated transponders, but may not be anecessary mechanism for all applications. In Figure 2,D4 and C1 form the battery back-up circuit. C1 is fullycharged when the battery is connected and providesthe VDD when the battery is momentarily disconnected.

The Batteryless mode is the case when the transpon-der is operating without the battery. In Figure 2, diodesD1, D2, D3 and C1 form a power-up circuit for battery-less operation. When the transponder coil developsvoltages, the coil current flows through the diodes, D1and D2, and charges the capacitor, C1, which can pro-vide the VDD for the transponder. The power-up circuitis useful when the PIC16F639 is used for anti-collisiontransponder applications, where batteryless operationis preferred. The value of the capacitor, C1, for Battery-less mode is from a few μF to a few Farad (F)depending on the application.

0

10

20

30

40

50

60

70

0 20 40 60 80

Bit Setting (steps)

Cap

acita

nce

(pF)

Ch. XCh. YCh. Z

© 2007 Microchip Technology Inc. DS01024B-page 7

Page 8: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

LOW-FREQUENCY SIGNAL DETECTION ALGORITHM AND DETECTOR OUTPUTFigure 8 shows the flow chart of the input signal detec-tion with the wake-up filter enabled.

The MCU firmware, PIC16F639_Basestation.asm, isavailable for download from Microchip’s web site,www.microchip.com (see Appendix A: “SourceCode”).

Examples of the schematics for the PKE transponderand the base station are shown in Appendix B:“Transponder”, Figure B-1, Figure C-1 and Figure C-2respectively. These schematics were developed forcustomer training purposes of the PIC16F639transponder. Users can use the circuits as referenceswhen they develop their own systems. Users can alsorefer to the PKE reference demonstration kit (P/N: APGRD001), which is available from Microchip.

FIGURE 8: PIC16F639 SIGNAL DETECTION FLOW CHART

Start

Input Signal in?

Set AGC Active Status bit(if AGC is on)

Set Input Channel ReceivingStatus bit (CH X, Y or Z)

Wake-up FilterEnabled?

Input SignalDisappeared for

> 16 ms?

Input SignalMeets Wake-up Filter

Requirements?

No

Yes

Set ALERT Output Pin Low

Set Alarm Status Bit High(If ALRTIND Bit is Set)

No

YesSoft Reset

Detected Output on LFDATA Pin (LFDATA output wakes up MCU)

Yes

Yes

No

No Input Signal Continuesfor > 32 ms?

MCU Programs AFEConfiguration Registers

MCU in Sleep Mode(while AFE detects input signals)

No

Yes

Correct Data?

Send Response viaLF Talk-back or RF Link

Yes

No

= Controlled by MCU Firmware

Incorrect

DS01024B-page 8 © 2007 Microchip Technology Inc.

Page 9: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

TRANSPONDER CIRCUITFigure B-1, in Appendix B: “Transponder”, shows anexample of the PKE transponder circuit which has beenused for customer training and device demonstrationpurposes.

The transponder circuit has three external LC resonantcircuits, 5 push button switches, a 433.92 MHzresonator for UHF data transmission and componentsfor Battery Back-up mode.

Each LC resonant circuit is connected to the LC inputand LCCOM pins. The air coil antenna is connected tothe LCX input and the two ferrite-rod inductors areconnected to the LCY and LCZ pins. The LCCOM pinis a common pin for all three antenna connections,which is grounded via C11 and R9. Each resonantantenna must be tuned to the carrier frequency of thebase station unit for the best signal receptionconditions. The internal capacitor of each channel canbe used to tune the antenna for the best performance.

When the device is powered up initially, the digitalsection programs the Configuration registers of theAFE using the SPI (CS, SCLK/ALERT, SDIO).

The AFE is very sensitive to environmental noise dueto its high input sensitivity (~3 mVPP); therefore, takeappropriate care to prevent excess AC noise along thePCB traces. Capacitors C6 and C12 are used for noisefiltering for the VDD and VDDT pins, respectively.

Diodes D1 and D2, and capacitor C5 are for the BatteryBack-up mode. Diodes D2, D3 and D7 and capacitorC5 are for Batteryless mode. A larger C5 value isneeded for stable Batteryless mode operation. Capac-itor C5 holds the charges from the battery and from thecoil voltage through diodes D3 and D7. The storedcharge on C5 can keep the PIC16F639 device pow-ered when the battery is momentarily disconnected.Diodes D3 and D7 are connected across the air coil,which develops the strongest coil voltage among thethree external LC resonant antennas.

Once a valid input signal is detected, the digital MCUsection is waken up and transmits a response if thecommand is valid.

The transponder can send responses using an internalmodulator (LF talk-back) or an external UHFtransmitter. The analog input channel has an internalmodulator (transistor) per channel between the inputand the LCCOM pins. The internal modulator is turnedon and off if the AFE receives Clamp-On and Clamp-Off commands from the digital MCU section,respectively. The antenna voltage is clamped orunclamped depending upon the Clamp-On or Clamp-Off command, respectively. This is called LF talk-back,which is used for proximity range applications only. Thebase station can detect the changes in the transponderantenna voltage and reconstruct the modulation data.

See the PIC12F635/PIC16F636/639 Device DataSheet (DS41232) for more details of the LF talk-back(see “References”).

The transponder uses a UHF transmitter for long rangeapplications. An On-Off-Keying UHF transmitter isformed by the UHF (433.92 MHz) resonator U2 andpower amplifier Q1. The values of capacitors C2 andC3 are approximately 20 pF range each, but are layoutdependent. The L1, which is typically formed by a metaltrace on the PCB, is a UHF antenna and its efficiencyincreases significantly by increasing its loop area.

The UHF transmitter section is turned on when theMCU I/O pin outputs a logic level high; otherwise it isturned off. The output of RC5 is the modulation data ofthe UHF signal and can be reconstructed by the UHFreceiver in the base station.

© 2007 Microchip Technology Inc. DS01024B-page 9

Page 10: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

BASE STATION CIRCUITFigure C-1 and Figure C-2, in Appendix C: “BaseStation”, show an example circuit of the base station,which has been used for customer training and devicedemonstration purposes.

The base station unit consists of a microcontroller,125 kHz transmitter/receiver and an UHF receivermodule.

The base station transmits a 125 kHz low-frequencycommand and receives responses from thetransponders in the field via UHF or LF talk-back. Aftertransmitting the LF commands, it checks whether thereis any response through LF or UHF link.

The 125 kHz transmitter generates a carrier signalbased on the MCU’s Pulse-Width Modulator (PWM)output. The power of the125 kHz square pulses fromthe MCU is boosted by the current driver, U1. Thesquare pulse output from U1 becomes sine waves as itpasses through an LC series resonant circuit that isformed by L1, C2, C3 and C4. L1 is an air-core inductorand is used for the 125 kHz LF antenna.

The antenna radiation becomes maximized when theLC series resonant circuit is tuned to the frequency ofthe PWM signal. At the resonant frequency, theimpedance of the LC circuit is minimized. This resultsin a maximum load current through L1 and thereforeproduces strong magnetic fields. Users may tune theLC circuit by monitoring the coil voltage across L1.

The components after diode D1 are used to receive theLF talk-back signal from the transponder. When thetransponder responds with LF talk-back, there will bechanges in the coil voltage (across L1) due to the mag-netic fields originated by the voltage on the transpondercoil. Since the voltage on the transponder coil is initiallycaused by the voltage of the base station antenna (L1),the return voltage has 180º phase difference withrespect to the originating voltage. Therefore, at a givencondition, the voltage across L1 changes with the coilvoltage of the transponder coil.

The change in the coil voltage (across L1) can bedetected through an envelope detector and low-passfilter formed by D1 and C5. The detected envelopepasses through active gain filters, U2A and U2B. Thedemodulated analog output is fed into the comparatorinput pin of the MCU for pulse shaping. The output ofthe comparator is available on TP6 and decoded by theMCU.

U4 is the 433.92 MHz ASK receiver module. Thisreceiver module detects the transponder’s UHFresponses. The digital output from this module is fedinto the MCU for decoding. An antenna (a few incheslong) is typically attached to the antenna pad of themodule to receive a signal in stable condition. Since thereceiver module is next to the LF transmitter section,which produces strong fields, the module typicallyoutputs noise. Therefore, it may require an adequatefirmware routine to filter out the noise inputs.

The base station unit displays the data on the LCD orturns on the buzzer each time valid data is received.

FIRMWARE EXAMPLESFirmware examples, including HTML documentationfor the transponder and the base station units are avail-able in an archived file (see Appendix A: “SourceCode”).

The main firmware files for the transponder and thebase station are PIC16F639_Transponder.asm andPIC16F639_BaseStation.asm, respectively.

The firmware does not use the KEELOQ® security ICalgorithm. Contact Microchip sales for assistance if youwant to use KEELOQ security ICs in your design.

Figure 9 shows an example of the handshake betweenthe base station and the transponder.

Figure 10 shows a communication example betweenthe transponder and base station units by using thefirmware.

FIGURE 9: EXAMPLE OF HANDSHAKE BETWEEN BASE STATION AND TRANSPONDER

Base Station Transmits:(Step 1)

AGC Stabilization Pulse + Wake-up Filter + 10 bits (ID Command + Parity + Stop Bit)

Transponder Transmits:(Step 2)

Header + ID (32 bits) + 4 Parity bits

Base Station Transmits:(Step 3)

AGC Stabilization Pulse + Wake-up Filter + IFF Command (8 bits) +Challenge (32 bits) + 5 Parity bits + Stop Bit (46 bits)

Transponder Transmits:(Step 4)

Header + Response (32 bits) + 4 Parity bits (36 bits)

Base Station: Display message on LCD

DS01024B-page 10 © 2007 Microchip Technology Inc.

Page 11: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

FIGURE 10: COMMUNICATION LINK BETWEEN BASE STATION AND TRANSPONDER

CONCLUSIONThe PIC16F639 device is an easy-to-use, low cost andsecure bidirectional communication transponder. Thisdevice can be used for various smart hands-freepassive keyless entry applications. A basic configura-tion of the Passive Keyless Entry (PKE) transponder isshown in Figure 2. Example schematics for the tran-sponder and the base station are shown in AppendixB: “Transponder” and Appendix C: “Base Station”.

The firmware examples for the transponder and thebase station are also provided (see Appendix A:“Source Code”). Users can modify the providedexamples for their application purposes.

MEMORY USAGE

Transponder:• Program Memory – 1131 words• Data Memory – 65 Bytes

Base Station:• Program Memory – 1178 words• Data Memory – 405 Bytes

REFERENCES“PIC12F635/PIC16F636/639 Data Sheet,” DS41232,Microchip Technology Inc.

AN710, “Antenna Circuit Design for RFIDApplications,” Application Note (DS00710), MicrochipTechnology Inc.

AN959, “Using the PIC16F639 MCU for SmartWireless Applications,” Application Note (DS00950),Microchip Technology Inc.

TB088, “PIC16F639 Microcontroller Overview,”Technical Brief (DS91088) Microchip Technology Inc.

TB090, “MCP2030 Three - Channel Analog Front-EndDevice Overview,” Technical Brief (DS91090A)Microchip Technology Inc.

“MCP2030 Data Sheet”, (DS21981), MicrochipTechnology Inc.

“Coilcraft Data Sheet”, (P/N 4308 and 5315 Series);http://www.coilcraft.com

Base Station Command

TransponderResponse

Step 1

Step 2

Step 3

Step 4

© 2007 Microchip Technology Inc. DS01024B-page 11

Page 12: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

APPENDIX A: SOURCE CODEThe complete source code, including any firmwareapplications and necessary support files, is availablefor download as a single archive file from the Microchipcorporate web site, at:

www.microchip.com

DS01024B-page 12 © 2007 Microchip Technology Inc.

Page 13: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

APPENDIX B: TRANSPONDER

FIGURE B-1: TRANSPONDER SCHEMATIC SHEET 1 OF 1

© 2007 Microchip Technology Inc. DS01024B-page 13

Page 14: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

FIGURE B-2: TOP MASK VIEW OF TRANSPONDER

DS01024B-page 14 © 2007 Microchip Technology Inc.

Page 15: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

FIGURE B-3: BOTTOM MASK VIEW OF TRANSPONDER

© 2007 Microchip Technology Inc. DS01024B-page 15

Page 16: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

APPENDIX C: BASE STATION

FIGURE C-1: BASE STATION SCHEMATIC SHEET 1 OF 2

DS01024B-page 16 © 2007 Microchip Technology Inc.

Page 17: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

FIGURE C-2: BASE STATION SCHEMATIC SHEET 2 OF 2

© 2007 Microchip Technology Inc. DS01024B-page 17

Page 18: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

FIGURE C-3: TOP MASK VIEW OF BASE STATION

FIGURE C-4: BOTTOM MASK VIEW OF BASE STATION

DS01024B-page 18 © 2007 Microchip Technology Inc.

Page 19: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

APP

END

IX D

:B

ILL

OF

MA

TER

IALS

FIG

UR

E D

-1:

TRA

NSP

ON

DER

BO

MQ

tyC

ompo

nent

Nam

eR

efD

esVa

lue

Des

crip

tion

Mfr.

Mfr.

P/N

Not

es

1B

TH-2

0MM

-PTH

-MTL

BT1

3V/6

V20

MM

TH

RU

HO

LE M

T C

OIN

HO

LDER

Key

ston

e® E

lect

roni

cs30

03

1C

AP

-060

3-D

OU

BLE

CX

180p

FC

AP,

180P

F,50

V,C

ER

AM

IC,0

603,

SM

DP

anas

onic

®E

CJ-

1VC

1H18

1J

2C

AP

-060

3-D

OU

BLE

CY

CZ

220p

FC

AP,

220P

F,50

V,C

ER

AM

IC,0

603,

SM

DP

anas

onic

EC

J-1V

C1H

221J

2C

AP

-CR

CW

0603

C5

C9

1uF

CA

P 1

UF

16V

CE

RA

MIC

F 0

603

Pan

ason

icE

CJ-

1VF1

C10

5Z

1C

AP

-CR

CW

0603

C2

0.5p

FC

AP,

0.5P

F,50

V,C

ER

AM

IC,0

603,

SM

DP

anas

onic

EC

J-1V

C1H

0R5C

1C

AP

-CR

CW

0603

C3

18pF

CA

P,18

PF,

50V,

CE

RA

MIC

,060

3,S

MD

Pan

ason

icE

CJ-

1VC

1H18

0J

2C

AP

-CR

CW

0603

C7a

C7b

10uF

CA

P C

ER

10U

F 10

V 1

0% X

5R 0

805

Mur

ata®

Ele

ctro

nics

GR

M21

BR

61A

106K

E19L

2C

AP

-CR

CW

0603

C4

C6

100n

FC

AP

CE

R 0

.10U

F 50

V X

7R 1

0% 0

603

TDK

C16

08X

7R1H

104K

1C

AP

-CR

CW

0603

C8

100p

FC

AP

CE

RA

MIC

100

PF

50V

NP

0 06

03B

C C

ompo

nent

sV

J060

3A10

1JX

AC

W1B

C

1C

AP

-CR

CW

0603

C13

300p

FC

AP

CE

RM

300

PF

5% 5

0V C

0G 0

603

Roh

MC

H18

5A30

1JK

1C

AP

-CR

CW

0603

C1

470p

FC

AP,

470P

F,50

V,C

ER

AM

IC,0

603,

SM

DP

anas

onic

EC

U-V

1H47

1KB

V

2C

AP

-CR

CW

1206

C11

C12

1uF

CA

P 1

UF

25V

CE

RA

MIC

X7R

120

6P

anas

onic

EC

J-3Y

B1E

105K

1C

AP

-CR

CW

1206

C10

10uF

CA

P 1

0UF

16V

CE

RA

MIC

F 1

206

Pan

ason

icE

CJ-

3YF1

C10

6Z

2D

IO-1

N41

48W

S-S

OD

-323

D3

D7

1N41

48W

SD

IOD

E S

WIT

CH

75V

200

MW

SO

D-3

23D

iode

s In

c.1N

4148

WS

-7

1D

IO-M

A2S

784-

SS

-MIN

ID

1M

A2S

784

DIO

DE

SC

HO

TTK

Y 3

0V 1

00M

A S

S-M

INI

Pan

ason

icM

A2S

784-

(TX)

1D

IO-Z

EN

ER

-BZX

84-S

OT2

3D

25.

1VD

IOD

E ZE

NE

R 5

.1V

0.3

5W S

OT-

23Fa

irchi

ld®

Tech

nolo

gies

BZX

84C

5V1

1H

DR

-1X

6J2

1X6

CO

NN

HE

ADE

R 1

X6

.100

" PIT

CH

Sam

tec®

TSW

-106

-07-

S-S

1IC

P-P

IC16

F639

/P-2

0PIN

-PD

IPU

1P

IC16

F639

/PP

IC, M

ICR

OC

HIP

, 16F

639,

20-

PIN

, PD

IPM

icro

chip

PIC

16F6

39/P

1IN

D-A

IR-9

MH

-PIN

S-IN

SID

ELX

9.0m

HC

OIL

, AIR

, CR

ED

IT C

AR

D, 4

0AW

GA

mat

ech

10-0

0269

3IN

D-P

RO

TO2

LX_A

LT7.

1mH

IND

UC

TOR

,RFI

D,T

RA

NS

PO

ND

ER

Coi

lcra

ft, In

c43

08R

V-71

5XJB

DD

O N

OT

STU

FF

LX_A

LTIN

D-P

RO

TO2

LY7.

1mH

IND

-PR

OTO

2LZ

7.1m

H

3JM

P-2P

IN-V

IAS

JP1

JP3

JP10

1X2

CO

NN

HE

ADE

R 1

X2

.100

" PIT

CH

Sam

tec

TSW

-102

-07-

S-S

7JM

P-3P

IN-V

IAS

JP2

JP4

JP5

JP6

JP7

JP8

JP9

1X3

CO

NN

HE

ADE

R 1

X3

.100

" PIT

CH

Sam

tec

TSW

-103

-07-

S-S

© 2007 Microchip Technology Inc. DS01024B-page 19

Page 20: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

3LE

D-S

ML-

LX23

1C-T

R-R

ED-

2X3M

M-S

MD

4D

5D

6

RE

DLE

D 2

X3M

M 6

35N

M R

ED

WTR

CLR

SM

DLu

mex

®S

ML-

LX23

IC-T

R

5R

ES

-CR

CW

0603

R6

R10

R12

R14

R16

4.7K

RE

S 4

.75K

OH

M 1

/10W

1%

060

3 S

MD

Yage

o®9C

0603

1A47

51FK

HFT

1R

ES

-CR

CW

0603

R4

10R

ES

10.

0 O

HM

1/1

0W 1

% 0

603

SM

DYa

geo

9C06

031A

10R

0FK

HFT

1R

ES

-CR

CW

0603

R1

47R

ES

47.

0 O

HM

1/1

6W 1

% 0

603

SM

DYa

geo

9C06

031A

47R

0FK

HFT

1C

RC

W06

03R

247

KR

ES

47.

0K O

HM

1/1

6W 1

% 0

603

SM

DYa

geo

9C06

031A

4702

FKH

FT

2C

RC

W06

03R

13R

1810

0KR

ES

100

K O

HM

1/1

0W 1

% 0

603

SM

DYa

geo

9C06

031A

1003

FKH

FT

1C

RC

W06

03R

322

0R

ES

220

OH

M 1

/16W

1%

060

3 S

MD

Yage

o9C

0603

1A22

00FK

HFT

1C

RC

W06

03R

1927

0R

ES

270

OH

M 1

/16W

1%

060

3 S

MD

Yage

o9C

0603

1A27

00FK

HFT

6C

RC

W06

03R

5R

11R

15R

17R

22R

23

475

RE

S 4

75 O

HM

1/1

6W 1

% 0

603

SM

DYa

geo

9C06

031A

4750

FKH

FT

2C

RC

W12

06R

7R

910

MR

ES

10.

0M O

HM

1/1

0W 1

% 0

603

SMD

Yage

o9C

1206

3A10

05FK

HFT

1C

RC

W12

06R

8R

limit

1.7

RE

S 1

.00

OH

M 1

/4W

1%

120

6 S

MD

Yage

o9C

1206

3A1R

00FG

HFT

1C

RC

W06

03U

243

3.92

MH

zR

ES

ON

ATO

R S

AW 4

33.9

2MH

Z 1

PO

RT

EC

S E

lect

roni

csE

CS

-SD

R1-

4339

-TR

6S

WT-

EVQ

-PLM

A15

SW

0S

W1

SW

2S

W3

SW

4S

W5

MO

M-N

OLI

GH

T TO

UC

H S

WIT

CH

SM

D 2

60G

F 5M

MP

anas

onic

EV

Q-P

LMA1

5

1TR

S-N

E94

433-

SO

T23-

3Q

1N

E-9

4433

TRA

NS

NP

N O

SC

FT=

2GH

Z S

OT-

23N

EC

® E

lect

roni

csN

E944

33-T

1B

5TS

P-P

60R

38TP

1TP

CTP

XTP

YTP

Z

RFP

EN

TES

T P

OIN

T P

C M

INI .

040"

D W

HIT

EK

eyst

one

Ele

ctro

nics

5002

1C

R20

32 3

V B

ATTE

RY

ST1

Lith

ium

Cel

lB

ATTE

RY

20M

M L

ITH

IUM

CO

INP

anas

onic

-BS

GC

R20

32

10S

HO

RTI

NG

SH

UN

TJ1

-J10

Shu

ntC

ON

N J

UM

PE

R S

HO

RTI

NG

SH

UN

T TI

NS

ullin

s®S

TC02

SYA

N

1S

OC

KE

T 20

-PIN

SU

1S

ocke

tP

CB

TR

ANSP

ON

DER

CC

W/G

ND

M

ill-M

ax®

110-

99-3

20-4

1-00

1000

1P

CB

PC

B1

PC

B P

LAN

EM

icro

chip

05-5

0011

_Rev

B.p

cb

FIG

UR

E D

-1:

TRA

NSP

ON

DER

BO

M (C

ON

TIN

UED

)Q

tyC

ompo

nent

Nam

eR

efD

esVa

lue

Des

crip

tion

Mfr.

Mfr.

P/N

Not

es

DS01024B-page 20 © 2007 Microchip Technology Inc.

Page 21: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

FIG

UR

E D

-2:

BA

SE S

TATI

ON

BO

MQ

tyC

ompo

nent

Nam

eR

efD

esVa

lue

Des

crip

tion

Mfr.

Mfr.

P/N

Not

es

1A

NTE

NN

A-L

EAD

A1

6.8”

20M

M T

HR

U H

OLE

MT

CO

IN H

OLD

ER

Key

ston

e® E

lect

roni

cs30

03

2C

AP-2

00LS

-NO

NP

OLA

RC

AP-2

00LS

-NO

NP

OLA

RC

3C

40.

200L

SC

AP,1

80P

F,50

V,C

ER

AMIC

,060

3,S

MD

Pan

ason

ic®

EC

J-1V

C1H

181J

1C

AP-2

50LS

-NO

NP

OLA

RC

51.

0nF

CAP

,220

PF,

50V,

CE

RAM

IC,0

603,

SM

DP

anas

onic

EC

J-1V

C1H

221J

1C

AP-3

75LS

-NO

NP

OLA

RC

62.

2nF

CAP

1U

F 16

V C

ERA

MIC

F 0

603

Pan

ason

icE

CJ-

1VF1

C10

5Z

5C

AP-C

RC

W12

06C

AP-C

RC

W12

06C

AP-C

RC

W12

06C

AP-C

RC

W12

06C

AP-C

RC

W12

06

C1

C7

C10

C16

C24

0.1u

FC

AP,0

.5P

F,50

V,C

ERA

MIC

,060

3,S

MD

Pan

ason

icE

CJ-

1VC

1H0R

5C

2C

AP-C

RC

W12

06C

AP-C

RC

W12

06C

9C

1210

nFC

AP,1

8PF,

50V,

CE

RA

MIC

,060

3,S

MD

Pan

ason

icE

CJ-

1VC

1H18

0J

2C

AP-C

RC

W12

06C

AP-C

RC

W12

06C

22C

2320

pFC

AP C

ER 1

0UF

10V

10%

X5R

080

5M

urat

a® E

lect

roni

csG

RM

21B

R61

A10

6KE

19L

1C

AP-C

RC

W12

06C

810

0pF

CAP

CER

0.1

0UF

50V

X7R

10%

060

3TD

KC

1608

X7R

1H10

4K

1C

AP-C

RC

W12

06C

1115

0pF

CAP

CER

AM

IC 1

00P

F 50

V N

P0

0603

VJ0

603A

101J

XA

CW

1BC

1C

AP-E

CQ

-P41

03JU

C2

10nF

CAP

CER

M 3

00P

F 5%

50V

C0G

060

3R

ohm

®M

CH

185A

301J

K

1C

AP-E

IA32

16-A

C15

10uF

C

AP,4

70P

F,50

V,C

ER

AMIC

,060

3,S

MD

Pan

ason

icE

CU

-V1H

471K

BV

2C

AP-C

RC

W08

05C

AP-C

RC

W08

05C

17C

181u

FC

AP 1

UF

25V

CER

AM

IC X

7R 1

206

Pan

ason

icE

CJ-

3YB

1E10

5K

1C

AP-R

AD

-160

D06

0SC

1447

uFC

AP 1

0UF

16V

CE

RA

MIC

F 1

206

Pan

ason

icE

CJ-

3YF1

C10

6Z

1C

AP-R

AD

-400

D20

0SC

1310

0uF

DIO

DE

SW

ITC

H 7

5V 2

00M

W S

OD

-323

Dio

des

Inc.

1N41

48W

S-7

1C

NN

-DB

9-M

ALE

-RA

-PTH

J2D

E-9

P (M

ale)

DIO

DE

SC

HO

TTKY

30V

100

MA

SS

-MIN

IP

anas

onic

MA

2S78

4-(T

X)

1C

NN

-PO

WE

R-IN

-MO

D-2

.5M

MJ4

2.5m

mD

IOD

E Z

EN

ER

5.1

V 0

.35W

SO

T-23

Fairc

hild

® Te

chno

logi

esB

ZX84

C5V

1

1R

J11_

6PIN

J3IC

DC

ON

N H

EA

DE

R 1

X6

.100

" PIT

CH

Sam

tec®

TSW

-106

-07-

S-S

1A

MP

7709

69J1

PIC

, MIC

RO

CH

IP, 1

6F63

9, 2

0-P

IN, P

DIP

Mic

roch

ipP

IC16

F639

/P

2D

IO-1

0MQ

100N

-SM

A-S

MT

DIO

-10M

Q10

0N-S

MA

-SM

TD

5D

810

MQ

100N

CO

IL, A

IR, C

RE

DIT

CA

RD

, 40A

WG

Am

atec

h10

-002

69

1D

IO-U

F100

5-PT

H-D

O-4

1D

1U

F100

5IN

DU

CTO

R,R

FID

,TR

AN

SPO

ND

ER

Coi

lcra

ft, In

c43

08R

V-71

5XJB

D

1D

IOD

E-D

O21

4AA

D7

1N41

48D

IOD

E S

WIT

CH

75V

500

MW

MIN

IME

LFD

iode

s In

c.LL

4148

-13

4D

IOD

E-D

O21

4AA

DIO

DE

-DO

214A

AD

IOD

E-D

O21

4AA

DIO

DE

-DO

214A

A

D4

D9

D10

D11

1N58

19R

ECT

SC

HO

TTK

Y 1A

40V

DO

-214

AA

Mic

ro C

omm

.S

MB

5819

1D

IOD

E-D

O-4

1D

61N

4750

DIO

DE

ZE

NE

R 2

7V 1

W 5

% D

O-4

1D

iode

s In

c.1N

4750

A-T

1IC

A-M

CP6

022/

SN

-SO

IC-8

PIN

U2

MC

P60

22M

icro

chip

MC

P60

22-I/

SN

1M

CP

201-

SO

8-15

0U

5M

CP

201

Mic

roch

ipM

CP

201-

I/SN

1IC

A-T

C44

22C

AT-T

O22

0-5L

EAD

U1

TC44

22C

ATM

icro

chip

TC44

22C

AT

1IC

P-P

IC18

F468

0/P

-40P

DIP

U3

PIC

18F4

58/P

Mic

roch

ipP

IC18

F458

-I/P

1M

CP

2551

-SO

8U

6M

CP

2551

Mic

roch

ipM

CP

2551

-I/SN

© 2007 Microchip Technology Inc. DS01024B-page 21

Page 22: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

1IN

D-A

IR-1

0-00

189-

500V

-PTH

L116

0uH

IND

160

UH

500

V AI

RW

ireBe

nder

s®10

-001

89

1IN

D-D

O50

22P

-SM

TL2

DO

5022

PIN

D

Coi

lcra

ft, In

c.D

o N

ot

Popu

late

1LC

D_2

X16

_CO

GLC

D1

{Val

ue}

LCD

Uni

ted

Rad

iant

UM

SH

-311

2JN

V-1G

2LE

D-S

ML-

LX23

1C-T

R-R

ED

-2X

3MM

-S

MD

2D

3G

RN

LED

2X

3MM

565

NM

GR

N W

TR C

LR S

MD

Lum

exS

ML-

LX23

GC

-TR

1R

ES08

05R

141K

RES

1.0

0K O

HM

1/8

W 1

% 0

805

SM

DYa

geo

9C08

052A

1001

FKH

FT

1R

ES08

05R

134.

7KR

ES 4

.75K

OH

M 1

/8W

1%

080

5 S

MD

Yage

o9C

0805

2A47

51FK

HFT

2R

ES08

05R

ES08

05R

18R

1915

KR

ES 1

5.0K

OH

M 1

/8W

1%

080

5 S

MD

Yage

o9C

0805

2A15

02FK

HFT

2R

ES08

05R

ES08

05R

17R

2025

KR

ES 2

4.9K

OH

M 1

/8W

1%

080

5 S

MD

Yage

o9C

0805

2A12

492F

KHFT

1R

ES08

05R

1512

0R

ES 1

21 O

HM

1/8

W 1

% 0

805

SM

DYa

geo

9C08

052A

1210

FKH

FTD

o N

ot

Popu

late

1R

ES08

05R

21D

o N

ot P

op.

RES

121

OH

M 1

/8W

1%

080

5 S

MD

Yage

o

1R

ES08

05R

250

RES

0.0

OH

M 1

/8W

5%

080

5 S

MD

Yage

o9C

0805

2A0R

00JL

HFT

1R

ES-C

RC

W12

06R

121K

RES

1.0

0K O

HM

1/4

W 1

% 1

206

SM

DYa

geo

9C12

063A

1001

FKH

FT

1R

ES-C

RC

W12

06R

63.

92K

RES

3.9

2K O

HM

1/4

W 1

% 1

206

SM

DYa

geo

9C12

063A

3921

FKH

FT

1R

ES-C

RC

W12

06R

94.

87K

RES

4.8

7K O

HM

1/4

W 1

% 1

206

SM

DYa

geo

9C12

063A

4871

FKH

FT

1R

ES-C

RC

W12

06R

34.

99K

RES

4.9

9K O

HM

1/4

W 1

% 1

206

SM

DYa

geo

9C12

063A

4991

FKH

FT

4R

ES-C

RC

W12

06R

1R

2R

11R

22

4.99

MR

ES 4

.99M

OH

M 1

/4W

1%

120

6 S

MD

Yage

o9C

1206

3A49

94FK

HFT

1R

ES-C

RC

W12

06R

105.

11K

RES

5.1

1K O

HM

1/4

W 1

% 1

206

SM

DYa

geo

9C12

063A

5111

FKH

FT

1R

ES-C

RC

W12

06R

716

.5K

RES

16.

5K O

HM

1/4

W 1

% 1

206

SM

DYa

geo

9C12

063A

1652

FKH

FT

2R

ES-C

RC

W12

06R

ES-C

RC

W12

06R

23R

2449

.9K

RES

49.

9K O

HM

1/4

W 1

% 1

206

SM

DYa

geo

9C12

063A

4992

FKH

FT

1R

ES-C

RC

W12

06R

878

.7K

RES

78.

7K O

HM

1/4

W 1

% 1

206

SM

DYa

geo

9C12

063A

7872

FKH

FT

1R

ES-C

RC

W12

06R

480

.6K

RES

80.

6K O

HM

1/4

W 1

% 1

206

SM

DYa

geo

9C12

063A

8062

FKH

FT

1R

ES-C

RC

W12

06R

516

2KR

ES 1

62K

OH

M 1

/4W

1%

120

6 S

MD

Yage

o9C

1206

3A16

23FK

HFT

1R

ES-C

RC

W12

06R

1627

0R

ES 2

70 O

HM

1/4

W 1

% 1

206

SM

DYa

geo

9C12

063A

2700

FKH

FT

1R

F-M

OD

ULE

-RR

8U

443

3.92

MH

zR

R8

433.

92M

HZ

ASK

RF

RE

CE

IVE

RTe

llico

ntro

lliA

MH

RR

3-43

3

7TS

P-P

90R

60TP

1TP

2TP

3TP

4TP

5TP

6TP

7

WH

ITE

ST

POIN

T P

C M

ULT

I PU

RP

OSE

WH

IK

eyst

one

Ele

ctro

nics

5012

2TS

P-P

90R

60TP

8TP

9B

LKTE

ST

POIN

T P

C M

ULT

I PU

RP

OSE

BLK

Key

ston

e E

lect

roni

cs50

11

FIG

UR

E D

-2:

BA

SE S

TATI

ON

BO

M (C

ON

TIN

UED

)Q

tyC

ompo

nent

Nam

eR

efD

esVa

lue

Des

crip

tion

Mfr.

Mfr.

P/N

Not

es

DS01024B-page 22 © 2007 Microchip Technology Inc.

Page 23: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

1V

RG

-5.0

V-ZM

R50

0F-S

OT2

3 (2

23)

VR

1LM

3480

IM3-

5.0

IC 5

.0 1

00M

A L

DO

VR

EG S

OT2

3N

atio

nal S

emic

ondu

ctor

LM34

80IM

3-5.

0

1X

TL-2

00LS

-PTH

-CA

NY

120

.0M

Hz

CR

YSTA

L 20

.000

MH

Z 20

PF

HC

-49/

US

EC

S In

c.E

CS

-200

-20-

4

1S

OC

-SO

CK

ET-

MA

CH

.PIN

S-4

0-P

INS

U3

40-P

INIC

SO

CK

ET

40P

IN M

S T

IN/T

IN .6

00M

ill-M

ax C

orp.

110-

93-6

40-4

1-00

1000

1P

CB

-BLA

NK

PC

B1M

icro

chip

05-5

0020

_Rev

B

1B

UZZ

ERB

Z1AU

D S

IG D

EV

ICE

3-2

0VD

C P

CB

Mal

lory

Son

aler

tM

SR

320

1N

O P

ATTE

RN

- M

OD

IFIC

ATIO

NR

mod

1*11

.0K

RES

11.

0K O

HM

1/4

W 1

% M

ETA

L FI

LMYa

geo

MFR

-25F

BF-

11K

0

1N

O P

ATTE

RN

- M

OD

IFIC

ATIO

ND

mod

1*1N

4141

8R

ECTI

FIE

R S

ILIC

ON

.15A

75V

DO

-35

Mic

ro C

omm

erci

al1N

4148

FIG

UR

E D

-2:

BA

SE S

TATI

ON

BO

M (C

ON

TIN

UED

)Q

tyC

ompo

nent

Nam

eR

efD

esVa

lue

Des

crip

tion

Mfr.

Mfr.

P/N

Not

es

© 2007 Microchip Technology Inc. DS01024B-page 23

Page 24: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

AN1024

NOTES:

DS01024B-page 24 © 2007 Microchip Technology Inc.

Page 25: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

Note the following details of the code protection feature on Microchip devices:• Microchip products meet the specification contained in their particular Microchip Data Sheet.

• Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions.

• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property.

• Microchip is willing to work with the customer who is concerned about the integrity of their code.

• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.”

Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of ourproducts. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such actsallow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.

Information contained in this publication regarding deviceapplications and the like is provided only for your convenienceand may be superseded by updates. It is your responsibility toensure that your application meets with your specifications.MICROCHIP MAKES NO REPRESENTATIONS ORWARRANTIES OF ANY KIND WHETHER EXPRESS ORIMPLIED, WRITTEN OR ORAL, STATUTORY OROTHERWISE, RELATED TO THE INFORMATION,INCLUDING BUT NOT LIMITED TO ITS CONDITION,QUALITY, PERFORMANCE, MERCHANTABILITY ORFITNESS FOR PURPOSE. Microchip disclaims all liabilityarising from this information and its use. Use of Microchipdevices in life support and/or safety applications is entirely atthe buyer’s risk, and the buyer agrees to defend, indemnify andhold harmless Microchip from any and all damages, claims,suits, or expenses resulting from such use. No licenses areconveyed, implicitly or otherwise, under any Microchipintellectual property rights.

© 2007 Microchip Technology Inc.

Trademarks

The Microchip name and logo, the Microchip logo, Accuron, dsPIC, KEELOQ, KEELOQ logo, microID, MPLAB, PIC, PICmicro, PICSTART, PRO MATE, PowerSmart, rfPIC, and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

AmpLab, FilterLab, Linear Active Thermistor, Migratable Memory, MXDEV, MXLAB, PS logo, SEEVAL, SmartSensor and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A.

Analog-for-the-Digital Age, Application Maestro, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, PICkit, PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

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.

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

Printed on recycled paper.

DS01024B-page 25

Microchip received ISO/TS-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona, Gresham, Oregon and Mountain View, California. The Company’s quality system processes and procedures are for its PIC®

MCUs and dsPIC® DSCs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001:2000 certified.

Page 26: AN1024 - Microchip Technologyww1.microchip.com/downloads/en/AppNotes/01024B.pdf · transmits a Low-Frequency (LF) command that searches for a transponder in the field. Once located,

DS01024B-page 26 © 2007 Microchip Technology Inc.

AMERICASCorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200 Fax: 480-792-7277Technical Support: http://support.microchip.comWeb Address: www.microchip.comAtlantaDuluth, GA Tel: 678-957-9614 Fax: 678-957-1455BostonWestborough, MA Tel: 774-760-0087 Fax: 774-760-0088ChicagoItasca, IL Tel: 630-285-0071 Fax: 630-285-0075DallasAddison, TX Tel: 972-818-7423 Fax: 972-818-2924DetroitFarmington Hills, MI Tel: 248-538-2250Fax: 248-538-2260KokomoKokomo, IN Tel: 765-864-8360Fax: 765-864-8387Los AngelesMission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608Santa ClaraSanta Clara, CA Tel: 408-961-6444Fax: 408-961-6445TorontoMississauga, Ontario, CanadaTel: 905-673-0699 Fax: 905-673-6509

ASIA/PACIFICAsia Pacific OfficeSuites 3707-14, 37th FloorTower 6, The GatewayHabour City, KowloonHong KongTel: 852-2401-1200Fax: 852-2401-3431Australia - SydneyTel: 61-2-9868-6733Fax: 61-2-9868-6755China - BeijingTel: 86-10-8528-2100 Fax: 86-10-8528-2104China - ChengduTel: 86-28-8665-5511Fax: 86-28-8665-7889China - FuzhouTel: 86-591-8750-3506 Fax: 86-591-8750-3521China - Hong Kong SARTel: 852-2401-1200 Fax: 852-2401-3431China - QingdaoTel: 86-532-8502-7355Fax: 86-532-8502-7205China - ShanghaiTel: 86-21-5407-5533 Fax: 86-21-5407-5066China - ShenyangTel: 86-24-2334-2829Fax: 86-24-2334-2393China - ShenzhenTel: 86-755-8203-2660 Fax: 86-755-8203-1760China - ShundeTel: 86-757-2839-5507 Fax: 86-757-2839-5571China - WuhanTel: 86-27-5980-5300Fax: 86-27-5980-5118China - XianTel: 86-29-8833-7250Fax: 86-29-8833-7256

ASIA/PACIFICIndia - BangaloreTel: 91-80-4182-8400 Fax: 91-80-4182-8422India - New DelhiTel: 91-11-4160-8631Fax: 91-11-4160-8632India - PuneTel: 91-20-2566-1512Fax: 91-20-2566-1513Japan - YokohamaTel: 81-45-471- 6166 Fax: 81-45-471-6122Korea - GumiTel: 82-54-473-4301Fax: 82-54-473-4302Korea - SeoulTel: 82-2-554-7200Fax: 82-2-558-5932 or 82-2-558-5934Malaysia - PenangTel: 60-4-646-8870Fax: 60-4-646-5086Philippines - ManilaTel: 63-2-634-9065Fax: 63-2-634-9069SingaporeTel: 65-6334-8870Fax: 65-6334-8850Taiwan - Hsin ChuTel: 886-3-572-9526Fax: 886-3-572-6459Taiwan - KaohsiungTel: 886-7-536-4818Fax: 886-7-536-4803Taiwan - TaipeiTel: 886-2-2500-6610 Fax: 886-2-2508-0102Thailand - BangkokTel: 66-2-694-1351Fax: 66-2-694-1350

EUROPEAustria - WelsTel: 43-7242-2244-39Fax: 43-7242-2244-393Denmark - CopenhagenTel: 45-4450-2828 Fax: 45-4485-2829France - ParisTel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79Germany - MunichTel: 49-89-627-144-0 Fax: 49-89-627-144-44Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781Netherlands - DrunenTel: 31-416-690399 Fax: 31-416-690340Spain - MadridTel: 34-91-708-08-90Fax: 34-91-708-08-91UK - WokinghamTel: 44-118-921-5869Fax: 44-118-921-5820

WORLDWIDE SALES AND SERVICE

12/08/06