I am working on a project in which 15 sensors are being used to record temperature, acceleration and gyroscopic data constantly, each is paired to its own esp32 module for power and connectivity. At this stage I want to be able to setup a wireless system of live data transfer from all 15 sensors to my computer where I will receive the data via serial and interpret it in Processing visually.
So far I have achieved live wireless transmission from up to three sensors using boiler plate BLE Arduino code examples, here I used a single esp32 as the master server which received data from 3 esp32-sensor pairs.
How might I overcome the issue of the maximum of 6-7 BLE devices connected to a receiver. The most intuitive solution to me is to create a hierarchy of Bluetooth server and client branches: e.g
/---- Submaster <----- 5 imus
Master Server <----<---- Submaster <----- 5 imus
---- Submaster <----- 5 imus
I fear this will introduce an impractical degree of lag in the data transfer and I am uncertain whether these “submasters” can behave simultaneously as master and slave or (server and client).
Please could you kindly advice me on the most suitable solution or avenue of research to this dilemma.
Please note that I have already searched this forum and others about this topic but each answer appears to be dependant on the specific to the application of the user hence my posting. Additionally people have mentioned the superiority of an NRF24 network for multi wireless connections, however my end goal is to have the sensors providing data directly to an android device with a custom built app to receive and process the data, hence my preference for BLE since I have read that NRF24 does not easily allow connection to android and Iphone devices. Additionally other methods such as having the master poll through multiple sensors appears to me be unfit for live data streaming.
Any advice regarding this would be much appreciated, apologies if I have not provided enough information I will endeavour to reply to any requests for more. Thank you very much.