Don't miss our upcoming live webinar:  

Skill assessments in the age of ChatGPT
Register Now

Find out how HackerEarth can boost your tech recruiting

Learn more
piller_image

7 open source IoT operating systems that are democratizing the IoT space

Open source IoT operating systems

The power of Open Source is the power of the people.  The people rule

                                                              – Philippe Kahn (the creator of world’s first camera phone)

The open source movement which started in 1998 as a niche went on to become a mainstream movement after the success of projects like Linux, Ubuntu, MySQL, Apache, etc. Later on, big companies like IBM, Microsoft, and Apple started using the open-source software development model.

Today, companies in IoT space like Samsung, Google, Huawei, and ARM are embracing the open source model by opening up their projects (both hardware and software) to the developer community and inviting them to contribute in building a world that is technologically reliable and robust.

Here are 7 operating systems for IoT devices that are open source and used to power a wide range of smart devices from wearables to driverless cars.

Note: All the operating systems that I’m writing about have two properties in common:

  • Low memory footprint
  • High power efficiency

Brillo

Google offers this as an Android-based operating system for embedded devices. It can run on constrained/low-end devices with at least 128MB of ROM and 32MB of RAM.

Brillo supports intercommunication technologies such as

  • Wi-Fi
  • Bluetooth
  • Thread

Brillo uses secure boot and signed over-the-air updates which make it more secure. Brillo supports various architectures such as

  • ARM
  • Intel
  • MIPS

Contiki

It was created in 2002 by Adam Dunkels and, currently, has developers all over the world. This open source software is released under a BSD license. Contiki has a built-in Internet Protocol suite (TCP/IP stack) and provides multitasking. It can comfortably work on constrained devices with 30KB of RAM and 30KB of ROM.

Contiki is supported on hardware platforms such as

  • TI CC2538
  • nRF52832
  • TI MSP430x
  • Atmel AVR
  • TI MSP430
  • Atmel Atmega128rfa1

RIOT

RIOT is an IoT operating system with real-time capabilities. It was first developed by a consortium of universities in Germany and France, which included Free University of Berlin, French Institute for Research in Computer Science and Automation, and Hamburg University of Applied Sciences. It is released under the GNU Lesser General Public License (LGPL).

It is based on microkernel architecture and runs on 8-32bit microcontrollers. RIOT supports multi-threading and the entire IoT network stack, which includes

  • 802.15.4 Zigbee
  • 6LoWPAN
  • ICMP6
  • Ipv6
  • RPL
  • CoAP

RIOT can run on constrained devices with a minimum of 1.5KB of RAM and 5KB of ROM; it supports architectures such as

  • MSP430
  • ARM7
  • Cortex-M0,M3 and M4
  • x86

Huawei LiteOS

It is developed by Chinese telecom giant Huawei. It was released in 2015 under ISC license. LiteOS is a real-time operating system of just 10KB in size and it supports advanced features such as

  • Auto discovery
  • Zero configuration
  • Auto networking

It supports interconnection technologies such as

  • LTE
  • NB-IoT
  • Wifi
  • 6LoWPAN

Kernel of LiteOS supports multi-CPU architectures such as

  • ARM
  • DSP
  • MIPS
  • x86

LiteOS can be installed on devices already running on Android, and it can be connected with various other third-party devices.

Apache Mynewt

Similar to RIOT and LiteOS, Apache Mynewt is also a real-time operating system for IoT devices.

The source code of Mynewt is distributed under Apache License 2.0. The OS is capable of running on  constrained devices with a minimum of 8KB of RAM and 64 KB of ROM. The Kernel of the OS is just 6KB but supports the following:

  • Preemptive multithreading
  • Priority-based scheduling
  • Memory heap and memory pool allocation
  • Multi-stage software watchdog

The biggest drawback of Apache Mynewt is its interconnection technology; as of now, it only supports Bluetooth low energy, but Wi-Fi, Thread, and Bluetooth 5 are part of the roadmap.

Currently, Apache Mynewt supports boards such as

  • Arduino Zero and Zero Pro
  • Arduino M0 Pro with ATSAMR21G18a Cortex M0
  • Arduino 101 (Bluetooth controller only)
  • Arduino Primo (Bluetooth controller and host)

Zephyr

This is a collaborative project under Linux Foundation and is available through the Apache 2.0 license. It was launched in February 2016.

In Zephyr OS, there are no loadable kernel modules because the kernel is statically compiled into a single binary executable file. This makes Zephyr safe from compile time attacks.

Zephyr is a real-time operating system which can run on a device with memory as  small as 8KB. The biggest strength of Zephyr is its interconnectivity technology, which includes

  • Bluetooth
  • Bluetooth LE
  • Wi-Fi
  • 6LoWPAN
  • CoPA
  • NFC

Zephyr supports the following architectures:

  • ARM
  • x86
  • ARC
  • RISC-V
  • NIOS-II

Ubuntu Core

Canonical, the company behind Ubuntu, recently released Ubuntu Core 16, which is also known as Snappy. It is called Snappy because the operating system (including Kernel, libraries and major applications) is delivered as a Linux application package known as snaps. The base file of Ubuntu core 16 is 350MB and all the files after installation are stored as images.

The Ubuntu Core 16 is compatible with the following boards:

  • Qualcomm Dragonboard
  • Samsung Artik
  • Intel Joule
  • Raspberry Pi2 and Pi3

To know more about the Ubuntu Core 16, read this article “Ubuntu Core 16: Building secure and interoperable IoT ecosystems.”

Open source is not just a business model or software development model but is a big opportunity for both professional coders and hobby programmers to touch a billion people and change their lives forever by contributing to opensource projects and pushing good code.

Hackerearth Subscribe

Get advanced recruiting insights delivered every month

Related reads

The complete guide to hiring a Full-Stack Developer using HackerEarth Assessments
The complete guide to hiring a Full-Stack Developer using HackerEarth Assessments

The complete guide to hiring a Full-Stack Developer using HackerEarth Assessments

Fullstack development roles became prominent around the early to mid-2010s. This emergence was largely driven by several factors, including the rapid evolution of…

Best Interview Questions For Assessing Tech Culture Fit in 2024
Best Interview Questions For Assessing Tech Culture Fit in 2024

Best Interview Questions For Assessing Tech Culture Fit in 2024

Finding the right talent goes beyond technical skills and experience. Culture fit plays a crucial role in building successful teams and fostering long-term…

Best Hiring Platforms in 2024: Guide for All Recruiters
Best Hiring Platforms in 2024: Guide for All Recruiters

Best Hiring Platforms in 2024: Guide for All Recruiters

Looking to onboard a recruiting platform for your hiring needs/ This in-depth guide will teach you how to compare and evaluate hiring platforms…

Best Assessment Software in 2024 for Tech Recruiting
Best Assessment Software in 2024 for Tech Recruiting

Best Assessment Software in 2024 for Tech Recruiting

Assessment software has come a long way from its humble beginnings. In education, these tools are breaking down geographical barriers, enabling remote testing…

Top Video Interview Softwares for Tech and Non-Tech Recruiting in 2024: A Comprehensive Review
Top Video Interview Softwares for Tech and Non-Tech Recruiting in 2024: A Comprehensive Review

Top Video Interview Softwares for Tech and Non-Tech Recruiting in 2024: A Comprehensive Review

With a globalized workforce and the rise of remote work models, video interviews enable efficient and flexible candidate screening and evaluation. Video interviews…

8 Top Tech Skills to Hire For in 2024
8 Top Tech Skills to Hire For in 2024

8 Top Tech Skills to Hire For in 2024

Hiring is hard — no doubt. Identifying the top technical skills that you should hire for is even harder. But we’ve got your…

Hackerearth Subscribe

Get advanced recruiting insights delivered every month

View More

Top Products

Hackathons

Engage global developers through innovation

Hackerearth Hackathons Learn more

Assessments

AI-driven advanced coding assessments

Hackerearth Assessments Learn more

FaceCode

Real-time code editor for effective coding interviews

Hackerearth FaceCode Learn more

L & D

Tailored learning paths for continuous assessments

Hackerearth Learning and Development Learn more