Category Archives: C/C++

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

Pointers in C

Found a nice tutorial on using pointers in C over at netcom.com.