12
RF Remote Control - 4 Channels Sunrom Part# 1442 Control 4 relays through the RF keypad with range of around 100 meters. Board needs 12V DC for operation and the on board relays are capable to switch on DC and well as AC mains load like light and fan. User's Manual Doc Version: 1 30-Sep-16 A quality product, proudly made in India by Electronics http://www.sunrom.com/m/1442

1442 RF Remote Control

  • Upload
    others

  • View
    18

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 1442 RF Remote Control

RF Remote Control - 4 Channels Sunrom Part# 1442

Control 4 relays through the RF keypad with range of around 100 meters. Board needs 12V DC for operation and the on board relays are capable to switch on DC and well as AC mains load like light and fan.

User's Manual

Doc Version: 1

30-Sep-16

A quality product, proudly made in India by

Electronics http://www.sunrom.com/m/1442

Page 2: 1442 RF Remote Control

1442 RF Remote Control - 4 Channels

Page 2/12 Doc Version: 1 30-Sep-16 http://www.sunrom.com/m/1442

Table of Contents

Introduction .................................................................................................................................... 3

Secure Design .................................................................................................................................. 4

Features .......................................................................................................................................... 4

Applications .................................................................................................................................... 5

Specifications .................................................................................................................................. 5

Block Diagram ................................................................................................................................ 3

Store Transmitter IDs through switch ............................................................................................ 6

Setting a unique ID for keypad transmitter .................................................................................... 6

Board Schematic ..............................................................................................................................7

Relay Output ................................................................................................................................... 8

Serial Output ................................................................................................................................... 9

Output Jumper Settings.................................................................................................................10

Product Dimensions ...................................................................................................................... 11

Support .......................................................................................................................................... 12

Disclaimer ...................................................................................................................................... 12

Page 3: 1442 RF Remote Control

1442 RF Remote Control - 4 Channels

Page 3/12 Doc Version: 1 30-Sep-16 http://www.sunrom.com/m/1442

Introduction

Useful in developing RF remote control applications. This board is very flexible to use as it has different type of outputs like toggle, momentary and separate switch outputs. Due to its secure protocol type reliable RF remote control or security access control applications can be developed easily.

Block Diagram

The remote control transmitter transmits 16 bit unique ID + 4 bit data containing value of which key is pressed on 433 MHz frequency..

The same data is received by a common type ASK type 433 MHz receiver module. The data is fed to Decoder IC. It looks up the ID in already stored list, if found, then it outputs its data serially at 9600 baud rate and controls different type of output based on which key was pressed.

There is a switch on board which can put the IC in store mode where it will listen to transmitter and when a key is pressed on it, it stores the ID of transmitter for future valid access.

Decoder IC for Secure Type Transmitters

433 Mhz ASK

RF Receiver

4 bit Keypress Data 16 bit Transmitter ID

Different type of outputs

4x Momentary

4x Toggle

2x Output having

Serial Data out at 9600 bps

of Valid

Transmitter IDs

Protocol

Decoder

Transmitter ID List

TXID#1

TXID#2

Page 4: 1442 RF Remote Control

1442 RF Remote Control - 4 Channels

Page 4/12 Doc Version: 1 30-Sep-16 http://www.sunrom.com/m/1442

Secure Design

We call this design as “Secure type” means that each transmitter can be set a unique ID like a random password. Whenever the transmitter is operating it sends ID first then the data part. The data part can contain bits of information like which key is pressed.

To implement a secure remote application where only particular transmitter has to be acted upon by the receiver it is required by receiver/decoder to store the transmitter ID before it stars responding to particular transmitter.

The receiver part decoder has to store the ID of the transmitter in its internal memory and compare each ID with received packet before acting on the data from transmitter. Due to this approach very secure, reliable remote control applications can be made. Since decoder will respond to transmitters previously stores in its memory.

Let’s consider an example of what secure means here. In an application we want to implement a remote control for Main Gate opening. In this case each person has one remote transmitter with them. When a person who is allowed access press a switch, the decoder first looks in its internal memory if that ID is already pre-stored then only it acts on the data else ignores it. That means if there are 10 transmitters working, each IDs has to be pre-stored in the IC for it to allow access. If the transmitter ID is not already known to receiver then it is ignored. That way it is very secure type of access control implementation.

While designing this secure transmitter, many problems in existing remote control systems are considered and resolved in its protocol. Like multiple transmitters working in same premises without false trigger of other ones and unauthorized access.

Features

• Secure RF remote control • Supports up to 20 Transmitters by storing their IDs in its internal memory with on board

switch • Responds to only transmitters who’s ID are stored in its internal memory previously • Status LED shows different modes of operation • Variety of output types • 4x Toggle Output • 4x Momentary Outputs • 2x Output with separate ON/OFF switches

Page 5: 1442 RF Remote Control

1442 RF Remote Control - 4 Channels

Page 5/12 Doc Version: 1 30-Sep-16 http://www.sunrom.com/m/1442

Applications

• RF Remote control • Access control • Identity discrimination • IT home appliance control • Smart house products • Security Systems • Car Garage Door Opener • Front Gate Opener

Specifications

Parameter Value Working Voltage 12V DC regulated power supply Current Consumption 250 mA max with all relays on Frequency of Operation 433 Mhz Serial Baud rate 9600 bps for debugging transmitters Baud rate format 8-N-1; 1 Start bit, 8 Data bits, 1 Stop Bits, No Parity RF Bit rate 10 kbps RF Power Output 0 dbm RF range 100 meters On Board controller PIC16F628A RF Encoder Chipset PT2262

Page 6: 1442 RF Remote Control

1442 RF Remote Control - 4 Channels

Page 6/12 Doc Version: 1 30-Sep-16 http://www.sunrom.com/m/1442

Store Transmitter IDs through switch

The board needs that the transmitter IDs to be stored in its internal memory before it can decode or respond to particular transmitter. Each transmitter has 16 bit ID which always has to be known by IC before it responds to it in future. That way it is secure method of remote control allowing only known transmitters to be responded.

The switch can be used to enter new transmitters into IC’s memory or clear all IDs in memory.

Store Transmitter IDs in memory

• Brief press of switch will put the IC in listening mode • Status LED blinks every second • Now press a transmitter key for 5 second for which you want to store its ID • When it has been stored the status LED becomes off and normal operation starts • Repeat the same for as many transmitters you want to enter in its memory. You can do

up to 20 IDs after which the IC starts again from zero memory location like First In-Last Out method.

Clear all transmitter IDs in memory

Long press of 10 seconds clears all 20 Transmitter IDs in its internal memory. LED blinks very fast during this time and when it goes off it means the internal memory is cleared of all transmitter IDs.

Status LED

The LED has a status LED which has various meaning. The IC uses PWM method to control LED brightness.

Behavior Status

Glowing slowly like breathing action

Idle listening condition

Blinks fast Memory clear mode on SW press for 10 seconds Blink every second Listening to new Transmitter IDs when SW is pressed. When new

transmitter is found and stored, it goes back to idle breathing action.

Setting a unique ID for keypad transmitter

The RF keypad transmitter uses PT2262 IC for encoding. The decoding is handled by board microcontroller. PT2262 supports 8 address pins which can either be floating (default supplied) or any random address pins shorted to ground or VCC to create a unique ID for it. This is just like your unique password. You can open the transmitter and short address pins at random to create a unique ID. Now only when receiver has stored this unique transmitter it will respond.

Page 7: 1442 RF Remote Control

1442 RF Remote Control - 4 Channels

Page 7/12 Doc Version: 1 30-Sep-16 http://www.sunrom.com/m/1442

Board Schematic

Here is a diagram for 4 channel RF remote control. You can see the power section which outputs 12V and 5V. The 12V goes to Relays + ULN2003 which is a transistor array. The 5V of power goes microcontroller and RF receiver.

The type of output can be selected by jumpers. It can be toggle, momentary or separate switch for on and off. LEDs indicate relay if it on or off. Using these relays you can switch on or off even mains operated appliances.

TitleCode RevDate: Sheet of

1442 14 CH RF Remote

Sunrom Technologies http://www.sunrom.com

1 1Thursday , Nov ember 19, 2015

OUT4_TOGOUT3_TOG

R11K

OUT2_SEPOUT1_SEP

12V

OUT1_MOM

OUT1_TOG

OUT1_SEP12V

OUT2_MOM

OUT2_TOG

OUT2_SEP

OUT3_MOM

OUT3_TOG

R21K

12V

D2LED

OUT4_MOM

R31K

12V

D3LED

OUT4_TOG

R41K

12V

D4LED

J1 JUMPER2P

STORE

STATUS

ANT

J2 JUMPER2P

J3 JUMPER2P

LS212V Relay

35

412

CN2PBT3

J4 JUMPER2P

OUT2J5 JUMPER2P

J6 JUMPER2P

LS312V Relay

35

412

CN4PBT3

J7 JUMPER2P

J8 JUMPER2P

J9 JUMPER2P

J10 JUMPER2P

LS412V Relay

35

412

CN5PBT3

VCC

12V

OUT1

12V

U2RF-RX

1234

12V

OUT4

12V

OUT3

D6M7

U4CONTROLLER

GND5

VCC14

N.C.3N.C.

4

OUT2_SEP2

OUT2_TOG16

OUT2_MOM11OUT1_MOM10

OUT1_TOG15

OUT1_SEP1

RF_IN6

TXID_STORE_SW 7

TX_OUT8

STATUS_LED9

OUT4_MOM13

OUT4_TOG18

OUT3_MOM 12

OUT3_TOG17

VCC

C1100n

U1RF Receiv er

AN

T1

GN

D2

GN

D3

VC

C(5

V)

4

VC

C(5

V)

5

DA

TA

6

DA

TA

7

GN

D8ANT

E1ANTENNA - 17cm Wire

VCC

D5LED

SW1SW

VCC

R510K

R6470R

U3ULN2003A

1B1

2B2

3B3

4B4

5B5

6B6

7B7

1C16

2C15

3C14

4C13

5C12

6C11

7C10

COM9

GN

D8

OUT2

OUT1

OUT4

LS112V Relay

35

412

CN1PBT3

12V

CN3SIP2

12

C3100n

OUT1OUT2OUT3OUT4

OUT1_MOMOUT2_MOMOUT3_MOM

CN6DC Socket

OUT4_MOM

IN OUTGND

U578M05

1 32

C4100n

+ C2100uF 35V

VCC

OUT1_TOGOUT2_TOG

D1LED

Page 8: 1442 RF Remote Control

1442 RF Remote Control - 4 Channels

Page 8/12 Doc Version: 1 30-Sep-16 http://www.sunrom.com/m/1442

Relay Output

Relay can control any devices just like a switch contact. Its contact is isolated from driving circuit. Relay contact usually drive high AC voltage like Light and Fans while the contact is at low voltage like 12V DC. Relay provides isolation between low and high voltage as well as allows the low voltage circuit to control any high voltage load. So it's very essential when operating loads like lights and fan in a microcontroller system.

For example, When you want to switch on light when relay comes on, then the light has to be powered through C and NO contacts. In this case NC will not be used.

Relay used on board has contact rating of 7A at 250VAC max.

Page 9: 1442 RF Remote Control

1442 RF Remote Control - 4 Channels

Page 9/12 Doc Version: 1 30-Sep-16 http://www.sunrom.com/m/1442

Serial Output

On the board you will find a 2 pin header marked as TX-OUTPUT and GND. This header can output data for debug purpose to view address and data of incoming transmitters. You can use a USB-TTL adapter to connect the header to PC having terminal software. The baud rate of data is 9600 (8-N-1) at 5V level.

Data Output Format: 11 bytes per packet

Address ASCII Data ASCII End of Line 8 bytes 2 bytes 0x0D HEX

11 bytes packet

Below is typical output from the board for each key press. As you see the address for it remains same while the data changes as per key press.

If you wish to interface the board with RS232 level like a PC serial port or any other device you need a level convertor such as MAX232. Do not connect the TX-OUT pin to PC serial port directly, as it is TTL level and not RS232 level. It's better to use a USB-TTL adapter.

Page 10: 1442 RF Remote Control

1442 RF Remote Control - 4 Channels

Page 10/12 Doc Version: 1 30-Sep-16 http://www.sunrom.com/m/1442

Output Jumper Settings

Jumper Channel X is 1-4 - Each channel should only have 1 jumper at any position below MOM Momentary Mode - Putting channel jumper to MOM would make the output relay

behave in momentary mode. Means pressing key will ON the relay and letting go switch will switch off the relay. Momentary means the output remains high as long a key is pressed on remote. This type of output is very useful in crane, door and gate opening application.

TOG Toggle Mode - Putting channel jumper to TOG mode would make the channel toggle between ON and OFF at every new key press. Toggle type output means state of output changes only on new key press. Like light ON/OFF application. Where pressing a switch turns on light and pressing same switch again turn off light.

SEP This mode is application for channel 1 and 2. In this mode remove jumpers from channel 3 and 4. The relay 1 will be control by two switches. One for ON and another one for OFF. Same for channel 2. So each relay make uses of 2 switches.

Page 11: 1442 RF Remote Control

1442 RF Remote Control - 4 Channels

Page 11/12 Doc Version: 1 30-Sep-16 http://www.sunrom.com/m/1442

Product Dimensions

Board Dimensions in mm

Page 12: 1442 RF Remote Control

1442 RF Remote Control - 4 Channels

Page 12/12 Doc Version: 1 30-Sep-16 http://www.sunrom.com/m/1442

Support

Sunrom Electronics offers free technical support (www.sunrom.com/contact) for customers, until the end of the product’s lifetime, so if something goes wrong, we’re ready and willing to help! Technical Support is available by email only and scope is limited to problem faced during use of the use of product and does not cover end user programming and hardware troubleshooting. Each product passes through strict quality checks before it reaches you. So if something is not working out right, the first thing to doubt is the connections or programming of your hardware.

Disclaimer

Sunrom Electronics assumes no responsibility or liability for any errors or inaccuracies that may appear in the present document. Specification and information contained in this document are subject to change at any time without notice.

Copyright © 2016 Sunrom Electronics. All rights reserved.