element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
Forget Me Not Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Forget Me Not Design Challenge
  • More
  • Cancel
Forget Me Not Design Challenge
Blog Forget Me Not - 3 - Getting over the RF range
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: kipe
  • Date Created: 14 Aug 2014 5:35 PM Date Created
  • Views 428 views
  • Likes 0 likes
  • Comments 3 comments
  • forget_me_not
  • python
  • enocean
  • iot
  • iot_python
Related
Recommended

Forget Me Not - 3 - Getting over the RF range

kipe
kipe
14 Aug 2014

As you may know, I’ve been working on a Python -library for the EnOcean Pi and sensors. At the moment of writing, the library is pretty much working, I just need to do more unit tests before I publish it. This is to allow easier integration of (hopefully many) pull requests.

The basic stuff is supported by the library, receiving data from the sensors, parsing the sensors provided in the kit to human readable form and sending/receiving commands to the TCM 310.

Network based sensor nodes

I’ve been playing around with the idea of multiple Raspberries working together to create a sensor network for those hard to reach places. This would allow extending of the sensors range to whatever your network topology allows. For example, this could be useful in large, multi floor buildings, where a Ethernet cabling already exists. Just put one Pi with EnOcean Pi per floor, connected to one “Master-Pi”, which collects all the data. The idea is shown in the figure below.



image



The “remote” Raspberries would act only as a relay which send the messages to the master. All the data transmitted through the sockets would be exactly the same as the data coming from EnOcean Pi, so the master would do all the parsing. In case the data couldn’t be relayed to the master, the remote should cache it and send later.


This kind of structure (without a custom data-format) would allow the remotes to send data to basically any program (even OpenHAB), as long as there’s the possibility to listen as a socket server.


Of course the “sensor nodes” wouldn’t need to be Raspberries, or even use the EnOcean sensors. They could be anything, maybe a Arduino with Ethernet or WLAN shield, your mobile phone or desktop PC. I’m even thinking about using a Connected Launchpad with Power-Over-Ethernet -mod!

As long as the data format is predefined (as it is with the EnOcean protocol) and the sensor node can connect via TCP/IP, it should be easy to implement. Actually, I’m thinking about using my desktops CPU temperature as a “showcase” for the implementation.


What kind of use cases can you think for this kind of system or do you think this is a waste of my time? I have couple of ideas myself, mainly extending the range of sensors where installing (multiple) repeaters just wouldn’t be practical (and normally they would need power anyways).

  • Sign in to reply
  • kipe
    kipe over 11 years ago in reply to electronichamsters

    Actually I read your post too, while I was writing this, it's a very good idea!

    I've been thinking about these local devices gathering info from remotes (that's why the arrows between devices are two-way image). I'll have to look into MQTT too, at first glance it might be just the thing to transfer these messages, instead of pure sockets. With MQTT it would be possible to extend the network quite easily and most of all, reliably...

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

    Hello Kimmo,

    I've thought along the same lines in terms of extending the reach of sensors.  I'm using MQTT for a lot for my sensor network.  In fact, my Arduino sensors indirectly report to OpenHAB via MQTT.  For me, rather than being concerned about extending incoming data, I was focused on extending outgoing actions - instead of using multiple RPi's as data relays for incoming sensors, I'm using multiple RPi to perform OpenHAB audio alarming in multiple locations.  The "remote" RPi run pretty much the same OpenHAB application as the master, but the master holds the MQTT server, and the remote RPi subscribe to the master's MQTT server.

     

    MQTT should work across the internet too.  It's designed to be used or simple sensor data.  One of my blog posts gives an example with an apartment complex.

     

    Eric

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

    I wound up making a simple test with the Launchpad and can now confirm that everything the EnOcean Pi -module seems to need is 3.3v, ground and serial.

    The pin order is shown on the image below. Note: 3.3v is on the otherside compared to the other pins, double check when connecting!

     

    image

    • 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