home controlling system based on galileo final semester presentation started at: winter 2015 project...
TRANSCRIPT
![Page 1: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/1.jpg)
Home controlling system based on Galileo
Final Semester PresentationStarted at: Winter 2015
Project supervised by: Mony Orbach Project performed by: Khalid Awwad, Sameeh
Jubran
High Speed Digital Signal Lab
![Page 2: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/2.jpg)
MotivationWith the exponential growth of the relatively old concept of home automation, the installation of the system and managing it are still very complex to deal with.In this project we are creating a simple way to manage multiple end points (microcontrollers) by the average user, using a smartphone.
![Page 3: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/3.jpg)
Data
![Page 4: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/4.jpg)
GoalsCreate a cloud based system that:
1. endpoint send the inputs to cloud through WIFI, and the cloud response with outputs.
2. The policy, which defines the outputs according to the input is defined through mobile.
3. Fast, reliable, responsive system.
![Page 5: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/5.jpg)
System Block Diagram
![Page 6: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/6.jpg)
Holistic View Sensor
Cloud Process
![Page 7: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/7.jpg)
Tools - Intel Galileo + WiFi
![Page 8: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/8.jpg)
Tools - Intel GalileoGalileo is a microcontroller board based on the Intel® Quark SoC X1000 Application Processor, a 32-bit Intel Pentium-class system on a chip (datasheet). It’s the first board based on Intel® architecture designed to be hardware and software pin-compatible with Arduino shields designed for the Uno R3. Digital pins 0 to 13 (and the adjacent AREF and GND pins), Analog inputs 0 to 5, the power header, ICSP header, and the UART port pins (0 and 1), are all in the same locations as on the Arduino Uno R3. This is also known as the Arduino 1.0 pinout.
![Page 9: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/9.jpg)
Tools - Parse
![Page 10: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/10.jpg)
Tools - ParseParse.com is a very powerful tool that provides a backend service to developers. The services range from data hosting to crash reporting and push notification management.Developers can use parse in IOS, Android, OS X, javaScript, and a lot of more platforms.If parse doesn’t support a specific platform, developer can connect to DB through http.
![Page 11: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/11.jpg)
Tools – Parse - ServicesCloud Core: allows to manage DB in Parse Cloud
![Page 12: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/12.jpg)
Tools – Parse - ServicesCloud Analytics - Free cloud service
![Page 13: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/13.jpg)
Tools – Parse - ServicesCloud Code – Code than runs autmaticaly
and process data in DB/ send push notfication to users
![Page 14: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/14.jpg)
Tools - Android Studio
![Page 15: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/15.jpg)
Tools - Android StudioAndroid Studio is the official IDE for Android application development, based on IntelliJ IDEA. On top of the capabilities you expect from IntelliJ, Android Studio offers:● Build variants and multiple apk file generation● Code templates to help you build common app features● Rich layout editor with support for drag and drop theme editing● lint tools to catch performance, usability, version compatibility,
and other problems● ProGuard and app-signing capabilities● Built-in support for Google Cloud Platform, making it easy to
integrate Google Cloud Messaging and App Engine
![Page 16: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/16.jpg)
System● The Intel Galileo is a client that communicates
with Parse through HTTP requests.● The Intel Galileo controls multiple sensors
through the pins.● The Parse cloud receives and updates the
information accordingly, in case of a trigger event a suitable result should happen (push notification for example).
● the smartphone should handle the push notification accordingly and display it. moreover it should control the endpoints using the Parse cloud.
![Page 17: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/17.jpg)
ImplementationThe Arduino Galileo will keep updating the cloud with info about the inputs state using Parse hosting service and http requests.Each http request is fetched by the Parse and handled using express.js as the web framework.
![Page 18: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/18.jpg)
ImplementationMobile application defines a policy for setting outputs according to inputs.On mobile app, inputs are fetched all the time so it can be monitored.“Cloud Heart” keeps processing the inputs and the policy to set the outputs.
![Page 19: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/19.jpg)
ParseUserClass
EndpointClass
![Page 20: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/20.jpg)
Clouds ProcessThe cloud process, is an independent client that keeps updating the outputs, according to the inputs with the policy the user choose on android.
![Page 21: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/21.jpg)
Android Application
![Page 22: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/22.jpg)
Future re-use and develepment• Better performance and more
responsive.• Building a special cloud for managing
endpoints, which have the required functions.
• In the future, we think it is better to use HTTP library for further maintenance and reusability instead of using raw HTTP requests.
![Page 23: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/23.jpg)
Simulation and testingWe tested each part described above independently, and this use-cases:1. Multiple users of same endpoint.2. Multiple endpoints for one user.3. Multiple sensors/outputs.4. Setting outputs functions.
![Page 24: Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid](https://reader036.vdocuments.net/reader036/viewer/2022062516/56649ddf5503460f94ad83dd/html5/thumbnails/24.jpg)
Summary1. IOT is a future technology.2. Network speed have a big influence on response time of the IOT.3. We didn’t use 1% of galileo memory or hardisk, and we think that in this project we can use less sophisticated boards, with less price and size.