RF RECEIVER & DECODER HYBRID. HIRK-315 HIRK-433 Features • Miniature RF Receiver and Decoder. • Advanced Keeloq Decoding • AM Range up to 100 Metres • FM Range up to 150 Metres • Easy Learn Transmitter Feature. • Outputs, Momentary or Latching & Serial Data. • Direct Led Drive Shows Data Reception • Single Supply 5V • Flash re-programmable • HIR6 Low Power Version (<1mA) • Directly compatible with 110 Series • Compatible with RF600E • EMC Compliant for use in Europe • FCC Certified for use in USA Applications • General Remote Control Systems. • Garage Door Openers. • Car, Caravan, Motorcycle Alarms • Remote Switching. • Remote Gates. • Paging. Description A range of miniature single in line (SIL) hybrid modules providing complete four channel Radio Receiver/Decoder systems available in either AM or FM. When used with the 110-AM or 120-FM series pocket keyfobs a complete remote telemetry system is obtained with up to 150 metres range. The module consists of a front end super-heterodyne or super-regen RF receiver with an embedded microcontroller decoding a highly secure Keeloq protocol signal. The module has an easy-to-use 'LEARN' facility, and is capable of learning up to 50 unique keyfob encoders. The module requires a 5V power supply and provides a direct LED drive showing data reception and four digital data outputs. The outputs may be programmed for momentary or latching configuration. The modules have flash re-programmability feature to enable field re-programming of the controller. Part Numbers Part Number Description HiRK-315AC Superhetrodyne Receiver Decoder AM 315MHz HiRK-433AC Superhetrodyne Receiver Decoder AM 433MHz HiR6-433A SuperRegenerative Low Power version see separate data HIRK-433F Low Power Rx Decoder FM 433MHz DS010-9 Nov 12 2012 REG No 277 4001, England. Compatible Transmitters 110 Series transmitter keyfobs or 102 ‘A’ Series transmitters 120 Series transmitters 102 ‘F’ series transmitters Page 1 RF RECEIVER & DECODER HYBRID. HIRK-315 HIRK-433 HiRK Version This range of modules provides a high sensitivity and selective Superhetrodyne receiver, combined with flash programmable controller, supplied pre-programmed to operate with a suitable Keeloq Transmitter encoder. The range from such a system can be up to 150 metres Line of Sight (LOS). Custom versions of this product are available; please contact our sales department for further details Pin Descriptions Superhetrodyne Versions (HiRK series) Pin No Name 1 Vcc-RF +5V Supply Voltage – RF section 2 GND-RF RF Ground 3 ANT 7 GND-RF RF Ground 11 GND-AF AF Ground 13 RSSI 14 O/P-AF 15 Vcc-digital +5V Supply Voltage – digital section 16 Vdd-digital Digital Ground 17 MCLR** 18 Link2 Pulls Microcontroller into reset if connected to Ground May be left unconnected if not required (internally tied high) Connect to GND to make link, may be left O/C if not required 19 Link1 Connect to GND to make link, may be left O/C if not required 20 PSW Programming Switch input. Used when learning new transmitters and erasing data. 21 LED External LED sink output, can be connected directly to cathode of external LED. Connect Anode of the LED directly to +5V. Indicates Data reception, and programming status. 22 O/P2 Active High data Output 2 (has a 220Ω series resistor) 23 O/P3 24 O/P4 Active High data Output 3 (has a 220Ω series resistor) Active High data Output 4 (has a 220 series resistor) or Battery Low Output: Indicates when the transmitter battery is low voltage (Output is high when battery low) Serial Data Output: Outputs the Serial ID of transmitter encoder. Please see RF600 for serial data format and timings 25 O/P1 Description Connect Antenna to this input Received Signal Strength Indicator (RSSI) Raw Data output from RF receiver (CMOS/TTL signal) Active High data Output 1 (has a 220Ω series resistor) Compatibility with older versions of this module ** AM-HiRK: To remain compatible with previous versions of the product, this pin may be removed and ignored. AM-HiRH : Please contact sales for part HiRK-433P534 DS010-9 Nov 12 2012 REG No 277 4001, England. Page 2 HIRK-315 HIRK-433 RF RECEIVER & DECODER HYBRID. HiRK Application Circuit LED drive example O/P 1 O/P 4 O/P 3 O/P 2 HiRK 1 3 7 11 15 20 22 25 Vcc Status LED Vcc LK LK 2 1 Learn Sw GND Data Outputs Outputs are digital CMOS/TTL (PIC Micro) with a series 220 Ω protection resistor. Outputs are all normally low, active high. Link Positions Link1 Link2 Open Open Open Connected Connected Open Connected Connected O/P 1 Latch Mom Mom Latch Digital Outputs O/P 2 O/P 3 Latch Latch Mom Mom Mom Latch Latch Mom O/P 4 Latch Mom Tx Bat Low Serial Data Mom : This output is valid for the duration of valid key press of the transmitter switch Latch: This output changes state on each valid transmitter switch press. 1 Switch Keyfob 2 Switch Keyfob 3 Switch Keyfob 4 Switch Keyfob Transmitter Switch / Output Table O/P 1 O/P 2 O/P 3 Centre Switch LH Switch RH Switch LH Switch RH Switch Top Switch Sw 1 Sw 2 Sw 3 O/P 4 Sw 4 Custom versions of this product are available, please contact our sales department for further details DS010-9 Nov 12 2012 REG No 277 4001, England. Page 3 RF RECEIVER & DECODER HYBRID. HIRK-315 HIRK-433 Learning a New Transmitter Encoder (Applies to all Decoders) 1. 2. 3. 4. 5. 6. Briefly press the programming switch (PSW). Learn LED will illuminate. Depress the transmitter once, Learn LED will extinguish. Depress the transmitter again, Learn LED will flash. (approx 10secs). Wait for Learn LED to stop flashing. This transmitter will now operate the system. Erasing The Memory – all modules 1. Press and hold PSW for 10 seconds. 2. Release PSW and LED flashes while the module erases its memory. Antenna Design For 99% of applications a 17cm piece of wire is quite adequate for 433 MHz modules. The range achieved from the system is dependent on the choice and position of the antenna. The space around the antenna is as important as the antenna itself. The optimum position is to locate the antenna so that is protrudes directly out the top of the transmitter box. If this is not possible due to other design constraints, try to keep the antenna, and in particular, the ‘HOT’ end away from other metal in the system such as transformers, batteries and PCB tracks, especially ground planes. For further information on Antenna design please see our full product catalogue. Serial Data Output Both the HiRK and HiR6 decoders provide a serial data output. (selectable option on HiRK) This outputs the serial number, button and battery status of the transmitter encoder it has successfully received. It also gives an indication of which inputs of the encoder have been activated and the status of the encoder battery. This data has an idle state of logic ‘1’ and may be fed via an RS232 type driver circuit (e.g. MAX232) which may then connect directly to a PC serial port. (An RS232 level serial data output is provided on SA123 & RFEVAL2). Serial data is output continually whilst data is being received from the transmitter. i.e. this output is valid regardless of whether the encoder has been learnt to the decoder or not. If the user requires the serial number of pre-learnt encoders only, then the serial output should be configured only to output data when one of the digital outputs from the decoder is asserted which occurs only when an encoder has been prelearnt.) The data received by the decoder (from the encoder) is checked for correct Manchester coding (it is not KeeLoq decrypted) and the following data is output from the Serial Data output pin. • The 7 digit KeeLoq serial number. • The KeeLoq button data and transmitter battery state. • A carriage return character and a line feed character. Please note that older versions of the HIRK used a different data format of 57.6K 7 Data Bits and 1 stop bit, these modules will be prefixed with AR4 on the end of the part number or below. These modules may still be ordered but we would highly recommend that the new HIRK modules (AR5 and above) are incorporated into new products. DS010-9 Nov 12 2012 REG No 277 4001, England. Page 4 RF RECEIVER & DECODER HYBRID. HIRK-315 HIRK-433 Serial Data Format Serial Data is sent as a stream of ASCII characters at 9.6K baud. The character format is 8 data bits with 1 stop bit, no parity. A serial data string is output every time a valid transmitter packet is received. Due to the nature of the KeeLoq packet there will be a minimum gap between each serial data string of 150mSec. 10 characters are sent with the following format; 7 6 5 4 3 2 1 A(a) $ 0D $0A 10 bytes of data transmitted Line feed (last character) Carriage return Transmitter button information with battery status Transmitter serial number Output from SD1 pin The Transmitter Serial Number : is made up of 7 ASCII characters from the following group: 0 1 2 3 4 5 6 7 8 9 A B C D E F. The most significant serial number digit is transmitted first. This provides a total of 28million possible serial numbers. The KeeLoq Button Status is transmitted as an ASCII character in the range A to O or if the low battery bit is asserted (encoder battery is low) then in the range a to o. KeeLoq data bits S0, S1, S2 and S3 then make up the ASCII byte least significant bits D0, D1, D2 and D3. If a single encoder button is pressed, say S0, then character A will be sent (or if low battery, a). If encoder button S1 is pressed then B (or b) will be sent. If S0 and S1 are both pressed simultaneously then character C (or c) will be sent. If all KeeLoq encoder buttons are simultaneously pressed then character O (or o) will be sent. Examination of the ASCII bit patterns shows that this allows single or multiple encoder button presses to be decoded by the ASCII receiving device. Examples of Serial Data output: For a three button keyfob with serial number 2345678, the serial data output when encoder transmission is decoded would be as follows: If S1 is pressed: 2345678A (2345678a if the battery voltage in the transmitter is low) If S2 is pressed: 2345678B (2345678b if the battery voltage in the transmitter is low) If S1 and S2 are pressed together: 2345678C (2345678c if the battery voltage in the transmitter is low) If DS010-9 S4 Nov 12 is pressed: 2345678H (2345678h if the battery voltage in the transmitter 2012 REG No 277 4001, England. Page 5 is low) HIRK-315 HIRK-433 RF RECEIVER & DECODER HYBRID. Absolute Maximum Ratings Supply Voltage (+5Vcc to GND)..........................................-0.3 to + 6 Volts. Storage Temperature..........................................................-30 to +85o Celsius. Operating Temperature....................................................... -20 to +70o Celsius. Technical Specification of HiRK AM Modules Ambient temperature = 25o Celsius. Electrical Specification Supply Voltage Supply Current Receiver Frequency Receiver Frequency Working Frequency Min 4.5 Typical 5.0 6 315.0 433.92 200 Max 5.5 450 Dimension V mA MHz MHz MHz (custom Frequencies Available) Data output voltage: (any data output) Logic Low Logic High Data output current: (any data output) Logic Low Logic High 0.6 Vdd - .7 stock frequency stock frequency Please contact Sales Dept I out = 8.5mA I out = 8.5mA -25 10 Turn on Time -3dB Bandwidth R.F Sensitivity (100% AM) Level of Emitted Spectrum EMC Compliance Operating Temperature Range V V Note -25 mA mA 20 ms +/- 400 KHz -106 dBm -70 dBm Complies to ETS300-339 o +80 C Technical Specification of HiRK FM Modules Technical Specifications Electrical Characteristics Supply Voltage (Vcc) Supply Current (Operating) Receiver Frequency R.F Sensitivity (100% AM) 433MHZ version 3dB Bandwidth Data Rate Turn on Time Turn on Time Level of Emitted Spectrum Low Level Output Voltage High Level Output Voltage Operating Temperature Range DS010-9 Nov 12 Min 4.5 Typical 5 5.7 433.92 Max 5.5 6.8 9,600 5 8 -70 0.8 Vcc-1 -25 2012 REG No 277 4001, England. Notes dBm -103 +/-150 300 Dimension V mA MHz +80 Page 6 KHz Hz mSecs mSecs dBm V V o C 1 2 I = 200uA I = 200uA RF RECEIVER & DECODER HYBRID. HIRK-315 HIRK-433 Mechanical Details Flash Programming the on board Microcontroller The on-board microcontroller may be programmed using the circuit as below. This may be connected directly to a PICSTART+ programmer using the In Circuit Programming Serial cable (ISPIC), please see datasheet DS021 which describes the programming process in more detail and lists other circuit requirements. HiRK or HiR6 Decoder Module 1 3 7 11 13 15 16 17 22 25 1 2 3 4 5 MCLR Data Clock Vcc GND 6 In Circuit Serial Programmer ICSP Connections For more information or general enquiries, please call; R. F. Solutions Ltd., Unit 21, Cliffe Industrial Estate, South Street, Lewes, E Sussex, BN8 6JL. England. Tel +44 (0)1273 898 000. Fax +44 (0)1273 480 661. Email [email protected] http://www.rfsolutions.co.uk RF Solutions is a member of the Low Power Radio Association. Information contained in this document is believed to be accurate , however no representation or warranty is given and no liability is assumed by R.F. Solutions Ltd. with respect to the accuracy of such information. Use of R.F.Solutions as critical components in life support systems is not authorised except with express written approval from R.F.Solutions Ltd. DS010-9 Nov 12 2012 REG No 277 4001, England. Page 7