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!

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.

Figure 2. Progress map of what to do with the pulse sensor.
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.

Figure 4. webpage.
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).
Figure 6. Pulse sensor setup part 1. (no beat detected.)
Figure 7. Pulse sensor setup part 2. (beat detected.)
Figure 8. Pulse sensor data on plot monitor on Arduino.
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.

Figure 10. Sending the data through “myBPM” variable.
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.

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:

Figure 13. Using the data to control the appearance of a heart image.
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.

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!



Dark Red Heart PNG HD