Open DazWilkin opened 7 years ago
I had the same issue. Switching to “no line ending“ solved the issue for me.
@m-sja thank you! I'll try it today
please try to use the AT command at serial port, Note NET interface.
If you send [LF] and or [CR] after the AT-Command the Module passes it through from MCU to NET instead of responding to the Command back to MCU. I would call this a Bug as this is not documented.
Thank you both for your help.
I am able successfully to issue AT commands via the serial connection suggested by @SmartArduino and using @m-sja suggested "no line ending" (e.g. AT+STAINFO
, AT+STASTATUS
) and receive the expected responses.
I am unable to use screen
and PuTTY
for the serial comms but this works with the Arduino IDE Serial Monitor.
Hello! I connect the DT-06 through the 2 motor & 16 servo board. When I send the AT + STAINFO command through the Port Monitor, there is no response. The sketch is written in Arduino:
String inString; int inChar;
SoftwareSerial portOne (3, 2);
void setup () { Serial.begin (9600); while (! Serial) { ; } portOne.begin (9600); }
void loop () { portOne.listen (); while (portOne.available ()> 0) { inChar = portOne.read (); inString + = (char) inChar; if (inChar == '\ n') { Serial.print (inString); } inString = ""; } } I send the command through the terminal: echo AT> /dev/tcp/192.168.4.1/9000 How to make DT-06 execute AT commands?
I'm able to send values to the TTLtoWiFi and see these reproduced on the serial device connection.
I don't receive responses to the AT commands documented in the manual.
What am I doing wrong?
And, on the serial connection:
I expect responses to the AT+ commands but don't appear to be receiving anything.