I'm using Arduino Uno and I'm working on a voice command project that uses the HC-08 module and an Android device. The LED on the module is blinking, so I guess it is working. But, it does not pair with any Android device and neither does it respond to AT commands.
On the Android devices, it says incorrect passkey, although it doesn't prompt me for a passkey.
I'm following a tutorial:
I don't think it's a problem with the code.
P.S. I have tried switching the RX/TX pins and I have tried it on multiple Android devices and nothing seems to work. None of the solutions online seem to offer any help
Shalahaska:
I'm following a tutorial:
No, you're not. Those guys are using an HC-05, you are using an HC-08.
The HC-08 is a BLE device and almost certainly uses a 6-digit password, while the HC-05 uses four digits, so maybe that is your problem.
One thing is absolutely certain: the only way you can fix the problem by swapping Rx<>Tx is when you had them round the wrong way in the first place.
I found a solution. Turns out the voltage divider was incorrectly connected, so the module received a bit of excess voltage. I got a HC-05 module instead and now it works perfectly. I looked up and saw that the Arduino draws excess voltage, so a voltage divider is very essential