bluetooth heart rate real time monitoring
#1
Hi
could be possible with PineTime to send real time heart rate sensor data through bluetooth connection directly (without phone) to a local server ?

Thank you
  Reply
#2
All of the following would require a programming effort (as far as I'm aware).

Quote:could be possible with PineTime to send real time heart rate sensor data [..]

The PineTime has functionality that allows it to wake periodically (see the new function to show the time each hour) and execute some function. It should be possible to wake the I2C bus, wake the HR sensor, make a reading and go back to sleep - all without entirely powering the device back on.

Quote:[..] through bluetooth connection directly (without phone) to a local server ?

Kind of. You need to get your data from the watch to the server via Bluetooth, so this could happen in bulk either via a Phone or Desktop. The good news is though that it should now be possible to collect HR data without needing to be tethered all the time to another device.

Note though that some important data such as GPS will not be available without a complimentary device offering GPS data.

In the future it could be great to see a PineTimePro that has a little more hardware capability, making it more independent from the need for external devices. Support for WiFi, a magnetometer, GPS and LoRa are all in theory within the realm of possibility - but expect a much more expensive device to result.
  Reply
#3
Thank you very much Barray!
 
Quote:The good news is though that it should now be possible to collect HR data without needing to be tethered all the time to another device.


Could you please give me some tips about collecting HR data with bluetooth ?
  Reply
#4
(02-03-2022, 08:51 PM)ptmatrtwo Wrote: Thank you very much Barray!

No problem.

(02-03-2022, 08:51 PM)ptmatrtwo Wrote: Could you please give me some tips about collecting HR data with bluetooth ?

I believe the work to expose the HR data via BT is currently in progress: https://github.com/InfiniTimeOrg/InfiniTime/issues/895

Then you would just need to read it via the sports watch API they use (there should be plenty of examples).
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to use bluetooth after flashing mynewt razrosman 0 71 06-09-2022, 12:27 PM
Last Post: razrosman
  bluetooth GATT questions wilsonjw 2 725 07-08-2021, 08:33 PM
Last Post: wilsonjw
  Article: Bluetooth Time Sync and LVGL on PineTime Mynewt lupyuen 0 1,721 10-15-2020, 05:51 PM
Last Post: lupyuen
  Pine time mechancial source files reddyvishnu460@gmail.com 0 1,318 06-17-2020, 03:40 AM
Last Post: reddyvishnu460@gmail.com
  Article: Your First Bluetooth Low Energy App with Flutter lupyuen 0 2,040 06-03-2020, 05:44 PM
Last Post: lupyuen
  Firmware Update over Bluetooth LE lupyuen 2 2,478 05-16-2020, 02:17 AM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)