Hello. I am a beginner to Arduino. I am currently trying to set up a simple circuit allowing control of an LED through interfacing with the HC05 module.
I have tried multiple iterations of this following several different tutorials but they are all having the same issue. For simplicity, I'm using the wiring and coding from the following tutorial for troubleshooting here:
My own coding and wiring:
char Incoming_value = 0;
void setup() {
Serial.begin(9600);
pinMode(13,OUTPUT);
}
void loop() {
if (Serial.available() > 0)
{
Incoming_value = Serial.read();
Serial.print(Incoming_value);
Serial.print("/n");
if (Incoming_value == '1')
digitalWrite(13,HIGH);
else if(Incoming_value == '0')
digitalWrite(13,LOW);
}
}
I am able to control the LED via input of '1' or '0' to the usb serial monitor, but I am unable to control it via Bluetooth apps. I am using "Serial Bluetooth Monitor" but I have also tried multiple other apps. I am able to connect fine to the HC05 device via bluetooth, but commands sent via the terminal on the bluetooth app don't appear to do anything.
I can only post three embedded items as a beginner but have pasted a couple of screenshots from the app configuration below.
I have tried switching out jumper cables. I have also tried with resistors in series on the LED.
If this helps, I read a little bit into the AT settings of the HC05 but didn't really understand. Currently the LED on my HC05 is blinking twice followed by a c. 5 second gap. The LED to indicate functioning of the TX/RX on my Arduino is not blinking at all.
Hope someone can assist.


