-->
Page 1 of 1

Unable to recieve any data on the IP address

PostPosted: Fri Mar 02, 2018 10:57 am
by skrastogi68
Here is the code that I am using:-

Code: Select all
#include <SoftwareSerial.h>

SoftwareSerial wifiPort(11,12);

void setup() 
{
  Serial.begin(9600);
  while (!Serial) {
  }
  wifiPort.begin(115200); // or 115200 if your ESP can only communicate at that speed
}

void loop()
{

  wifiPort.listen();
  if (wifiPort.available() ) {
    Serial.write(wifiPort.read());
  }
  if (Serial.available() ){
    wifiPort.write(Serial.read());
  }
  delay(10);
}


ESP8266 is responding to all the AT commands until I used AT+CIPSEND=20, to enter "hello world" and dispay it on webpage. I am getting the error saying link not valid.
I am using arduino uno and ESP8266.
One more thing seems different, everytime I input "AT+CIFSR", I get a different IP.
I want to display some data on webpage using the wifi module and arduino uno. I am unable to find a solution.