Archive for the ‘Raspberry Pi’ Category.

A Four Channel Remote Control Using EnOcean Pi

In my last couple of blog posts, I did a brief overview of the EnOcean Pi sensor kit from Newark and demonstrated how to compile and run the example code using a Raspberry Pi. In this blog post, I will show a real world example – a four-channel remote control built using the EnOcean Pi in conjunction with the EnOcean pushbutton module. Continue reading ‘A Four Channel Remote Control Using EnOcean Pi’ »

Compiling and Running EnOcean Sensor Kit Example Code

In my previous post, I took a quick look at the EnOcean sensor kit from Newark for Raspberry Pi and tested its basic functionalities using the Fhem home automation software. In this blog post, I will walk you through the process of compiling and running the example code that comes with the EnOcean Link library. While there are instructions on how to do this, some of the information is out-dated and hard to follow. So I will provide my own step-by-step instructions here. Continue reading ‘Compiling and Running EnOcean Sensor Kit Example Code’ »

A Quick Overview of the EnOcean Pi and EnOcean Sensor Kit

I recently got the EnOcean Pi and EnOcean sensor kit from Newark. The sensor kit includes a temperature sensor module (STM330), a magnet contact transmitter module (STM320) and a pushbutton transmitter switch module (PTM210). The EnOcean Pi module is a receiver adapter board that connects directly to the popular Raspberry Pi. It is a gateway for handling the all the communications with the wirelessly connected sensors. Continue reading ‘A Quick Overview of the EnOcean Pi and EnOcean Sensor Kit’ »

A Bidirectional Level-Shifting Buffer for Raspberry Pi

The current sourcing/sinking capability of the I/O pins on Raspberry Pi is quite limited. According to the Wiki page, the current limit for each I/O block (e.g. GPIO0 through GPIO27 combined) comes at only 26 mA maximum, which is only capable of driving a couple of LEDs at a time. Also the I/O pins are 3.3V only, and going beyond the current or voltage limit could result in permanently damages to the chip. Continue reading ‘A Bidirectional Level-Shifting Buffer for Raspberry Pi’ »

Adding a Barrel Jack And a Switch to Raspberry Pi

I got myself a Raspberry Pi (Model B V2) last month. After having played with it for a while, I have to say that I really like this tiny single-board computer. Since it runs on Linux, you can compile and run your C/C++ code on it. Most popular applications have already been adapted to the ARM architecture and can be run readily on Pi. Unlike some other SBCs, Pi allows easy access to GPIO ports which makes it equally attractive for people who are interested in hardware. Continue reading ‘Adding a Barrel Jack And a Switch to Raspberry Pi’ »