home home

week 9 documentation

individual assignment

for this week's assignment, i explored a pulse sensor.

by connecting it to a barduino and a small oled screen, i was able to visualize the data in real-time.

i wrote a small code to show the pulse sensor input into a serial monitor.

the serial monitor showed values from 0-4096, showing that it has a 12-bit system.

Rhino 8 - vector drawing 61

i then wrote another code to translate the values into beats per munyte (BPM), a simple waveform of the heartbeat and a small pulsating heart icon.

using the serial plotter, i was able to change the threshholds to maximise the calibration and visualise clear signals from the pulse monitor

now i need to connect this system to the board that i created

Now i decided to explore a pulse sensor with a ESP 32 board that I designed

I connected the board with the serial connection UART header on my board to this UART adapter that I found on Amazon

selecting the port

Rhino 8 - vector drawing 61

I've input this test code to see what happens

link to arduino code

the values were moving really fast between 0 and 4096 since it has a 12 bit system

I decided to change the delay to 100 to see what was happening more clearly

When I touched the sensor, the value was lower and when I didn't, the value were higher

So I used this code to visualise the pules sensor inputs on the serial plotter when my finger was on/off the sensor. I had to adjust the threshold values until finger on/off was clearly differentiated

Reflection

I learnt that the sensor is light dependent and senses the change in blood oxygenation. This is a pretty sensitive one and if it is calibrated well, it can be used for real biofeedback data. This is quite exciting and I will explore it more for my final project

1

pulse monitor setup

2

pulse monitor setup

3

pulse monitor setup

4

pulse monitor setup

5

pulse monitor setup

6

pulse monitor setup

7

pulse monitor setup

8

pulse monitor setup

9

pulse monitor setup

10

pulse monitor setup

11

pulse monitor setup

12

pulse monitor setup

13

pulse monitor setup

14

pulse monitor setup

15

pulse monitor setup

16

pulse monitor setup

17

pulse monitor setup

18

pulse monitor setup

19

pulse monitor setup

20

pulse monitor setup

21

pulse monitor setup

22

pulse monitor setup

23

pulse monitor setup

24

pulse monitor setup

25

pulse monitor setup

group assignment

here is the link to the group assignment page Group Assignment week 9

notes

Put your notes here.