Tag Archives: battery free

EnOcean USB300 and Python Via EnOcean Serial Protocol 3

There doesn’t seem to much out there in the hobby world with EnOcean. I find this interesting because EnOcean is pretty simple to use and has the unique advantage of energy harvesting devices anywhere. EnOcean sells a USB stick, the USB300 that speaks the EnOcean Serial Protocol 3 ( ESP3 (PDF)). I implemented part of this protocol, the ability to receive radio telegrams and transmit any ESP3 packet. In reality you probably only need to deal with a the small subset of ESP that is for sending and receiving radio telegrams. This would be the type 1 radio packets.

This python program doesn’t do much, but it lays the foundation for more and removes the burden of calculating check-sums. After starting you need to select the correct com port to use. If the connection is OK you will get back some details of the device, firmware version, chip ID etc. The main loop simply waits for 4bBS and RPS(four byte sensor and repeated switch) telegrams to be received from other EnOcean devices. It will print the data and source ID as well. The EnOcean Equipment Profiles EEP 2.5 (PDF)specifies how data looks coming in from different types of devices.ESP3_python Hopefully this helps you get started with ESP3 and adding EnOcean devices to your project.

The picture shows the program starting and some button presses and releases of a PTM210 wireless energy harvesting switch.

source code here: simple_serial_basic note the send ESP3 packet method is implemented as well.

 

Have fun…..

20 Comments

Filed under EnOcean, stuff I've made, tips and hacks

Arduino and Energy Harvesting Wireless Sensor Networks

I am beginning work on my first Arduino shield. This shield will allow you to connect with an EnOcean radio module.across the EnOcean serial procol v3. It will allow you to program the EnOcean module, or use it as a standalone EnOcean radio platform for powered or energy harvesting applications. This is particularly useful to adapt the batteryless energy harvesting switches EnOcean offers to additional platforms. Think, motor controllers, lighting controllers etc. Hopefully these will be available in Q1 of 2013.

5 Comments

Filed under EnOcean, stuff I've made