Cant use AT commands in Serial monitor

HELP!

I am trying to use AT commands to get information on my hm-10 Bluetooth LE module. I have it connected as so:

VCC > 5V on arduino
GND > GND on arduino
RX > RX on arduino
TX > TX on arduino

I uploaded the bare minimum sketch to the arduino, and when I open the serial monitor, I type in AT and nothing prints.

This is the way to go:

RX > TX on arduino
TX > RX on arduino

EDIT: Also, isn't the HM-10 using 3.3V?

I set VCC to 3.3V, but when I switch the RX and TX pins, I get this error:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

You need to disconnect the hm-10 during programming, if you want to use the hardware serial the bootloader uses.
You could use softwareserial for testing.

Ok I used SoftwareSerial to configure RX and TX to pins 6 and 7. I also set the Serial and SoftwareSerial baudrate to 9600. Here is what I have:

#include <SoftwareSerial.h>
SoftwareSerial mySerial(6, 7); //RX and TX

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
mySerial.begin(9600);
}

Still not getting any response from AT commands in Serial monitor

Still not getting any AT commands in the Serial monitor

void loop() {
// put your main code here, to run repeatedly:

}

Still not getting any response from AT commands in Serial monitor

ForestSkis98:
Ok I used SoftwareSerial to configure RX and TX to pins 6 and 7.

ForestSkis98:
SoftwareSerial mySerial(0, 1); //RX and TX

I only see 0s and 1s.

Edit: So, after changing your post, did it work?

It did not

Which arduino are you using and do you have a link to the hm-10 module? Some do have 5v to 3.3v regulators installed. If not, the rx pin on the hm-10 might not be 5v tolerant...

Did you check the AT commands on the serial monitor?

Upload a code to the arduino, that forwards serial messages from the pc to the hm-10 and vice versa. Check the responses.

ForestSkis98:
I uploaded the bare minimum sketch to the arduino, and when I open the serial monitor, I type in AT and nothing prints.

Hang on a second, I must've missed that. You'll need to forward the messages from one serial instance to the other.

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

Ok, that did it! I also had Newline selected in the serial monitor, and I changed it to No Line Ending. Apparently AT commands don't like newlines, but it works now. Thanks!