[SOLVED] Conexión Arduino Mega con Ubidots ESP8266 (URGENTE)

ood day,

I’m doing a project with Arduino MEGA 2560 and an ESP8266 module for Wi-Fi, the problem is that I try to send a value to Ubidots and without it arrives. As in the previous post I observed that the response is problems with the module manufacturer update, in my case I have the possibility of using analog and digital connections.

I want to please tell me how I do The given Connection That I need to solve with THIS Vital Importance.

Relationship code and error:

#include <SoftwareSerial.h>
#include <UbidotsESP8266.h>

SoftwareSerial ESP(0,1);//RX Y TX

#define SSID "xxxxx"
#define PASS "c1223333"
#define TOKEN "iJkCfrQMSMfsCdreAmgkk1UhG9Hys2"
#define ID "583e19a376254264e18b211e"

Ubidots client(TOKEN);

float cont = 0;

void setup(){
Serial.begin(9600);
ESP.begin(115200);
client.wifiConnection(SSID,PASS);
}
void loop (){

cont = cont + 5;
Serial.println(cont);
client.add(ID,cont);
  client.sendAll();

delay(10);

}

error

Response of ESP8266:

Error at CIPMODE
15.00
=>583e19a376254264e18b211e:5.00,583e19a376254264e18b211e:10.00,583e19a376254264e18b211e:15.00,
Response of ESP8266:

Response of ESP8266:

Response of ESP8266:

Error at CIPMODE
20.00
=>583e19a376254264e18b211e:5.00,583e19a376254264e18b211e:10.00,583e19a376254264e18b211e:15.00,583e19a376254264e18b211e:20.00,
Response of ESP8266:

The Ubidots library currently makes use of softwareSerial.h to emulate ports in an Arduino UNO or some similar board that only has a native hardware port, because this library has problems working at more than 9600 bps and that the ESP module currently works at 115200, you will still have problems with MEGA because our library would continue to emulate the port.

We are working to port this library and enable its use on boards that have more than one native hardware port, without having to look to port emulation.

Regards!
Maria.

Hi,

We are experiencing the same problems (using Arduino Mega + ESP8266 as a wifi module). We will appreciate any update regarding this issue.

Regards,
Magno