I am currently testing Bluetooth Module HC-05 but it is not working with Arduino Uno.
this are the cases:
case 1:
i tried using Pin 1 and Pin 0 to my Arduino, connected to HC-05. so basically Rx > Tx and Tx > Rx. according to RandomNerdsTutorial, a common mistake to connect Rx>Rx etc. i also removed the Tx and Rx wiring first before uploading the code then reconnect them after uploading code. so I uploaded a simple connection code(see code below).
Now i tried to open my Laptop/Phone to connect my Bluetooth to HC-05. i did try to Scan and HC-05 did appear anyway. Okay, so i clicked it, then i enter password 1234, it did say "You are read to go!" so it means i successfully Paired with my HC-05 right?
but this is where the problems comes in: when i checked my connection with my HC-05 in my Phone or Laptop(i tried each one first in every attempt). and on my Paired Devices, i clicked HC-05. it says: Paired and there is NO "Connect" or "Connect to this Device" just paired. so basically it is Paired but NOT or CANNOT connect with the device. so i cant connect?
Case 2:
so i tried the same thing except i use Pin 10 and Pin 11 as Rx and Tx using library <SoftwareSerial.h>, instead of actually using Pin 0 and Pin 1 in Arduino. so i did the same method, removed the Tx and Rx wire. upload the code, rewire back. then again i removed/forget the previous connection then re-Scan and Paired with the device. but again, i cannot Connect. only "Paired".
Case 3:
so little annoy since i almost stuck with this for half day figuring out. i tried to configure my Bluetooth. i use Pin 9(Arduino Uno) and connect Pin Key(of HC-05). so i can access the Serial Monitor and send commands. did the same thing. upload code, rewire etc. then access the Serial Monitor in my IDE and enter Commands like AT+NAME or other Bluetooth configuration. Nothing appeared in my Terminal.
----Question------
so the common problem is, it doesnt Connect. Yes it appear in Scanning, i can enter password and get wrong(intendedly enter wrong password just to test) or successful password. BUT it doesn't Connect. just "Paired" or "Removed Device". also, for Case 1 and 2. my Bluetooth HC-05 is still blinking even it is "Paired" or not discovered/paired by any devices. to the videos i watch their HC-05 doesnt blink unless you gave them command(like pressing switch or sending command/text thru phone, to what i saw in tutorials)
so can anyone knows what could be wrong? i have 3 Module here from different store each and 2 Arduino i tested it each but all failed(which why it took me halfday)
im assuming there is nothing wrong with my Code----atleast to my best guess, but somwhere down the process i probably made a misstep or something. A strong and huge appreciation if anyone can help me
Materials: Arduino Uno R3, HC-05 Module, 1K Resistor, 3k Resistor.
End Device: Samsung Galaxy S, Acer Nitro 5
Code(for non-software serial. simpyl removed the first 4 line and (rxPin, INPUT), (txPin, OUTPUT), and mySeral.begin(38400):
#include <SoftwareSerial.h>
#define rxPin 11 //
#define txPin 10 //
SoftwareSerial mySerial = SoftwareSerial(rxPin,txPin); //rx | tx
void setup() {
// pinMode(keys,OUTPUT);
//digitalWrite(keys,HIGH);
pinMode(rxPin, INPUT);
pinMode(txPin, OUTPUT);
mySerial.begin(38400);
Serial.begin(38400);
}
void loop() {
mySerial.read(); // put your main code here, to run repeatedly:
if(mySerial.available()>0){
mySerial.println("connected");
}
}
Wiring and screenshot of my device not "Connected":


