SmartRFy Digital Tx Module (HCMODU0143)

Hobby Components range of SmartRFy wireless RF products *** NEW ***
Post Reply
admin
Site Admin
Posts: 866
Joined: Sun Aug 05, 2012 4:02 pm

SmartRFy Digital Tx Module (HCMODU0143)

Post by admin » Sun Feb 23, 2020 1:17 pm

Image




The SmartRFy digital Tx module provides a set of 4 digital input pins which can be used to remotely control other SmartRFy modules. In particular when coupled with the digital Rx module (HCMODU0142) each pin on the Rx module will mimic the state of the 4 digital input pins on the Tx module without needing any configuration. Similarly, the Digital Tx module can be used to directly control the relays on a 1, 2, or 4 channel SmartRFy relay module.

Like all SmartRFy modules it can even be used as a wireless serial port (transmit only) allowing for non SmartRFy devices to communicate with one another using a SmartRFy connection.

The module can be powered via a single 5V power supply, and standard 0.1” pitch header pins provide access to power, the 4 digital input pins, and the serial interface.


Available from our online store here: https://hobbycomponents.com/newproducts ... -tx-module



Features


Image



• 4 independently controlled digital input pins.
• Can be used to directly control a SmartRFy digital Rx module or a 1, 2, or 4 channel relay module without requiring any configuration.
• Local and remote control via simple text based serial commands.
• Up to 255 zones and 255 addresses (default zone 0, address 0).
• Compatible with most microcontrollers featuring a serial UART interface.
• Wireless serial communication with 8 different baud rates (9600 default).



Specification

Product code: HCMODU0142
Supply voltage: 4.5 to 5.5V
Supply current min: 7.8mA (idle)
Supply current max: 19.3mA (transmit)
Operating frequency: 433MHz (OOK)
Operating range: 30 Meters (unobstructed)
Interfaces: RF Tx, serial UART, and 4x 5V digital inputs
Digital input pin characteristics:
Input logic low voltage: -0.3V to Vdd x 0.3V
Input high high voltage Vdd x 0.7 to Vdd + 0.3V
Digital Tx to Rx pin response time:
0.8 seconds (default settings)
0.6 seconds (TRS=0)
Module dimensions (WxDxH): 36.8mm x 22.1mm x 20mm




SmartRFy system overview

SmartRFy modules are a range of wireless modules that provide a simple low cost way of controlling and monitoring remote devices and sensors. They are designed to work at their basic level with no programming required. However, when reconfigured or controlled via their serial interface they can also provide more complex and even autonomous functions.

SmartRFy modules work by wirelessly communicating with one another using simple text based commands - for example, to turn on a remote relay a command such as RLY=1 can be sent, and to turn it back off RLY=0. These commands can be automatically sent from one module to another or can be sent by a user via a modules serial interface to manually control modules on the SmartRFy network.

They are addressable and can be grouped into one of 255 zones, with each zone capable of individually addressing 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)


Image


With no configuration at all the SmartRFy range of modules allow basic functionality such as remotely switching relays, digital pins, or monitoring sensors, such as temperature, humidity, light, motion etc. All SmartRFy modules default to the same zone and address and so can respond to, or control, other modules without the need to modify any zone or address settings.



Serial port configuration


Image


All smartRFy modules include a serial port which allows them to be re-configured using simple text based commands. These text commands allow changing of configuration settings and control of specific features of each module. Any setting changes are stored by the modules non-volatile memory and so are retained even when power is removed from the module. When reconfigured they are able to perform more complex functions and even some basic autonomous tasks. 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 PIR – all without any additional hardware. Serial port configuration also allows a modules zone and address (all SmartRFy modules default to zone and address 0) to be changed. This provides the option for modules to be placed into groups, which will then only respond to other modules with a matching zone or address.



Slave controlled


Image
Example 1: Turning on a remote relay with zone = 1 and address = 5

Image
Example 2: Send plain serial text “Hello” to a remote microcontroller


SmartRFy modules can also be controlled via their serial port by other devices such as microcontrollers or computer based automation software such as Node-RED. Using a SmartRFy module as a slave device (must be capable of transmitting/receiving) gives a master device the ability to monitor and control any other 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.



Image


SmartRFy Tx Module Manual

https://hobbycomponents.com/downloads/s ... Manual.pdf




Libraries, example code, and diagrams are provided as an additional free service by Hobby Components and are not sold as part of this product. We do no provide any guarantees or warranties as to their accuracy or fitness for purpose.

Descriptions and diagrams on this page are copyright Hobby Components Ltd and may not be reproduced without permission.

circuitman
Posts: 3
Joined: Tue May 19, 2020 2:49 pm

Re: SmartRFy Digital Tx Module (HCMODU0143)

Post by circuitman » Wed May 20, 2020 1:58 pm

I have just bought a TX and RX module and wondered if it's possible to transmit a single byte of data every 5mS.

Does the 0.8Sec latency described in the datasheet only apply to the start of transmission, then 9600kbd is maintained?

circuitman
Posts: 3
Joined: Tue May 19, 2020 2:49 pm

Re: SmartRFy Digital Tx Module (HCMODU0143)

Post by circuitman » Wed May 20, 2020 2:05 pm

OOPS!! Thats 9.6kbd

andrew
Site Admin
Posts: 1374
Joined: Sun Aug 05, 2012 4:15 pm

Re: SmartRFy Digital Tx Module (HCMODU0143)

Post by andrew » Wed May 20, 2020 3:28 pm

I have just bought a TX and RX module and wondered if it's possible to transmit a single byte of data every 5mS.
I'm afraid not. The radio modules are fairly low data rate but the main issue with what you want to do is the receiver needs at least a ~15ms preamble to wake it up at the start of each transmission. Plus the protocol has a few hidden extra bytes in each transmission for things like zone, address, CRC etc.

Does the 0.8Sec latency described in the datasheet only apply to the start of transmission, then 9600kbd is maintained?
Keep in mind that the 9600kbs is the (default) data rate of the serial interface. The actual data rate of the RF connection is more like 100bps. TBH, they aren't really intended to be used for wireless serial communication, it's just that was a useful feature that could be easily included with no extra cost, but with limitations data rate and length.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

circuitman
Posts: 3
Joined: Tue May 19, 2020 2:49 pm

Re: SmartRFy Digital Tx Module (HCMODU0143)

Post by circuitman » Wed May 20, 2020 3:34 pm

Thanks, Andrew, I'll use them in another application, according to the limitations outlined.

Post Reply

Return to “SmartRFy”