• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Analog IC Tips

Analog IC Design, Products, Tools Layout

  • Products
    • Amplifiers
    • Clocks & Timing
    • Data Converters
    • EMI/RFI
    • Interface & Isolation
    • MEMS & Sensors
  • Applications
    • Audio
    • Automotive/Transportation
    • Industrial
    • IoT
    • Medical
    • Telecommunications
    • Wireless
  • Learn
    • eBooks / Tech Tips
    • FAQs
    • EE Learning Center
    • EE Training Days
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Design Guide Library
    • Digital Issues
    • Engineering Diversity & Inclusion
    • LEAP Awards
    • Podcasts
    • White Papers
    • DesignFast
  • Video
    • EE Videos
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Engineering Training Days
  • Advertise
  • Subscribe

Where are cloud connected relays used?

November 21, 2022 By Jeff Shepard

Relays are humble devices, but they are not immune to being impacted by the Internet of Things. Electromechanical relays, solid-state relays, and MEMs relays are among the numerous devices in the IoT that can connect to the cloud. Some relays include Wi-Fi controllers or Bluetooth, some use power over Ethernet (PoE), and others use voice controls, but each has IP connectivity to reach the cloud. Basic relays can be used to control power flow. Smart relays with IP connectivity can also monitor, measure, and report power flow and other operational and environmental parameters of connected devices in smart buildings, communications systems, and Industry 4.0 facilities.

Electromechanical relays are available that include integrated web servers. These IP-based relays are designed for applications ranging from security systems to pump and motor control, lighting controls, and other smart building systems like heating, ventilation, and air conditioning (HVAC). They can be accessed set up through a standard web browser and piggyback on an existing wireless network for optional cloud connectivity. Automated control can be implemented using programable logic controllers (PLCs) or industrial computers that can read XML status pages from the relay or by using the Modbus/TCP protocol (Figure 1). There’s also an optically isolated input for simpler control functions.

Figure 1: Electromechanical relays with integrated web servers can use the Modbus/TCP protocol. (Image: Xytronix Research & Design)

These IP relays can be configured to operate without being connected to a computer. In this direct connection mode, a control signal from one IP relay can be used to control a second IP relay at a remote location that’s an arbitrary distance away by connecting through the cloud. This feature has several applications:

  • A large industrial facility’s output from a PLC can be connected to an IP relay. That IP relay can be used to communicate with a second IP relay at a remote location to control other devices in the facility across an IP network (Figure 2).
  • While each IP relay has only a single connection, it’s possible to connect multiple IP relays in a daisy-chain configuration where the first IP relay controls a second IP relay that’s connected in turn to a third IP relay, and so on for the required number of connections and controls.
  • For remote monitoring and security applications, the remote IP relay can be connected to a sensor to monitor various environmental parameters or the opening and closing of doors, gates, windows, and so on. The IP connection to a second relay can activate an alert about the changing conditions at the remote location.
Figure 2: IP relays and controllers can communicate across large distances using the local network or cloud connectivity. (Image: Xytronix Research & Design)

Wi-Fi relays with up to 28-mile range.
Another type of smart relay uses Wi-Fi for IoT and cloud connectivity. Wi-Fi is available with solid-state relays for low to moderate power switching and electromechanical relays for applications requiring higher power switching. These relays have firmware that supports the control of one or more relays with automatic commands or manual control. The Wi-Fi control module can be connected to any PC to set up the network and control the attached relay. Each Wi-Fi controller is matched with a dedicated relay board. All communications are secure and encrypted based on a unique encryption key to ensure that a controller board and relay board communicate with each other (Figure 3).

Figure 3: Encrypted communications enable secure control of a Wi-Fi relay (right) by a dedicated controller board (left). (Image: National Control Devices)

Wi-Fi controlled relays are available with single pole double throw (SPDT) configurations rated for 5, 10, and 20 A, a single pole single throw (SPST) configuration rated for 30 A, and double pole double throw (DPDT) configurations rated for 1, 3, and 5 A. And while these Wi-Fi relays can be used in smart buildings, they also support extended communications ranges for outdoor communications. They have a range of up to 2,000 feet in indoor or urban environments using integrated antennas. Adding external 2.1dB dipole antennas can extend the range up to 9 miles for line-of-sight applications. Exchanging the 2.1dB dipoles for high-gain antennas can extend the line of sight range up to 28 miles.

Because of their long-distance capabilities, Wi-Fi relays can be much lower in cost to deploy for remote control of gates, lighting systems, pumps, and motors compared with wired solutions that can require extensive trenching and wiring. These Wi-Fi relays have two primary modes of operation:

In beacon mode, the relay communicates with its controller many times per second in beacon mode and refreshes the relay status information. If the connection is interrupted, the ready LED on the controller stays on, and the relay will stay in its current state.

In smart mode, the relay communicates with the controller any time a change is detected. Otherwise, the controller periodically checks to ensure the relay is still connected. Smart mode also verifies that the relay on the remote device is set correctly. If communications are lost between the relay and controller, the relay will automatically shut off within 30 seconds.

Smart relays for smart homes
Smart relays using Wi-Fi and Bluetooth can be integrated into smart appliances or smart outlets or used to retrofit and upgrade existing installations. These smart relays are small enough to fit into many existing electrical outlets, converting a dumb outlet into a smart controller (Figure 4).

Figure 4: Smart relays using Wi-Fi and Bluetooth are small enough to fit into many smart home devices. (Image: tuya)

These microcontroller-based smart relays support numerous functions:

  • Remote control using mobile apps that can be programmed for one or multiple appliances and functions.
  • Voice control through a smart speaker connected to a service like Amazon Alexa or Google Assistant.
  • Multiple control channels use relays with up to four input channels that control four independent power outputs.
  • Time-based functions
    • Devices like lights can be programmed to turn on or off at specific times during the day.
    • A cycle timer can be used for cyclic on/off functions like turning a light on for a defined period every day.
    • A random timer can turn devices on and off at random times and for random durations. In addition, the user can set a window of time during the day during which the random on/off functions will occur.
  • Electricity statistics and protection functions. These MCU-based relays can constantly monitor the voltage, current, and power consumption and provide real-time and historical data reporting. Users can set overcurrent, overvoltage, and overload points, and the relay will be automatically disconnected when the set value is exceeded.

PoE, IP, and relays
Smart relays are available that have integrated PoE and IP connectivity. These relays are designed to control security cameras, modems, controllers, and other devices on an Ethernet network. They operate from 48 Vdc and can provide outputs from 5 to 24 Vdc and 15.4 W of power. An integrated IP connection can be used to control non-PoE devices. These smart relays monitor the operation of the connected device and can be programmed to automatically reboot the device if it locks up. They connect to the cloud, mobile phone handsets, and another device through a computer or network switch with PoE capability. Features of these rack-mountable PoE relays include:

  • 10/100Mbps fast Ethernet
  • 4 x 100Mbps Auto-MDIX PoE ports
  • Automatically detects the PoE class level of powered devices
  • Power-saving technology powers down unused ports, and when a connected device is in standby mode
  • Switch can auto reboot POE devices based on connectivity
  • One user configurable general purpose relay output
  • Integrated web interface

Summary
Smart MCU-controlled relays are an integral part of the IoT. They use various connectivity technologies like Wi-Fi, Bluetooth, PoE, and even voice commands combined with IP connectivity to provide smart power control and energy management. Cloud connectivity further enhances the utility of these highly capable relays in smart buildings and Industry 4.0 applications.

References

Electrical relay ratings, Omron
PoE Relays, uSwitch
WebRelay users manual, Xytronix Research & Design
Wi-Fi relay switch smart solution, tuya
Wireless Contact Closure 1-Way Transmitter Receiver Pair, National Control Devices

 

You may also like:


  • What are MEMS relays good for?

  • What are the four most-common relay technologies and where are…

  • When to use a relay and when to use a…

  • Breadboards evolve to meet 21st-century design needs, Part 3: The…

  • Designing with reed switches: What you need to know

Filed Under: Applications, FAQ, Featured, IoT, Products, Relays Tagged With: FAQ

Primary Sidebar

Featured Contributions

Design a circuit for ultra-low power sensor applications

Active baluns bridge the microwave and digital worlds

Managing design complexity and global collaboration with IP-centric design

PCB design best practices for ECAD/MCAD collaboration

Open RAN networks pass the time

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE LEARNING CENTER

EE Learning Center
“analog
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

EE ENGINEERING TRAINING DAYS

engineering

RSS Current EDABoard.com discussions

  • Diode recovery test Irrm timing.
  • How to make string LEDs?
  • The Analog Gods Hate Me
  • Battery Deep Discharge – IC Workarounds?
  • Safe Current and Power Density Limits in PCB Copper(in A/m² and W/m³) simulation

RSS Current Electro-Tech-Online.com Discussions

  • Raise your hand if your car had one of these:
  • Tektronix 2235 channel 1 trace unstable
  • How to make string LEDs?
  • Wideband matching an electrically short bowtie antenna; 50 ohm, 434 MHz
  • The Analog Gods Hate Me
“bills

Design Fast

Component Selection Made Simple.

Try it Today
design fast globle

Footer

Analog IC Tips

EE WORLD ONLINE NETWORK

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

ANALOG IC TIPS

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy