Hobby Components SmartRFy HCMODU0145 Manual

Relay modules

Advertisement

Quick Links

SmartRFy Relay Modules
Manual
HCMODU0145,
HCMODU0146,
& HCMODU0147
Revision 1.0.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SmartRFy HCMODU0145 and is the answer not in the manual?

Questions and answers

Summary of Contents for Hobby Components SmartRFy HCMODU0145

  • Page 1 SmartRFy Relay Modules Manual HCMODU0145, HCMODU0146, & HCMODU0147 Revision 1.0.0...
  • Page 2 COPYRIGHT NOTICE This manual, including content and artwork is copyright of Hobby Components Ltd and may not be reproduced without written permission. If you paid for or received a copy of this manual from a source other than Hobby Components Ltd, please contact us at sales@hobbycomponents.com...
  • Page 3: Table Of Contents

    Set the threshold value to de-energise the relay (TxL=)............25 Set the test condition for energising the relay (MxH=).............25 Set the test condition for de-energising the relay (RML=)............26 Appendix A: Example relay modes....................28 Threshold mode.........................28 Timer mode..........................29 Toggle mode..........................31 Dimensions............................32 © Hobby Components Ltd...
  • Page 4 1 channel relay module......................32 2 channel relay module......................32 4 channel relay module......................32 © Hobby Components Ltd...
  • Page 5: Smartrfy System Overview

    255 devices, giving a total of over 65,000 unique addresses. SmartRFy modules are designed to be both easy and flexible to use by providing three levels of control: Zero configuration (out-of-the-box) Example: Controlling a remote digital pin and light from a push switch. © Hobby Components Ltd...
  • Page 6 For example, a SmartRFy relay module can be reconfigured to control a heating system based on the temperature transmitted from a remote sensor or, turn on a flood light for a set amount of time when triggered by a remote © Hobby Components Ltd...
  • Page 7 SmartRFy devices on the network, regardless of their zone and address. SmartRFy modules can even be used as a passive wireless serial port for passing non-SmartRFy data to other remotely connected devices. © Hobby Components Ltd...
  • Page 8: Smartrfy Relay Modules

    SmartRFy devices. © Hobby Components Ltd...
  • Page 9: Features

    4ch: 341mA (transmit + all relays energised) Operating frequency: 433MHz (OOK) Operating range: 30 Meters (unobstructed) Interfaces: RF Tx and Rx, serial UART, and 1, 2, or 4 relay clean contacts Relay contact rating (resistive 5A max at 28VDC or 240VAC load): © Hobby Components Ltd...
  • Page 10: Relay Module Features

    SmartRFy device set to the same zone and address. By default, setting the SWx command to 1 (e.g. SW0=1) will energise the relay, and setting it to 0 (e.g. SW0=0) will de-energise the relay. © Hobby Components Ltd...
  • Page 11: Leds

    The sensor module includes a 2 LEDs which indicate the current state of the module. PWR LED (green) Indicates the module is currently powered. RX LED (amber) Indicates the module is currently receiving data from another SmartRFy device with any zone or address. © Hobby Components Ltd...
  • Page 12: Serial Uart

    See the serial interface control section for more information on setting the baud rate, verbose mode, and issuing commands. Note: Connecting the module to a PC via its serial port will require an additional USB to serial adapter (see Hobby Components items HCARDU0011 or HCMODU0076). © Hobby Components Ltd...
  • Page 13: Clear (Factory Reset)

    Alternatively the module can be restored back to factory default settings by issuing the factory reset (FTRE) command via the serial interface – see the SmartRFy commands section for more information. © Hobby Components Ltd...
  • Page 14: Smartrfy Commands

    All responses are terminated with a carriage return and line feed. • No serial data sent to the local device, command or otherwise, may exceed 25 characters in length (including carriage return / linefeed termination). © Hobby Components Ltd...
  • Page 15: Local Command Format

    0x0D (\r) 0x0A (\n) Example: Setting and confirming the zone of the local device *ZON=1<CR><LF> Sets the zone of the connected module to 1. Response: OK<CR><LF> *ZON?<CR><LF> Requests the current zone of the local device. Response: 1<CR><LF> © Hobby Components Ltd...
  • Page 16: Command Quick Lookup Table

    State: Repeater state (0 = off, 1 = on) Note: Only available on modules with both RF Tx & Turns on or off repeater mode (default: off) Rx capability Performs a factory reset – all settings a restored to their None default values © Hobby Components Ltd...
  • Page 17: Relay Module Specific Commands

    Note that all commands must be proceeded with a carriage return and line feed, but for clarity purposes this is omitted from the examples in this section. Firmware version (FWV?) Gets the firmware version of the module. Example: *FWV? Returns: Vx.x (C) HobbyComponents.com Where Vx.x is the version number © Hobby Components Ltd...
  • Page 18: Get The Modules Zone (Zon?)

    Returns: OK Set the baud rate (BUR=) Sets the communication baud rate for the serial UART interface. There are 8 (0 to 7) possible settings for the baud rate: 0 = 1200 BAUD 1 = 2400 BAUD © Hobby Components Ltd...
  • Page 19: Set Number Of Transmit Resends (Trs=)

    The number of resends can be set from 0 (no resends) to 5. Default: Example: *TRS=3 The above example will set the number of resends to 3. Therefore any data wirelessly transmitted by the module will be transmitted a total of 4 times. Returns: OK © Hobby Components Ltd...
  • Page 20: Set The Serial Verbose Mode (Vbm=)

    Therefore this zone number can also be used when you require the module to control multiple remote modules in different zones. Default: Example: *ZON=2 The above example will set the modules zone number to 2. © Hobby Components Ltd...
  • Page 21: Set The Modules Address (Add=)

    0 will turn it off. Note: • This mode is only supported by SmartRFy modules with both RF receive and transmit capabilities. • Turning on repeater module will double network traffic for any modules within range. Default: 0 (off) © Hobby Components Ltd...
  • Page 22: Factory Reset (Ftre)

    Returns: OK Factory reset (FTRE) Performs a factory reset of the module. All module settings will be restored to their factory defaults. Example: *FTRE The above example will restore all settings to their defaults. Returns: OK © Hobby Components Ltd...
  • Page 23: Smartrfy Relay Module Commands

    (0 to 3). For example S0N= for relay 0, S1N= for relay 1, etc. Default: SW0 for relay 0 SW1 for relay 1 (2 and 4 channel relay modules only) SW2 for relay 2 (4 channel relay module only) © Hobby Components Ltd...
  • Page 24: Set The Relay On Time (Sxo=)

    A for more options and examples of configuring the relays). To specify which relay the command is intended for substitute x for the relay number (0 to 3). For example T0H= for relay 0, T1H= for relay 1, etc. © Hobby Components Ltd...
  • Page 25: Set The Threshold Value To De-Energise The Relay (Txl=)

    (SWx) is received its parameter value is tested against the appropriate relay threshold high (TxH) value, and this threshold condition to determine if the relay should be energised. To specify which relay the command is intended for substitute x for the relay © Hobby Components Ltd...
  • Page 26: Set The Test Condition For De-Energising The Relay (Rml=)

    MxL=< Relay is de-energised if value received by SWx command is less than the relay threshold low (TxL) parameter. MxL== Relay is de-energised if value received by SWx command is equal to the relay threshold low (TxL) parameter. © Hobby Components Ltd...
  • Page 27 (TxL) parameter. Default: Example: *M0L=< In the above example relay 0 will de-energise if the module receives the relay command SW0 with a value less than the current relay threshold low (T0L) level. Returns: OK © Hobby Components Ltd...
  • Page 28: Appendix A: Example Relay Modes

    In threshold mode a relay can be programmed to automatically energise or de-energise when a value goes above or below a predefined pair of thresholds. Example: Controlling the temperature of a room based on the temperature readings of a remote SmartRFy sensor module © Hobby Components Ltd...
  • Page 29: Timer Mode

    The relay will then automatically de-energise after that amount of time has elapsed. Timer mode is enabled by setting the relay on time (RLO) to a value other than 0. Example: Controlling an outside light via a PIR connected to a remote SmartRFy sensor module © Hobby Components Ltd...
  • Page 30 60 seconds. Note that the relay modules zone and address must match that of the remote sensor module. In timer mode a command to de-energise the relay will be ignored and the relay will only de-energise once the on time has elapsed. © Hobby Components Ltd...
  • Page 31: Toggle Mode

    Trigger when SW0=0 *T0L=0 Set to same value as T0H *M0H== (default) *M0L== (default) Once the above settings have been changed relay 0 will toggle its state whenever the push button on the remote module is pressed. © Hobby Components Ltd...
  • Page 32: Dimensions

    Dimensions 1 channel relay module 2 channel relay module 4 channel relay module © Hobby Components Ltd...
  • Page 33 HOBBYCOMPONENTS.COM FORUM.HOBBYCOMPONENTS.COM BLOG.HOBBYCOMPONENTS.COM © Hobby Components Ltd...

This manual is also suitable for:

Smartrfy hcmodu0146Smartrfy hcmodu0147

Table of Contents