Thanks for the replies, i changed the pins, flipped some wires and it almost works! The code looks like this now;
#include <SoftwareSerial.h>
SoftwareSerial BTSerial(11, 12);
void setup()
{
pinMode(10, OUTPUT); // this pin will pull the HC-05 pin 34 (key pin) HIGH to switch module to AT mode
digitalWrite(10, HIGH);
Serial.begin(9600);
Serial.write("Enter AT commands:");
BTSerial.begin(38400); // HC-05 default speed in AT command more
}
void loop()
{
// Keep reading from HC-05 and send to Arduino Serial Monitor
if (BT