• 06
      May - 2018

      2 min | 8634

      #Tutorial: Portainer for local Docker environments on Windows 10

      Analytics | 2 min | 8634

      data science
      docker enviroments
      docker management
      windows 10

      Docker is a technology that emerges for about 5 years and simplifies the packaging, distribution, installation and execution of (complex) applications. Portainer is a management UI which allows you to easily manage your different Docker environments. If you are here because of the post title, I do not have to explain anymore about the Docker technology and the management tool Portainer. But, if you need to know more about these two topics, I leave you two links:

      Let's start with the installation of Portainer for Docker management on Windows 10 (running on a Linux Container)...

    • 29
      Apr - 2018

      Android Things
      3 min | 638

      #ProjectDIVA: Android Things 0.8.1 getting started

      Android Things | 3 min | 638

      android things
      raspberry pi
      sensor mesh

      After the Hannover Fair 2018, I have this weekend some time and I decided to update the #ProjectDIVA to the last version of Android Things. Today the actual version is 0.8.1 DP and the Android Things Setup Utility has the version number 1.0.19.

      I have two applications running on Android Things:

      In Oct. 2017, I wrote a tutorial for Android Things, but I checked that the tutorial needed an update, and the repositories too. That's why I'm writing this post.

      What is Android Things?

      This section does not change too much fr...

    • 28
      Apr - 2018

      3 min | 826

      #General: My Nexus 5X has bootlooped! Temporary fix

      General | 3 min | 826

      design problem
      nexus 5x
      temporarily fix

      I have a Nexus 5X or I had a working Nexus 5X, and last week it turned black and has finally bootlooped! I bought it from Google Store, so I decided to contact Google. I knew that the warranty was expired on Dec. 2017 (Google repeated it), but this is a common problem of the Nexus 5X, so I thought that maybe I have a chance! But NO! The support was nice, but the solution was to contact LG. A death path! Meaning: No goodwill from Google! Nothing! I contacted LG, and the solution was to send the phone to this address:

      DUX Logistics & Tech Services GmbH, Neben dem Mühlweg 20, 65474 Bischofsheim ...

    • 13
      Apr - 2018

      1 min | 279

      #General: We are at the Hannover Fair 2018!

      General | 1 min | 279

      hannover fair
      hannover messe
      industry 4.0

      I am really happy to inform you that I will be at the Hannover Fair 2018. The Institute of Mechatronic Systems will be represented by our research group "Integrated Systems and Machine Learning" in the Hall 2 on Stand B08 and we will be presenting solutions for the advancing digitization of industrial production.

      The Hannover Fair 2018 takes place between Apr 23, 2018 and Apr 27, 2018 in Hannover.

      For more info, click here:

      Hannover Fair 2018

      You find the map below:

    • 12
      Apr - 2018

      1 min | 762

      #Ubuntu 16.04 LTS: Broken SD Card Reader Support

      General | 1 min | 762

      sd card readers

      I am writing this post as a tutorial or a 'keep' note for myself, but I think it could be interesting for a lot of people. At work I'm using a Latitude Dell Laptop with dual boot (Ubuntu 16.04 LTS and Windows 10). The laptop has a SD card reader. Usually I work under Ubuntu while I am programming, and the SD card reader support is broken! But typing the following on a terminal, makes it works again:

      sudo rmmod sdhci_pci sdhci_acpi sdhci
      sudo modprobe sdhci debug_quirks2="0x10000"
      sudo modprobe sdhci_pci sdhci_acpi sdhci

      It seems to be a problem since Linux kernel version 4.1.8. A bug report he...

    • 01
      Apr - 2018

      Real Time Systems
      5 min | 1645

      #Raspberry Pi: The N-queens Problem (benchmark) Preempt-RT vs. Standard Kernel

      Real Time Systems | 5 min | 1645

      n-queen problem
      raspberry pi
      standard kernel

      N-Queens Problem: A Benchmarking Solver for Raspberry Pi

      The N-Queens Problem/Puzzle is a well-known problem that consists of placing N chess queens on an N × N chessboard so that no two queens attack each other. For example, one possible solution to the N-queens problem for N = 4 is the following:

      N-queens problem (N=4)
      Fig. 1: N-queens problem example (N = 4). Source: Google Optimization Tools

      As you can see, no two queens are on the same row, column or diagonal. Usually the problem consists to find all possible solutions, rather than one optimal solution.

      I wrote a script in Python that calculates ...

    • 01
      Apr - 2018

      Real Time Systems
      3 min | 3196

      #Rapberry Pi: Preempt-RT Kernel Performance on Rasbperry PI 3 Model B+

      Real Time Systems | 3 min | 3196

      raspberry pi 3 B plus

      The Raspberry Pi 3 Model B+ (Fig. 1) is now on sale and I bought one two weeks ago. The main modifications are the followings:

      • A 1.4GHz 64-bit quad-core ARM Cortex-A53 CPU
      • Dual-band 802.11ac wireless LAN and Bluetooth 4.2
      • Faster Ethernet (Gigabit Ethernet over USB 2.0)
      • Power-over-Ethernet support (with separate PoE HAT)
      • Improved PXE network and USB mass-storage booting
      • Improved thermal management
      Raspberry Pi 3 B+
      Fig. 1: Raspberry Pi 3 Model B+

      The Raspberry Pi uses now the LAN2515 chip from Microchip instead of the LAN9514 for Ethernet and the USB Ports.

      If you are looking for some Benchmarkin...

    • 19
      Mar - 2018

      Real Time Systems
      1 min | 672

      #Raspberry Pi: Preempt-RT Kernel 4.14.y on Raspberry Pi

      Real Time Systems | 1 min | 672

      kernel patching
      official branch
      raspberry pi

      The forked rpi-4.14.y-rt repo by TiejunChina is now a branch under the official Raspberry Pi repo. That means you need to type the following to clone the Preempt-RT patched Kernel

      ~/rpi-kernel$ git clone https://github.com/raspberrypi/linux.git
      ~/rpi-kernel$ cd linux
      ~/rpi-kernel/linux/ git checkout rpi-4.14.y-rt

      Then, you can follow the tutorial from here.

    • 12
      Mar - 2018

      Real Time Systems
      2 min | 1710

      #Raspberry PI Zero W: Preempt-RT Kernel Performance

      Real Time Systems | 2 min | 1710

      raspberry pi zero

      Today I patched the kernel of a Raspberry Pi Zero W with Preempt-RT. I used the repo TiejunChina.

      Update 18.03.2018: The official Preempt-RT patched Rasbian repo is here.

      ##~/rpi-kernel$ git clone https://github.com/TiejunChina/linux.git # update 18.03.2018: old repository##
      ~/rpi-kernel$ git clone https://github.com/raspberrypi/linux.git # update 18.03.2018: new repository
      ~/rpi-kernel$ cd linux
      ~/rpi-kernel/linux$ git checkout rpi-4.14.y-rt  # today the kernel version is 4.14.22
                                                      # with rt17 resulting in 4.14.22-rt17+ 

      You can find a complete...

    • 04
      Mar - 2018

      Web designs
      2 min | 455

      #Pagekit: Blog & Gallery Extension & AdsenseKit

      Web designs | 2 min | 455

      ads management
      pagekit extension
      This article is outdated! I am not using Pagekit anymore. Then, I am trying to port the gallery to OctoberCMS.

      I've been working with web development this weekend. I hope you didn't have to wait because of a maintenance dialog or a 500 error due to the updates! I updated three things on the blog:

      I forked the first two repositories and modified them. The last one is a package that I designed to manage the Adsense Ads if you use Pagekit as CMS.

      Blog Extension

      I added the visitor counter for the blog post. You can see the eye over the t...

    • 02
      Mar - 2018

      1 min | 1218

      #Tutorial: Installing dependencies on MicroPython

      MicroPython | 1 min | 1218

      micropython extensions

      While I was reading my getting stated tutorial about MicroPython again, I noticed that I've forgotten to tell something about dependencies or packages.

      Here is possible to find some MicroPython packages. On the WeMos (ESP32) or the ESP8266, it is possible to install these packages using the upip package manager. The WiPy doesn't have the package.

      To download the new packages, you need to connect the board to the Internet. I take the WeMos as example and typing the following, you can connect the board to your WiFi router:

      ssid_ = <your_ssid>
      wp2_pass = <your wpa2 password>
      import network
    • 02
      Mar - 2018

      Travel Photoset, Web designs
      1 min | 381

      #Photo Gallery: Bangkok

      Travel Photoset, Web designs | 1 min | 381

      travel photoset

      As I promised some photos of Bangkok (Thailand). Enjoy!

      This article is outdated! I am not using Pagekit anymore. Then, I am trying to port the gallery to OctoberCMS.
    • 26
      Feb - 2018

      Real Time Systems
      5 min | 4248

      #Raspberry Pi: Preempt-RT vs. Standard Kernel 4.14.y

      Real Time Systems | 5 min | 4248

      kernel patching
      preempt-rt kernel
      raspberry pi
      standard kernel

      The last week I was working on a real-time application (with a 1 ms sample time) that runs on an ARMv8 Cortex-A53 (Raspberry Pi 3 Model B based board) and I was wondering the differences between latencies on the standard and the Real-Time (RT) Linux kernel. I had some problems with the standard kernel version, then I thought I could analyze the latencies of both kernels, and make some conclusions. Many test are available but with older kernel versions. The tests were performed using the Raspbian Kernel 4.14.21 and the Preempt-RT Patch 4.14.21-rt17!

      Hardware & Software

      To follow the DIY parts, ...

    • 26
      Feb - 2018

      Real Time Systems
      7 min | 13556

      #Raspberry Pi: Preempt-RT Patching Tutorial for Kernel 4.14.y

      Real Time Systems | 7 min | 13556

      kernel patching
      raspberry pi
      standard kernel

      There are a lot of tutorials for Raspberry Pi kernel patching using Preempt-RT, but I needed about 15 hours to get it working! I hate Kernel patching! and I have to say, that's not my first time. I have a system working with Ubuntu, RTAI and an Ethercat master. I patched the system more than once. But it is/was always a new thing! and It costs a lot of time! ;)

      Then, you have another tutorial here. I only hope that the repo gets official. It could reduce the time to get the RT ...

    • 19
      Feb - 2018

      Travel Photoset, Web designs
      1 min | 354

      #Photo Gallery: Melbourne

      Travel Photoset, Web designs | 1 min | 354

      photo gallery
      travel photoset
      This article is outdated! I am not using Pagekit anymore. Then, I am trying to port the gallery to OctoberCMS.

      As I promised some photos of Melbourne (Australia). Bangkok photos are coming this week.

      I don't know if you noticed, but I added two new repositories to GitHub:

      Both repositories are extensions for PageKit. The first one allows you to add Google Adsense ads to the posts. The second one extends the PageKit blog plugin to add categories and tags to the blog posts. I was/am quite busy these weeks, but I am writing the README files. I need to check them...