Wpisy

Docker has revolutionized the software development industry. This enables developers to create containerized applications that are easier to scale and maintain than other applications. Containers require less system resources than traditional and other virtual machine environments, so they require less overhead.

Docker can be installed on Raspberry Pi based platforms, especially Raspberry Pi 4 and Compute Module 4. Some industrial devices also support Docker platform, i.e. ModBerry 500 CM4.

What is Docker Engine?

Docker is a software platform for building applications based on containers. These containers are small and lightweight environments that run in isolation but share the operating system kernel. 

One of the main challenges of modern software development is to develop applications that run on the same host but still be isolated from one another so that they don’t interfere with each other’s processes or maintenance.

Before Docker, a solution to this problem was implementing virtual machines which keep applications on the same hardware separate. The problem, though, with virtual machines is that they take a lot of system resources and each virtual machine requires its own operating system. They are also challenging to maintain and upgrade.

Source: https://www.upswift.io/post/the-best-way-to-install-docker-on-a-raspberry-pi

Can a Raspberry Pi Run Docker?

Yes, Raspberry Pi can easilly run Docker. However, this was not always the case. Before 2016, I mostly used Hypriot OS. It is specially configured for use with Raspberry Pi containers. Read more at: https://www.upswift.io/post/the-best-way-to-install-docker-on-a-raspberry-pi

ModBerry 500 CM4 an ultimate solution for IoT monitoring

TECHBASE’s ModBerry industrial computer series has received an update to Raspberry Pi Compute Module 4 and is available for orders. TECHBASE is leading manufacturer of Industrial Raspberry Pi and Industrial Compute Module solutions. ModBerry 500 series is fully compatible with all releases of Compute Module from Rasbperry Pi foundation.

ModBerry 500 CM4, First industrial computer based on Raspberry Pi’s Compute Module 4

Main features of updated device are:

  • up to 4x faster eMMC Flash with up to 32GB storage
  • up to 2x faster performance of CPU appllications than previous CM3 version
  • up to 8x more RAM (8GB LPDDR4-3200)
  • 1Gbit Ethernet interface
  • PCI 2.0 card support for NVMe SSD drive (via M.2)
  • two PCIe support for wireless modem solutions, i.e. LTE/5G modems
  • Wide range of wired and wireless interfaces

To start your journey of Raspberry Pi platform, you must device which operating system will be most suitable for your IoT installation, to ensure best software platform for your use-case. Some versions of Debian, such as Raspberry Pi OS or Raspbian are most common, but you can choose custom distribution of Linux, such as Yocto.

Why you should use the Yocto Project

Debian (Raspberry Pi OS or Raspbian) for your Raspberry Pi is a great starting point as everything you need is in the software stack already. It is easy to get started with, and as you get more comfortable and specialised you can move on to a more specialised stack – the customised Linux distribution such as Yocto and Buildroot. The more specialised work can be done later if you have OTA software updates supported on the device, you can easily move your software stack. You should ship your device while still developing and evolving.

Source: https://mender.io/blog/debian-operating-system-and-software-platform-for-your-raspberry-pi

Upgrading Debian for Raspberry Pi with Yocto or Buildroot later

In Debian (Raspberry Pi OS or Raspbian) for your Raspberry Pi you will have a lot more moving parts and software that may not necessarily be needed. With Yocto and Buildroot, you will have smaller images, so your costs will be less for bandwidth. There is a 10x difference in image size between Debian and Yocto or Buildroot. By using a custom Linux distribution, you can save network cost and bandwidth usage. You will save on resources over time, reducing the image size so you only transfer the software you need and not the parts which you are not going to use. You will only have to ship the difference in image you need – the so-called delta update. Once you have a minimal image set up, you can think about only updating applications, only updating the container you have running, or even turning off the connection to the device for certain periods of time to save on battery and system resources.

Source: https://mender.io/blog/debian-operating-system-and-software-platform-for-your-raspberry-pi

ModBerry 500 CM4 an ultimate solution for IoT monitoring

TECHBASE’s ModBerry industrial computer series has received an update to Raspberry Pi Compute Module 4 and is available for orders. TECHBASE is leading manufacturer of Industrial Raspberry Pi and Industrial Compute Module solutions. ModBerry 500 series is fully compatible with all releases of Compute Module from Rasbperry Pi foundation.

ModBerry 500 CM4, First industrial computer based on Raspberry Pi’s Compute Module 4

Main features of updated device are:

  • up to 4x faster eMMC Flash with up to 32GB storage
  • up to 2x faster performance of CPU appllications than previous CM3 version
  • up to 8x more RAM (8GB LPDDR4-3200)
  • 1Gbit Ethernet interface
  • PCI 2.0 card support for NVMe SSD drive (via M.2)
  • two PCIe support for wireless modem solutions, i.e. LTE/5G modems
  • Wide range of wired and wireless interfaces

In recent interview with Eben Upton, the CEO of Raspberry Pi Trading, we finally had Raspberry Pi Compute Module 4 release confirmation, probably in 2021. He shared some details about the upcoming CM4 features, such as single-lane NVMe support.

The Raspberry Pi Compute Module, CM4, we will support NVMe to some degree on that,  because of course, it [Raspberry Pi 4] has a PCI Express channel. (…) We have a single lane Gen 2 which is used to supply USB 3.0 on the Raspberry Pi [4]. On the [Compute] Module that would be exposed to the edge connector and we’re likely to support NVMe over that.

Eben Upton, CEO of Raspberry Pi Trading

First Rasbperry Pi 1B model had it’s analogy in industrial Compute Module 1 after almost 2 years from it’s premiere. Compute Module 2 was probably omitted because the change from RPi1 to RPI2 mainly involved a minor change of the processor (Cortex-A7 900MHz), which was almost immediately replaced with Cortex-A53 1.2GHz in Raspberry Pi 3.

The premiere of Compute Module 3 occured a year after RPI 3 announcement, providing a significant boost of industrial market solutions. Since Raspberry Pi 4 was a great success in 2019, we might see it’s equivalent in industrial series of Raspberry Pi – Compute Module 4. A possible release date of Raspberry Pi’s Compute Module 4 is somewhere inbetween 2020/2021.

Raspberry Pi is gaining recognition in Industry

Almost a year ago, in the beginning of 2019, Raspberry Pi Foundation presented Raspberry Pi Compute Module 3+, a successor to previous CM3 version of development board, aimed at businesses and industrial users. The Compute Module uses a standard DDR2 SODIMM (small outline dual in-line memory module) form factor. GPIO and other I/O functions are routed through the 200 pins on the board.

Only a few months later, in June 2019, came big premiere of Raspberry Pi 4 Model B, the long-awaited successor of customer RPi3+. With new processor, larger RAM options and PCIe/NVMe support, CM4 might be a black horse of industrial automation in 2021.

It seems a matter of time before the Raspberry Pi Compute Module 3+ will get its own successor, called Compute Module 4, a new milestone of professional embedded IoT module. What might be the specification of this highly expected development board?

Raspberry Pi Compute Module 3+
Raspberry Pi Compute Module 3+

Raspberry Pi Compute Module 4 probable specification

Compute Module 4 specifications probably will look like these:

  • Broadcom BCM2711, Quad core Cortex-A72 @ 1.5GHz will highly plausible replace previous Broadcom BCM2837B0, Cortex-A53 64-bit SoC @ 1.2GHz,
  • 1GB, 2GB or 4GB LPDDR4-3200 SDRAM will become a standard options, instead of fixed 1GB LPDDR2 SDRAM,
  • PCIe/NVMe support via single lane
  • Current flash memory (eMMC) options: 8GB / 16GB / 32GB from CM3+ will probably stay the same,
  • weight and factor will stay the same, to provide a possibility to upgrade current IoT applications of CM3 and CM3+

With much higher performance, the new Raspberry Pi Compute Module 4 will, for sure, support Gigabit Ethernet, USB 3.0 expansions with PCIe/NVMe single lane. We might even see wider working temperature range, if Raspberry Pi Foundation decides to make some hardware changes, to follow, for example, ESP32 – used in end-point IoT automation.

Industrial use of Compute Module

With Compute Module 3+ options from Raspberry Pi, TECHBASE upgraded their ModBerry 500/9500 industrial computers. From now on the ModBerry 500/9500 can be supported with extended eMMC, up to 32GB. Higher memory volume brings new features available for ModBerry series. Upcoming Raspberry Pi’s Compute Module 4 will be fully compatible with TECHBASE’s ModBerry 500/9500 controllers, oferring extended features.

 ModBerry 500 with Compute Module 3+
ModBerry 500 with Compute Module 3+

Higher performance of ModBerry 500/9500 with extended eMMC flash memory, up to 32GB , powered by quad-core Cortex A53 processor allows the device to smoothly run Windows 10 IoT Core system, opening up many possibilities for data management, remote control and visualisation.