Hcs 101
Hcs 101
HCS101
• Automatic code-word completion S1 2 7 NC
• Battery low signal transmitted to receiver
S2 3 6 DATA
Other
• Pin-out compatible with most Keeloq Encoders NC 4 5 VSS
• Simple programming interface
• On-chip EEPROM HCS101 BLOCK DIAGRAM
• On-chip oscillator and timing components
• Button inputs have internal pulldown resistors Power
• Minimum External Components required Oscillator latching
Controller and
Typical Applications switching
Reset Circuit
The HCS101 is ideal for remote control applications.
These applications include:
• Low-end automotive alarm systems
EEPROM
• Low-end automotive immobilizers
• Gate and garage door openers
• Identity tokens DATA Transmit register
• Low-end burglar alarm systems
• Fan and lighting controls
VSS Button input port
• Toys
VDD
DESCRIPTION S2 S1 S0
Serial Number 3
Counter
Serial Number 1
NC VSS
Reset and Debounce Delay
2 button remote control
Sample Inputs
VDD
B3 B2 B1 B0
Update Counter
S1 NC Transmit
S2 DATA Tx out
Pin
Name Description Stop
Number
S0 1 Switch input 0
S1 2 Switch input 1
S2 3 Switch input 2/Clock pin for
programming mode
NC 4 No connection
VSS 5 Ground reference connection
DATA 6 Pulse width modulation (PWM)
output pin/Data pin for
programming mode
NC 7 No connection
VDD 8 Positive supply voltage connection
3.1 Transmission Format (PWM Mode) The HCS101 transmits a 66-bit code-word. The 66-bit
word is constructed from the serial numbers, counter
The HCS101 transmission is made up of several code- and function information. The code-word format is
words as shown in Figure 3-1. Each code-word starts shown in Figure 3-2.
with a preamble and a header, followed by the data. Under normal conditions, serial number 1 is transmitted
The code-word is followed by a guard period before the with the counter and serial number 3. If all the buttons
next code-word begins. The same code-word is trans- are pressed, serial number 2 is transmitted in place of
mitted as long as the button is pressed. Refer to the counter and serial number 3.
Table 7-4 for transmission timing requirements.
LOGIC ‘0’
LOGIC ‘1’
Bit
Period
Guard
Preamble Header Counter, SER_3 SER_1 Time
Tp Th and Function and Function Tg
Start Pulse
(Te)
‘1’ VLOW Function** Serial Number 1 Counter Function ‘00’ Serial Number 3
(1 bit) (1 bit) (0/4 bits) (16 bits) (4 bits) (2 bits) (10 bits)
(32/28 bits)**
S2 S1 S0 S3*
4.3 Configuration Word BRS selects the speed of transmission and the code-
word blanking. Table 4-3 shows how the bit is used to
The configuration word is a 16-bit word stored in the select the different baud rates and Section 5.2 provides
EEPROM array that is used by the device to store the a detailed explanation in code-word blanking.
status configuration options. Further explanations of
each of the bits are described in the following sections. TABLE 4-3: BAUDRATE SELECT
Basic Pulse Code-Words
BRS
Element Transmitted
0 400µs All
1 200µs 1 out of 2
5.3 Auto-Shutoff
The auto-shutoff function automatically stops the
device from transmitting if a button inadvertently gets
pressed for longer than the time-out period, TTO. This
will prevent the device from draining the battery if a but-
ton gets pressed while the transmitter is in a pocket or
purse.
BRS = 1
2A
Time
LD
O
H
TCLKH TDS
TP
TCLKL
S2
(Clock)
H
L
LK
LK
C
C
TPS TPH1
TA
TWC
TA
TCLKL TDH
DATA
Bit 0 Bit 1 Bit 2 Bit 3 Bit 14 Bit 15 Bit 16 Bit 17
(Data)
Note: S0 and S1 button inputs to be held to ground during the entire programming sequence.
DATA
Bit190 Bit191 Bit 0 Bit 1 Bit 2 Bit 3 Bit 14 Bit 15 Bit 16 Bit 17 Bit190 Bit191
(Data)
TDV
S2
(Clock)
TWC
Note: If a Verify operation is to be done, then it must immediately follow the Program cycle.
Sn
Data Word
Preamble Header Transmission
P1 P12 Bit 0 Bit 1
24 TE 10 TE
Bit 0 Bit 1 Bit 30 Bit 31 Bit 32 Bit 33 Bit 58 Bit 59 Bit 60 Bit 61 Bit 62 Bit 63 Bit 64 Bit 65
Header Guard
* See S3SET Time
Symbol Characteristic Number of TE Min. Typ. Max. Min. Typ. Max. Units
HCS101 - /P
Please specify which device, revision of silicon and Data Sheet (include Literature #) you are using.
All rights reserved. © 1999 Microchip Technology Incorporated. Printed in the USA. 11/99 Printed on recycled paper.
Information contained in this publication regarding device applications and the like is intended for suggestion only and may be superseded by updates. No representation or warranty is given and no liability is assumed
by Microchip Technology Incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. 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.