I get no response to AT commands with HC-05 and Arduino Nano Every

I have an Arduino Nano Every and I want to use an HC-05 Bluetooth module with it, but when trying the AT command, I get no response. I tried changing the baud rate, changing the pins, resetting the Arduino, but nothing works. Can somebody help me?

Post your test code. Read the forum guidelines to see how to properly post code and some good information on making a good post.

Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.

Please post a wiring diagram. Written descriptions are always more ambiguous than a drawing. Hand drawn, photographed and posted is fine. Include all pin names/numbers, components, their part numbers and/or values and power supplies.

My code is :

#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11);

void setup() {
  Serial.begin(9600);

  Serial.println("Enter AT commands:");

  mySerial.begin(38400);
}

void loop() {
  if (mySerial.available())
    Serial.write(mySerial.read());
  if (Serial.available())
    mySerial.write(Serial.read());
}

and here are my connections :
fritzing hc 05

You might try

mySerial.print("AT"); //PING

as the last line in setup.

Already tried, doesn't work.

Does the Bluetooth LED change to slow flash?
Are you using a button switch?

The HC-05 LED is blinking slowly, but I don't understand what do you mean by "button switch" ?

Most, if not all, modern HC-05s have a button to put them into AT mode.

Are you talking about the KEY pin?

HC-05 buttonI
IF you have slow flash, I'm not sure this is relevant as you are in AT mode. Maybe your breadboard is suss. Check the Martyn Currey website, I think he covers everything.
I'm going to bed.

Thank you for your help, good night.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.