Android Electronics Java Projects Synopsis

Home automation using Arduino Board

Today’s homes require sophistication control in its different gadgets which are basically electronic appliances. This has revolutionized the area of home automation with respect to an increased level of affordability and simplicity through the integration of home appliances with smart phone and tablet connectivity. Smart phones are already feature-perfect and can be made to communicate to any other devices in an adhoc network with a connectivity options like Bluetooth . With the advent of mobile phones, Mobile applications development has seen a major outbreak. Utilizing the opportunity of automating tasks for a smart home, mobile phone commonly found in normal household can be joined in a temporary network inside a home with the electronic equipments. Android, by Google Inc. provides the platform for the development of the mobile applications for the Android devices . Home automation system is a mobile application developed using Android targeting its vast market which will be beneficial for the masses. According to the International Data Corporation (IDC) Worldwide Quarterly Mobile Phone Tracker, Android maintained its leadership position in global market share . Bluetooth is a short-range wireless communication technology that comes in handy as the solution while communicating over an ad hoc network environment like the home environment for connecting the home appliances with the mobile phones. Bluetooth works over 2.4 GHz frequency range up to the range of 100 m with 1 Mbps speed, providing a safe and efficient solution for controlling home automation .



The Home Automation System (HAS) was developed using Arduino IDE and C++ and a User Interfaced (UI) Android Application program implemented on an Android based Bluetooth enabled mobile phone, and an 8 bit microcontroller based relay driver circuit with Serial Bluetooth Module, which is able to communicate with the Home–Appliances over Bluetooth link. The system is based on serial data transmission using Bluetooth wireless communication in order to facilitate the appliances control in a HAS. This system ensures a secured exchange of data on wireless communication. It also supports conventional ON/OFF system of appliances. A user interface (UI) on the Android enabled mobile phone offers system connection and control utilities. ULN 2803 relay driver  and Serial Bluetooth Module as well as Arduino  IDE  for compiling C Language Code a were used for the development. An ATMEL 89C51, 8 bit microcontroller was used as an embedded relay controller.



This section describes the technologies used for developing the mobile phone application of the Home Automation System. The mobile phone application development presented in this paper is based on the following technologies: Android, Bluetooth. Android is a platform developing and deploying android based applications on mobile devices supporting it. Bluetooth has its own benchmark as a wireless communication technology for permanent and itinerant devices. Combining the power of Bluetooth, the best known and used wireless technology for short range communication provide a facility to create Android based mobile applications using the Bluetooth Wireless Technology. The Android Bluetooth specification, added in API level5 of Android APIs.


  1. Android

Android is everywhere. Present days Phones, Tablets, TVs and set-top boxes powered by Google TV. Soon, Android will be in cars, in in-flight entertainment systems on planes, and even in robots.

Android was originally created b y Andy Rubin as an operating system for mobile phones, around the dawn of this twenty-first century. In 2005, Google acquired Android Inc., and made Andy Rubin the Director of Mobile Platforms for Google. Many think the acquisition was largely in response to the emergence of the Apple iPhone around that time; however, there were enough other large players, such as RIM Blackberry, Nokia Symbian, and Microsoft Windows Mobile, that it seemed a salient business decision for Google to purchase the talent and intellectual property necessary to assert the company into this emerging space, which has become known as Internet 2.0.

Android applications are written in the Java programming language. The Android SDK provides tools for code compilation and packaging data and resource files into an archive file with ‘.apk’ extension called as an Android package. Android devices used the ‘.apk’ file to install t he application. Android’s application framework allows for the creation of extremely feature rich and novel applications by using a set of reusable components.

The amalgamation of the Android development environment with the Bluetooth wireless technology is known by Android’s support for the Bluetooth network stack, which permits a device to wirelessly exchange data with another Bluetooth device. The application framework enables access to the Bluetooth functionality using the Android Bluetooth APIs. These APIs allow wireless applications to connect to other Bluetooth devices for point-to-point and multipoint wireless features.

Using the Bluetooth APIs, an Android application can carry out the following functions:

  • Scrutinize for other Bluetooth devices
  • Enquire about the local Bluetooth adapter for paired Bluetooth devices
  • Establish the RFCOMM channels
  • Connect to other devices through service discovery
  • Exchange data to and from other devices
  • Administer multiple connections

Android had unique support for Bluetooth in Android-powered devices including: Classic Bluetooth for more battery-intensive operations such as streaming and communicating and with low power requirements, Android 4.3 (API Level 18) introduces API support for Bluetooth Low Energy.


  1. Bluetooth

The Bluetooth profile used in Home Automation System (HAS) Android mobile phone application is the Bluetooth Serial Port Profile (btspp). RFCOMM is a connection-oriented protocol. It provides streaming communication between the devices. The btspp profile and RFCOMM protocol are used in the application to access the serial port and communicate using streaming data. All of the Bluetooth APIs is available in the android.bluetooth package.

Home Automation System Application is developed using Android platform for mobile phones and tablets with Android support having the Bluetooth connectivity option. Android devices have almost covered a larger pie in the market, hence keeping in mind its popularity; this application can prove to be a boon for those users longing to make their house – an automated home. Home appliances can be controlled using this interactive application within their home environment easily. Application is based on expandable list view and it controls the ON/OFF using Bluetooth connectivity. Expandable list view is used to group list data by categories like Living room , Bed room, Kitchen, Guest room, Store and Porch. It has the capability of expanding and collapsing the groups when user touches header .



Home Automation System Application has the capability of expandable list view is used to exchange the ASCII data with HAS circuit through Bluetooth facility of mobile phone when user touches header. The Android platform comprises of the Bluetooth network stack. This allows a device to wirelessly exchange data with other Bluetooth devices. The application framework then provides access to the Blue tooth functionality with the help of the Android Bluetooth APIs. These APIs make the applications to connect wirelessly to other Bluetooth devices, for point-to-point and mu