Category Archives: C/C++

Linux Kernel Module to Control 434Mhz RC Outlets – Pi Version

Added a setup-script to cross-compile the Linux kenel module for the RC outlets for the Raspbarry Pi. To be able to cross-compile the module, in brief the following needs to be done: Install ARM cross-gcc On Ubuntu: sudo apt-get install gcc-arm-linux-gnueabi make ncurses-dev Get RasPi Kernel E.g. use Kernel from GIT: git clone https://github.com/raspberrypi/linux.git linux-raspberrypi […]

Tri-State Protocol of the Pollin (and other) 434MHz RC Switches

Made a overview of how the over-air protocol looks for the Pollin RC Switches (see previous article for more details). The length of the pulses is a multible of 350us. The wave-forms where captured with an OpenBench logic sniffer.

Linux Kernel Module to Control 434Mhz RC Outlets

Some time ago, I wrote about using an EDIMAX Smart Plug with Python. The EDIMAX has build in Wifi and runs its own web server. While this is convenient, it also makes the EDIMAX quiet expensive. Lately I got notice (thanks Eric), about very cheap 434MHz based plugs sold by Pollin for less then 10 […]

Bric(k)-o-lage – Blockly

Here are some screen-shots of the Blockly based visual programming editor for Brick-O-Lage. Roughly it works like this: On the Master Brick, the bolsrv is running. bolsrv uses libbol to access the bricks connected to the master via I2C bolsrv also includes a mongoose based web server doing two things: serving the HTML+JavaScript based visual editor […]

Bric(k)-o-lage – Master Brick

Also long time ago finished: the master bricks PCB and large parts of the firmware. Currently the MB is already able to drive the DIO and DCM bricks (multible of them). As before, I designed schematic and PCB using fritzing and ordered the PCBs from fritzing FAB. Currently I have not designed a case for the MB (since I […]

Bric(k)-o-lage – DIO Brick

The DIO (Digital IO) brick for my brick-o-lage project is already finished. I designed schematic and PCB using fritzing . Also I ordered the PCBs from fritzing FAB (and they turned out great). For the firmware I used my own libemb as a basis. DIO Brick Specifications Uses a MSP430G2553 from TI Runs custom firmware […]

Bric(k)-o-lage – Smart Bricks the “bricolage” Way

A while ago, I started a new project trying to create different “smart” bricks which will interconnect with some other well known brick systems (e.g. Lego). By “smart” bricks, bricks are meant which are able to perform a certain functionality like driving LEDs, detecting button presses, control DC motors or servos, read sensors and so […]

MSP430 I2C Slave Example

Since none of the examples I found worked for me, I put together my own example which shows how to use the MSP430G2553 as an I2C slave. The MSP430 takes some simple commands. One for switching the build in LED (P1.0) on/off, one for reading the state of the build in button (P1.3). Also a […]

Measuring the Water-Level of a Cistern

To measure the water level of our cistern, I started to build a little cistern monitor based on a hacked TP-Link MR3020 router running OpenWrt and a SRF05 ultra sonic range finder. The software project mainly consists of a kernel module and a web service to access the data through a simple web-ui or by […]

First Version of “libemb”

I uploaded a first version of “libemb“. “libemb” is a collection of libraries which try to make things needed in many STM32 (ARM-Cortex-M3) based projects more convinient. It includes helbers for console output, USART usage, as well es drivers for specific hardware. Currently “libemb” contains the following helper libraries: libserial: help on using the USART […]