Post topics, source code that relate to the Arduino Platform

User avatar
By alan
#8705 Thanks very much for this sketch :-)

I bought a couple of these boards a while back and have tried many sketches/libraries but been unable to get any of them to work - I was close to giving up and throwing them in the bin but this sketch worked perfectly first time :-)
User avatar
By Dir
#9071 You ESP was connected to pins 10,11
My ESP connect to to 12,12

You must change software serial pins in
SoftwareSerial esp(12,11)

gmc wrote: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:

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 Dir
#9073 Yesterday i was update firmware to SDK 0.9.5 AT v0.21.
And everything working fine. Previously i was wrote about problems with ESP connection. I think it was problems with the power but it was problem with firmware.