Book Image

Getting Started with UDOO

By : Maurizio Caporali, Emanuele Palazzetti
Book Image

Getting Started with UDOO

By: Maurizio Caporali, Emanuele Palazzetti

Overview of this book

Table of Contents (16 chapters)
Getting Started with UDOO
About the Author
About the Reviewers


In this chapter, we explored the land of home automation and how UDOO can be used to work out some daily tasks. You learned about the advantages of using smart objects that are capable of solving place and time problems when you aren't at home. Then, we planned a chronotherm prototype to control our living room temperature through a sensor. To make the device fully automated, we designed a use case where users can decide temperature setpoints for each hour of the day.

At the beginning, we built the application circuit using a temperature sensor and an LED to simulate the boiler. We started programming the Android user interface customizing a regular UI component to fit our needs better. We started writing the overview activity that showed the current time, the boiler status, the current room temperature, and the widget with chosen setpoints for the whole day. We continued with the settings activity used to store the chronotherm temperature schedule. As the last step, we wrote a scheduled...