Buy Project Set 6A
|
| Bluetooth (SKKCA-21) Remote Controlled |
|
|
|
|
| .:. Basic Concept .:. |
In this project, we will be learning on how to communicate wireless between PC and microcontroller by using KC Wirefree Bluetooth Module Starter Kit SKKCA-21 and a USB dongle. The PC will be used to control a 7 segment connected to the microcontroller.
Additional Tutorial
|
|
|
|
| 1. Get the electronic components on hand and solder them up! |
Prepare a PCB board and all the components required. Refer to the schematic and solder the components onto the PCB board. Just like the previous project, we will be using the SK40A. For this project, we will also be using the KC Wirefree Bluetooth Module Starter Kit SKKCA-21. For more details on SKKCA-21, you can go to this link
|
 |
 |
|
| 2. Programming the Microcontroller |
2.1 Install the Software
Refer to Step 3 of PR5 on how to setup MPLAB, PICC Lite and bootloader for the purpose of programming and burning the program into the microcontroller. We will be using C language as the programming language for this project.
|
2.2 Transfer the program to PIC microcontroller
Please download the sample program and hex file by clicking on the text below:
|
2.3 Baud rate
The default baud rate for SKKCA-21 is 115200. Therefore in the sample program, we have set the baud rate for the PIC to be the same as SKKCA-21 which is 115200.
 Figure showing baud rate of 115200
|
| 3. Setup PC for Bluetooth interface |
|
|
|
|
|
| Buy Project Set 6A |
|