Valentine E-cards: Explorations with the Pulse Sensor

My explorations with the heart pulse sensor lead me to creating a low-fidelity prototype of e-cards!

screen-shot-2019-02-07-at-9-16-52-am
Figure 1. Processing Sketch E-card.

I wanted to explore data transferring between both the Arduino IDE software and Processing using the pulse sensor. The idea of using pulse sensory data to create an intimate and personal interaction sparked my interest in how I could create this sweet savoury like project/prototype.

img_3247-2
Figure 2. Progress map of what to do with the pulse sensor.
img_3248-2
Figure 3. Workshop #3 Worksheet

I sketched out what I wanted to do step by step on paper. First, I was going to setup and play around with the pulse sensor in Arduino to see how it worked and how the examples provided in the playground sensor library was tracking my heart rate. I followed the instructions from the pulse sensor’s website to help me set up.

screen-shot-2019-02-07-at-9-53-42-am
Figure 4. PulseSensor.com webpage.
img_3228
Figure 5. PulseSensor setup.

I was able to successfully set up the pulse sensor and started playing around with the example sketches in the Arduino IDE.

Figure x. Fritz diagram of led and pulse heart sensor (off screen).
Figure x. Fritz diagram of led and pulse heart sensor (off screen).
img_3237
Figure 6. Pulse sensor setup part 1. (no beat detected.)
img_3236
Figure 7. Pulse sensor setup part 2. (beat detected.)
img_3230
Figure 8. Pulse sensor data on plot monitor on Arduino.
img_3229
Figure 9. Pulse sensor data on serial monitor on Arduino.

This setup and serial data is from the PulseSensor_BPM code in the pulse playground library. I made a new file called Heart Beat and added the syntax line “Serial.write(myBPM)” to send the data over to processing.

screen-shot-2019-02-07-at-10-13-06-am
Figure 10. Sending the data through “myBPM” variable.
screen-shot-2019-02-07-at-10-12-40-am
Figure 11. Sending the data through “myBPM” variable.

I then sent this data over to a processing sketch, opened the port and placed the incoming data in an ellipse’s properties to manipulate its shape.

screen-shot-2019-02-07-at-10-38-05-am
Figure 12. Sending the data to processing and changing the width of my ellipse by the pulse sensor data.

I later applied this manipulation to an image:

screen-shot-2019-02-07-at-10-56-16-am
Figure 13. Using the data to control the appearance of a heart image.
screen-shot-2019-02-07-at-10-49-47-am
Figure 14. Heart image shows up when the sensor detects a pulse.

My incoming BPM would cause the image to appear on the screen every time the sensor read my heart beat. I later had some fun and thought this would be a cute valentine e-card.

screen-shot-2019-02-07-at-9-16-52-am
Figure 15. Pulse sensor e-card prototype!

For future works I’d like to take this sort of concept online so long distant lovers could send over in-real time e-cards of their partner’s heart beats. This could also be implemented in webcam calls or on common online canvases.

Checkout the process video below!

screen-shot-2019-02-07-at-11-36-57-am
https://vimeo.com/315910061

References

https://pulsesensor.com/pages/code-and-guide

Dark Red Heart PNG HD