Hi.I want to connect to the mobile phone with bluetooth. But when I upload the program, the LED light of the Bluetooth module does not turn on and the phone does not recognize the module. Please advise. I use ESP8266 and HC05.
This is my code:
I moved your topic to an appropriate forum category @alija22 .
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
after I upload the code it has rapid flashes but when I connect the app to Bluetooth the flashes become slow, 2second on , 6 seconds off. and I can't move the servos.
It sounds rather like Bluetooth is doing its job properly, i.e. it is responding to the app, and you are blaming the wrong thing.. It doesn't mean your code is kosher, nor does it mean the wiring is correct.
Are you now indeed saying that the module connects to the smartphone, but the code does not perform as you expect?
I would forget about the Servos to begin with and remove them from the circuit and the code. Confirm that the bluetooth communications between the Kai Morich app on the phone and the hc05/Arduino are working correctly. Use the Serial monitor to debug.