Arduino Android Bluetooth Communication
问题 I've made an app which connects to Arduino Mega 2560 by means of HC-05 Bluetooth module. I succeed in giving commands to Arduino via bluetooth, but the opposite communication doesn't apparently work. I don't know if the problem is in Arduino or Android side. Arduino sends messages with this simple instructions: #include ... SoftwareSerial bluetooth(12, 11); void setup(){ Serial.begin(9600); bluetooth.begin(9600); ... } void loop(){ ... bluetooth.listen(); while (bluetooth.available() > 0) {