How to's

Android Vibrator pattern explained

  • Posted on: 29 February 2016
  • By: robin
Android Vibrator pattern explained

The Android Vibrator feature is supported by the majority of the android devices. It is easy to understand. First of all the feature requires premissions. So first thing you need to do is edit your AndroidManifest.xml:

<uses-permission android:name="android.permission.VIBRATE"/>

Next: The Vibrator service.

 Vibrator vibrator = (Vibrator) this.context.getSystemService(Context.VIBRATOR_SERVICE);
Now you need to define a pattern how the Vibrator should vibrate. The explaination in the Android documentation for Vibrator is:

"The first value indicates the number of milliseconds to wait before turning the vibrator on. The next value indicates the number of milliseconds for which to keep the vibrator on before turning it off. Subsequent values alternate between durations in milliseconds to turn the vibrator off or to turn the vibrator on."

Raspberry Pi automatisches WLAN Reconnect

  • Posted on: 2 December 2015
  • By: robin
Wifi Reconnect Raspberry

Besonders für die unter euch, die den Raspberry Pi über SSH über WLAN verwenden wird es zum Alptraum wenn die WLAN Verbindung abbricht und das Gerät manuell wieder verbunden oder gar resettet werden muss. (Update 22.02.2016: Runter scrollen)


Automatisches WLAN reconnect einrichten (Raspbian):

1. Zunächst öffnet ihr ein Terminal Festern auf dem Raspberry Pi. Ob direkt oder über SSH ist euch überlassen.

Download Xiaomi small ants Android app as .apk

  • Posted on: 10 November 2015
  • By: robin

Since many people where asking me where to get the original xiaomi android app I write this short article. 


I can not recommend to download copies from a website that you don't know well enough to make sure it is no malware.

How to use YL-3 (a 8x7 Segment LED display) with Raspberry Pi

  • Posted on: 6 October 2015
  • By: robin
YL-3 Display with 74HC595

The YL-3 is a 8x7 segment led display modules based on two 3461BS (4x7 segments) and is controlled by two 74HC595. You can buy the YL-3 module online at The 74HC595 is a 8-Bit serial shift register which i liked a lot because it was the first time for me to work with it.

Xiaomi Xiaoyi Ant - Solution for problems with timezone, RTSP and HTTP access

  • Posted on: 9 September 2015
  • By: robin
Xiaomi Xiaoyi Ant timezone

The four main problems with the Xiaomi Xiaoyi Small Ant are solved! A Russian has made the effort of fixing the Small Ant and additionally added a few new features. Since using this hack the small cam is running better than ever. Thank you very much for this post, chex01!

HowTo: Use adb over network / wifi / wlan / remote

  • Posted on: 2 September 2015
  • By: robin
android adb

I always hated it when i had to plug and unplug the usb cable in the phone. Luckily, you can use adb and android studio over network to install applications on the device. It only takes a few seconds.

First I connected my Nexus 4 a last time with usb. I tested it with adb devices – Only my nexus4 was shown.

adb tcpip 5555
Next you need to find out the IP address of you phone.
adb connect
Done !It should look like this:

Xiaomi Xiaoyi Ant - Lösung für Probleme mit Zeitzone, RTSP und HTTP Zugriff

  • Posted on: 9 August 2015
  • By: robin

Die vier Hauptprobleme mit der Xiaomi Xiaoyi Small Ant sind gelöst! Ein Russe hat sich die Mühe gemacht der Small Ant gleich noch zusätzlich ein paar neue Features verpasst. Seit diesem Hack läuft die kleine Cam besser als je zuvor. Vielen Danke für diesen Post, chex01!