Thursday, 26 April 2012

communication between android and arduino

For my project, I used Bluetooth as a connection between android and arduino. It's because bluetooth technology is inexpensive and low interference and also easy to install and control. Bluetooth doesn't required to think about setting up a connection or to push any buttons. When 2 or more device enter a range (up to 30 feet) of one another, they automatically begin to communicate without having to do anything.


schematic symbol with pin diagram

To make the communication between Android and Arduino easy, I must follow this step: 

step 1: make a app to Android which could communicate with other devices by bluetooth.
step 2: android application connect to arduino by bluetooth bee.

this application is a simple bluetooth connection with android. I just used smart phone, arduino main board, and bluetooth bee module to demo. I used adnroid application to create the program.



This is a basic classes that I need to know and create into Bluetooth program:

  • BluetoothAdapter: Represents the local Bluetooth adapter (Bluetooth radio)
  • BluetoothDevice: Represents a remote Bluetooth device, query information such as its name, address, class, and bonding state.
  • BluetoothSocket: Represents the interface for a Bluetooth socket (similar to a TCP Socket).
  • BluetoothServerSocket: Represents an open server socket that listens for incoming requests (similar to a TCP ServerSocket).
  • BluetoothClass: Describes the general characteristics and capabilities of a Bluetooth device.
·

Monday, 9 April 2012

~Arduino UNO~


Arduino is an open-source physical computing platform based on a simple i/o board and a development environment that implements the Processing/Wiring language. Arduino can be used to develop stand-alone interactive objects or can be connected to software on your computer (e.g. Flash, Processing, MaxMSP).

The Arduino Uno is a microcontroller board based on the ATmega328. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.

Sunday, 8 April 2012

~Arduino Workshop~

On 17 March 2012 (Saturday) I attend to arduino workshop by Sir Zulkifli Mahmoodin.  From here I learn something new about Adruino board, programming and so on.

The important point for this workshop are:
  • introduction to Arduino
  • Introduction to electronic and microcontroller
  • How to setting Arduino
  • Arduino Programming and sketch
  • How to read button/switch
From this workshop I learn the each function of pin at Arduino UNO. Then, from there I know how to create programming from beginning and also learn how to used command of define function, if, else and for. Lastly, I can conclude that Arduino is easy to program and easy to understand. This workshop help me to do my project.
 InsyaAllah.
 =)

Saturday, 7 April 2012

~Gantt Chart~


The time frame allocated for this final year project is about a 1 semester because it will take time in their software and hardware to combine. It will be start in January 2012 and will be completed in July 2012. The Gantt chart for the project and its milestone are shown in the table.


Thursday, 5 April 2012

week 4



this is my block diagram for home security system using android
input: smart phone using android
medium: using bluetooth to communicate between smartphone to another circuit
output: 
temp sensor: display the value of temperature 
fan: switch on and off
alarm: switch on and off

Tuesday, 14 February 2012

week 3

do it some research about android. what is android???
~ Android is a software stack for mobile device that includes an operating system, middle ware and key applications. the android software development kit (SDK) provides the tools and APIs necessary to begin developing applications on the android platform using the Java language.~

Monday, 13 February 2012

week 2

For this week, I meet my supervisor to confirm the project. This is some information about my project that I do until next semester.

My project: Home Security System using Android
Description: This project is to protect our home from the intrusion of burglars and thieves. By using android application, it's can monitor and control the entire system from practically anywhere. 

This project have two part which is part A and part B. In part A is operating by android application. In part B is operating by hardware and software. The hardware that I used in part B is design home. The software I used is microcontroller. The operating system that I used to connect from home to handphone is transmitter and receiver module through by GSM (Global System for Mobile Communication).