Hello I have a project for university that comes very close and my servo's start flipping when I use softwareSerial for my HC-06 module with my arduino nano every. I decided to use the hardwareserial ports 0, 1 but my arduino isn't responding to my bluetooth module and normally the usb connection wouldn't work when I connect the bluetooth module but the usb connection still works fine...
I cross wired my bluetooth module so RX(BT) --> TX arduino and TX(BT) --> RX arduino. I have an app to send the string 92 to arduino and it works fine when I use softwareserial. What can be the problem? Many thanks in advance!
EDIT: I also tried with changing Serial with Serial1
code:
void setup() {
Serial.begin(9600);
delay(500);
pinMode(3, OUTPUT);
digitalWrite(3, LOW);
}
void loop() {
if(Serial.available()){
String input = Serial.readString();
if(input == "92"){
digitalWrite(3, HIGH);
}
}
}