Serial Monitor shows a continuous "word salad" without a loop I have written a little program which should (at the end) host a little website. This is just my setup. But for some reason, it writes &quot;srl?&quot; endlessly onto the serial monitor. I just connected the ESP8266-01 to my Arduino UNO, using 115200 baud with the nodeMCU board. Using different boards results in an error telling me I should use nodeMCU.
As I have written in the title, I do not understand how it can produce an endless output without a loop with Serial.print/write in it.
#include &lt;ESP8266WiFi.h&gt;

const char* NAME = &quot;x&quot;; //ssid
const char* PWRT = &quot;x&quot;; //password

WiFiServer server(80);

void setup() {
  Serial.begin(115200);

  Serial.printf(&quot;connect with %s \n&quot;, NAME);
  WiFi.begin(NAME, PWRT);

  while (WiFi.status() != WL_CONNECTED) {
    delay(1000);
  }

  server.begin();
  Serial.printf(&quot;webserver open, access with %s\n&quot;, WiFi.localIP().toString().c_str());
  
}

void loop() {
  // put your main code here, to run repeatedly:

}
The ESP8266WiFi.h is for running on an ESP8266 host, but your are trying to use it on an Arduino Uno. This caused the crash of your sketch on Arduino Uno.
Based on the connection diagram you provided, you are using the ESP-01 as an wifi-shield and the ESP-01 by default is having an AT commands firmware. In order to use the ESP-01 as a wifi shield, you need an library like WiFiEspAT.