Académique Documents
Professionnel Documents
Culture Documents
Abstract—This article proposes an application of a mini- operate in the Internet of Things will tend to change its
malistic Real Time Operating System (RTOS) for a construc- direction towards minimalistic solutions and will depart
tion of a device that works in the Internet of Things. The from using complicated operating systems that demand
solution described in the article is an effective and feasible
alternative to minicomputers with the Linux and Python a large number of resources. A good example of this
language interpreter. The application of RTOS reduces approach is the home wireless router. Initially, a Linux
significantly the required hardware resources, which results distribution system called OpenWRT [2], [5] was installed
in a decrease of the cost of the device and an increase in its on routers. This software was then replaced with another
energy saving efficiency and reliability. The paper presents one and, as a result, the router was equipped with the
the design of an access server that makes remote operation
of 16 serial ports possible and that controls 16 power lines amount of flash memory on the device that was twice
via the Ethernet. The device has been developed on the basis as lower. Other examples include personal computers. In
of an 8-bit micro-controller equipped with 64 kB of external many households stationary computers became an insep-
memory for data and simple power-saving ethernet driver arable element in our life, while their use was versatile
without dedicated processor. Thanks to the application of and universal. A noticeable decline in the interest in
the operating system the software is composed of a number
of tasks running in parallel and being in close communication stationary computers (the personal computer era) in favour
with one another. With the approach that is compatible with of mobile devices, i.e. tablets and smartphones, is clearly
the philosophy of the Internet of Things, there is no need evident. This tendency, called ubiquitous computing, is
to implement an advanced management panel on the device. well-grounded as low costs of electronic devices and
This functionality can be implemented in the cloud – on a the decidedly higher comfort in their use, as opposed to
virtual server.
personal computers, are just plain to see [6].
Keywords-Real Time Operating System; Routers; Embedded The Internet of Things (IoT) as well as machine to
Systems; Internet of Things, FreeRTOS. machine (M2M) solutions are even one step forward than
ubiquitous computing. In IoT all devices are connected in
I. I NTRODUCTION a global network. Such an approach to telecommunications
The introduction of micro-controllers and processors is though complicated. In earlier solutions of the M2M
has resulted in a technological revolution comparable to type, devices communicated with the help of their own
that of the replacement of vacuum tubes by transistors. simplified protocols that, more often than not, were not
Thanks to the overall performance of processors it is easy standardised. The use of network protocols in IoT requires
now to construct a controller that, not long ago, was to high outlays related to the implementation, which often
be built from a combination of systems that were made results in the frequent application of an operating system,
of single logic gates where logic gates could be combined e.g. Linux, that has demands of a few orders higher than
to make logic systems. What is more, controllers built in the devices on which it has been implemented for M2M
the new technology are far more elastic in terms of their solutions. Such a high system requirements (technical
reconfiguration. Until quite recently similar constructions specifications) often result from the demand for the least
have been widely used in industrial and amateur systems. amount of work with the implementation only and the
This approach has made it possible to simplify the process need for launching a product on the market as soon as
of design and construction of systems. Similar solutions possible. This approach however, has a number of funda-
have been used in devices supporting the Software Defined mental disadvantages, such as: high system requirements
Networks (SDN) [1], [2] or Internet of Things (IoT) [3], (a large memory of the order of at least a gigabyte, CPU
[4]. A great number of devices are based on a micro- ratio), a relatively high energy and cost requirements, as
computer and operating system. However, from the point well as potentially higher failure frequency. The situation
of view of the capabilities of present-day devices, this described above is a typical case of the phenomenon of
solution is not particularly effective due to its excessive bloatware [7].
use, as compared to the actual needs, of computational This article presents an application of a minimalistic
resources (processor and memory). Real Time Operating System FreeRTOS in implementa-
By studying the current trends of development, it can be tion of devices that work in the internet of things. An
said that the approach towards construction of devices that application of an operating system makes it possible to
Figure 4. Format of the message sent between the access server and
the virtual console