• 16
      Jun - 2018

      MicroPython
      2 min | 539

      #MicroPython: Camera stabilisation application

      MicroPython | 2 min | 539


      9g
      camera stabilization.
      imu
      micro servers
      micropython
      mpu6050
      wipy

      To continue the series of posts "connecting sensors to MicroPython", this article is about the MPU6050 (you can use also the MPU9255, I am still waiting for the Chinese sensor package) and the WiPy 3.0. Combining the IMU sensor with the WiPy and two micro servos 9g, it is possible to stabilize a camera (tilt/rotate).

      To calculate the compensation needed for the stabilisation, I added the umatrix, quaternion and ulinalg libraries to the project to make matrix multiplication and quaternion to Euler conversion. The ahrs library from Madgwick fusions the data of the accelerometer, gyroscope (and m...

    • 14
      Jun - 2018

      General
      1 min | 172

      #Hacking: Hey, YOU! Online SAS user! STOP now!

      General | 1 min | 172


      analytics
      hacking
      online sas
      statistics

      I got you! Please stop trying to hack my website! It's just a small blog! You are ruining my stats! ;)

      Sorry to the other users!, but the last two weeks, someone was using the cloud system ofOnline SAS to try to hack my website. Yes, you heard that right! Someone is trying to hack this small blog! and I can tell you: That's illegal! ;) In the terms and conditions of Online SAS that is NOT allowed! ;P

      Are Paris IP-addresses going to be the next Nigeria IP-addresses? abuseipdb.com has a lot of Paris IP-addresses declared as risky!

      Leave a comment, if you have more info, and if you are the guy tr...

    • 04
      Jun - 2018

      Android Things
      1 min | 322

      #TI: SensorTag working on Android 8.1

      Android Things | 1 min | 322


      android
      android studio
      bluetooth
      cc2650
      sensor tag
      sensortag
      texas instruments

      Thanks Sal for your comments on the article TI: Sensortag CC2650 . This is for you and those who are playing with TI SensorTag!

      I've updated the repository of the Texas Instrument (TI) SensorTag CC2650. The repository can be found here . As you may know TI doesn't update the repository anymore. The original last open source repository of the application can be found here .

      I've wrote an article last year as I migrated and updated the repository:

      Today, I've updated the repository to support Android 8.1 (>6.0). The main modification was that Android >6.0 needs locatio...

    • 03
      Jun - 2018

      MicroPython
      4 min | 2995

      #Tutorial: Getting started with MicroPython: Sensors - Part 1

      MicroPython | 4 min | 2995


      esp32
      esp8266
      micropython
      proyects
      sense environment
      sensors
      wipy

      One of the most visited articles on my blog is the Getting started with MicroPython! tutorial. If you still don't know what is MicroPython and you want to start programming microcontroller boards (ESP32, ESP8266 etc.) using a small version of Python 3, you should look at that article . Don't expect to use machine learning or/and other big libraries (the available RAM and microcontroller performance is far away for that aim), but you can do some projects like these:

    • 13
      May - 2018

      Android Things
      1 min | 159

      #ProjectDIVA: Android Things v1.0!

      Android Things | 1 min | 159


      android things
      application
      cc2650
      sensor mesh
      sensor tag
      sensors
      update

      Google has released Android Things 1.0 this week to developers with long-term support for production devices.

      I've updated today the two applications to run on this Android Things version:

      Additional resources

      Take a look at the full release notes for Android Things 1.0, and head over to the Android Things Console to begin validating your devices for production with the 1.0 system image. If you are looking for a Getting Started on Android Things, head over to these posts:

    • 08
      May - 2018

      Analytics
      9 min | 2771

      #Tutorial: Docker on Embedded Systems (Raspberry Pi & Beagleboard)

      Analytics | 9 min | 2771


      analytics
      beagleboard
      beaglebone
      docker
      embedded systems
      portainer
      raspberry pi
      tutorial

      Docker is a technology that emerged for about 5 years and since then it has simplified the packaging, distribution, installation and execution of (complex) applications. Usually applications consist of many components that need to be installed and configured. Installing all needed dependencies and configuring them correctly is usually time consuming and frustrating for users, developers and administrators. Here is where Docker comes to simplify this process allowing developers and users to package these applications into containers.

      A container image is lightweight, stand-alone, executable pa...

    • 06
      May - 2018

      Analytics
      2 min | 4970

      #Tutorial: Portainer for local Docker environments on Windows 10

      Analytics | 2 min | 4970


      analytics
      data science
      docker
      docker enviroments
      docker management
      portainer
      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 | 374

      #ProjectDIVA: Android Things 0.8.1 getting started

      Android Things | 3 min | 374


      android things
      application
      raspberry pi
      sensor mesh
      sensors
      tutorial

      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

      General
      3 min | 476

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

      General | 3 min | 476


      bootloop
      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

      General
      1 min | 115

      #General: We are at the Hannover Fair 2018!

      General | 1 min | 115


      analytics
      digitalization
      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

      General
      1 min | 389

      #Ubuntu 16.04 LTS: Broken SD Card Reader Support

      General | 1 min | 389


      16.04
      bug
      kernel
      linux
      sd card readers
      ubuntu
      workaround

      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 | 1037

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

      Real Time Systems | 5 min | 1037


      n-queen problem
      performance
      preempt-rt
      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 | 2150

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

      Real Time Systems | 3 min | 2150


      kernel
      patching
      preempt-rt
      raspberry pi 3 B plus
      standard

      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 | 372

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

      Real Time Systems | 1 min | 372


      kernel patching
      official branch
      preempt-rt
      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 | 1063

      #Raspberry PI Zero W: Preempt-RT Kernel Performance

      Real Time Systems | 2 min | 1063


      kernel
      patching
      performance
      preempt-rt
      raspberry pi zero
      standard

      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...