Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC - Laptop Communication via Bluetooth

Status
Not open for further replies.

Reishiru

Newbie level 1
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.
uC to BT.JPG
 

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top