-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create an example peripheral to work with Science Journal app #112
Comments
This is a work-in-progress of what the understanding is of the Bluetooth profile required by Google Science Journal to be able to read Bluetooth (BLE) sensors Service
Characteristic
Characteristic
Characteristic
|
I've been looking around the app files. The heavy lifting for the Bluetooth sensors seems to happen in the following file: The above link is to a comment which states: It is looking like the value is made up of a timestamp and value although the exact details are still a mystery at the time of writing. |
I asked a question in the Google Science Journal Support Forum about the Bluetooth Profile required and they have come back with "We do not have a BLE protocol layer that we are yet ready to support long-term" The solution is to build an Android application package (APK) that interfaces between Science Journal and the Bluetooth as detailed here: Writing the APK seems outside the scope of this project so I'm closing this |
Just wanted to capture here for future reference that the Bluetooth SIG has an adopted GATT specification for Environmental Sensing Profile and Environmental Sensing Service. |
Did you get any further with this? Now that the science journal has gone over to arduino and they can link to the arduino nano sense, it should be possible to pursue this. I want to make a physics sensor based on the adafruit feather sense but would prefer to work in circuitpython because arduino is a pain. |
This idea got abandoned previously because there was not a documented API accessible from the Raspberry Pi. I believe this is still the situation. If you know of some documentation then please share and I can take a look. |
I've just stumbled across the Science Journal app from Google. It allows you to data log sensor data on your phone.
https://play.google.com/store/apps/details?id=com.google.android.apps.forscience.whistlepunk
The bit that caught my attention was that it can also do the logging for sensors over BLE. Their GitHub repo has some Arduino examples. I would expect that this could be done with Bluezero also. The key bits of Arduino code with the BLE service and characteristic seem to be:
The app code is available at:
https://github.com/google/science-journal
The text was updated successfully, but these errors were encountered: