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

How to send sensor data from multiple peripheral devices simultaneously to one central device

Hi,

I have created a system with nRF52840 (peripheral) that collects data from an accelerometer and gyroscope sensors and sends those data through ble_uart to a smartphone  device (central) for visual inspection (graph).

The system works fine but now I want to move a step further and send sensor data from multiple peripherals simultaneously to the same smartphone device so that I can display data from all devices in the same graph

The possible configurations I can think of, are the following.

  • 1st possible Configuration
    • Collect the data from multiple peripheral devices simultaneously and
    • display those data on  smartphone app
  • 2nd Possible Configuration
    • Collect the data from multiple peripheral devices simultaneously and
    • send them to an nRF52840 central device that assemblies all that data into packets and then
    •  send those packets to a smartphone device and display them  

                                   

The problem is that, I don't know if and how multiple peripherals can be connected all together at the same time

to a central (either configuration 1 or 2) in order to receive data from all devices simultaneously.

Do you know if there is some example or tutorial that does that, so I can use it as basis ?

Thank you for your time

Best regards

Related