Posts: 52
Threads: 0
Joined: Aug 2018
Institution: RWTH Aachen University
Hey Gautier,
this wasnt possible so far, but I added it to the NRF52 Version of phyphoxBLE right now. Feel free to get this update from my repository:
https://github.com/Dorsel89/phyphox-ardu...nParameter
You can get the current number of connections with
Code:
uint16_t number = PhyphoxBLE::currentConnections;
I also have some good news to the connection interval topic. I was able to implement this feature to the ESP32 & Arduino IoT version aswell. This means you might see this feature in the official repository very soon.
Dominik
Posts: 2
Threads: 1
Joined: Dec 2020
Institution: Burnsville High School
(09-23-2020, 07:20 PM)Dominik Dorsel Wrote: Hey Gautier,
this wasnt possible so far, but I added it to the NRF52 Version of phyphoxBLE right now. Feel free to get this update from my repository:
https://github.com/Dorsel89/phyphox-ardu...nParameter
You can get the current number of connections with
Code:
uint16_t number = PhyphoxBLE::currentConnections;
I also have some good news to the connection interval topic. I was able to implement this feature to the ESP32 & Arduino IoT version aswell. This means you might see this feature in the official repository very soon.
Dominik
Hello
Gautier
I visited the project site at Physics Reimagined looking for the Arduino code for your project (as referenced in the instructions posted on the site), however the link seems to be broken. Do you have a working project that is available for use by physics teachers?
If not, do you know of other Phyphox projects to read the Arduino nano Sense BLE?
Thank you for any help,
Jon Huber, Burnsville High School (Burnsville, MN, USA)
Posts: 13
Threads: 3
Joined: Aug 2020
Institution: Paris-Saclay University
Hello Jon,
Unfortunately, our code doesn't work at the moment because Dominik's addition to the code (connection parameters) is not compatible with the latest version of the Arduino Nano BLE 33 OS. However, I'll try to make it work on an older version so you can use it, but it will not be as easy as it should be.
I will send you a PM with the instructions later this afternoon or tomorrow in the morning.
Thank you for your interest in this project!
Gautier
Posts: 52
Threads: 5
Joined: Apr 2020
Hello Dominik,
I was wondering whether you were considering to include into the "official" phyphox library for Arduino nano the tweeks you included in your own personal library, the tweeks that allowed us to speed the BLE transmission speed in our project? The lack of official library supporting our code is the only hurdle that prevents us from releasing our codes and examples more largely. So far, only expert users can easily use them, but it would really be great if we could aim to the slightly less tech savy part of physics teachers... If you could let us know your plans concerning this precise point, that would be great.
Cheers,
Fred
Posts: 52
Threads: 0
Joined: Aug 2018
Institution: RWTH Aachen University
Hey Fred,
sorry that this is taking so much time. We are just waiting for the official ArduinoCore-mbed library update. The needed feature was rearranged between mbed 5 and mbed 6.2.1. (current mbed version is 6.6). Sadly the Arduino Library is still on mbed 6.0 for months now..
You can take a look at my github issue here:
https://github.com/arduino/ArduinoCore-mbed/issues/75
Cheers
Dominik
Posts: 52
Threads: 5
Joined: Apr 2020
(01-06-2021, 08:08 PM)Dominik Dorsel Wrote: Hey Fred,
sorry that this is taking so much time. We are just waiting for the official ArduinoCore-mbed library update. The needed feature was rearranged between mbed 5 and mbed 6.2.1. (current mbed version is 6.6). Sadly the Arduino Library is still on mbed 6.0 for months now..
You can take a look at my github issue here:
https://github.com/arduino/ArduinoCore-mbed/issues/75
Cheers
Dominik
Thank you Dominik!
I see that they expect to release the new library soon, that is great news. Crossing fingers...
Cheers,
Fred
Posts: 52
Threads: 5
Joined: Apr 2020
Hello to all,
Thanks to the new Arduino mbed library and Dominik's work, it is now easy to link an arduino nano 33 BLE sense and all its sensors to phyphox via bluetooth... Kudos to Gautier for his work! Feel free to use and adapt it to your needs...
http://hebergement.universite-paris-sacl...o/?lang=en
Thank you for your help Dominik, your library is great.
Cheers,
Fred
Posts: 539
Threads: 24
Joined: Apr 2020
Institution: RWTH Aachen University
Brilliant work Gautier – and highly appreciated judging by the stats of Julien's announcement,
https://twitter.com/jubobroff/status/138...0564671496, that has been officially shared by Arduino:
https://twitter.com/arduino/status/1387093806085033996
Posts: 539
Threads: 24
Joined: Apr 2020
Institution: RWTH Aachen University
An article on this topic has just been published on
https://arxiv.org/abs/2107.10531, thank you again!
Posts: 539
Threads: 24
Joined: Apr 2020
Institution: RWTH Aachen University
(09-23-2020, 07:20 PM)Dominik Dorsel Wrote: this wasnt possible so far, but I added it to the NRF52 Version of phyphoxBLE right now. Feel free to get this update from my repository:
https://github.com/Dorsel89/phyphox-ardu...nParameter
You can get the current number of connections with
Code:
uint16_t number = PhyphoxBLE::currentConnections;
The link supposedly should be
https://github.com/Dorsel89/phyphox-ardu...nParameter
Credits to the now deleted previous post that tried to sneak in a spam link – bye…