Once again, I attended another hackathon, Hackathon@SG 2015, held at ITE Central from 25th to 26th July 2015. Being the biggest hackathon ever held in Singapore, the main theme of the hackathon is about building applications or devices for the Smart Nation. [Basically it focuses on Internet of Things (IoT) and Smart Sensors]
Osmos, our 3 man team (Biao Yi, Joel & I), decided to create a simple application utilising the Nabu X, website & mobile application. More will be mentioned below.
According to the rules of the website, we have to use one of the following hardware listed.
Each team must use at least 1 of the following for your solutions:
Wearables, e.g. Tweeq smart wearable kits, Nabu X
Virtual reality, e.g. VR One, Google Cardboard
Cloud computing, e.g. Microsoft Azure, IBM Bluemix, Pivotal, RedHat OpenShift
Big data, e.g. Google BigQuery
Open data, e.g. Data sets from data.gov.sg
Initially we wanted to use the Tweeq for it’s small size, but since the parts have to be soldered on our own (and we did not have any soldering iron at that time), so we decided to use another hardware, the Nabu X.
What could we possibly use the Nabu X for? Theses are the sensors & displays the Nabu X have:
• 3 LEDs with customizable colors
• Cylindrical vibration motor
Let’s see….A user will wear a wrist band, with only an accelerometer in it, that tracks the movement of individual using an android app….movement links to activeness…. That’s it! We can use the Nabu X to track how active the individual is! As recent studies have found that more & more people in today’s society is having a less active lifestyle, we think that this would be a good idea to work on this given issue.
But how do we encourage or motivate one to be more active, and enjoy being active at the same time? A game where their activeness will affect the game! This should be able to motivate one to be more active. The game would kinda be like a tamagotchi, taking care of something, but this time the individuals’s activeness will affect the character/item.
With this in mind, with decided to use the Nabu X to gather a user’s movement data and use this data to monitor the user’s activeness. Basically, below is a visual representation of how we would interface the Nabu X with our idea, Grow IT.
There will be 3 parts: the Backend, the Frontend & Sensor. We would be using an android application to collect the data from the Nabu X, which the android app would send the data received to the database. Meanwhile, the database will process the data and send it back to the frontend, which is the android application and a website. Below is a more detailed explanation of our idea.
Grow IT is an android application that interfaces with the Smartphone and an online webpage. This application aims to encourage an active lifestyle through the use of an interactive game. (Where it is somewhat similar to Pokemon Go)
In this game, the user will be able to grow their own virtual plant, starting from level one. Everyday, the user has to clock a certain number of steps using the NabuX. Once the target is met, the plant gains experience, where it is slowly accumulated and used to level the plant up. The plant status will be synchronised with the android phone and the website. However, if the user becomes inactive and does not complete the target, the plant will start to lose experience. If the experience falls below 10% the target, the plant will wither and die.
Our website will have both the front-end & back-end. The front-end of it consists of the description of our application/idea, and the back-end consists of a dashboard that allows the user to track their “activeness” data.
Here is the website of our application: http://growit-1017.appspot.com/. Below are some screenshots of the website front-end:
And after logging in:
The android app will not only be used as the middle man between the database & the Nabu X, but also for user to keep track of the growth of their cactus & fitness level. Here are some screenshots of the app:
We have decided to upload this android application into Github, so feel free to take a look at the code here: https://github.com/1487quantum/grow-it-app/
Note: this app is only half complete, so certain functions are not implemented yet.