Reishiru
Newbie level 1
- Joined
- Jun 6, 2013
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,293
Hello. I am trying to send data from PIC16F877A to my laptop through Bluetooth module (EGBT-04MS). At first I configured the BT as slave then tried to light up an LED whenever my laptop sends "A" on the terminal program, it works on RS232 as well as on BT module. But when I changed it to Master role and the PIC as the one sending the character, the data on the terminal program is not equal to the expected output. I have established the connection between BT module (that is connected to the PIC) and my laptop. The pic is programmed to send "TEST" (UART1_Write_Text("TEST")), however, the Hyperterminal/Termite does not show "TEST" but rather a series of different letters and symbols. I have tried it on RS232 and it showed the expected output.
What seems to be the problem? I use MikroC and my laptop has a built-in bluetooth, here is the datasheet of the bluetooth module **broken link removed**
Attached file is my connection from microcontroller to bluetooth module.
What seems to be the problem? I use MikroC and my laptop has a built-in bluetooth, here is the datasheet of the bluetooth module **broken link removed**
Attached file is my connection from microcontroller to bluetooth module.