element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Internet of Things
  • Technologies
  • More
Internet of Things
Blog EnOcean Sensor Kit (ongoing)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: gregoryfenton
  • Date Created: 28 May 2014 8:57 PM Date Created
  • Views 744 views
  • Likes 4 likes
  • Comments 3 comments
  • stm330
  • stm320
  • openscad
  • pi
  • enocean
  • iot
  • ptm210
Related
Recommended

EnOcean Sensor Kit (ongoing)

gregoryfenton
gregoryfenton
28 May 2014

This will be my blog post for the EnOcean Sensor Kit, which I have received today.  The post will grow as I do more things with the kit.

 

The contents of the kit were:

  • Raspberry Pi
  • NOOBS 8GB SD card (HC class 4)
  • STM330 Temperature Sensor Module
  • STM320 Magnet Contact Transmitter Module
  • Magnet for the STM320 module
  • PTM210 Pushbutton Transmitter Switch Module
  • EnOcean Pi plug-in board

The kit I received is specifically at the European market and as such transmits and receives on frequency 868MHz to comply with local laws.

 

Configuring the Raspberry Pi is rather straightforward and will only take around an hour, which includes the time to boot, install the OS of choice from NOOBS (I chose Raspbian), configure and update the system over the internet, download the prerequisite software for communicating with the EnOcean Pi and ensure it all works.

 

There are plenty of guides on setting up the Pi so I won't reinvent the wheel. I will assume that you have installed Raspbian, configured and updated the software, know your Pi's IP address and are in the terminal ready to begin installing the EnOcean Pi.

We first need to disable the GPIO serial port functionality as it prevents the EnOcean Pi from working correctly:

sudo wget https://raw.github.com/lurch/rpi-serial-console/master/rpi-serial-console -O /usr/bin/rpi-serial-console && sudo chmod +x /usr/bin/rpi-serial-console

 

Execute the script

sudo rpi-serial-console disable

I am using FHEM to monitor the units as it is out of the box compatible with the EnOcean Pi.

Install Perl and the required libraries:

sudo apt-get install perl libdevice-serialport-perl libio-socket-ssl-perl libwww-perl
sudo apt-get install -f
wget http://fhem.de/fhem-5.5.deb 
sudo dpkg -i fhem-5.5.deb

fhem will be installed to /opt/fhem and will start automatically both immediately after installation and at reboot.

 

Click a button on the transmitter to force fhem to recognise the EnOcean Pi.

Open your browser to http://pi.ip.address:8083/fhem/ and you will see an entry on the left of the screen for EnOcean. As the transmitters talk to the EnOcean Pi fhem will create menu options for them.

 

Welcome to the beginning of the Internet of Things!

 

One of the first things I did was 3D print a case for the rather small and delicate transmitter units. You may consider doing the same, after all these things are not cheap to replace.

I have attached the OpenSCAD and STL file for the STM330 Temperature Module.

 

image

Image of sensors and my 3D printed case for the STM330 Temperature Module.

 

To do:

  • Design and 3D print a case for the STM320 magnetic switch module (that spring antenna is going to be fun)
  • Design and 3D print a cover for the left side of the PTM210  Pushbutton Transmitter Switch Module (why does it only come with one side covered?)

 

doctorcdf

Attachments:
stm330 case.scad.zip
stm330 case.stl.zip
  • Sign in to reply
  • gregoryfenton
    gregoryfenton over 10 years ago in reply to Former Member

    I haven't touched these in a while I am afraid image

     

    Greg

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 10 years ago

    Hey Mr. Fenton; I was wondering if you had done anything else with these sensors.  I also have them and they are working, but I would like to do more customization with them.  Do you have time to discuss via PM or email?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • zengirl2
    zengirl2 over 11 years ago

    That is seriously a big antenna.  Looking forward to seeing potential uses for the sensors, and I like that you are doing some 3D printed cases.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube