Interfacing android with pic microcontroller via Bluetooth
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. Once we can send and receive data between a microcontroller and android mobile then use of android mobile we can control other peripheral device attach with microcontroller, very easily. By interfacing android with pic microcontroller via Bluetooth I did my project “Auto Pilot Car”.
The main objective of my project is to control steering of a car, blow horn, On/Off head light of a car. That means complete auto pilot car can be produce by implementing Interfacing android with pic microcontroller via Bluetooth. Now see the block diagram of my project in bellow
To complete my project interfacing android with pic microcontroller via Bluetooth (Auto pilot car), I used
1> Android Mobile
2> Microcontroller PIC16F877
3> Servo Motor
6> Bluetooth module
7> Android apps “Blue control”
Bluetooth connectivity with Microcontroller:
Now it is another important question that how to connect Bluetooth Module with microcontroller ?
Answer is you have to connect Bluetooth module with UART port like we connect comports. If you have any confusion on “How to interface UART port with microcontroller?“ see my previous post “Serial communication with Pic 16f877 using UART”. In bellow you will find simple block diagram of interfacing Bluetooth module with microcontroller.
In my project interfacing android with pic microcontroller via Bluetooth “Auto Pilot Car” I used servo motor as a Steering of a car, Led as a head light of a car, Buzzer as a horn. Now in my android mobile I download Bluetooth control apps from google play store. From this apps you can send some character like “a;b;c;d;e;f;g;h;U;D;L;R”. Using This facility I write my program accordingly to control the total system.
For more detail: Interfacing android with pic microcontroller via Bluetooth
JLCPCB – Prototype 10 PCBs for $2 + 2 days Lead Time
China’s Largest PCB Prototype Enterprise, 300,000+ Customers & 10,000+ Online Orders Per Day
Inside a huge PCB factory: https://www.youtube.com/watch?v=_XCznQFV-Mw
Current Project / Post can also be found using:
- android phone control circuit diagrams
- android with pic
- how to control your pic microcontroller with app