At first, we had Justin come up with the Internet Of Things idea, and supplied most of the equipments needed for the set up. Benjamin wanted to work on Face Detection when coming to the Hackathon, and Matthew wanted to code on Android. Tobi was looking forward to having a good time. What better way of working altogether than by combining all of our ideas into one!
What it does
An Android application uses the phone camera to do face recognition. Once a face is recognized, the app sends an URL which sends data to the SmartThings, and then lights the led on the lightbulb. The light bulb shuts off when no faces are found
How I built it
First off, we configured Benjamin's router to connect Justin's SmartThings Hub to connect to the internet. then ifttt to send certain commands to the LED light bulb (on/off) via URL. From Android Studio, we made an app that accesses the phone camera, and activates said URL if it recognises a face.
Challenges I ran into
Setting up the WiFi was EXTREMELY tough. Since the school WiFi wasn't compatible with our set-up, we had to configure a LAN connection with our own router, which took a long time. We solved this by bridging the router throughout one of our computers
Getting the face recognition to work properly also took quite a while. After Trial and Error, we found the documentation needed to make it recognize a face rather than anything in the camera.
Accomplishments that I'm proud of
The whole thing! We successfully handled radio frequencies using the internet. As first semester students, we also were able to complete a full project by ourselves, and were really proud of that.
What I learned
Stewart is a real wizzard. We learned a lot on how IP tables and routers can lease and distribute IP Addresses.
What's next for ShinyMotion
World Domination... maybe not quite, but we'll see!