unity heart rate – Kevin Gulling http://www.kevingulling.com Game Development, VR, and more Mon, 06 Nov 2017 22:33:02 +0000 en-US hourly 1 https://wordpress.org/?v=5.9.13 81085834 Arduino + SPO2 Pulse Oximeter + Unity3D – Teardown Tuesday https://kevingulling.com/2017/01/arduino-spo2-pulse-oximeter-unity3d/ https://kevingulling.com/2017/01/arduino-spo2-pulse-oximeter-unity3d/#comments Tue, 17 Jan 2017 23:30:15 +0000 https://kevingulling.com/?p=1460 Arduino + SPO2 Pulse Oximeter + Unity3D After a recent hospital visit, I was given a disposable spo2 sensor to monitor my oxygen saturation and pulse which is standard practice these days. Rather than let the nurse toss my sensor afterwards, I decided to take it home and tinker with it. It would be pretty […]

The post Arduino + SPO2 Pulse Oximeter + Unity3D – Teardown Tuesday appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
Arduino + SPO2 Pulse Oximeter + Unity3D

After a recent hospital visit, I was given a disposable spo2 sensor to monitor my oxygen saturation and pulse which is standard practice these days. Rather than let the nurse toss my sensor afterwards, I decided to take it home and tinker with it. It would be pretty neat to have my own spo2 monitor at home, never know when it could come in handy! I am especially interested in the applications that it can be applied to in the gaming world, such as fitness gaming, so I created a Unity asset that can handle the readings and graph the results, much like an ECG.

diy pulse oximeter

A couple of you have asked for more details about the project so here’s everything I have so far (work in progress).

I couldn’t find much on the exact sensors that Masimo uses in their resposable SP02 sensors, so disclaimer: I’m just sort of winging it here, there is definitely more info needed to perfect this project… That being said, without wasting any more time, here is the project:



Project materials:
-Arduino Uno R3
-Masimo Universal Resposable SPO2 Pulse Oximeter
-Breadboard
-10k resistor
-220 resistor
-330 resistor

SPO2 sketch:


The circuit:

breadboard schematic

This handy tool I made in Unity reads the data we send to the serial com and graphs it for us in a manner that emulates an ECG.

spo2 grapher unity3d

Download Unity3D SPO2 grapher for Windows

You’ll notice that I commented out a few lines in the sketch. Enable these lines if you would rather plot your graph using an online tool such as FooPlot rather than the realtime Unity3d made monitor.

If you have any information to contribute for the advancement of this project, leave a comment or contact me and I’ll be sure to keep this article up-to-date with new findings! If you have any questions go ahead and leave those in the comments as well and I’ll do my best to answer any.

The post Arduino + SPO2 Pulse Oximeter + Unity3D – Teardown Tuesday appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
https://kevingulling.com/2017/01/arduino-spo2-pulse-oximeter-unity3d/feed/ 5 1460