Teammate: ziai, Vanessa
Cute pumpkins attract people to approach, but when someone approaches, the pumpkin lights up and emits scary sounds.
**Distance sensor**
1: Install a distance sensor near the pumpkin to detect the presence of a person.
2: Connect the sensor to a microcontroller using appropriate electronic components and circuits
3: Write code to read the data from the distance sensor and set a trigger threshold to determine when someone is approaching. When the distance sensor detects someone approaching, control the output pin to illuminate the lights inside the pumpkin.
4: Simultaneously, trigger the sound module to play scary sound effects.
Wearing our magic jewellery ( using a Pulse Sensor), we can sense your emotions and tell your Halloween-themed emotional story. We will select a mask that suits your current mood on the screen. If we detect that you are feeling down, we will encourage you to follow our instructions on our screen and engage in physical activities to reduce your unhappiness (scientifically proven that exercise can reduce unhappiness).Wish you have a happy halloween. 😊