Android-based Automation System Group Members: Amar Jeet [BECS/H/F10/0117] Uzair Ahmed [BECS/H/F10/0118]
Project Supervisor: Asst. Prof. Shams-ul-Arfeen
Project Co-Supervisor: Engr. Abdul Haseeb
Final Evaluation Presentation
Overview of the Project Designing and building an automation system based on the principles of Internet of Things (IoT)
A system control and overview mechanism via smartphone app developed for Android platform
3 Project Objectives Research: Study and discuss the Internet of Things approach for different aspects of control and automation
Design: Conceive a general approach for a system of interconnected devices that can communicate with, and take orders from users smartphone
Implementation: Create the working prototype and user applications for demonstration purposes and implement them for a variety of daily-life devices 4 Communication Overview 5 Hardware Components: Microcontroller Modules Arduino Microcontroller Board Arduino Mega ADK 54 Digital I/O Pins
Wi-Fi Shield Connects Arduino to the webserver via Internet
6 Hardware Components: Relay Module & Test-bed Relay Module 6 Channels 10A / 250 VAC Receives switching signal from Arduinos digital I/O pins
Test Bed Energy Savers/Bulbs Ordinary Sockets Doorlock Environmental Sensor (DHT11) 7 Software Components: Android Application 1 Device Management Control Devices via Intuitive UI Add, Delete, Update Devices
View Sensor Data List View Graph View
Communication with Webserver JSONParser Class AsyncTask SimpleAdapter
8 Software Components: Android Application 2 Data Logging Logging of all app activity (Device updates, Logins, Logouts) Viewable by all users Removable only by administrators
User Privileges Admins: View/Control all devices Regular users: View/Control self-defined devices Public Access: Make a device available publicly
9 Software Components: Webserver MySQL Database Users, Devices, Sensor Data Access for App & Arduino via PHP Scripts
User Management System Add, Remove, Update Users
Communication with Arduino Respond to Scan Requests Store Devices Status & Sensor Data
10 Flowchart for C Program 11 Sequence Diagram 12 Project Milestones First Evaluation Android App with basic database connectivity Relay Control Circuit assembly Basic Test-bed assembly and Relay circuit integration
Final Evaluation Final database design and development of PHP-based webservice Database connectivity with Arduino User privileges (Android app) Data-logging (Android app) Environmental sensors connectivity and storage Complete Test-bed assembly and integration with door-lock 13 Cost Analysis Item Cost Spent Arduino Microcontroller Board PKR 3,200 Arduino Wi-Fi Shield PKR 13,200 Relay Control Circuit Components PKR 1,090 Sensor PKR 370 Door-lock & Assembly Costs PKR 2,400 Assembly & Misc. Costs PKR 1,500 Total PKR 21,760 14 Thank You! Kindly bear with us for the project demonstration; any questions, comments and queries are welcome!