Category Archives: Linux

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 […]

Linux Kernel Module Examples (on the Pi)

I uploaded the Kernel module examples I wrote some time ago to git. The project is setup in a way, that it will build the modules for the Pi as a target, but they should run on different platforms as well (if compiled the right way). The following examples are included: kmod-basic: Most basic Kernel […]

Debian (Headless) NAND Install on Cubieboard

Since flashing an image to the Cubieboard using the provided LiveSuite sucks so much (actually the only thing the Linux 32 bit version does is killing the contents of your NAND), I was looking for an other way to get a decent OS on the NAND of that board. By decent OS I mean Debian […]

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 […]

Scratch Remote Sensor API

Pynetsense is a Python library that provides a simple to use API for implementing Scratch networking sensor clients. For communicating with Scratch, the remote sensor protocol is used. Beside providing a simple API to manage messages and variables, a wrapper framework is provided. The wrapper framework helps with implementing sensor clients that run in the […]

Record from Webcam to OGG with GStreamer

Using gstreamers gst-launch, one could easily record the live stream from a webcam directly to an OGG-container using theora-encoding. By splitting the input from the v4l source (through “tee”) into two parallel sub-pipes, it is possible to show the recorded stream on the screen, while saving it to the OGG-file on the other processing path. […]

Propeller-Installer Project of the Week at Parallax

My little installer script for helping setting up a Propeller Tool-chain on Linux/ARM, also mentioned on hackaday last month, was chosen for “project of the week” from Parallax (the makers of the Propeller).