• Web designs
      2 min | 1060

      #Pagekit: Blog & Gallery Extension & AdsenseKit

      Web designs | 2 min | 1060


      ads management
      adsense
      blogging
      gallery
      pagekit
      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...

    • MicroPython
      1 min | 3556

      #Tutorial: Installing dependencies on MicroPython

      MicroPython | 1 min | 3556


      esp32
      esp8266
      micropython
      micropython extensions
      tutorial
      upip
      wipy

      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
      sta_...
    • Travel Photoset, Web designs
      1 min | 843

      #Photo Gallery: Bangkok

      Travel Photoset, Web designs | 1 min | 843


      bangkok
      holidays
      thailand
      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.
    • Real Time Systems
      5 min | 7862

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

      Real Time Systems | 5 min | 7862


      kernel patching
      latency
      performance
      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 perfo...

    • Real Time Systems
      6 min | 22135

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

      Real Time Systems | 6 min | 22135


      kernel patching
      preempt-rt
      raspberry pi
      raspbian
      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 tim...

    • Travel Photoset, Web designs
      1 min | 789

      #Photo Gallery: Melbourne

      Travel Photoset, Web designs | 1 min | 789


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

    • MicroPython
      4 min | 1517

      #Micropython: Merry Xmas & Happy New Year!

      MicroPython | 4 min | 1517


      esp32
      happy new year
      lights
      merry Christmas
      micropython
      video
      xmas

      It has been a while since my last post! Sorry, I was a little bit busy and then I was on a business trip in Melbourne for the CDC2017 and then I had a week holiday in Bangkok. I will be posting some photos on the next days!

      It's been a year now since I started this blog. It's a hard job to maintain it up-to-date but I still have fun writing and coding for this purpose! So let us start!

      Intro

      The first video that I published a year ago was using the Wipy2.0 and a WS2812b led strip...

    • Android Things
      1 min | 641

      #ProjectDIVA: Android Things DP6.0 is here!

      Android Things | 1 min | 641


      android studio
      android things
      raspberry pi
      sensor mesh
      sensors

      I will be testing the new release on this weekend!

      The release notes seem promising!

      I have also some new things with Docker and Raspberry Pi!

      Stay tuned!


    • Hacking, MicroPython, Security
      5 min | 5929

      #Hacking: Wemos (ESP32) & Captive Portal using MicroPython

      Hacking, MicroPython, Security | 5 min | 5929


      captive portal system
      dns
      esp32
      hacking
      micropython

      At the beginning of October I wrote a blog article called White Hacking: WeMos and SquirelCrawl!. I used the WeMos (ESP32) and the firmware provided by Hacker Arsenal to do a captive portal. As you known, a captive portal is a web page which is displayed to newly connected users before they are granted broader access to network resources [wiki]. This can be used in combination with evil portals to obtain login credentials. The firmware provided by Hacker Arsenal has mul...