This project is mainly based on mobile phone communication with Microcontroller using Bluetooth Interface and Controlling the Device from mobile using Bluetooth. Bluetooth is a wireless technology is becoming a popular standard in the communication arena, and it is one of the fastest growing fields in the wireless technologies. It is convenient, easy to use and has the bandwidth to meet most of today’s demands for mobile and personal communications. Bluetooth technology handles the wireless part of the communication channel; it transmits and receives data wirelessly between these devices. It delivers the received data and receives the data to be transmitted to and from a host system through a host controller interface (HCI). The most popular host controller interface today is either a UART or a USB .Here, I will only focus on the UART interface, it can be easily show how a Bluetooth module can be integrated on to a host system through a UART connection and provide the designer an optimal solution for Bluetooth enabled systems. Here, I will show two examples of hardware interface between Bluetooth wireless technology and UART. One example shows an interface between a Bluetooth module and a PC via UART, and the other example shows an interface between a Bluetooth module and a Microcontroller via Mobile.
This project is mainly based on mobile phone communication with the Microcontroller through Bluetooth, here we are using the Android based mobile, and to communicate with the controller we need the supporting software installed in the mobile phone. Bluetooth SPP software must be installed in it. Connect the Bluetooth module with microcontroller using the serial port communication. Then dump the following code in flash memory of controller, open the Bluetooth SPP software it asks for pairing with the Bluetooth module and after pairing the mobile with Bluetooth module then start entering the message whenever the message ‘3’ is entered and sent the relay will be switched ON and if we send ‘4’ Relay is switched OFF. Using the Relay we can switch ON /OFF the electrical device.
To connect the Bluetooth device, you will need to find the Rx and TX pins on your microcontroller. Make sure that you cross the wires by connecting the Rx pin from your Bluetooth device to the TX pin on the microcontroller, and the TX pin from your Bluetooth device to the Rx pin on the microcontroller. Install the Bluetooth SPP software in Android based Mobile and pair the device and start the communication between Mobile and Microcontroller Bluetooth SPP provides Bluetooth connectivity for all android apps
Lets us see the communication between Bluetooth Module pairs with Microcontroller & Mobile with Microcontroller as discussed below
Install Bluetooth spp application software in Mobile
To communicate the Bluetooth module with the PC we need to set the following settings in the HyperTerminal
Connect the Bluetooth module 1 with the PC and connect the Bluetooth module 2 with microcontroller dump the Hex file to controller and start pairing the Bluetooth device after the device is paired the communication happens. User can see the output on HyperTerminal
Mobile communication with Microcontroller using Bluetooth using the serial port communication is an advantageous project; through this project you can control hardware from mobile. People can control their electrical devices via mobile. We think this product have high potential for marketing in the future.
we respect your privacy.