Introduction
For my final project I’ve decided to work on something which is relatable for us all students: Stress. Drawing inspiration from some previous works, especially the one which used stress levels to create patterns, I’ve come up with a new concept. Given that it’s finals week and students are feeling highly stressed, my project will allow them to use a stress ball to gauge their stress levels, which will be represented by a stress scale in p5.js. If their stress levels reach the maximum, the p5.js sketch will display calming patterns and play soothing music to help the user feel calm.
Concept
The idea is to use a stress ball to measure stress levels. When you squeeze the ball, it tells you how stressed you are. The project then shows your stress level using a stress scale in p5, plays relaxing music and soothing patterns if you’re very stressed.
Components
- Stress Ball
- Flex Sensor
- Arduino Board
- Breadboard
- Jumper Wires
- Resistors
- Speaker
How it works
- Stress Sensing:
- stress ball with a sensor inside to measure how hard you’re squeezing.
- Arduino Interaction:
- An Arduino board talks to the stress ball sensor.
- The Arduino reads how hard you’re squeezing and tells the computer.
- p5.js Visualization:
- The computer shows your stress level on a scale.
- Interactive Response:
- If you get really, really stressed, the project shows calming patterns.
- Audio Feedback:
- If you’re super stressed, it plays calming music to help you relax.