Difference in Data sampling rate for multiple connected sensors
Running UWP C# app for windows 10 IoT core on Raspberry pi 2.
Connecting two metawear boards to get gyro data from both and also setting connection interval for both
mbl_mw_settings_set_connection_parameters(cppBoard, 7.5f, 7.5f, 0, 6000);
With ODR_100HZ config for both boards,
getting gyro sampling for one board at rate 90-100 and for 2nd board at rate between 16-18.
Also with ODR_50HZ config for both boards,
getting gyro sampling for one board at rate 47-50 and for 2nd board at rate between 16-18.
Even with config ODR_200HZ getting same result as 90-100 and 16-18.
Any suggestion how to get same sampling rate from both sensor boards at ODR_100HZ?
Connecting two metawear boards to get gyro data from both and also setting connection interval for both
mbl_mw_settings_set_connection_parameters(cppBoard, 7.5f, 7.5f, 0, 6000);
With ODR_100HZ config for both boards,
getting gyro sampling for one board at rate 90-100 and for 2nd board at rate between 16-18.
Also with ODR_50HZ config for both boards,
getting gyro sampling for one board at rate 47-50 and for 2nd board at rate between 16-18.
Even with config ODR_200HZ getting same result as 90-100 and 16-18.
Any suggestion how to get same sampling rate from both sensor boards at ODR_100HZ?
This discussion has been closed.
Comments
- Can you stream 100HZ from each board if only one of them is connected at a time?
- Are you using the correct "cppBoard" variable for each call to set_conn_parameters?
- In other words, you aren't setting the connection parameters on the same board twice.
I'm hoping this is a simple configuration issue and not a bt adapter or Win10 issue with handling multiple btle connections.