-1

I want to communicate between an arduino and an Android phone that has an Android app blue term. I connected HC-05 with Arduino using software serial and I connected the hc05 as a device with the android app. I am able to send data ( data as in message) from Android to Arduino but I am unable to send message from arduino to Android though I have given .write() command to Bluetooth connected.

Is it such that the Android app does not show the received message? Or there is some master-slave configuration issue? Do I need to configure HC-05 in master mode? It was configured in slave mode by default when I had connected it to Android app.

  • How is it wired? Where is your code? – Majenko Apr 2 '16 at 12:48
0

Its totally Normal. You must be doing something wrong. It has happen to my Arduino Code a lot of times. try following:

  1. Try interchanging you Tx and Rx Pin Positions. (This happens all the time).
  2. Try connecting using default Serial and using Pin 1 and Pin 0 as Tx/Rx. (In this case remember to unplug the Tx/Rx Pins while running code.)
  3. Try using just basic Serial.Write() function in beginning.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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