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, siphiwe@otto.co.za, www.otto.co.za


Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

What is device management and why should you care?
25 November 2020, Trinity IoT , Editor's Choice, Telecoms, Datacoms, Wireless, IoT
When device management is implemented alongside a centralised interface, companies can update firmware or software, without the need to manually perform each update in the field.

The A to Z of A2B applications
25 November 2020, Altron Arrow , Editor's Choice, Telecoms, Datacoms, Wireless, IoT
An A2B device’s support for up to 32 channels of downstream audio and upstream audio on the network facilitate the distribution of multiple channels of different audio content within a single system.

What makes good connector design?
25 November 2020, IPD Electronics , Editor's Choice, Interconnection
It’s important to remember that your connector may have physical design constraints like a minimum wire gauge or number of contacts, so it’s vital to consult with your connector supplier early in the process.

Personality profile: Dereck Styane
25 November 2020, Phoenix Contact , Editor's Choice, News
“We do try and develop people and promote them from within the company, so I savour people’s personal growth that I’ve overseen.”

Products of the Year 2020
25 November 2020 , Editor's Choice, News
A selection of some of the best products to hit the South African electronic engineering market this year.

Why you don’t take ‘touch’ for granted
30 September 2020 , Editor's Choice
The key criteria for choosing the right sensor control IC          Touch has become an incredibly intuitive way for people to interact with high-tech devices. In just a few short years after the first ...

Ask your PCB supplier about reliability, not just capability
28 October 2020, Elmatica , Editor's Choice, Manufacturing / Production Technology, Hardware & Services
Make sure to discuss combinations and how your solution affects risk of failure with the multiple heat cycles required to assemble the product, and the risk of failure in the final application.

How you can help your EMS partner
28 October 2020, Jemstech , Editor's Choice, Manufacturing / Production Technology, Hardware & Services
If you want a good quality, reasonably priced product in a quick turnaround time, always communicate your assembly requirements effectively with your EMS partner.

Practical experience with PCB robotic soldering processes
28 October 2020 , Editor's Choice, Manufacturing / Production Technology, Hardware & Services
Over the past few years there has been a lot of discussion over the need for higher temperature materials and expanding the use and knowledge of high temperature assembly techniques.

TRX welcomes Hannes Taute as new MD
28 October 2020, TRX Electronics , Editor's Choice, News
We delve into his background, what his plans for TRX Electronics are, and how he envisions what the future of the local electronics industry will look like.