Would you be willing to change the HC05 back to 9600 baud and try with software serial. Just to see if having serial monitor and the HC05 both connected to the same serial port may be a cause.
HC05 TX to Uno pin 2 and HC05 RX to Uno pin 3 via the voltage divider. Works fine on my setup.
/* Electronoobs Bluetooth data receive with
Android and Arduino. transmits data from pin A0
Remember to disconnect the Rx and Tx pins of the HC-06 when
uploading the code
Subscribe: http://www.youtube.com/c/ELECTRONOOBS
Tutorial: http://www.electronoobs.com/eng_arduino_tut20.php
*/
#include <SoftwareSerial.h>
SoftwareSerial ss(2,3);
//Inputs
int in = A0;
void setup() {
Serial.begin(115200); //Set the baud rate of the comunication
//pinMode(in, INPUT); //***** not required for analog in ****
ss.begin(9600);
}
void loop() {
//Read the analog value
float val = analogRead(in);
//Divide by 310 to obtain a range from 0 to 3.3V
float val2 = val / 310;
//Use serial.print to send the data in a "text" format
ss.println(val2);
Serial.println(val2);
delay(400);//Small delay between each data send
}