# spO2-Python code

**URL:** <https://forums.pimoroni.com/t/spo2-python-code/16379>\
**Category:** Support\
**Created:** [February 22, 2021, 3:37pm UTC](https://forums.pimoroni.com/t/spo2-python-code/16379 "2021-02-22T15:37:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![matterhorn66](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@matterhorn66](https://forums.pimoroni.com/u/matterhorn66)\
**Post date:** [February 22, 2021, 3:37pm UTC](https://forums.pimoroni.com/t/spo2-python-code/16379/1 "2021-02-22T15:37:09Z")

</div>

Hi there,  
I recently bought the Pimoroni 30105 sensor, which enables smke detection, heart rate, temeprature and spO2 (oxygen concentration in blood. Unfortunately I can’t find so far any Python code for the latter item spO2.  
I only found a Aruidno sketch sample, but I think, it is NOT straightforward to try as a beginner to tranlsate (?) that in Python??  
Any help/suggesion is highly appreciated!  
Bernhard

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [February 22, 2021, 4:22pm UTC](https://forums.pimoroni.com/t/spo2-python-code/16379/2 "2021-02-22T16:22:05Z")

</div>

I could be wrong, but I think to do the blood oxygen level the sender has to be on one side of your finger and the receiver on the other side? The light has to travel though your finger / blood. If you you can’t do that with that sensor which may be why there isn’t any code for that function?

---

<div class="post-metadata">

**Author:** ![matterhorn66](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@matterhorn66](https://forums.pimoroni.com/u/matterhorn66)\
**Post date:** [February 22, 2021, 6:58pm UTC](https://forums.pimoroni.com/t/spo2-python-code/16379/3 "2021-02-22T18:58:18Z")

</div>

Well, if you look here

> **[MAX30105 Breakout - Heart Rate, Oximeter, Smoke Sensor – Pimoroni](https://shop.pimoroni.com/products/max30105-breakout-heart-rate-oximeter-smoke-sensor)**
>
> The MAX30105 breakout is a sophisticated heart rate, oximeter, and smoke/particle sensor. Use it as a fun way to see your heartbeat, or to make LEDs or lights pulse in time with your heart. \<3 It's Raspberry Pi and Arduino-compatible.

the item is promoted with the oximeter feature.  
And there are Arduinocodes around, which delivers a sp=2-value…

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [February 22, 2021, 7:17pm UTC](https://forums.pimoroni.com/t/spo2-python-code/16379/4 "2021-02-22T19:17:47Z")

</div>

Wouldn’t be the first time I got something wrong. If you find code that works I’d be interested in seeing it. Might actually buy one then.
