How to Connect IoT Devices to the Internet

In this article, we’ll be taking a look at how to connect IoT over the internet and honing in on some of the most practical approaches.

Newicon Team A Post From Newicon
·12 min read (3228 words)
IoT network

Probably one of the biggest misconceptions about IoT is that it must be connected over the internet.

Despite the name “Internet” of Things, IoT can exist without a direct internet connection and there are many cases where WiFi and SIM cards aren’t the chosen connection methods or are only used for setup and configuration purposes. 

In spite of this, when it comes to smart consumer devices, a lot of manufacturers are opting to put their devices online.

Why?

Well, often it’s because companies want to meet user expectations and offer convenience.

What does that mean?

Modern consumers expect to have control over the devices within their digital world, and they want to take this digital universe with them everywhere

In the last two decades, we’ve seen the humble telephone transform into a mobile smart device that can be used to browse the internet, run software applications, make payments and monitor health vitals. All while on the go.   

If that weren’t enough, customers also expect these devices to be "plug-and-play," with as little manual input as possible. Since internet-connected devices align with this expectation, they become a popular choice for companies wanting to offer their customers an intuitive and hassle-free experience.

Going online offers benefits to businesses too… 

In industry, hyper-connectivity enables remote monitoring, automation, the collection of actionable data from distributed sensors and predictive maintenance. With an internet connection, data can be transported to the cloud, making the possibilities for integration and analysis almost endless. 

Cellular: How to Connect IoT with a SIM Card

Now that we’ve looked at some of the reasons why business owners and consumers tend to lean toward internet-connected devices, let’s explore our first connectivity type – cellular.

In order for cellular IoT to work, a SIM card is placed inside of an IoT device. This is normally housed within a designated slot or integrated into the device's module or modem. This IoT SIM stores information including the device's unique identifier, authentication keys, and other details required for network access.

Once the SIM card is in place, it allows the device to establish a secure connection with the cellular network, enabling communication with nearby cell towers. This then facilitates the transmission of data to and from the internet.

Communication Protocols

Here are some of the most common protocols that govern wireless cellular communication:

LTE-M is a low-power, wide-area (LPWA) cellular technology specifically designed for IoT devices. It is designed to offer efficient data transfer, extended battery life, and improved coverage when compared with traditional LTE networks.

LTE-M can be used for applications like asset tracking, smart meters, and wearables.

NB-IoT is another LPWA cellular technology designed for low-power, wide-area communication. It tends to offer better coverage in challenging environments, with a focus on supporting a massive number of devices. This is why it is commonly used in smart city applications, smart agriculture, and industrial IoT.

4G LTE, one of the more widely used cellular technologies, is designed to deliver high-speed data transfer, low latency, and reliable connectivity. While not designed explicitly for IoT, it remains a viable option for applications that require robust cellular connectivity.

With the advent of 5G technology, IoT devices can leverage even higher data speeds and, again, offer low latency while providing increased network capacity. 5G IoT is particularly beneficial for applications requiring real-time data processing, such as augmented reality (AR), virtual reality (VR), and advanced industrial automation.

Lastly, we have CAT-M1. This is a cellular technology that falls under the LTE-M umbrella. Striking a balance between data rate, power consumption, and coverage, CAT-M1 is suitable for applications such as smart meters, healthcare devices, and asset tracking.

What Makes Cellular IoT a Desirable Choice?

There are a number of perks associated with the use of cellular connectivity. Here are some common advantages: 

Better Coverage in Remote Locations

As long as a robust signal is present, technologies such as NB-IoT and LTE-M can provide much better coverage than WiFi in remote settings or when tracking mobile devices, since they aren’t affected by obstructions and can transmit data over long distances. 

This makes them ideal for applications where seamless connectivity is crucial across expansive areas or in challenging environments. 

Ease of Onboarding and Setup 

Another benefit of cellular connectivity for IoT is that devices can be provisioned on the network without the need for users to enter complex Wi-Fi passwords or go through the authentication process. This means that not only is the initial setup easier, but it also allows for more seamless transitions between locations without the need for extensive reconfiguration.

When we were working on Switchee back in 2015 (a smart home device for housing associations) a SIM card was used for this exact reason as it eliminated the need for manual WiFi setups.

Potential Security Benefits

For those who need to make security their highest priority, cellular can be a great option. 

Unlike WiFi, cellular networks boast enhanced privacy and security through automatic encryption making them less susceptible to unauthorised access or interception.

Additionally, cellular security updates are managed by providers who tend to have specialised cybersecurity teams with a financial incentive to keep data safe. WiFi, on the other hand, requires the individual WiFi network owner to take proactive measures to prevent breaches and keep their connection secure.

Disadvantages of Cellular

Although cellular IoT does offer many benefits, there are some potential drawbacks to be considered. 

Elevated Cost

Firstly, cellular connectivity can be more costly per byte than WiFi. If your IoT devices generate a significant amount of data, especially in scenarios with frequent transmissions or large payloads, the costs can quickly add up and you need to decide who pays for that data and how. In this scenario, you might choose to look into transparent pricing models or think about bundling data costs into the overall product or service offering. 

You should also consider the possibility of significant roaming charges that may occur if you don’t use a specialised IoT SIM card for roaming. Although a simple consumer sim may appear to save you time and money, it can actually end up costing you if you deploy your IoT devices in multiple geographic locations with varying cellular networks.

Service Issues

Although technologies like NB-IoT and LTE-M can offer better coverage in remote settings compared to WiFi, this doesn't guarantee flawless performance in every instance.

Challenges such as service gaps and signal fluctuations can still exist, particularly in areas with limited cellular coverage or complex signals. Having a backup plan or alternative communication method may be necessary to ensure continuous and reliable operation. This is a common practice and often, devices will offer dual options for connectivity, just as you get with mobile phones.

Problems with Device Tracking

Another common issue is that device location tracking using cellular networks may vary. 

Although cellular technologies have advanced, challenges in accurately pinpointing a device's location can occur, especially in densely populated urban areas with numerous signal obstructions. This limitation can affect applications that rely heavily on precise location data, such as asset tracking or geofencing. 

Power Consumption

Lastly, although both can impact battery life significantly, generally speaking, cellular technologies tend to use slightly more power than WiFi. This is because cellular has to try to maintain a constant connection to the network which requires continuous communication with cell towers, leading to more frequent data exchanges and signaling activities. 

Cellular IoT Recap

As always, the decision to use or not use a SIM card for IoT will always be dependent on your unique requirements and what you are trying to achieve. 

If you’re budget-conscious and only need your IoT devices to function in an indoor environment, WiFi could prove to be a better option however, if security is a major concern and you want fast, straightforward connectivity, cellular may be a more practical choice.

WiFi: How to Connect IoT Wirelessly

Next up we have WiFi. When connecting IoT devices over WiFi, the wireless connection is facilitated by a wireless adapter within the IoT device. 

Once connected, the wireless adapter links with the router, serving as the conduit for the device's data to traverse the internet via a wired connection. This link must comply with WiFi standards like WiFi 7 or 802.11ax (WiFi 6) in order to ensure compatibility among the IoT device, the wireless adapter's chip, and the router.

What are WiFi 6 and WiFi 7?

You may already be very familiar with WiFi 6 and 7 but, if not, these two communication frameworks are simply standards for wireless communication. 

WiFi 6, also known as 802.11ax, is the current widely adopted standard, offering faster speeds, improved efficiency, and better performance in crowded areas. 

WiFi 7, on the other hand, is the future standard. It is expected to bring further advancements in wireless technology, providing even faster speeds and enhanced capabilities compared to WiFi 6.

Advantages of WiFi Connectivity for IoT

Let’s look at some of the benefits of using WiFi to connect IoT over the internet.

Cost-Effectiveness

First up is cost-effectiveness. When compared to cellular alternatives, WiFi can be a more purse-friendly option for stationary IoT devices. This is because, as you would imagine, leveraging existing networks eliminates the need for additional data plans. 

With that being said, it’s important to factor in the maintenance costs of WiFi which can rack up over time. For a modest home setup, it’s not normally too much of an issue; however for use in the workplace or in a home where there are plans to add additional IoT devices, WiFi upgrades and security measures may be required.

Efficient Data Transfer

WiFi excels in swift and substantial data transfers which is why it’s often chosen for high-performance applications that regularly demand quick and efficient data exchange.

This can give WiFi an advantage over cellular networks in terms of speed and reliability.

Lower Power Consumption

Lastly, when compared with SIM-based IoT, WiFi does tend to consume slightly less power which might be helpful in scenarios where prolonged device operation is key. 

In spite of this, most research suggests that power consumption, particularly when using battery-operated devices, is still a major concern with WiFi and therefore, energy-saving modes should be considered as part of the device design.

Drawbacks of WiFi Connectivity for IoT

As with all technology, there are some limitations. Here’s what you need to know… 

Security Levels May Vary

Although WiFi is widely used, its security for IoT devices is very much dependent on the user's WiFi network. Even though there are ways of encrypting local WiFi networks, many consumers fail to protect their connections which puts them at risk. What’s more, in instances where IoT devices are connected to shared or public WiFi networks, these risks are heightened. Due to the inherent vulnerabilities of shared connections, there is a danger of exposing IoT devices to unauthorised access, data breaches, and malicious activities. For businesses using IoT, these are never things to take lightly. Therefore, to protect a business network, an up-to-date firewall is a must. 

Want to find out more about how to protect your network? Check out our article on preventing IoT Security issues

Onboarding and Setup Dependency

When it comes to onboarding and setup processes, WiFi not only requires access to the network with usernames and passwords but it may also have to rely on another connection like Bluetooth or a wired connection to facilitate the initial configuration. 

Even if just a minor drawback, these additional steps for setup can make IoT devices less convenient and less user-friendly, especially when compared to the straightforward nature of cellular setups.

Interruptions from Other Devices

One last thing to consider when connecting with WiFi is interruptions.

Unfortunately, the WiFi signal of IoT devices can be susceptible to interference from other devices on the network. This susceptibility can result in signal degradation or disruptions, impacting the reliability of data transmission and overall device performance. 

WiFi Recap

As you can see, while WiFi connectivity may provide some benefits in terms of cost-effectiveness and data transfer, it can require further consideration and careful planning for scenarios where stringent security measures need to be taken. 

Of course, for devices used within a workplace setting, businesses are far more likely to take extra precautions to manually secure their WiFi networks than home users, however, human error, failure to run updates and various other vulnerabilities can still be exploited.  

On top of this, it’s vital to remember that for moveable devices, WiFi generally isn’t a feasible option. Moving devices, such as wearable fitness trackers and electric vehicles, need to maintain a constant connection. Therefore, IoT SIM cards, smartphones (used as a cellular bridge) and even options like Swarm and Starlink Roam, are likely to provide better solutions.

Satellite Connectivity

Swarm satellite connectivity, for example, is already gaining attention due to its low cost global data for IoT and widespread coverage. This low price point is thanks to the small size of the satellites deployed which makes them cheap to launch and therefore cheaper for the customer.

When we look at Swarm in comparison to cellular and WiFi, it provides a lot more convenience and flexibility for businesses with many IoT devices on the go or that are located in hard-to-reach areas. 

This is why the technology has become popular for use in agriculture, transportation and logistics, maritime transport and other similar industries. 

Exploring IoT Connectivity: Beyond the Internet Misnomer

As we mentioned at the start, IoT doesn’t have to communicate via the internet and at times, software developers, business owners and CTOs will decide to create local networks so that they can leverage cloud technologies without being directly connected to the net.

Offline connections may also be used in scenarios where devices operate in isolated environments or where constant internet connectivity is unreliable or costly. In this case, a local communication approach, such as Zigbee or Bluetooth, might be chosen as an alternative. 

Bluetooth and Zigbee tend to work well in scenarios where short-range, low-power, and localised connectivity are prioritised. 

Bluetooth, for example, excels in applications like wireless audio streaming, hands-free communication, and device pairing, due to its simplicity and energy efficiency. Although it’s generally more limited in terms of data transfer capabilities and wouldn’t be used for large data transfers like videos or large images, it is still an effective way to facilitate quick and secure communication.

Zigbee, on the other hand, is particularly well suited to smart home applications and industrial settings, excelling in scenarios where numerous devices need to communicate seamlessly within a localised network. Its mesh networking capabilities enable low-power, reliable connections among IoT devices. These benefits make it an excellent choice for creating interconnected ecosystems within a confined space. 

Although Zigbee, like Bluetooth, has its strengths in short-range, low-power communication, it may not be the optimal choice for scenarios requiring extensive data transfer or long-range connectivity. This is where Wi-Fi or cellular might be more suitable.

Is it safe to put IoT devices online?

While it’s important to educate people about the security risks involved with internet-based IoT connections and data stored in the cloud, there is a lot of misinformation around it. Web security features are getting more advanced all of the time and, in some cases, web connectivity can be more secure than a local network. We’ve seen this evidenced in the form of E-commerce and banking portals. 

The beauty of online connectivity and cloud-based data is that it enables deep analysis, remote monitoring, automation and control. We need these things if we want to improve efficiency and unlock the full potential of our IoT networks. 

With a local network, it’s very difficult to carry out this analysis as it requires big compute. It’s also harder to realise the distributed global possibilities of your system and to take advantage of future opportunities.

Onboarding Devices: Further Considerations 

When configuring and setting up IoT devices, choosing the right method for data transfer can sometimes be a challenge. If we use a SIM card or wired ethernet connection, configuration tends to be relatively straightforward because as soon as that sim-containing device is on or that cable is plugged in, you don’t need to do much else. However, not all options are quite so straightforward.

WiFi Network Configuration 

When an IoT device has a screen, such as a smart TV, the user can simply enter the WiFi network name and password when prompted. Yet, not all devices have screens and therefore must rely on mobile apps to act as controllers to enable setup. 

Devices like smart speakers, cameras and health devices can use the following methods for network configuration:

Bluetooth: Fortunately, Bluetooth is a relatively simple method for onboarding. Users can press a button on an IoT device and it will make itself known as a Bluetooth endpoint. For the user, this can feel quite seamless as the mobile app can automatically scan for matching Bluetooth signals and connect.

Once connected, the mobile app can present a user interface form displaying the wifi address and password. Once the details are entered, it tests the connection and sends this via Bluetooth to the device. The IoT device can then connect to the local wifi internet using these details. 

Device as a Wireless Router: Another option is for the device itself to present as a wireless access point (a bit like using a hotspot on a mobile phone).

In this scenario, the IoT device creates a temporary Wi-Fi network or hotspot to which other devices, such as a smartphone or tablet, can connect. This temporary network allows for the initial setup and configuration of the IoT device.

The mobile app instructs the user to connect to the device’s custom Wi-Fi network. Once connected, it presents a form for users to select their local Wi-Fi network thus providing internet access. 

It's important to note that the custom WiFi network itself does not grant internet access; its sole purpose is to facilitate the connection between the mobile app and the device, much like the Bluetooth example.

After users input the details for their local Wi-Fi network with internet access, the process for storing and connecting to the internet remains consistent. At this stage, the IoT device concludes its role as a wireless access point, and it no longer appears as an available network for connection.

The Future of IoT Connectivity

As we continue to seek out new solutions for fast, convenient and secure IoT connections, who knows what lies ahead?

We’ve already seen building excitement around 6G, with its deployment expected as early as 2030. If we employ this next-generation cellular technology in conjunction with satellite, could this help us to meet the demands of our ever-expanding IoT networks? Or, will the quest for flawless IoT connectivity continue for many years to come…

Connect with us to start an IoT project! 

If you’ve got an idea for an exciting IoT project, we’d love to hear from you. 

Over the years, we’ve worked with a number of forward-thinking companies and have helped them to bring their IoT visions to life. 

To get the ball rolling, give us a call on 0117 205 0425 or get in touch using our contact form.  

If you’re interested in seeing more real-life examples of our latest tech projects, take a look at our case studies and get inspired!

 


Newicon Team A Post From Newicon at Newicon

Join the newsletter

Subscribe to get our best content. No spam, ever. Unsubscribe at any time.

Get in touch

Send us a message for more information about how we can help you