Ubiquitous Smart Home System Using Android Application
This paper presents a flexible standalone, low-cost smart home system, which is based on the Android app communicating with the micro-web server providing more than the switching functionalities. The Arduino Ethernet is used to eliminate the use of a personal computer (PC) keeping the cost of the overall system to a minimum while voice activation is incorporated for switching functionalities. Devices such as light switches, power plugs, temperature sensors, humidity sensors, current sensors, intrusion detection sensors, smoke/gas sensors and sirens have been integrated in the system to demonstrate the feasibility and effectiveness of the proposed smart home system. The smart home app is tested and it is able to successfully perform the smart home operations such as switching functionalities, automatic environmental control and intrusion detection, in the later case where an email is generated and the siren goes on.
💡 Research Summary
The paper presents a low‑cost, standalone smart‑home architecture that leverages an Arduino Ethernet board as a micro‑web server and an Android mobile application as the user interface and control hub. By eliminating the need for a personal computer or external cloud services, the authors achieve a minimal hardware footprint and reduced overall system cost while still providing a rich set of functionalities.
Hardware Design
The core of the system is an Arduino Ethernet shield, which supplies a 10/100 Mbps Ethernet interface and a set of general‑purpose I/O pins. Various sensors and actuators are directly wired to these pins: DHT22 for temperature and humidity, ACS712 for current monitoring, MQ‑2 for smoke/gas detection, PIR for motion/intrusion detection, relay modules for lighting and power‑plug control, and a buzzer for audible alarms. All components are powered from a regulated 5 V supply, ensuring stable operation without the need for additional power conditioning.
Software Architecture – Server Side
A lightweight HTTP server sketch runs on the Arduino, exposing a RESTful API that accepts GET requests for status queries and POST requests for command execution. Commands are encoded in JSON, parsed by the Arduino, and translated into GPIO actions (e.g., toggling a relay). Sensor readings are sampled at configurable intervals; when a reading exceeds a predefined threshold, an event flag is raised. The event handler immediately triggers two actions: (1) an SMTP client embedded in the Arduino sends an alert email to a pre‑configured address, and (2) the buzzer is activated. This dual response provides both remote notification and local audible warning.
Software Architecture – Client Side
The Android application consists of a user‑friendly UI built with card‑based layouts and toggle switches for each controllable device. Network communication is handled asynchronously using the Volley/Retrofit library, ensuring that UI responsiveness is not compromised by latency. The app periodically polls the Arduino for sensor data and updates the UI in near real‑time. For voice control, the app integrates Google’s Speech‑to‑Text API; spoken commands are transcribed, matched against a command dictionary, and dispatched as standard JSON messages, reusing the same control pathway as manual UI interactions.
Functional Demonstration
The authors evaluated the system in a laboratory environment that mimics a typical home. They demonstrated: (1) manual and voice‑activated switching of lights and power plugs, (2) automatic environmental regulation where the Arduino turns on a heater or fan when temperature/humidity cross user‑defined limits, (3) intrusion detection that simultaneously sends an email (delivered within 2–3 seconds) and sounds the buzzer, and (4) smoke/gas detection with analogous alert behavior. Across all scenarios, the average round‑trip command latency remained under 150 ms on a standard 100 Mbps LAN, confirming that the micro‑web server can handle real‑time control without noticeable delay.
Security and Extensibility
Current security measures consist of basic HTTP authentication and IP‑based access control. All traffic is transmitted in clear text, which the authors acknowledge as a limitation. They propose future integration of TLS/SSL for encrypted communication and the adoption of token‑based authentication (e.g., OAuth 2.0) to strengthen access control. An over‑the‑air (OTA) firmware update mechanism has been designed but not yet deployed; the system presently relies on manual flashing for updates.
Conclusions and Future Work
The study validates that a modest Arduino Ethernet board, combined with a standard Android device, can deliver a fully functional smart‑home platform that includes switching, environmental automation, intrusion detection, and voice interaction—all at a fraction of the cost of PC‑ or cloud‑centric solutions. The architecture’s simplicity makes it attractive for hobbyists, educational settings, and low‑budget deployments. However, the authors identify several areas for improvement: robust handling of network outages (e.g., local fallback control), comprehensive security hardening, and a more modular hardware/software design to facilitate scaling to larger numbers of devices or integration with third‑party ecosystems. Future research will focus on these aspects, as well as on adding machine‑learning‑based predictive control and energy‑optimization algorithms.
Comments & Academic Discussion
Loading comments...
Leave a Comment