Data from Arduino due to the smartphone will come in just fine.
We can not accept data from the smartphone to the Arduino Due.
The arduino mega everything works, but the Arduino Due.
Use classic wiring.
connection:
arduino due <-> HC-06
+3.3V +3.3V
GND GND
Tx Rx
Rx Tx
source code:
void setup() {
Serial.begin(9600);
Serial.println("+-------------------------+");
Serial.println("| Start Boot");
}
void loop() {
if (Serial.available() > 0) {
int incomingByte = Serial.read();
Serial.print("I received: ");
Serial.println(incomingByte);
}
}
Please have an idea? Thank you.