1

I'm communicating from an Android command line Bluetooth app interface to my Arduino. The Arduino is using a HC-06 Bluetooth module. The Arduino is supposed to receive this data and act accordingly.

However the Arduino seems to be missing bytes or just be plain slow most of the time. When testing from the computers serial connection it all works fine.

What's my issue?

closed as unclear what you're asking by per1234, user31481, MatsK, jfpoilpret, gre_gor Oct 30 '17 at 18:07

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Also side note, does anybody happen to know the power consumption of the HC-06 module? – Sam W Jun 16 '14 at 14:07
  • 2
    Do you have any code to show us what you did? Without the code I'm afraid it'll be a lot harder to give you a good answer – Handoko Jun 16 '14 at 14:47
  • I'll be able to give out the code when I get home, currently on my phone. – Sam W Jun 16 '14 at 15:01
  • You should measure the amperes flowing through your module. That way you can calculate the power consumption. W=p.t – Handoko Jun 17 '14 at 14:31
  • 1
    What baud rate are you attempting? Try slowing it down and see if it stops missing data. Also, are you using software or hardware serial? BTW, if you posted your code, these questions would already be answered for me. – imjosh Jun 18 '14 at 15:18
-1

There are a few things that may be causing your issues:

  • The HC-06 may be a cheap knock off and may not perform to the level that you expect.
  • There could be an intermittent wiring fault or loose connection.
  • The signal strength may be causing your issue - it just can't 'hear' your data.
  • The antenna on the HC-06 module might be compromised in some way resulting in the loss of signal.
  • The data rate (baud rate) may be too high.
  • Your code may have blocking functions or delays that is causing you to miss the data.
  • The Android app may have bugs in it.
  • The Arduino program may have bugs in it.

Not the answer you're looking for? Browse other questions tagged or ask your own question.