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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 675 subscribers
  • Views 3102 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
  • aswinvenu
    0 aswinvenu over 6 years ago

    Hi,

     

    Great work!

     

    For building BLE enabled sensors:

     

    There are nearly a dozen of companies which make BLE solutions and there are hundreds of products (BLE enabled SoC and MCUs ) out in market.

    Nordic Semiconductor, Texas Instruments, Silicon Labs, Espressif andST Micro are some of them.

     

    Most all of the sensor ICs has digital communication channels like I2C, SPI or UART. Some of them will have direct analog output.

    If you have a BLE+MCU solution, The same MCU which hosts and controls the stack of the BLE can be used to communicate to these sensors.

     

    Let's look at BLE + MCU solutions .

     

    nRF52840 from nordic semiconductor has a BLE + Cortex M4 CPU and a handful of peripherals like I2C, SPI, UART etc. You can easily develop what ever you want on these kind of platforms.

    Like this there are many chips.(http://www.nordicsemi.com/-/media/Software-and-other-downloads/Product-Briefs/nRF52840-product-brief.pdf?la=en&hash=CE0F… )

     

    esp32 from espressif - https://www.espressif.com/en/products/hardware/esp32/overview

    Bluegecko series of BLE solutions from Silicon Labs : https://www.silabs.com/products/wireless/bluetooth/blue-gecko-bluetooth-smart-socs

    CC2642 from TI : CC2642R SimpleLinkTm BluetoothRegistered Low Energy wireless MCU | TI.com

    BlueNRG series from STM : https://www.st.com/en/wireless-transceivers-mcus-and-modules/bluetooth-bluetooth-low-energy.html#overview

     

    All of these companies has cheap development/demonstration boards with lot of sensors enabled.

     

    Thunderbird Sense 2 is one of my favorite : https://www.silabs.com/products/development-tools/thunderboard/thunderboard-sense-two-kit

    This small piece of PCB has a handfull of sensors integrated to it. This will give you an idea of how to develop your own designs.

     

    Texas Instruments  (TI) has sensor tag : CC2650 SensorTag User's Guide - Texas Instruments Wiki  (CC2650 based solution)

     

     

    Please let me know if you want any help.

     

    Regards,

    Aswin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • talatomniot
    0 talatomniot over 6 years ago in reply to aswinvenu

    THANK YOU!

     

    I think this is pretty much what I'm looking for. Again, I don't have a whole lot of hardware background so I may be just asking the wrong questions. At any rate, I'll look these all over today but... my assumption is that most of these boards come with some sort of pin connections that you attach a sensor to (light, humidity, gas, etc.) and then a software suite that you use to read the data from the sensor and transmit it via BLE? Is that about right? I'm sure I'll have more questions after reading the links you sent but in the mean time thanks again for your detailed reply!

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

    Hi,

     

    Let me give you an example.

     

    Consider you want to make a BLE enabled humidity sensor.

     

    DHT11 is one of the cheapest and commonly available humidity sensor in the market.

                                                                                                                                                                 

     

    image

     

    This sensor communicate using single wire serial communication.  Find more info her : https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=16&ved=2ahUKEwi59fKf_b3jAhUKPY8KHYFUAd4QFjAPegQIBBAC&url=h…

     

     

    take a thunderboard sense2:

    image

     

    Connect any of the GPIO (Gneral purpose Input Output). To the pin 2 of DHT11. Connect 3V3 to the VCC pin (pin 1) and ground to Pin GND(pin4).

     

    Now you need to generate/detect "1" and "0" of required duration on the GPIO pin inorder to retrieve information from the sensor.

     

    I will be writing an article how to communicate with DHT11 using GPIO very soon. That will give you a clear understanding of these.

     

    Regards,

    Aswin

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

    Got it (and thanks again!). I don't know if you looked at the software I've been working on but basically I'd hoped to find a company that already manufactured a simple (and inexpensive) line of sensors that I could integrate into my platform. The idea being that users could order a few hubs and whatever sensors they needed ala carte and be able to build a lot of simpler IoT applications very quickly and without doing a lot (or any) actual development. I haven't really found anyone doing that though so I'm just exploring getting them built myself. From your links I was especially happy to see a few boards that are already available with long range ble which I think could make ble a much more viable solution for a lot of applications. Of course for the time being that would require a dongle on the Pi, but where long range is important that's probably not a big extra.

     

    At any rate, two things... (1) where (and roughly when) will your article be published? I look forward to it, and (2) is there a forum or place that you might suggest that I check out to find companies that might be in a position to build a set of sensors for me?

     

    Thanks again for your valuable input!

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

    Hi,

     

       I just did a quick google search and found some candidates.

     

    https://www.texim-europe.com/news/831

    https://www.silabs.com/products/development-tools/sensors/environmental-biometric-sensor-puck-starter-kit

    https://switches-sensors.zf.com/bluetooth-low-energy-5-0/

     

    One thing you have to make sure is that your software supports custom characteristics over BLE GATT.

    Some of these sensors may have a custom characteristics to send the sensor data.

     

    Answering your first question :

    I will be writing blogs here and on  my LinkedIn, I will update you when I post articles on this topic.

    You can connect with me through my LinkedIn : https://www.linkedin.com/in/aswinvenu/

     

    Regards,

    Aswin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • aswinvenu
    0 aswinvenu over 6 years ago in reply to talatomniot

    Hi,

     

       I just did a quick google search and found some candidates.

     

    https://www.texim-europe.com/news/831

    https://www.silabs.com/products/development-tools/sensors/environmental-biometric-sensor-puck-starter-kit

    https://switches-sensors.zf.com/bluetooth-low-energy-5-0/

     

    One thing you have to make sure is that your software supports custom characteristics over BLE GATT.

    Some of these sensors may have a custom characteristics to send the sensor data.

     

    Answering your first question :

    I will be writing blogs here and on  my LinkedIn, I will update you when I post articles on this topic.

    You can connect with me through my LinkedIn : https://www.linkedin.com/in/aswinvenu/

     

    Regards,

    Aswin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • talatomniot
    0 talatomniot over 6 years ago in reply to aswinvenu

    Yeah, thanks, I've actually had some cursory conversations with a few companies that I'd found on the internet but had just received wildly varying information / price quotes. I was just thinking maybe you knew of some specific companies. I'll do a bit more research, though your posts have been tremendously helpful! I'll watch for your blogs and thanks again for the help...

    • Cancel
    • Vote Up 0 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