After done searching through the forum, there wasn't any fruitful result thus im posting this hoping that someone could help me.
I'm currently working on a project that uses Arduino Uno to collect raw sensor values and send them to my PC via HC-05.
However, i need to create some sort of command such that when a key is pressed then it will only start the measurement/ calculation. Some what like the code below:
Serial.println(F("\nSend any character to begin "));
  while (Serial.available() && Serial.read());
  while (!Serial.available());
  while (Serial.available() && Serial.read());
Surprisingly this only works with the Software Serial library by changing all the serial commands instead of the UART digital pin 0 and 1. While using the UART pin 0 and 1, the HC-05 is only able to send out data from arduino to PC but unable to receive commands. I was wondering if there is anyway to make the code above works using the UART digital pin 0 &1 instead of the software serial library and changing the digital pins because the software serial library slows down the whole code and causes my sensor FIFO buffer to overflow.
Doesn't work either =( I've tried switching it to the Arduino Uno power jack and tried the code. Still unable to send ascii to arduino in bluetooth but only in serial. Please rectify if there is something i should really know.
I'm beginning to wonder if you really have bluetooth under software serial going. The code I sent should work using the USB cable and serial monitor. If it doesn't, you have a mechanical problem. Once proven it should then work with bluetooth, after you have succeeded in pairing it and ensuring your terminal programme is properly set up. Check the Rx/Tx wiring if it doesn't.