You are on page 1of 10

my ultimate interactive particular

johanna quinn
paint your what out? 4

key features 6

lessons 7

hardware 8

source code 9
paint your what out?
This handheld brush device helps artists and designers control their heart
rate while painting. For some people, painting is an activity used to relax
the body and mind: tension or stress can sometimes inhibit a painter from
achieving a relaxed state. The idea behind ‘Paint Your Heart Out’ is when
a person gets stressed or anxious, leading to an increased heart rate,
a haptic feedback will send a reminder that it is time to relax your body.
The paint brush is interchangeable and the user has the option to use the 4
device with markers, pens, pencils and even different sized paint brushes!
key features
When your thumb is placed on
the heart rate sensor, it will detect
how fast your heart is beating

When your pulse reaches a

certain threshold, the vibrations
from the internal motor will
indicate that it is time to relax and
slow down your breathing

When you get to a stressful part

of your painting, it is a reminder
to breathe deeply and remain
calm which will come across in
the finished painting
This project, despite intending for it to be simple, was quite
challenging. This was my first project using Arduino as
an individual; previously I have worked in teams where
I was not responsible for programming or hardware. I
found coding the most challenging aspect of the project
and struggled with that right until the submission deadline!.
The parts of this project that I enjoyed the most were the
design and prototyping stages. I really had a lot of fun with
the design of the brush holder and the concept behind it.
Because this was such a personal project, something that
I consider to be valuable and meaningful to me, it was
hard to get feedback from other people. Other students
seemed very excited by the idea of my project and the
meaning behind it but I don’t feel that the finished product
was the best representation of what I wanted to create.
Having said that, I do feel that I have gained such valuable
knowledge of Arduino, soldering, prototyping and problem
solving and I am excited to refocus for the next assignment
later in the semester! I am very happy with my first arduino
project even though there were many shortcomings!
^ From toilet paper roll to
3D printed product!
const int pulseSensor = 1;
const int motorPin = 9; Serial.println(“Off”);

int sensorValue; // holds the incoming raw data. Signal value can range //sensorValue = analogRead(pulseSensor);
from 0-1024 // map it to the range of the analog out:
int Threshold = 600; //outputValue = map(sensorValue, 0, 1023, 0, 255);
int outputValue = 0; // change the analog out value:
static boolean serialVisual = false; //analogWrite(motorPin, outputValue);

void setup()
// wait 2 milliseconds before the next loop for the analog-to-digital
Serial.begin(9600); // converter to settle after the last reading:
pinMode(motorPin,OUTPUT); //delay(2);
void loop()
sensorValue = analogRead(pulseSensor); // Read the PulseSensor’s value.
outputValue = map(sensorValue, 0, 1023, 0, 255);

// print the results to the Serial Monitor:

Serial.print(“sensor = “);
Serial.print(“\t output = “);

if(sensorValue > Threshold){ // If the signal is above “550”, then

“turn-on” Arduino’s on-Board LED.

Serial.println(“Motor/LED On”);
analogWrite(motorPin, outputValue);
} else {
digitalWrite(motorPin,LOW); // Else, the sigal must be below “550”, so 9
“turn-off” this LED.
Firstly, we need to build up your heart rate to make sure you’re
alive. Try doing five to ten star jumps or push ups to get the blood

Go ahead and put some paint on your paint brush, with a colour
of your choice. Make sure you wash the brush first if you wish to
use a different colour

Switch on the paint brush and paint away! Try painting patterns
and shapes that make you feel relaxed and wholesome

When you feel the brush vibrate, try to control your breathing and
channel your inner Pablo Picasso