Chat freely about anything...

User avatar
By mikeardy
#72798 Hi

in my project, I'm using the following libraries

Code: Select all// SoftSerial
#include <SoftwareSerial.h>
// Wi-Fi
#include <ESP8266WiFi.h>
// Wi-Fi UDP
#include <WiFiUDP.h>


The software serial library is set to 57600 baud and connect to another MCU, it does work perfectly!
The ESP8266 connects in Wi-Fi with an application on a PC, it does work properly through UDP telegrams!
On UART0 the ESP8266 is connected to RS232/USB chip. It is set to 115200 baud and it does work properly!

I experimented an issue when the PC application sends a UDP telegram to the ESP8266: the UART0 traffic got a jam and seems to crash but after 1 second (more or less) it returns to correctly operates.

I insert in EP8266 execution code one delay(1) every cycle to permit the chip the correct execution of Wi-Fi / communication library.

Could someone help me?
Thanks a lot.