This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Use case, collect data from multiple sensors in a room

Hello

I would like a suggestion on the best architecture to collect data from multiple sensors in a room. Let me explain my need.

I have a room where we place multiples boxes, each box has a temperature sensor that we need to monitor in a central dashboard. The boxes enters and leaves the room all the time. We keep an average of 40 boxes in the room all the time.

The way we thought about that was:
Having 1 BLE device installed in the room connected to our network "running like a gateway" this device would be a BLE CENTRAL_DEVICE scanning for peripherals.

On each box we would install another BLE device acting as a peripheral connected to the sensor temperature from the box, at every 1 minute we would wake read the sensor and wait for the central to connect for 30 seconds then go to sleep again.

Each box must have its temperature checked no longer than 3 minutes.

Would this work?

Thank you

Parents
  • What is the maximum number of boxes that will be in the room? For how long will they be there? 

    I think the most robust solution will be 3 central devices with a constant connection to 1/3 of the devices each. By using a connection interval of 15 seconds you will save a lot of power on the peripherals as they won't have to re-establish a connection every time they need to send an update, and it will be robust with re-transmissions and channel hopping. A central based on the nRF52832 or 52840 can handle 20 peripherals each, so 3 centrals can handle 60 peripherals.  

    What was your plan in getting the information off the central device, or what is your plan for the next steps of the data gathering, where does the data end up?


Reply
  • What is the maximum number of boxes that will be in the room? For how long will they be there? 

    I think the most robust solution will be 3 central devices with a constant connection to 1/3 of the devices each. By using a connection interval of 15 seconds you will save a lot of power on the peripherals as they won't have to re-establish a connection every time they need to send an update, and it will be robust with re-transmissions and channel hopping. A central based on the nRF52832 or 52840 can handle 20 peripherals each, so 3 centrals can handle 60 peripherals.  

    What was your plan in getting the information off the central device, or what is your plan for the next steps of the data gathering, where does the data end up?


Children
Related