Skip to main content
Up and Coming
December 7, 2013

Mio Alpha Watch + Oculus Rift * Unity = Biofeedback

I have always been amused by VR and Biofeedback. I finally have a chance to do some R&D with Unity, the Oculus Rift, and the Mio Alpha Watch.

The Mio Alpha Watch is 99% accurate non invasive heart rate monitor. It works on bluetooth low energy. I was able to get that heart rate, my heart rate inside of my Unity Oculus Rift App. Because my Mac Book Pro does not have a Bluetooth LE Chip in it I went an outside the box route that I am now very proud of. Here were my steps of getting the Mio Alpha Heart Rate into Oculus Rift at a high level.

1). Turn on Mio Alpha Watch and let it find your heart rate.
2). Write Unity iOS Helper app with Alpha Mio Plugin (as the iPhone 5 has a Bluetooth LE chip)
3). Send the Beat to the iPhone and Display it in the App
4). From the iPhone in Obj-C, Update the BPM to a local server of person wearing the watch (Made a small sql database that holds a record of name and beat).
5). In the Oculus Mac App use the WWW class to pull down the beat from the local server.
6). You now have your heart beat and rate in the Oculus Mac App, time to be creative with what you can do with it.

The first thing I did is I wanted to "hear" my heart beat. I download a single beat sound, and every time the heart rate function triggered I played the sound. Running in place it would speed up, resting it would slow down.

I then started to play with ambient light and light intensity where if your heart rate was high it would have normal lighting but as you heart rate rested to zen like state the lights would intensify.

Here is a screenshot of the Alpha Mio Watch with the beat being sent to the iOS helper app.



Both the Watch, iOS App, and Text in the Oculus with the beat are all in sync.

More Screenshots to come.

Feedback and ideas welcome.

- Matt

    4 replies

    Up and Coming
    December 7, 2013
    Hello horror games that scare you when you're most susceptible to heart attack.

    Buy an USB bluetooth receiver, it should be something like $5.
    mharrisAuthor
    Up and Coming
    December 7, 2013
    That's a good idea to get just a USB Receiver for BTLE. I will pick one up!

    However I like the iOS App part because I have some ideas of friends controlling your Oculus experience from the iPhone from different buttons. Just exploring ideas.

    - Matt
    Up and Coming
    October 23, 2014
    I wonder if any game makers are going to try to integrate biofeedback into their games. This sure would make the ultimate horror game (or other kinds of experiences) with the right "formula" applied to a user's experience. I'm thinking, Heart Rate Monitor, and even maybe the Oculus Integrated with an Emotiv headset for tracking brain patterns. We are on the cusp of some really exciting stuff :D
    Up and Coming
    October 25, 2014
    Yes, Flying Mollusk are running a Kickstarter right now for a horror game that uses biofeedback. They could do with some help too - 9 days to go and 45K more needed:

    https://www.kickstarter.com/projects/reynoldsphobia/nevermind-biofeedback-horror-game