Editor's Choice


Taking control the easy way

30 April 2019 Editor's Choice Telecoms, Datacoms, Wireless, IoT

As a wireless supplier, Otto Wireless Solutions is very often drawn into assisting clients when it comes to integrating our routers into final products.

There are a few common questions we get asked, which has prompted us to include some non-wireless products in our portfolio, specifically for those occasions when customers are looking for a one-stop shop.

A common question we get asked is: “How do I use a router to switch 220 V devices on and off?”

The answer to this is surprisingly simple. Firstly, most routers on their own would not be able to deliver this sort of solution. There are a few products which incorporate a router as well as analog switching capabilities in the way of relays, but those products tend to be rather niche, and generally carry a heavy price-tag.

There is a simpler, less expensive way to accomplish this with a generic approach. When you combine any one of our industrial Wlink routers with a relay controller, it’s a whole new ball game, and one which everyone can play.

Let’s begin by giving you the basic specifications of the relay controller we selected, so you can get an idea of the sort of end-devices it can switch.

The relay controller module has an RS-232 interface and includes eight relays, each designed to function independently, packaged in a plastic enclosure, with a total weight of approximately 250 g. The relay module is powered at 12 V d.c./ 1,5 A. This relay module is used to switch any connected devices on and off.

When used in conjunction with a Wlink router, this relay can be used to switch devices remotely. This is achieved by simply enabling the TCP/IP protocol on the router and downloading a TCP/IP application on your mobile device. Alternatively, a virtual interface, for example Putty, can be used on a computer connected to the router if remote operation is not desired.

Each relay switch has a power capacity of 250 V a.c./ 10 A or 30 V d.c./ 10 A. The relay module can be mounted on a wall using DIN-rail clips if desired, or one can simply use the wall-mount screw sockets and mount the router to a wall or a sidewall of an enclosure. Each relay is represented by 1 bit, and the 8 bits are then converted to a hexadecimal value. A relay would then be assigned two unique hex commands – one would be used to open the relay and the other would close it.

There are two ways of connecting the relay to the router accomplishing the switching on and off functionality. The first method, as shown in Figure 1, will require the user to download a TCP/IP application on their smartphone and set up a TCP/IP tunnel on the router. This method is reliant on the stability of the network provider in use. The advantage of this method is that you can operate the relays remotely.

Figure 1. Connecting using a mobile device.
Figure 1. Connecting using a mobile device.

An alternative way of connecting the relay module to the router would be as in Figure 2. This is a more localised connection. This connection will require the user to install a virtual terminal (eg. Putty) on the computer. It is recommended that the user creates hexadecimal scripts as in Figure 3, to aid in recording and documenting the commands for ease of reference.

Figure 2. Connecting using a localised connection.
Figure 2. Connecting using a localised connection.

Figure 3. Recommended hexadecimal scripts.
Figure 3. Recommended hexadecimal scripts.

Taking control is a lot simpler than one would have imagined. This solution could be your answer to a useful application such as switching lights, generators, pumps, gates and more on and off, or it can even be scaled up to a bigger application like control of motors and other industrial machines. If you would like to know more about these products, or require further details about the configuration and setup, contact Otto Wireless Solutions as per below.

For more information contact Siphiwe Mashinini, Otto Wireless Solutions, +27 11 791 1033, [email protected], www.otto.co.za



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Potential risks of plasma treatment on PCBs
MyKay Tronics Editor's Choice
Plasma treatment involves exposing PCBs to an ionised gas, known as plasma, but despite many advantages, several risks must be managed to ensure safe and effective plasma application in EMS.

Read more...
X-band radar
RF Design Editor's Choice Telecoms, Datacoms, Wireless, IoT
X-band radar systems, particularly those leveraging beamforming ICs (BFICs), advanced gallium nitride (GaN) and gallium arsenide (GaAs) components, are leading the way in providing the high-performance radar capabilities required for modern defence and surveillance.

Read more...
Remote provisioning firmware added to SIMCom modules
Otto Wireless Solutions Telecoms, Datacoms, Wireless, IoT
SIMCom recently announced that its range of Cat 1 bis IoT modules are now being prepared with the firmware necessary to support SGP.32 functionality.

Read more...
LED driver for industrial power supply indication
Altron Arrow Editor's Choice Circuit & System Protection
A simple and small solution for driving an LED to provide visual feedback in the presence/absence of a system’s power using a chip not originally designed for this purpose.

Read more...
Case Study: Siemens Valor automation solution
ASIC Design Services Editor's Choice Manufacturing / Production Technology, Hardware & Services
Electronics manufacturer BMK used Siemens Valor to enhance accuracy and speed up bill-of-materials quotations.

Read more...
Four ways to enhance IoT battery performance using emulation software
Concilium Technologies Editor's Choice
Battery life affects the cost and reliability of IoT-based infrastructure and is a key purchasing consideration for consumer electronic IoT devices.

Read more...
NuWave Technologies: Excellence in electronic component procurement
NuWave Technologies Editor's Choice
Based in Randburg, Gauteng, NuWave Technologies is built on core values of integrity, honesty, transparency, and service excellence.

Read more...
Arduino platform with Analog Devices technology for flexible industrial control
Altron Arrow Editor's Choice DSP, Micros & Memory
Software-configurable systems enable industrial OEMs to deliver unprecedented flexibility to the factory floor, while simplifying product complexity.

Read more...
Accelerating RF PCB design in a 5G world
ASIC Design Services Editor's Choice Design Automation
Billions of IoT devices coming online in the coming years will require RF design capabilities that support ultra-fast 5G speeds.

Read more...
Achieving lowest cost, scalable and dynamic wireless mesh network installations
CST Electronics Editor's Choice Telecoms, Datacoms, Wireless, IoT
In many situations it is desirable for sensors to be connected wirelessly in a mesh network as this saves infrastructure and cost since long cabling runs are not required.

Read more...