Hauke’s Projects

Interfacing Vitovalor 300-P with a Raspberry Pi

I want to integrate my new Viessmann Vitovalor 300-P fuel cell heating into my home automation. For this, I use the Optolink interface, vcontrold from the openv community, and create my own configuration files from several sources.

Continue reading “Interfacing Vitovalor 300-P with a Raspberry Pi”

Touch Rotation with 10″ Display from Joy-IT

I got myself a 10″ multi-touch display from Joy-IT for my Raspberry. I’m quite satified with the display, it has a relatively high resolution, very good display quality, good viewing angle, and touch works very well – the necessary driver is included in Raspbian. Two things that could be better: The backlight is not software-controllable, and the position of the HDMI and USB connectors is not optimal.

In the end I want to use the display mounted vertically in a wall, so I included the line

into /boot/config.txt. Unfortunately this only rotates the display, not the touch input, so the mouse is not following the touch. The line lcd_rotate=3, which would turn both display and touch, only works for the official Raspberry Foundation display. The methods described in my 3.2″ Touch Display Quick Guide do not work with this screen either. First, because tslib does not know how to handle the multitouch, and second: the SwapAxes line is also not recognised.

Still, /usr/share/X11/xorg.conf.d/99-calibration.conf is the key to success:

That does the trick, also on brand-new Raspbian Stretch. For more details on the transformatin matrix, also for other rotations, go here.

Creating the “Perfect” Hiking Map for Germany and other Countries

In this post I show how to create useful hiking maps by merging OpenStreetMap data with the usually excellent official maps of the cartographic offices of Germany and several other countries. Using MOBAC and Maperitive, a transparent layer containing POIs, landscape features and elevation information is generated from OSM data and then overlayed on the official maps. Also, mapsources for OruxMaps are derived for the various countries.

Continue reading “Creating the “Perfect” Hiking Map for Germany and other Countries”

Building a Media Center for German IPTV

The Raspberry Pi with Kodi is a versatile media center. Getting it to work with German IPTV in a stable fashion is however somewhat challenging. In this post I outline the necessary steps to set up a XBian based media center, to make it usable on a rather small SD TV screen, to avoid the 30 minutes offset problem with the public German TV stations, to make the channel mappings stable and to control the media center via IR remote control.

Continue reading “Building a Media Center for German IPTV”

Motion Sensor PoC: BNO055 and Raspberry Pi Subtleties

The BNO055 is a capable IMU that has on-chip sensor fusion and filtering. Interfacing can be done using I²C and UART. When used with the Raspberry via I²C, you get erroneous measurements because of the I²C clock stretching bug of the Raspberry. Using the UART, results are correct.

Continue reading “Motion Sensor PoC: BNO055 and Raspberry Pi Subtleties”

Title Image Project: LED Controller

To create a lamp with adjustable color temperature and brightness, I use a warm/cold white dual LED strip, an ATtiny45 MCU with N-channel MOSFETs and two adjustable resistors. This article contains the hardware and software setup. The title image of this blog shows the project.

Continue reading “Title Image Project: LED Controller”

Short Introduction

Hi Internet,

since I play around quite a bit with electronics and software, and once in a while something comes out that might be of interest for the rest of the world, I decided to start this blog.

You may find here things about Raspberry Pi projects, Media centers, Home automation, Microcontrollers, Photography and a little programming, mainly in Python.

The blog will be updated on no particular schedule – whenever I think there’s something to share, you’ll find it here, but don’t be surprised if there is silence for several months.

Feel free to send comments on anything!

– Hauke

Scroll to top