I´m trying to pair an HC-05 to my android phone, but when everyting is connected the status led on the HC-05 just blinks on an off every one second, and not the 5 flash is supposed to do and pairing is failed.
Can somebody tell me whats wrong?
Its connected like this:
RX -----------TX (voltage divider to 3,3v is used)
Incoherent. You say it can't pair but then say everything is connected. As mentioned above, you only need power and ground in order to connect Bluetooth to Android. When Bluetooth is ready to connect, the LED flash is about 2Hz. The flash when connected varies according to the model. I think the most common is solid, no flash, but It only needs to be different from the 2Hz to tell you it is connected.
IF the LED is flashing at about 0.5Hz, i.e. one flash every two seconds, you are in AT mode. You cannot communicate with the phone while in AT mode, but it may be possible for the phone to still see Bluetooth, and thus it is giving you good advice.
No. You might be confusing it with HC-06. Your Bluetooth is most unlikely to be an HC-06 as it has six pins. HC-06 routinely has four.
I am desperately trying to quibble with your video. I agree that it is flashing 1Hz but I have never seen that before. You are indeed keeping your paws away from the little button when you start up, and it appears that the pins at each end of the row are not connected.
Ah, just a minute. That is not an HC-05, I'm betting it is an HM-10. It so happens that HM-10 is in AT mode by default, but that isn't relevant - or shouldn't be, just don't send it any AT commands. You might find you can get more sense if you ensure you have the right sort of terminal for BLE comms, try that by Morisch. Once the point is proven you may need extra code. Frankly, I think HM-10 is more trouble than they are worth and their only purpose is to alleviate the woes of those who inflict themselves with iPhones. You may be better off ditching it for a real HC-05.
I agree with @Nick_Pyner . This module in your video is not an HC-05. It´s probably an HM-10 indeed. Thus, this is a BLE (Bluetooth Low Energy) module.
BLE is different from the common Bluetooth and it´s quite more complicated to deal with. It requires specific applications to "see" the data that is being exchanged. If you´re not used to BLE, you should consider getting an HC-05 or HC-06 module.