Bluetooth module HC-05 interfaced with PIC: great latency and wrong data
Connect the module to a computer with a FTDI or similar cable. Power the module on. Then connect pin 34 to VCC. This will put the module into command mode at 9600 baud. If you connect the pin before the module powers on, it will be at 38400 baud.

Use hyperterminal to connect to the module over the correct COM port. Make sure your terminal application is set to send LF+CR at the end of a line.   Send the command "AT" and you should get a reply of "OK". Next, send the command "AT+INIT" and now the module should be setup for bluetooth communication.