I'm struggling to send data strictly from my arduino UNO to an android app using bluetooth module HC 05. I am able to send/receive using 1) the serial monitor in arduino IDE and 2) Bluetooth Chat android app (a sample project in Android Studio). But when I use software serial using pins 3,2 instead of TX/RX on my UNO, the Bluetooth Chat app cannot connect to my HC 05. I think I'm missing something important.
My end goal is not to send messages like a chat. It will be a very simple flag-based system where, for example, an event occurs on my arduino which causes it to transmit character 'h' through bluetooth, which is then received by my android app. In android receive: if 'h' is read by bluetooth, doSomething(). I don't need to send anything from my android app to the arduino right now, but that would be nice to know.
I just thought I could test my bluetooth functionality with this Bluetooth Chat sample app. Now, that seems like a poor place to start.
Any suggestions are appreciated.
strictly
? it has no meaning in the sentence that you used. ... you could have used the wordjoyfully
and it would be just as meaningless. ... i am not trying to be snarky, i am just questioning the meaning of the word – jsotola Mar 10 '18 at 20:48cannot connect to my HC 05 when I use software serial using pins 3,2
... your question should be about that, everything else that you mentioned is just a distraction from the real problem – jsotola Mar 10 '18 at 20:55