Post topics, source code that relate to the Arduino Platform

User avatar
By gmc
#7230 Dir: I tried your sketch out - I can see the ESP request a IP address from my DHCP server but do not see any responses back from the ESP:

Code: Select allDEBUG: Running Setup
ExecCmd:AT+RST
>><<
ExecCmd:AT
>><<
ExecCmd:AT+CWMODE=1
>><<
ExecCmd:AT+CWJAP="xxx","xxx"
>><<
ExecCmd:AT+CIPMUX=1
>><<
ExecCmd:AT+CIPSERVER=1,80
>><<
ExecCmd:AT+CIFSR
>><<
DEBUG: Setup complete


If I run a simple sketch like this:

Code: Select all#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11); // RX, TX

void setup() 
{
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  mySerial.begin(9600);
  mySerial.println("AT");
}

void loop() // run over and over
{
  if (mySerial.available())
    Serial.write(mySerial.read());

}


I can see the return code OK.

Any ideas?
User avatar
By Speshal
#8319 I am so greatful that I found this topic!!!!!

Thanks, it works a treat with my Arduino nano and ESP 05 - Sometimes it the nano needs a reset when the whole circuit is powered up but I think I just need to tinker with the timings of the AT commands.

Thanks again :D