After I determined an overall idea of what I wanted my IOT device to do, as explained in my Approach above, I created tasks and subtasks to complete for each component, integrating them together as I went along. This is the order of how I assembled my final product:
One of the ambitious ideas I rejected was because it was outside the scope of my project was a water pump to automatically water the plant if the moisture level was unsatisfactory. It apparently involved additional power sources and more advance techniques and took away from the user interaction. The other idea I did not pursue was constantly monitoring for a change in moisture level to detect when the user watered the plant and the moisture level went from unsatisfactory to satisfactory. The plant’s happy dance and lights would automatically start when that change was detected, but I chose a more simplistic path by adding a pushbutton to activate it.
The main challenge that I encountered was realizing that the code had to run sequentially and tasks could not be completed simultaneously. I wanted the LED’s, music and servo motor to work simultaneously, but instead, I solved this alternating LED illuminations, servo motor actions, and music.
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .