RF-LINK ASK Encoder Decoder

From ElectroDragon Wiki

RF Link (Encoder and Decoder)

Encoder

  • ASK

Compare Guide

- Fixed-Code (Also called soldering code) Learning Code
Encode ICs PT2262 EV1527
Decoder PT2272 MCU, SK212, TCT6227/6228/6234, RH2762
Address Code tri-state (0, 1, NA) on 8 address pins (6561 unique addresses). 0 and 1 states on 20 bits (1048576 unique addresses)
Encoding hardware software
Address code type editable on hardware fixed during production
When lost encoder need to change hardware physically for decoding only need to re-learning the new address code

Coparision.png

  • Compare PT2262 and EV1527
  • PT2262 use A0-A11 for address code, and EV1527 use interal address code
  • Each IC EV1527 has gauranteed unique 1 million code possibility preprogrammed one time into it during manfacturing. The IC EV1527 gives much better result as compared to HT12E/PT2262 which are fixed code and does not need end user address configuration.
  • The IC EV1527 is called learning type since the receiver has to store its code before i can detect future packets. It gives better security.

Fixed Code

Use PT2262 Fixed Code

  • Customer must obtain the address code information from your device.
  • Set the jumper for A0 - A11, this is the address code that should match the decoder.

Learning Code

Use EV1527 Learning Code

  • Connect the battery for the sensors and power on (switch on).
  • Setting digital code for wireless sensors D0 - D3
  • Make sure your decoder is in programming status
  • Send the signal from encoder
  • The decoder will show successful status

Notice for Self-learning code

  • make sure the encoder and decoder in the same frequency, for example, 433Mhz or 315Mhz
  • make sure the oscillator resistor value must match both in encode and decoder, you can find the OSC resistor value on your PCB, and reference information on EV1527 datasheet.

Learning Code Decoder

  • SK212 has better performace
Rcswitch.png

Learning process
The code method: Press the learning key for 2 seconds, and the learning indicator light is on. At this time, it indicates that it is in the learning state. Release the learning key and press any key on the remote control for four times to indicate learning success and exit the learning mode.
Clear code method: Press and hold the custom key, the indicator light will always light, press and hold about 8 seconds after the indicator light goes off, that code has been cleared successfully.
Pin Output Mode

  • Point Mode - Pin output signal when singal received, and no output when no signal received.
  • Lock Mode - signal reverse when valid signal reverse
  • Inter-Lock Mode - singal out on relevant pin, the rest on signal pin keep off/low, also VT pin keep active/high when signal received.

Rolling Code

  • HCS300/301 Encoder
  • AN663 Decoder



  • All the modules below can be found on page here.

Decoder

Usage

"Learn"

Clean - code on decoder/receiver board

  • After the board power up, wait until LED off (3 secs).
  • Press the "learn" button for 8 seconds, LED on, and then LED off indicating succeed
  • Cleaned

Pairing

  1. After the board power up, wait until LED off (3 secs).
  2. Press the "learn" button, LED on
  3. Press the button on controller, code sent from controller, LED off indicating received.