- Количество слайдов: 30
Project Title REMOTE OPERATED DOMESTIC APPLIANCES CONTROL BY ANDROID APPLICATION Under the Guidance of Submitted by
1. ABSTRACT • The project is designed to operate electrical loads using an Android application device. • This system operates electrical loads depending on the data transmitted from the Android application device. • Remote operation is achieved by any smart-phone/Tablet etc. , with Android OS, upon a GUI (Graphical User Interface) based touch screen operation
PROJECT BLOCK DIAGRAM
HARDWARE REQUIREMENT Ø 8051 series Microcontroller Ø Bluetooth device, Relays Ø Relay Driver IC, Crystal. Ø Resistors, Capacitors, LED, Diodes. Ø Transformer, Voltage Regulator, Lamps.
POWER SUPPLY 230 V AC 50 Hz Bridge rectifier 5 v Regulator 5 V DC 12 V step down transformer Filter(470µf)
MICROCONTROLLER • It is a smaller computer • Has on-chip RAM, ROM, I/O ports. . . CPU RAM ROM I/O Port Serial Timer COM Port A single chip Microcontroller
INTERNAL STRUCTURE OF A MICRO CONTROLLER-AT 89 S 52/51 External interrupts Interrup t Control On-chip ROM for program code Timer/Counter On-chip RAM Timer 1 Timer 0 CPU OSC Bus Control 4 I/O Ports P 0 P 1 P 2 P 3 Address/Data Serial Port Tx. D Rx. D Counter Inputs
Features of AT 89 S 51/52 • Compatible with MCS®-51 Products • 8 K Bytes of In-System Programmable (ISP) Flash Memory • Endurance: 10, 000 Write/Erase Cycles • 4. 0 V to 5. 5 V Operating Range • Fully Static Operation: 0 Hz to 33 MHz • 256 x 8 -bit Internal RAM • 32 Programmable I/O Lines • Three 16 -bit Timer/Counters • Eight Interrupt Sources • Full Duplex UART Serial Channel • Interrupt Recovery from Power-down Mode • Watchdog Timer • Dual Data Pointer
What is called Android. . ? • Android is an open-source operating system which means that any manufacturer can use it in their phones free of charge. • It was built to be truly open. For example, an application call upon any of the phone’s core functionality such as making calls, sending text messages, or using the camera.
……. contd Android is built on the open Linux Kernel. Furthermore, it utilizes a custom virtual machine that was designed to optimize memory and hardware resources in a mobile environment.
What is an android application on mobile phones? • An android app is meant for phones with an android based operating systems. They can be downloaded from the android app Market which is pre-loaded on every android phone. • Blue control APP and Bluetooth Spp APP are some examples.
Android-The world's most powerful mobile platform Very customizable. Open source operating system is easily changed, hacked, manipulated, and molded to fit whatever functionality you had in mind. Found on all platforms for all prices depending on what hardware and software version you are interested in. The battery is usually replaceable.
COMPARISION OF ANDROID WITH OTHER OS ANDROID OS : Android is open source software, manufacturers can modify the operating system to suit their respective needs and phones. This becomes a cheap and feasible alternative for the manufacturer, as opposed to developing an operating system in-house or hiring a software company to do it.
i-OS: It's not available on all carriers but this is expanding. The battery is not replaceable which is why all the I Phone users you know have it plugged in all the time as the battery degrades . In house development of software and cannot be modifiable.
Windows Phone: Windows Phone is a closed-sourced, which means that it is solely developed by the company and protected by copyright. The Windows Store is limited as there only a few number of apps
ANDROID APPLICATION OPERATED BLUETOOTH • The Android platform includes support for the Bluetooth network stack, which allows a device to wirelessly exchange data with other Bluetooth devices. • The application framework provides access to the Bluetooth functionality through the Android Bluetooth APIs.
An example of Android App Blue-control Screen
FEATURES OF BLUETOOTH • Super simple and easy way to interface using Bluetooth stack. • 3. 3 V Device with standard 5 V DC Power source. • Can also support SPI Protocol, pins are made available. • Low power consumption, Low cost. • Has high-performance wireless transceiver system • Can be used to interface with PC, Mac or Android phones/tablets.
• Generic Default Visibility at Software side: HC-06 or Linvor • Default Pairing code is not '0000' but '1234'. • Please use Baud Rate with 8 -N-1 connectivity from other device. • Works with any microcontroller with Serial connectivity.
RELAY ØIT IS A ELECTRO MAGNETIC SWITCH ØUSED TO CONTROL THE ELECTRICAL DEVICES ØCOPPER CORE MAGNETIC FLUX PLAYS MAIN ROLE HERE
ØThe relay's switch connections are usually labeled COM, NC and NO: ØCOM = Common, always connect to this; it is the moving part of the itch. ØNC = Normally Closed, COM is connected to this when the relay coil is off. ØNO = Normally Open, COM is connected to this when the relay coil is on
RELAY DRIVER (ULN 2003) ØULN 2003 is a high voltage and high current Darlington transistor array ØIt consists of seven NPN Darlington pairs that feature highvoltage outputs with common-cathode Clamp diode for switching inductive loads. ØThe ULN 2003 has a 2. 7 k. W series base resistor for each Darlington pair for operation directly with TTL or 5 V CMOS devices. ØCurrent, Output Max: 500 m. A ØVoltage, Input Max: 5 V ØVoltage, Output Max: 50 V
Fig: ULN 2003
WORKING OF PROJECT (PLEASE REFER CD).
Soft ware Requirements • Keil an ARM Company makes C compilers, macro assemblers, realtime kernels, debuggers, simulators, integrated environments, evaluation boards, and emulators for ARM 7/ARM 9/Cortex-M 3, XC 16 x/ST 10, 251, and 8051 MCU families. • Compilers are programs used to convert a High Level Language to object code. Desktop compilers produce an output object code for the underlying microprocessor, but not for other microprocessors.
i. e the programs written in one of the HLL like ‘C’ will compile the code to run on the system for a particular processor like x 86 (underlying microprocessor in the computer). For example compilers for Dos platform is different from the Compilers for Unix platform So if one wants to define a compiler then compiler is a program that translates source code into object code.
BIBILOGRAPHY Ø “The 8051 Microcontroller and Embedded systems” by Muhammad Ali Mazidi and Janice Gillispie Mazidi , Pearson Education. Ø ATMEL 89 S 52 Data Sheets. • www. atmel. com • www. beyondlogic. org • www. wikipedia. org • www. howstuffworks. com • www. alldatasheets. com