HC-05 unable to communicate with the app

hey guys, since past night i was working on my project which uses bluetooth module HC05 along with some sensors and connected to an arduino uno. After hours of tinkering and altering many codes, FINALLY EVERYTHING WAS WORKING PERFECTLY. in order to now make a PCB and to solder i removed all the connections from the BB and took a rest. just to verify once more b4 soldering i connected everything again on the breadboard expecting the perfect output which i was getting. BUT… it was another hell. now even when my app is able top connect with the module, it is unable to update any data values … and on the arduino serial monitor it shows

[82] Connecting…
[2223] Login timeout
[5223] Connecting…
[10343] Connecting…
[15463] Connecting…
[17583] Login timeout
[20583] Connecting…
[22703] Login timeout
[25703] Connecting…
[27823] Login timeout
[30823] Connecting…
[32943] Login timeout
[35943] Connecting…

i do not know what to do…

so far i have tried with changing the bluetooth module, changing the auth token value, reconnecting the circuit like 10 times. after that brief victory i do not want to give up now. can some1 please help

Sounds like a case of a bad connection or link somewhere… not sure how we can troubleshoot that from here :wink:

As for the looping Login Timeout… that is "normal’ when the App is not actively open in your phone… Search this forum for related topics… one was just posted yesterday :stuck_out_tongue_winking_eye:

as u said it might be bad connection, well the LED that blinks on the bluetooth module changes its blinking frequency once connected… that is happening … hence i assumed that BT is connecting properly. i made sure that TX and RX pins are where they are suppose to be .all the sensors are giving output once i check them separately on serial monitor. the TX led on the arduino is also flashing every 3 sec as it is suppose to tx at every 3 sec according to the code.

the biggest wonder for me is… that it was working perfectly… LIKE NO ERRORS AT ALL.

to tell u the minor changes, i tried connecting the usb cable of arduino to a 5V adapter to check if all the components still work and they were( all all the led’s lit up showing they all are recieving power) , and then i updated the code a bit and tried the normal way … IT WORKED … then i removed ABSOLUTELY EVERYTHING and connected again to verify before soldering as i mentioned earlier… and since my past 3 hrs have been like hell…

PS: i read somewhere that BLYNK app is giving some issues with the BT module, should i get an esp module or a NODE MCU esp and integrate my project on that? will it be any more complicated that this one ? iam planning to get either one of them in next 90 mins or so , i did not sleep the whole night and NOW IAM ADAMANT TO SEE IT WORK AGAIN B4 I CAN SLEEP PEACEFULLY.

can u masters please help a desperate fellow in need!!!

PPS: i have one ESP8266-12F chip, but configuring it with the arduino seems like a tedious task , hence iam planning to go and get the esp module or the NODE MCU esp.

I like and have no problems with Arduinos and ESPs as WiFi module… I have even used BT, but find it too limiting…

But as you have already had lots of issues… to keep you from losing further sleep, I would recommend a full ESP Dev Board, like a Wemos D1 Mini or NodeMCU.

You will need to go through some adjustments on your Arduino IDE before using them with it, but that info is well covered here…

Then once you have gotten some victories accomplished, you may want to return to merging the Arduino with that ESP8266-12F chip just for further learning… and it makes the Arduino more usable with Blynk then any BT option.

first, i would like to say BIG THANX for such quick replies . iam gonna go and get a NODE MCU or a Wemos D1(if it is available in bangalore,india) . will let u know in an hour or so. brb.
thnx again

@Gunner UPDATE:

IT IS WORKING … u were right… it was a circuit related issue.
slept for a few hrs and sat down again with a calm mind and re did the circuit neatly. Even on the BLYNK app, started from the beginning. and what do u know… it is working perfectly now.
thnx for the help and suggestions .

PS: got the NODE MCU as well and one ESP everything module as well as i told u yesterday . but this bluetooth one started working. iam more than delighted … one more night WELL SPENT!!!

GREAT APP

1 Like