SoftwareSerial BTserial(0, 1); // RX | TX
Instead of using a voltage divider, I connected directly to 3.3V on arduino.
Thanks for all your help, but I'm still having the same problem. I used the voltage divider with 1k and 2k and changed the communication pins to 10 and 11
I am able to pair my bluetooth with my computer, but when I check the ports, there is no information being recieved.
Did you change the supply voltage to 5v for the module?Can you work with a phone and a bluetooth serial terminal app (I like Kai Morich's "Serial Bluetooth Terminal") until you get this sorted out. You would not be the first person to have difficulty with bluetooth dongles and computer connections.The debug process I would follow is to first get working code with the Serial monitor and no bluetooth connected. Then, when you have solid code downloaded on the Arduino, connect the HC05 to the hardware serial pins 0/1 (remember to cross connect TX>Rx, RX>TX), pair/connect the phone and let the phone with terminal app replace the monitor. Finally, switch out the phone for the computer bluetooth.
I will try with my phone and an app.
// HC-05 default serial speed for Command mode is 9600 BTserial.begin(9600); Serial.begin(38400); // Default communication rate of the Bluetooth module