Week 18-20
Apr 4 - Apr 25
Apr 4 - Apr 25
Getting a new mister
After soldering the mister, it did not work as intended. At the time we concluded that the issue was due to the mister itself, that maybe something during the soldering process messed up hardware in the mister. As a solution, we decided to order new misters, ones that did not come with the dc/ac circuit board. These misters did not have the right adapters for the aforementioned circuit, so we cut the adapter and soldered the mister to the adapter of the old one. However, this still did not work, and so we concluded that the problem was with the circuit board, not the mister. Then, we ordered a replacement circuit board, which then functioned properly after we hooked it up to the mister and the breadboard.
The dew app in Android Studio
Great progress has been made on our dew app that will accompany the modules. After halting progress on the app in order to wait for the bluetooth (connecting the arduino to the app) to work, we decided to move forward with other parts of the app because we were still having issues with the bluetooth.
First was the game library that we wanted to implement. As a sampler of what would be a full game library, we decided to develop two fully functional games, Snake and Flappy Bird. The Snake game has been finished and customized to fit the dew theme. The Flappy Bird game is still in progress.
Once the Snake game was finished, the alarm functionality was developed. The user can drag around hands on a clock or type in the time at which they want to alarm to sound. When the time comes, a sound plays and a random game from the game library is launched (as of right now, there is only one game that could possibly be launched which is Snake). Then, the user must complete an objective in the game in order to disable and alarm sound. For now, we decided to set a certain score requirement on the Snake game in order for the alarm to be deactivated.
We also implemented the splash screen previously developed in a separate project, into our main application.
Developing and re-theming the Snake game
Before
After
Flappy Bird Game
To program flappy bird, I started off working with unity, but after a few weeks of progress, I learned that the integration into our android app would be too difficult and that it would be easier if I just started coding through android studio like Dylan. So I found a youtube tutorial and started working on flappy bird with android studio.
Bluetooth Solution
After both the HC-05 and HC-06 modules did not work with Bluetooth, we decided to research another solution. We purchased a new Arduino, a UNO WIFI REV 2, which has Bluetooth, BLE and WIFI capabilities built into it. We plan on using this Arduino to connect to the user's phone and host our module.
Drilling a whole in the 3d printed module for the mister wires