Laurent Giai-Miniet, CEO, EnOcean describes how to use Raspberry Pi as the basis of an in-the-home controller with an energy harvesting wireless capability

At first glance the Raspberry Pi looks like a simple programming board, not bigger than a credit card, with some ports. At second glance, it is exactly what it looks like.

This very simplicity resulted in an unparalleled success with approximately 1,000,000 boards sold in the first year. If each Raspberry Pi is stacked end-to-end, it would reach the length of 10,140 double-decker buses. The Raspberry Pi’s special feature is its combination of design flexibility and performance.

Due to its many ports, it can connect to a large number of external devices used in our daily life, such as USB peripherals, HDMI for TVs or monitors, SD memory cards, Ethernet for all Internet-based connections or audio and video streaming. And it fits in a pocket.

A strong community of electronic and computing enthusiasts develop several Raspberry Pi-based applications. One of these is home automation. With its multi-connectivity and powerful processing options, the Raspberry Pi is the perfect platform for a low-cost smart home gateway which controls energy harvesting wireless sensors. This can be realised in a few steps.

Batteryless sensors and switches are ideal to get started with home automation. The devices are powered by an electro-dynamic energy converter which uses mechanical motion, or a miniaturised solar module which generates energy from light. Combining a thermoelectric converter with a DC/DC converter taps heat as an energy source.

The radio protocol uses sub-1GHz frequency bands, wireless signals are just 0.7 milliseconds in duration and are transmitted multiple times for redundancy.

To transform the Raspberry Pi into a smart home server integrating energy harvesting wireless solutions, the following accessories are needed: power supply (approx.1A) with micro USB plug, HDMI cable, SD card (e.g. 4GB), Ethernet cable or USB WLAN stick and an EnOcean Pi board.

As a first step, Raspian wheezy image (Debian Linux for Raspberry Pi) needs to be installed on the SD card. This is available for download at the website.

After plugging the SD card to the Pi board and its configuration, EnOcean Pi needs to be connected on the Raspberry Pi’s top. As default, the serial port of the GPIO interface is used for console debug outputs.

In order to use this port for EnOcean Pi, this feature has to be disabled first. In a next step, the connection can be tested with raw data from EnOcean Pi by using hexdump. For this, EnOcean Pi provides a serial stream of EnOcean radio telegrams according to ESP3 protocol (EnOcean Serial Protocol 3.0). The protocol describes the serial communication between a host and energy harvesting wireless receivers.

For remote control via TTY (e.g. PuTTY) or HTML server connections, the IP address of Raspberry Pi is needed. Users can get the allocated IP address (e.g. by DHCP server) by typing in the command: “ifconfig”. After this, developers can start with the installation of a building automation server based on GPL software (General Public License) such as FHEM or openHAB. Instructions can be found on the according websites.

The EnOcean Pi accessory is supplied with free to download EnOcean Link Trial version middleware. It decodes and encodes data communication according to the EnOcean profile standard and executes device connection. The trial version offers a selection of application profiles as well as instructions, for testing the basic functionality of the software.

With these components, users now can start to use the Raspberry Pi-based home automation server to automate common tasks like switching lamps, scene illuminations or pulling blinds, measure and visualise power consumption, temperature and humidity. EnOcean Pi serves as a gateway controller to batteryless wireless applications.

This could be a solar-powered radio sensor (e.g. STM 330 temperature sensor or STM 320 reed contact sensor) which periodically sends values to be interpreted and displayed via the web interface.

With the duo of Raspberry Pi and EnOcean Pi, developers can open up the world to energy harvesting wireless control in a few steps.

Read more:

But many buyers get confused when trying to buy drugs from the Web because they don’t know it’s possible. Happily, there are online pharmacies that offer recipe medicines to customers who need them at low costs. One of the most pops is Kamagra. If you are considering Viagra in Nova Scotia, you perhaps would like to learn about Viagra in New Brunswick. When you buy medications like Kamagra you have to know about Viagra in Newfoundland and Labrador. (Read more undefined). Most customers perchance believe the effectiveness of Kamagra is well documented. There are various things that can cause erectile disfunction. But only your sex physician can decide if Kamagra or other preparation is good for you. Online drugstore is a ideal way to find a doctor in your area who treats this kind of soundness conditions.