Open alkoval opened 6 years ago
there is no other mode. only with AT commands firmware
there is no other mode. only with AT commands firmware
The library(WiFiEsp) is designed to connect arduino to the Internet. But even such a sketch causes a constant reboot.
#include <WiFiEsp.h>
#include <SPI.h>
void setup() {
Serial.begin(9600);
Serial.println("Step 0");
Serial1.begin(9600);
Serial.println("Step 1");
WiFi.init(Serial1);
Serial.println("Step 2");
}
void loop() {
}
I use ESP8266_NONOS_SDK-2.2.1.
use AT firmware in esp8266 and WiFiEsp in connected Arduino. SDK is not a firmware.
use AT firmware in esp8266 and WiFiEsp in connected Arduino. SDK is not a firmware.
Could you recommend an example for creating exchange via mqtt using arduino board (mega 2560) and esp8266?
PubSubClient library over WiFiEsp https://github.com/knolleary/pubsubclient
Same issue. As soon as I initialize WiFiEspClient the Uno goes haywire and starts bootlooping. Tried with any number of power supplies as I couldn't imagine what else would cause such a problem, but everything works as long as I don't initialize WiFiEspClient.
I use arduino mega and esp8266. Tested with different firmware versions ESP NONON:
Scheme https://imgur.com/a/Ohb3fRz
Sketch:
After loading the sketch, the board constantly reboots. If you work only in the AT command mode, then there are no problems with the patch. Faced with a similar or know the solution?