After i sent AT+BAUD2 hc-06 answer me only on command AT with OK; on other command as AT+BAUD4, AT+NAME etc it doesn't answer.
Anybody can help me?
thanks
Paolo
After i sent AT+BAUD2 hc-06 answer me only on command AT with OK; on other command as AT+BAUD4, AT+NAME etc it doesn't answer.
Anybody can help me?
thanks
Paolo
Anybody can help me?
Without seeing your code? No.
Sorry, code is this
#include <SoftwareSerial.h>;
SoftwareSerial BTSerial(10, 11); // RX | TX
void setup ()
{
pinMode (9, OUTPUT); // NOT USED ON HC-06 - Questo pin tirerà la HC-05 pin 34 (pin chiave) HIGH per passare il modulo alla modalità AT
digitalWrite (9, HIGH);
Serial.begin (9600);
Serial.println ("Inserire comandi AT:");
BTSerial.begin (2400); // HC-05 velocità di default al comando AT più
}
void loop ()
{
// Continua a leggere da HC-05 e inviare Arduino Serial Monitor
if (BTSerial.available ())
Serial.write (BTSerial.read ());
// Continua a leggere da Arduino Serial Monitor e inviare a HC-05
if (Serial.available ())
BTSerial.write (Serial.read ());
}
rx hc-06 on d1/tx arduino nano
tx hc-06 on d0/tx arduino nano
vcc hc-06 on 27/+5v arduino nano
gnd hc-06 on 4/gnd arduino nano
key hc-06 not used, i read that hc-06 is always on at state
on HC-06 i don't use
I have the same problem, my HC-06 answer only for AT (answer OK) other command not working. HELP PLEASE
Do not despair, I HAVE SEEN IN MY EFFORTS THAT EVEN IF THE DEVICE WILL NOT RESPOND IN FACT RUN COMMANDS FOR EXAMPLE THE CHANGE OF NAME . IMPORTANT: USE ONLY 3.3V NOT 5V ... I HAVE DESTROYED 2 DEVICE
I also had an issue using a 100mA 3.3V regulator. I think the HC-06 might need more than 100mA to transmit.
Thanks tylernt, good advice; as possible i shall try.
tylernt:
I also had an issue using a 100mA 3.3V regulator. I think the HC-06 might need more than 100mA to transmit.
The module consumes 8mA, and perhaps another 20 for the LED.