To forward our first step in the field of wireless communication by interfacing android with pic microcontroller via Bluetooth open lots of way to work on. The serial port interface standard, signals and pin assignments, the serial data format, and finding serial port information for your platform. Serial port capabilities, supported interfaces, and supported platforms. Overview of the Serial Port. The serial port interface standard, signals and pin assignments, the serial data format, and finding serial port information for your platform. Getting Started with Serial I/O. These examples help you get started with the serial port.
Bluetooth Controlled Electronic Home Appliances is a simple project, where we can control different electrical appliances and electronic devices using an Android device with the help of Bluetooth Technology. We have already seen in the earlier post. Operating conventional wall switches is difficult for physically handicapped or elder people. This project provides the solution to this problem by integrating all the electrical appliances to a control unit that can be operated by an Android application on a device (Android smart phone or Tablet).
The proposed system controls the electrical loads based on the data transmitted by the Android device. An Android application should be installed in user’s mobile or tablet to control the electrical loads.
Using this Android application user can send the commands to the Bluetooth module to control the electrical loads. Wireless technology used in this project is Bluetooth. It can also be called as “Bluetooth Controlled Electronic Home Appliances” or “Android based ” or “Remote Password Operated Electronic Home Appliances Control System”.
[Also Read: ]. Table of Contents • • • • • • • • • • • • • • Bluetooth Controlled Electronic Home Appliances Circuit Principle In this project, a Bluetooth module is interfaced to 8051 Microcontroller. This Bluetooth Module receives the commands from the Android application that is installed on the Android device, using wireless communication (Bluetooth Technology).
The program which is written to the 8051 microcontroller communicates with Bluetooth module serially to receive the commands. Microcontroller switches the electrical loads automatically based on the commands received from the Bluetooth. Buy Step by step Guide along with Code» Android Based Home Automation System Circuit Design This project consists of a microcontroller, 16 x 2 alphanumeric LCD, 4 – Channel Relay Module, Loads (Light Bulbs are used in the demonstration) and Bluetooth Module. Here, AT89C51 Microcontroller is used.
It is an 8 – bit microcontroller and it requires supply voltage of 5V DC. Use 7805 power supply circuit to provide 5V DC to the microcontroller. Maintype 6 0 Serial Killer. We can use 9V DC battery or 12V, 1A adapter to provide the supply to the circuit. For the above circuit additionally you need to connect reset circuit and crystal circuit to the controller to work properly. You can ignore these connections (Power Supply Regulator, Crystal Circuit and Reset Circuit) if you are using an 8051 Development Board.
In the above circuit, the LCD display is used to indicate the status of electrical loads and also used to display received data from Bluetooth (Optional Feature). Here, the LCD Display is interfaced to the PORT1 of the microcontroller in 8 – bit mode i.e. The data pins of the LCD are connected to PORT1. The three control pins of the LCD i.e.
RS, RW and EN are connected to P3.6, GND and P3.7 pins respectively. Also, a 10KΩ POT is connected to the Contrast Adjust pin of the LCD to control the contrast of the display. The TX and RX Pins of the Bluetooth Module are connected to the RXD and TXD pins (P3.0 and P3.1) of the microcontroller. VCC pin (Pin 40) is connected to the +5V and GND pin (Pin 20) is connected to ground. The Microcontroller communicates with Bluetooth Module using serial communication (UART protocol).