torsdag 23 oktober 2014

The final solution

In our final solution we used one phone to communicate with the rFleas through ANT+ protocol, without using a server. That's maybe not the best solution if we want to develop the concept further and let more players participate in the game, but that was the easiest solution with the resources that were available for us.

While there is no interaction between two participants, happiness level is indicated on the Neopixel rings. In every minute (it was 1 minute for the demo, but can be different interval), the reFleas are getting notifications from the phone to decrease the happiness level. Heart beat like blinking of the last LED indicates that there is connection between the phone and the rFleas.


During interaction the touching participant's RFID reader reads the tags on the other's back. A rainbow cycle animation starts on it's Neopixel ring, indicating that something good is happening. The rFlea sends a notification to the phone about the interaction, which forwards it to the other participant's rFlea, which starts the rainbow cycle animation on the Neopixel ring as well.


During a hug, different amount of happy points are gained by both of the participants, according to the duration of the interaction. The giving participant always gets half of the amount of points as the receiving, since we thought these hugs are intended to make the receiving participant happy but making a people happier causes happiness for the giving participant as well.
After the interaction the Neopixel rings are showing the new level of happiness.

Help can be found for the ID-12 RFID readers here



Inga kommentarer:

Skicka en kommentar