Hi, i have a question about Arduino Nano and bluetooth module HC-05. I have an Arduino nano, HC-05 and i cant get response from serial monitor.
I have connection (screenshot) + code (screenshot) and when i turn the power and upload code from Arduino IDE and hold button on HC-05 to enter AT mode i get slowly blinking HC-05. But when i type "AT" into serial monitor it only blinks once RX diode on Arduino. So im begging for some tips. Thanks for helping!!!
Welcome to the forum
You started a topic in the Uncategorised category of the forum
Your topic has been moved to a relevant category. Please be careful in future when deciding where to start new topics
Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'
Use code tags (the < CODE/ > icon above the compose window) to make it easier to read and copy for examination
https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum
Hello @tuhacek
I think you will find this relevant to the problem you are having:
38400 is very optimistic for softwareserial on a small low-speed micro. Try 9600 bps
Also, depending on what you’re trying to do, Serial.primt might work better.
-
Ignore the above, 38400 is required for AT mode with HC-05
-
I believe you have wired Rx/Rx. You need Tx to Rx
-
Nano is capable of powering Bluetooth, why make things more difficult?
-
It is good practice to use a 1k/2k voltage divider in Arduino Tx line.
-
I'm sure the code is wrong.
Check the Martyn Currey website for proper code and wiring.
HC-05 module RX pin might use 3v3 logic level.
I think your wiring is incorrect. The TX pin of Arduino need to be connected to RX pin of HC-05, and vice versa.
You can test the wiring by running simple code in Arduino HC-05 tutorial
ok, i see thanks!!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.