This is how the product works and the different stages it goes through
Throughout the day you squeeze the ‘stress ball’ - made up from tennis ball, inside of it is a Photon board powered by battery and on the outside of the ‘stress ball’ is a Force-Sensing Resistor(FSR) sensor that sense the pressure and send the data up to Node-RED through MQTT via topic ‘relax/ball’
Once in Node-RED, the data is collected and stored in a global variable.
Then we move to the chair, which has 2 separate circuits inside. The first is activated when the user sits on the chair. This circuit is a pressure(FSR) sensor and a Photon board powered by power bank. This works much the same way a the stress ball. The chair then knows if you have sat in the chair and sends a message up to Node-RED through MQTT via topic ‘relax/chair’
We move back to Node-RED, once the ‘on’ message is received, Node-RED calculated out the average ‘amount of emotion’ and output commands back down MQTT to the Raspberry Pi.
The Pi received the MQTT data by subscribing to the ‘vibration’ topic in I-Dat MQTT broker via Python.
We are using Serial and Mosquitto module in Python to enable us received the data via MQTT and control Arduino Uno via Serial. It then received ‘the average amount of emotions throughout the day’ and plays the appropriate sound depending on what your average mood is. It then sends data via serial to the Ardunio board and turn on the heating pad and vibrator motor.
Once the Arduino received the serial command, it will performs the required actions.
Throughout the day you squeeze the ‘stress ball’ - made up from tennis ball, inside of it is a Photon board powered by battery and on the outside of the ‘stress ball’ is a Force-Sensing Resistor(FSR) sensor that sense the pressure and send the data up to Node-RED through MQTT via topic ‘relax/ball’
Once in Node-RED, the data is collected and stored in a global variable.
Then we move to the chair, which has 2 separate circuits inside. The first is activated when the user sits on the chair. This circuit is a pressure(FSR) sensor and a Photon board powered by power bank. This works much the same way a the stress ball. The chair then knows if you have sat in the chair and sends a message up to Node-RED through MQTT via topic ‘relax/chair’
We move back to Node-RED, once the ‘on’ message is received, Node-RED calculated out the average ‘amount of emotion’ and output commands back down MQTT to the Raspberry Pi.
The Pi received the MQTT data by subscribing to the ‘vibration’ topic in I-Dat MQTT broker via Python.
We are using Serial and Mosquitto module in Python to enable us received the data via MQTT and control Arduino Uno via Serial. It then received ‘the average amount of emotions throughout the day’ and plays the appropriate sound depending on what your average mood is. It then sends data via serial to the Ardunio board and turn on the heating pad and vibrator motor.
Once the Arduino received the serial command, it will performs the required actions.
The end product though after the prototype would work slightly diffrent
The final product will work similar but not the same as the prototype. When the user first gets the chair there will be a setup required. The user will tell the chair using a tick box system what they want to happen depending on their mood. For example a user might not like the vibrations but may only want heat when they're happy and cold air when they're mad. This allows the chair to be a more integrated part of their life as it will suit them.
The stress ball will also need to be calibrated to the user , since everyone can squeeze the ball at different strengths the ball would be calibrated to the strength of the user instead of having pre defined parameters.
the last new feature , is custom audio tracks. The user is able to upload their own tracks to play depending on there mood as most people will have a happy song or a sad song etc.
The stress ball will also need to be calibrated to the user , since everyone can squeeze the ball at different strengths the ball would be calibrated to the strength of the user instead of having pre defined parameters.
the last new feature , is custom audio tracks. The user is able to upload their own tracks to play depending on there mood as most people will have a happy song or a sad song etc.