Hi
I would like to receive signals from a Bluetooth Oximeter and convert it to MIDI or audio samples so that people can hear their heart rate in real time. I am a beginner and would really value someone outlining the steps I need to take, the best kit to use and I am happy to research and learn them but I need to know it's possible first. I also realise that there's probably a few ways to do this. It has to be bluetooth. I am aware that an oximeter only gives a signal for 1 beat of the heart and that there will be latency.
Thank you.
Oximeter BLE Real time triggering
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- austin944
- Posts: 12
- Joined: Sun Jan 17, 2021 8:45 pm
Re: Oximeter BLE Real time triggering
It should be possible. What platform are you using as your Bluetooth Client -- will it be a smartphone (which kind -- Android or iPhone), Windows or Mac PC, Raspberry Pi, or whatever is easiest to implement?
- Labmedia
- Posts: 5
- Joined: Fri Oct 14, 2022 5:39 am
Re: Oximeter BLE Real time triggering
Thanks AUSTIN 944. It could be Mac or Raspberry PI. I would be interested in what you think the easiest route of enquiry would be? I'm happy to teach myself new skills to achieve it but I just need to hear from someone who has knowledge of the what protocols , kit and signal path would be successful before I start trying it.
- austin944
- Posts: 12
- Joined: Sun Jan 17, 2021 8:45 pm
Re: Oximeter BLE Real time triggering
I've been using Bluepy on the Raspberry Pi:
https://github.com/IanHarvey/bluepy
https://ianharvey.github.io/bluepy-doc/
Some others I've tried to help have not had good luck with it, like this person:
https://forums.raspberrypi.com/viewtopic.php?t=350475
What do you plan to use for the Bluetooth Oximeter? Something pre-built like this?
https://www.adafruit.com/product/4582
Or do you want to construct your own Oximeter?
https://github.com/IanHarvey/bluepy
https://ianharvey.github.io/bluepy-doc/
Some others I've tried to help have not had good luck with it, like this person:
https://forums.raspberrypi.com/viewtopic.php?t=350475
What do you plan to use for the Bluetooth Oximeter? Something pre-built like this?
https://www.adafruit.com/product/4582
Or do you want to construct your own Oximeter?
- Labmedia
- Posts: 5
- Joined: Fri Oct 14, 2022 5:39 am
Re: Oximeter BLE Real time triggering
Yes ,Austin 944, that's the model I had in mind.
- austin944
- Posts: 12
- Joined: Sun Jan 17, 2021 8:45 pm
Re: Oximeter BLE Real time triggering
I followed the documentation for that Oximeter to this site, where the BLE characteristics are described:
https://github.com/zh2x/BCI_Protocol/bl ... 20V1.2.pdf
They give you the pulse rate (presumably in beats per minute), but you have no access to the individual pulses. I guess you could "fake" the individual pulses from the pulse rate, but the fake pulses might not necessarily occur "close enough" to the real pulses.
If you decide to go with this faking, I am pretty sure the Python code that Adafruit gives you could be converted to run on the Raspberry Pi.
https://github.com/zh2x/BCI_Protocol/bl ... 20V1.2.pdf
They give you the pulse rate (presumably in beats per minute), but you have no access to the individual pulses. I guess you could "fake" the individual pulses from the pulse rate, but the fake pulses might not necessarily occur "close enough" to the real pulses.
If you decide to go with this faking, I am pretty sure the Python code that Adafruit gives you could be converted to run on the Raspberry Pi.
Please be positive and constructive with your questions and comments.