Interfacing bluetooth module with microcontroller

Thread Starter

anandhuskumar

Joined May 14, 2014
3
I am trying to interface blue link bluetooth module with pic16f887. I am using an android application called 'Android Hyperterminal'. When i receive the data, the 1st letter is replaced by the second letter.
ie, if I send 'HELLO', I will get 'EELLO'. Please help me.:(
 

ErnieM

Joined Apr 24, 2011
7,991
Doesn't sound like the hardware as you can successfully transmit 5 out of 6 characters (although how you can conclude to certainty your 3rd character is not being replaced by the 4th character is beyond me), no one else is complaining about Android Hyperterminal, so that leaves your code.

Thus without seeing your code no comment is possible.
 

Thread Starter

anandhuskumar

Joined May 14, 2014
3
The module is linked to PIC via UART. Baud rate is 9600. I doubt that some characters which cannot be seen may be received.(egs: like \r or \n). I am attaching the c file to this.
Thanks for your reply....
 

Attachments

Top