The architecture of an IoT gateway and how to choose it for an application?

by Apr 22, 2020Development Board

What is an IoT Gateway? | Open Automation Software

An Internet of Things (IoT) gateway is a physical device or software application that serves as the point of connection between the IoT application server and end devices. All data moving to and from the IoT application server goes through the IoT Gateway. IoT Gateway are the most important part of your IoT infrastructure so choosing a powerful and appropriate gateway is important for the success of your project.

Architecture of an IOT gateway

Hardware Architecture

Hardware Architecture

You can choose from the following two IoT architecture:

  • Each end device has inbuilt IoT Gateway functionality – example an AMR energy meter. This approach is useful when the device is self contained and does not require any external sensors or devices to be connected to it. It requires a custom device to be developed and only makes sense when volumes are high.
  • Each end device connect to a central IoT Gateway – example multiple energy meter connecting via a RS485 bus to a central IoT Gateway. This approach is useful when you need to integrate external sensors and devices. You can leverage off the shelf components, reducing both time and cost of the project.

Embedded Software Architecture

Hardware Architecture

Important IOT gateway features

Memory for Data Logging

IoT relies on the internet as the main communication channel between the IoT devices and the IoT application server. The IoT edge application running on the IoT Gateway would usually be acquiring data from end devices and pushing it to the IoT application server. In the case when internet on the IoT Gateway is down it should have enough memory to store at least a few days of data. May be even more in case it is difficult to reach sites or with sites with poor network connectivity. This will prevent any data loss in absence of internet to upload it to the server.

HW watchdog external to the Microcontroller 

This feature will save you many site visits when you’re IoT Gateway, hangs or becomes unresponsive. Most microcontrollers have an internal watchdog but this would only restart the microcontroller in case of edge application hanging. In case the microcontroller itself hangs, the external watchdog will still do the job of restarting the microcontroller.

LED Indications

LED indications are good for fast troubleshooting on site. This is usually very useful feature for your field team for troubleshooting issues in the field.

RTC (Real Time Clock)

Most IoT application rely on data being accurately stamped. Most IoT Gateways that do not have an RTC clock rely on the network time to timestamp the data. This approach has a serious problem in case the device reboots and there is no network to update the current time. In this case, the data would be time-stamped wrongly. An RTC allows accurate time stamping of data even if a reboot occurs in absence of network time source.

Remote Diagnostics

An IoT Gateway that sends diagnostics data to the application server helps you identify issues more effectively. This can reduce a lot of time and money spent on troubleshooting issues.

Open Application Environment

The IoT Gateway application framework should be open to developers to develop an application on top of it so that the IoT Gateway does not lock you to a cloud or IoT application vendor. You can anytime replace the application with any other edge application to support the new IoT application service provider.

TPM for certificate storage and identity management 

If you have devices that are installed in an easily accessible location, you run a chance of device credentials stored directly on the device (in the application code or a configuration file) being stolen. Devices equipped with TPM store device credentials in a dedicated TPM device. Credentials stored in TPM cannot be read or duplicated even if someone has physical access to the device.

TLS, SSL and Client side X509 Certificate Support 

The TCP stack used in the IoT Gateway should support TLS and client-side certificate to secure connection between the IoT Gateway and the IoT application server.

These are some of the important IOT features that you should definitely consider before you select an IOT gateway that best suits your needs. I hope this article helped you select an appropriate IOT gateway.

Creating a multiplication Skill in Alexa using python

Written By Monisha Macharla

Hi, I'm Monisha. I am a tech blogger and a hobbyist. I am eager to learn and explore tech related stuff! also, I wanted to deliver you the same as much as the simpler way with more informative content. I generally appreciate learning by doing, rather than only learning. Thank you for reading my blog! Happy learning!

RELATED POSTS

Raspberry Pi 5 vs Raspberry Pi 4 Model B

Raspberry Pi 5 vs Raspberry Pi 4 Model B

Introduction: The introduction of Raspberry Pi 5 has reinvigorated the Raspberry Pi ecosystem, prompting a common dilemma: "Should one wait for the Raspberry Pi 5 or proceed with purchasing the Raspberry Pi 4?" This article seeks to provide clarity by examining the...

Arduino Uno Vs Raspberry pi

Arduino Uno Vs Raspberry pi

Anyone interested in IoT and robotics would have seen boards such as Arduino and Raspberry Pi. What are they? Competitors? Or friends?  Most often they are perceived as...

Beaglebone: A Technical Study

Beaglebone: A Technical Study

Introduction In the last few years, there has been a rapid increase in single-board microcontrollers. Nowadays, a trend has shifted towards the development of full-fledged credit-card sized computers like Arduino Mega2560, Raspberry Pi, Orange Pi, Chip and even...

What is an Internet Of Things (IOT) Gateway

What is an Internet Of Things (IOT) Gateway

An Internet of Things (IoT) gateway is an agent that serves as the connection point between the cloud, controllers and sensors. It may be a physical device or a software program. All data moving to and from the cloud moves through this gateway. It may also be...

Common Hardware platforms for Internet of Things

Common Hardware platforms for Internet of Things

In this article, I have written about some of the basic and commonly used hardware platforms for your IoT projects. Hardware platforms are the main part of your IoT project where your components are connected with that. You can compare the hardware with the feature,...

VIDEOS – FOLLOW US ON YOUTUBE

EXPLORE OUR IOT PROJECTS

IoT Smart Gardening System – ESP8266, MQTT, Adafruit IO

Gardening is always a very calming pastime. However, our gardens' plants may not always receive the care they require due to our active lifestyles. What if we could remotely keep an eye on their health and provide them with the attention they require? In this article,...

How to Simulate IoT projects using Cisco Packet Tracer

In this tutorial, let's learn how to simulate the IoT project using the Cisco packet tracer. As an example, we shall build a simple Home Automation project to control and monitor devices. Introduction Firstly, let's quickly look at the overview of the software. Packet...

All you need to know about integrating NodeMCU with Ubidots over MQTT

In this tutorial, let's discuss Integrating NodeMCU and Ubidots IoT platform. As an illustration, we shall interface the DHT11 sensor to monitor temperature and Humidity. Additionally, an led bulb is controlled using the dashboard. Besides, the implementation will be...

All you need to know about integrating NodeMCU with Ubidots over Https

In this tutorial, let's discuss Integrating NodeMCU and Ubidots IoT platform. As an illustration, we shall interface the DHT11 sensor to monitor temperature and Humidity. Additionally, an led bulb is controlled using the dashboard. Besides, the implementation will be...

How to design a Wireless Blind Stick using nRF24L01 Module?

Introduction Let's learn to design a low-cost wireless blind stick using the nRF24L01 transceiver module. So the complete project is divided into the transmitter part and receiver part. Thus, the Transmitter part consists of an Arduino Nano microcontroller, ultrasonic...

Sending Temperature data to ThingSpeak Cloud and Visualize

In this article, we are going to learn “How to send temperature data to ThingSpeak Cloud?”. We can then visualize the temperature data uploaded to ThingSpeak Cloud anywhere in the world. But "What is ThingSpeak?” ThingSpeak is an open-source IoT platform that allows...

Amaze your friend with latest tricks of Raspberry Pi and Firebase

Introduction to our Raspberry Pi and Firebase trick Let me introduce you to the latest trick of Raspberry Pi and Firebase we'll be using to fool them. It begins with a small circuit to connect a temperature sensor and an Infrared sensor with Raspberry Pi. The circuit...

How to implement Machine Learning on IoT based Data?

Introduction The industrial scope for the convergence of the Internet of Things(IoT) and Machine learning(ML) is wide and informative. IoT renders an enormous amount of data from various sensors. On the other hand, ML opens up insight hidden in the acquired data....

Smart Display Board based on IoT and Google Firebase

Introduction In this tutorial, we are going to build a Smart Display Board based on IoT and Google Firebase by using NodeMCU8266 (or you can even use NodeMCU32) and LCD. Generally, in shops, hotels, offices, railway stations, notice/ display boards are used. They are...

Smart Gardening System – GO GREEN Project

Automation of farm activities can transform agricultural domain from being manual into a dynamic field to yield higher production with less human intervention. The project Green is developed to manage farms using modern information and communication technologies....