Staying healthy and happy are the most important things in the world. Thus, we want to encourage fitness
novice who wants to start working out to work out.
Our community is fitness community.
Inspiration and Context
We inspired by the people around us. Our parents' generation want to stay healthy and start working out, but they lack of motivations. Meanwhile, they always do things with a bunch of friends, just like living with a group. Therefore, we came up with an idea that we can design a IoT product to encourage fitness novice starts working out. They will be assign in a team and compete with another team with similar demographics. At this point, we can stimulate them to work out frequently and also add on gamification into our IoT project.
People who join this work out competition will have one IoT smart device. They can place it everywhere, such as, lockers in the gym and home. There are 4 people in each team and they will compete with another team with similar demographics. Every time when they work out, they will press the button and our system will record the pressing history. For example, if there are 3 people in Team 1 worked out today and in Team 2 there is only 1 person who worked out. Then the Team 1 statue will show green light and Team 2 statue will show red light, because Team 1 wins and Team 2 loses. However, there is only 1 person in Team 1 who work out and press the button on the next day and all people in the Team 2 work out and press the button on that day. Then, the statue of Team 1 will show red and the statue of Team 2 will show green.
Prototype - Electronic Components
int ledPin1 = D0; //attach led
int ledPin2=D1; //attach led 2
int ledPin3 = D2; // led 3
int ledPin4 = D3; // led 4
int buttonPin = D4; //button 1
int buttonpins=D5; // button 2
int counter=0; //store value how many time button1 is pressed
int counters=0; //store value how many time button2 is pressed
pinMode( buttonPin , INPUT_PULLUP); // button1 as input
pinMode( buttonpins , INPUT_PULLUP); //button2 as input
pinMode( ledPin1 , OUTPUT ); //led1 as output
pinMode(ledPin2,OUTPUT); // led2 as output
pinMode(ledPin3,OUTPUT); // led3 as output
pinMode(ledPin4,OUTPUT); // led4 as output