Arduino UNO HC05


I am trying to just a simple bluetooth blink with HC05 and Arduino UNO but it doesnt work.
My connections are at the below.And also i have 3 leds at 10,11 and 12
Arduino HC05
2 RX
3 TX
5V 5V
Before i tried with Arduino Nano but i couldnt upload. This is why i started to use Arduino UNO. It compiles and uploads but i cant control from my phone. I am using Bluetooth Terminal HC-05 app. But i couldnt get a output. And also i am usşng Serial Monitor at Arduino. When i write “a” led is on , when i write “b” led is off at the Serial Monitor. But I want to control at my phone. Can you help me?

My Arduino Code;

#include <SoftwareSerial.h>

char junk;
String inputString = “”;

void setup() // run once, when the sketch starts
Serial.begin(9600); // set the baud rate to 9600, same should be of your Serial Monitor
pinMode(11, OUTPUT);

void loop()

if (Serial.available() > 0) {

while (Serial.available())
char inChar = (char); //read the input
inputString += inChar; //make a string of the characters coming on serial
while (Serial.available() > 0)
junk = ; // clear the serial buffer
if (inputString == “a”) { //in case of ‘a’ turn the LED on
digitalWrite(11, HIGH);
} else if (inputString == “b”) { //incase of ‘b’ turn the LED off
digitalWrite(11, LOW);
inputString = “”;