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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Some questions for those that know how to build BLE sensors.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 16 replies
  • Answers 3 answers
  • Subscribers 665 subscribers
  • Views 2812 views
  • Users 0 members are here
  • ble
  • ant
  • hub
  • omniot
  • gateway
  • iot
  • sensor
Related

Some questions for those that know how to build BLE sensors.

talatomniot
talatomniot over 6 years ago

   I have a RPi based Hub/Gateway platform that, in a nutshell, includes a configurable rule engine so that users can build out a lot of typical IoT edge infrastructure without doing any programming. One of its major differentiators is that it comes with built-in support for a range of sensors so users basically just pick the sensors and sensor values they want to access using the Rule Engine Configuration Utility. Currently it supports about a dozen or so BLE and ANT sensors (a list is below). Once support is added for a new sensor it just becomes part of the supported sensor library from that point forward, meaning each new release should have an ever growing library of supported sensors. Adding support for a new sensor is a day or two's effort typically.

 

   All of that said, when I started this a few years ago I envisioned a lot more generic sensors coming to the market which so far hasn't happened. Most off the shelf sensors are more meant more for prototyping than building actual systems or applications (e.g. the SensorTag, Thingy:52, etc.). Beyond that many sensors on the market are tied to their own proprietary systems or products and so it's not always easy to get all their characteristic and control/configuration information.

 

   Ideally I'd like to support as many sensors / sensor types as possible. Hopefully (and importantly) the sensors would also be as low-cost as possible. That would make for a completely unique offering where users could really create their IoT edge infrastructure quickly and with minimal technical expertise required. So my questions for those who know about building sensors are -

 

  1. How hard is it to build a simple BLE sensor from scratch? Take for instance the Garmin Tempe ANT sensor which simply reports the current temperature, if you wanted to replicate that as a BLE sensor how hard would that be?
  2. Once you did that how hard would it be to build similar single purpose sensors to do other things, e.g. monitor for gasses, proximity, light, movement, etc.
  3. How cheap could these types of sensors it be built at scale would you think?
  4. Have I maybe missed a range of sensors already available that might fit the bill?
  5. Are there any companies out there that might be open to building a line of sensors if they had a hub to support them?

 

Any input/observations would be appreciated and if I can answer any questions about my platform let me know (some info and links are below). Note that the main website doesn't reference a lot of new beta functionality, specifically new MQTT support. Info about that (and where it can be downloaded) can be found in a hackster.io project linked below. It'll be incorporated into the main website soon. In the interim, if you want to download the current version be sure to download it from the beta page as the version on the main website does not include any of the MQTT functionality. Anyway, thanks in advance for any replies...

 

 

Main Website

Youtube Channel

New Hackster.io MQTT project

 

 

Currently Supported Sensors:

 

  • Texas Instruments SensorTag
  • Nordic Thingy:52
  • Dialog Semiconductor DA14585
  • NXP RapidIoT
  • Sensirion Smart Gadget
  • Phoenix Sensors WEPS04
  • Vernier GDX-TMP
  • Generic HRM (BLE)
  • Generic HRM (ANT)
  • Garmin Tempe (ANT)

 

 

Compatible 3rd party MQTT Brokers (tested so far):

 

  • MS Azure PowerBi
  • IBM Watson IoT
  • Amazon AWS IoT
  • ThingsBoard.io
  • Ubidots
  • Cayenne
  • AdaFruit IO
  • BeeBotte
  • AllThingsTalk
  • Tago.io
  • Tinamous
  • Sign in to reply
  • Cancel
Parents
  • travellingkiwi
    0 travellingkiwi over 6 years ago

    I started with mostly zWave devices on my OpenHab system. But they're terrible. I would struggle to recommend zWave to anyone for any reason apart from to increase your blood pressure maybe.

     

    I've also tried no-name Wifi devices. They're almost as bad. Except I can monitor that a bit better.

     

    What works for me is ESP32's with sensors attached. They're cheap, easy to program and will interface to almost anything (I try to stick to BME280's for example for Temp, Pressure and Humidity). Because you have complete control, you can fix things that annoy you rather than just kicking yourself for spending 3x the price on a half baked commercial solution that fails more often than it works. And using Mosquito (MQTT) for the comms means you only have to worry at the system end about 1 type of connectivity. And how you format the messages that are sent.

     

    BLE? Wouldn't really touch it. Low Energy, great. Reliability - I have yet to find a reliable BlueTooth device (Although they're better than they were 15 years ago, they still struggle and debugging is not a pleasant experience).

     

    H

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • travellingkiwi
    0 travellingkiwi over 6 years ago

    I started with mostly zWave devices on my OpenHab system. But they're terrible. I would struggle to recommend zWave to anyone for any reason apart from to increase your blood pressure maybe.

     

    I've also tried no-name Wifi devices. They're almost as bad. Except I can monitor that a bit better.

     

    What works for me is ESP32's with sensors attached. They're cheap, easy to program and will interface to almost anything (I try to stick to BME280's for example for Temp, Pressure and Humidity). Because you have complete control, you can fix things that annoy you rather than just kicking yourself for spending 3x the price on a half baked commercial solution that fails more often than it works. And using Mosquito (MQTT) for the comms means you only have to worry at the system end about 1 type of connectivity. And how you format the messages that are sent.

     

    BLE? Wouldn't really touch it. Low Energy, great. Reliability - I have yet to find a reliable BlueTooth device (Although they're better than they were 15 years ago, they still struggle and debugging is not a pleasant experience).

     

    H

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • talatomniot
    0 talatomniot over 6 years ago in reply to travellingkiwi

    Thanks for the heads up on the ESP32. I'll have a look at it. I'm pretty well down the path of BLE (which it supports as well apparently) so it could be a fit. I aware of BLE shortcomings but I'm hoping as BLE 5 long range gets out it will boost connection stability. Thanks again for the reply!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • travellingkiwi
    0 travellingkiwi over 6 years ago in reply to talatomniot

    You're right. The ESP32 does have BLE (I've just never bothered to use it as my whole setup is on a dedicated Wifi network).

     

    Keep up the good work.  I'd be interested in using the BLE on them for areas where I don't have any USB power available if I can see that it's reliable (And by reliable I mean I have to mess with it less than once a year). And maybe we'll see BLE 5 on them soon too. You never know.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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