⤓ Download the PDF

Author: Justin Rigling, Rigado CTO


Gateways play a critical role in commercial and enterprise IoT applications. They manage end devices in a complex environment, collect and analyze data, provide local command and control, secure edge infrastructure, and communicate processed and/or aggregated data to the cloud. Determining your requirements for the gateway for your specific IoT use case is an important first step in designing an IoT solution.

As prototyping an IoT gateway solution can help, I’m often asked about the best approach. And, more specifically, if Raspberry Pi is the best starting point or if there is another solution. The answer depends in part on your particular needs when it comes to project timing, level of required support, hardware adaptability, production scale, security, power, connectivity, exterior appearance, and your business case.

To help answer this important question, I’ll walk through two common IoT gateway prototyping approaches: Raspberry Pi and commercial-grade production gateways. Keeping in  mind for both the common goal of scalable and cost-effective mass production.

Raspberry Pi

Project Timing

If you need to get started quickly Raspberry Pi is certainly a viable option, as devices can be purchased readily on hundreds of websites. With hardware in hand you can get started right away. Unfortunately, the Pi does not come with an operating system, so you will need to spend some time choosing the right one and installing it on your one or more devices.

You may need to spend additional time once the OS is up and running determining connectivity add-ons required to make the Pi into a fully capable gateway device.

Power is a critical consideration for your IoT gateway, especially as many commercial buildings today use Power over Ethernet (PoE). Raspberry Pi does not offer PoE as an option, however this is mitigated by adding on a PoE adapter.  Installing Ethernet cabling, considered a “low voltage” installation, significantly simplifies installation and reduces cost, as PoE is less expensive than wiring in an outlet.


The Raspberry Pi 4 has both Wi-Fi and Bluetooth 5 built in. This can pose an issue, though, if you try to stream too much data, as the two radios will compete for air time. For example, if your project will scan Bluetooth Low Energy (BLE) for nearby devices advertising sensor data or location information, your system will effectively be deaf every time the Wi-Fi radio sends a packet to the cloud.

Conversely, if your use case requires cellular connectivity, using Raspberry Pi means you’ll need to plug in a USB modem. You will also require a daughter card if you need Thread, ZigBee or other proprietary mesh protocol.

Raspberry Pi has a great online community. It is very active and many of the common pitfalls of setting the device up as an IoT gateway have already been experienced and overcome by other users. This being true, you will still need to do all the investigation and educate yourself very thoroughly to be successful. In the end you will need to be your own best support for the product throughout prototyping and even through its complete life cycle as your implementation will be unique to you. Further, if you get beyond prototyping and plan to deploy in a Commercial IoT application at scale you will need to build out your own 24/7 support system.

Hardware Adaptability and Optimization
If you are looking for the most hardware flexibility and adaptability, then the Raspberry Pi is certainly the way to go. There are many, many ways to add functionality and capacity in all of the components. The challenge comes when you look to optimize the hardware for cost, ability, and efficiency at scale after you are done prototyping. Often times you will end up paying more at scale because your OS takes up a lot of space and so you need extra storage in each gateway. Or your Bluetooth antenna does not have good range, so you’ll need twice as many gateways as you expected to cover the area required in your solution. Finally, in many commercial environments you will need your final hardware configuration to be certified before it can be used in production, which can be time consuming process.

This is one area where the Pi will not compare very well. By default, security at each level (hardware, OS, network, application, etc.) will have to be implemented from scratch by you. For Commercial IoT use cases, you will need to secure the Pi in many ways to thwart the vulnerabilities inherent in having a connected computing device in a physically unsecured environment like a hotel room, restroom, or warehouse. Further, assuming you choose one of the common operations systems you will also need a way to keep it up-to-date, as new versions of the OS are released to protect against CVEs that are discovered. Thought this effort will not be too bad in prototyping it will be particularly challenging with hundreds or thousands of these gateways in a production environment.


Can you imagine the Raspberry Pi with its open plugs, connectors and motherboard at your local restaurant or retailer? Luckily, the popularity of the Raspberry Pi means that you can easily find enclosures (though most are intended for hobbyists). In my experience, companies want a sleek IoT gateway enclosure with design elements for cable management, and often wall or ceiling mount options for installation.



Cost and TCO
The cost analysis of using a Raspberry Pi is similar to the cost analysis of almost any DIY solution, the acquisition cost of the base product is very affordable and looks appealing. However, once you have purchased all of the additional parts (extra antennas, cellular modem, enclosure, etc.) to make it into a fully featured, deployment-ready IoT gateway the cost is significantly more. Then there is a total cost of ownership, after the prototyping phase, based on the costs of building out a deployment, management, and security platform so that the solution can really function at scale. Finally, there are costs related to the increased risk associated with a first-of-a-kind product, along with building out an ongoing support department, and possible lost opportunity due to a longer time-to-market.

Production-Ready Gateway

Next let’s assess production-ready commercial IoT gateways against these elements.

Project Timing
The actual purchase and acquisition of the IoT gateway will take longer with a commercial solution than with the Raspberry Pi. Since these commercial solutions are production-ready you will more than likely want to do a feature and cost comparison and possibly even a POC on several different models and/or services. However, once you decide on a solution, getting the solution up and running will happen 5-6 times faster with the commercial solution than with the Pi. In the end you will get through POC and prototyping, and move on to production, significantly faster than on a Pi, and you should also be able to build on the same platform through each development stage shortening time to market.

Production-ready IoT gateways often come equipped with popular commercial-grade features such as Power over Ethernet. Many commercial building spaces prefer PoE to simplify and reduce the cost of installation. An added benefit? Most wireless access points are powered by a switch that has a battery backup, so the IoT system using the same switch can still function even if the power goes out.

Connectivity is where a commercial IoT gateway can really shine. For example, some IoT gateways support Wi-Fi at both 2.4GHz and 5.8GHz, as well as give users cellular connectivity options. No matter how much data you need to transmit, it will do so smoothly, without competition for resources. Additionally, leading commercial-grade IoT gateways will also provide support for Bluetooth 5, Thread, ZigBee and possibly other proprietary mesh protocols, thus decreasing the engineering resources needed to design and manufacture your gateway solution.


Support is one of the biggest differences between the DIY approach of a Raspberry Pi based IoT gateway and a commercial solution. With the commercial solution you should expect to get 24/7 support provided by several levels of technicians. Most will offer immediate call-in support and an email option for lower severity concerns. Some will even offer the option to have the technician remotely access your gateways to investigate problems and tune them up.

Finally, with, for example, Rigado’s Cascade IoT Edge-as-a- Service you are provided with a complete managed service where the connectivity infrastructure is taken care of so that you can focus just on your application and providing real, differentiated value to your customers.

Hardware Adaptability and Optimization
With production-ready IoT gateways you’ll likely have several models to choose from, often with some configuration options, but ultimately not nearly as flexible as a Pi solution. What you should get in exchange for this less adaptable solution is the lowered risk of a more reliable, field proven design with increased hardware efficiency and optimization. These designs have been tested and re-tested. They have also been optimized to meet exact environmental requirements with no excessive hardware, so that they can be as cost effective as possible during prototyping and even more significantly so at scale.

Security in a DIY solution is often an afterthought, and this is certainly understandable. There is quite a bit of work that goes into getting the solution to just work, and work consistently – collecting, processing and then sending data to the cloud. Often teams are already behind schedule just getting the solution to a point of working reliably. The good news is that some production-ready solutions offer security patching as a service, which is a great way of at least keeping the OS up to date. Beyond prototyping and into production, IoT security must necessarily go much further, because in most cases the IoT gateway is in an unsecured or only marginally secured environment like a hotel room or a restaurant. As such, there needs to be robust security at each level (hardware, OS, network, application, etc.) and this security needs to start at manufacturing and extend all the way to the production environment. For production environments at scale you will also need a complete monitoring and alerting system to proactively help you determine if a breach is occurring, so that you can counter it quickly.

When professional appearances matter, production-ready IoT gateways conceal cables and typically include wall and ceiling mounting options. And, in most cases will ship directly to your end-user customers where installers can simply open the box and add your gateway to the building. Leading gateway providers will even enable you to customize the gateway’s exterior, branding it with your company colors and more.

Cost and TCO
As mentioned above the initial purchase price for a production-ready IoT gateway will likely be considerably higher than that of the Raspberry Pi. In the case of some production-ready gateways there is also an ongoing cost for support and managed services that you do not have with the Raspberry Pi. The best comparison is really after a successful prototype and includes comparing the total cost over time for the gateway in production at scale, including the soft costs of deploying, updating, and maintaining the complete, secure IoT infrastructure.

In many cases the choice between a DIY and production- ready PoC solution is ultimately decided based on the personnel that you already have on staff. If you have hardware engineers and an assembly team already, and if you have software engineers and an operations team that will simply add the IoT infrastructure design, deployment, and maintenance to their current activities, then the DIY approach using something like the Raspberry Pi may be the more affordable option.

Or if your need is relatively small and your whole solution has 20 or so gateways in maybe one or two relatively secure locations, even at full production then the Pi may be the right choice. In this case it may be a bit of a pain to maintain and update the devices, but the pain is relatively low because the scale is small.

At the end of the day, deciding which path to take for your IoT gateway prototype is not easy. A majority of the drawbacks with the Raspberry Pi can be mitigated by adding onto it. Yet, adding elements can add time and cost to the process. Conversely, production-ready gateways come equipped with many popular features and functions. Yet, this means that you may end up paying for features that you don’t need and/or won’t use. To effectively assess which approach is best for you, I highly recommend starting with the end goal after prototyping — scalable, cost-effective mass production — and work backward to find the right gateway solution for your needs.



The Latest From Rigado


Enterprise IoT: Are We There Yet?

September 13, 2019

With Summer coming to an end and a busy season of events and announcements on the way, I thought it would be good to take stock of some of the recent research in the world of Enterprise IoT and assess where the market stands heading into 2020. Let’s dive in. Gartner’s IoT Hype Cycle Report: […]

Read More


Mobile World Congress – Americas

October 22 - 24, 2019

Join Rigado at MWC Los Angeles 2019, bringing together leading companies and influential experts from all sectors within the mobile technology industry to advance Intelligent Connectivity – a fusion of 5G, IoT, AI and Big Data. MWC19 Los Angeles will offer the most dynamic technology exhibition and an inspiring conference …

Read More

Media Mentions

The World of “Multi-Access Edge Computing” and 11 Companies Harnessing Its Power

September 4, 2019

Rigado creates IoT data solutions for smart, connected environments. One of the company’s products, the Cascade-500 IoT Gateway, provides edge connectivity to sensors, devices and the cloud. With a wide range of connectivity options (including Cellular LTE), Rigado can relay smart building information to the cloud with lower latency ..

Read More

Stay up-to-date with the Rigado Newsletter