Hi, I am new in the foro and i am spanish.
My question is abaut the bluetooth module HC-06 that I have bought today. I can not communicate the module well with my cell phone, if i send "HOLA" in the spp app on android, the bluetooth send to the serial monitor nonsense words, and if i send something by serial monitor to my cell phone, the program spp show this: �
The module is new, i don´t doed any shortcircuit... Please, Help me!<3
Sorry, I'm sorry, forget to attach the code
Prog__72_1.ino (828 Bytes)
Don't use Strings and don't use delay().
Your code and description is confusing. Are you trying to access the HC-06 in AT mode? Also, are you able to pair your phone and HC-06? Can you post a schematic of the setup you're using?
Your code is for configuration, and therefore for use between serial monitor and bluetooth, not for communication between Android and bluetooth. You probably don't need to configure anything, and certainly don't to start with.
You might find the following background notes useful
http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino