strange serial output

Hi,

I am new to arduino and received a Wemos D1 Mini (ESP8266) from China.
I tried the blink sketch and this worked well.

Now I tried something more advanced:

#include <SPI.h>

void setup() {
  Serial.begin(9600);
  SPI.begin(); // Init SPI bus
  Serial.println("Online");
}

void loop() {
}

This results in very strange characters before the "Online" statement:

⸮$OX⸮K,K⸮⸮aY⸮h⸮Online
⸮dOI⸮0⸮H<⸮⸮CXH⸮Online

I rad the same code on a Arduino nano and this worked flawlessly...

Could anyone point me in a direction to sort this? Could it be the fact that it is from China, or maybe dodgy soldering?

Kind regards,

Freek

The ESP8266 does this. It spits out occasional system messages at various baud rates. If you change the baud rate of your serial console, you can sometimes see them. Try around 115200.

And you may have to reset the ESP after uploading.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.