In the introduction of this project, only a brief idea was presented: a smart home which also includes a competition system to get its residents involved. There was also a discussion of the communication among some devices and function that can/should be included, but not much planning or specifics were provided. What is the smart home going to consist of? When do we start having a competition system and how far we go with the games? Is there even enough time in 14 weeks to do so? With this entry, I will try to break the general project into functional blocks.
At the end, there is a tentative schedule: it never hurts to have some timeline to look back to and discover how far from these tentative deadlines I am
Well, lets get to it!
Work & Milestones
We can divide the whole projects in two main sub systems: smart home and competition system. The intention is to build the competition system as a main feature in the whole smart home.
(NOTE: More details on software installed/ coded and hardware designed/connected will be provided at each stage).
SMART HOME
Basics | ||
Function | Devices | How to |
Connectivity setup: MQTT | Raspberry Pi 3 Raspberry Pi 1 Smartphone | Broker installed in Raspberry Pi 3 Publisher client in Raspberry Pi 1 Subscriber client in smartphone Subscriber client in Raspberry Pi 3 |
Sensors reading | Sensors type 1:
| I2C protocol – connect to the corresponding Raspberry Pi 1 I2C ports |
| Sensors type 2:
| Direct connection to Raspberry Pi 1 GPIO ports |
| Raspberry Pi 1 | Reads GPIO ports Implements MQTT publisher client -> sends data to Raspi 3 |
| Raspberry Pi 3 | Implements MQTT broker |
Data storage | Raspberry Pi 3 | Implements MQTT subscriber client -> read data from Raspi 1 MySQL database to store data |
GUI – general home access | Raspberry Pi 3 | Same MQTT subscriber client Displays read data |
Mobile app – individual home access |
| Implements MQTT subscriber client -> read data from Raspi 1 Displays info |
Web portal – remote access | Raspberry Pi 3 | TBA |
Extra 1: Announcement board | ||
Function | Devices | How to |
User sets
| Raspberry Pi 3 | Include a menu to input: Notes Task that should be finished within a deadline (i.e. cleaning) |
Data storage | Raspberry Pi 3 | Database |
Display task/announcements | Raspberry Pi 3 | Update main GUI to include an “Announcements” tab |
COMPETITION SYSTEM
Basic: Run competition | ||
Function | Devices | How to |
Record user’s run distance | Android smart phone | Mobile app. 1) record run distance with either:
2) send distance to smart home - Send to home server IP address |
Data storage | Raspberry Pi 3 | Implement home server – Apache Create PHP interface to fetch data coming from phone Store data in smart home database - MySQL |
Display data | Raspberry Pi 3 | Update home GUI:
|
Extra 1: Tourist/Discovery system | ||
Function | Devices | How to |
New destination selection | Raspberry Pi 3 | Select a reasonable location to visit Display it on the home GUI Allow remote access to the selected location |
Mobile app- geo location | Android smartphone | Update mobile app:
|
Extra 2: Smart house inner challenges | ||
TBA |
|
|
Schedule
1-2 Weeks (Monday) 23 May 2016 – 5 June 2016
- Application
- Initial set up and planning
- Build “Basic smart house” I
- Connectivity setup
- Sensors reading
- Simple Interface
3-4 Weeks (Monday) 6 June 2016 – 19 June 2016
- Build “Basic smart house” II
- Data storage
- Mobile App
- Improved GUI
- Web portal
- Build Basic run competition I
- Raspi 3 server
5-6 Weeks (Monday)20 June 2016 – 3 July 2016
- Build Basic run competition II
- Mobile app
- Test run competition I
- Distance calculations
- Mobile to server communication
- Raspi 3 GUI updated
7-8 Weeks (Monday) 4 July 2016 – 17 July 2016
- Extra 1 – discovery/tourist competition
9 – 10 Weeks (Monday) 18 July 2016 – 31 July 2016
- Extra 1 – announcement board
11- 12 Weeks (Monday)1 August 2016 – 14 August
- Extra 2 – smart house inner challenges
13-14 Weeks (Monday) 15 August 2016 – 28 August
- Clean up: final modifications
- Prepare project submission
(Monday) 29 August 2016 - Project submission
Top Comments