Hello to everybody,
I have just tried the bluetooth communication using a HC06 module, and everything seems works fine since I am able to light a LED just sending an appropriate string command by mobile....
The problem is sending AT commands, because I tried either through SW command 'Serial.println("AT+NAMEPGoofy") either simply digit the string "AT" to the Arduini serial interface and wait for the reply which does not come.
What's wrong ?
DeltaElectronics:
Hello to everybody,
I have just tried the bluetooth communication using a HC06 module, and everything seems works fine since I am able to light a LED just sending an appropriate string command by mobile....
The problem is sending AT commands, because I tried either through SW command 'Serial.println("AT+NAMEPGoofy") either simply digit the string "AT" to the Arduini serial interface and wait for the reply which does not come.
What's wrong ?
Are you using 9600 baud? Did you check that you are sending BOTH newline and carriage return after each transmission?
Your code is a bit of a secret but there is no need to send either carriage return or linefeed. You do need to ensure there is a delay of at least one second between commands, and the device is not in comms mode, before you start, i.e. LED is fast flash.