PIC - Laptop Communication via Bluetooth

Status
Not open for further replies.

Reishiru

Newbie level 1
Joined
Jun 6, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
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.
 

Check the characters recieved at the terminal that was expected to be "TEST", if these characters are four characters plus the first and the fourth character are the same, then the terminal program recieves "TEST" but in a code (ASCII code for example) different than the module's code.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…