Kaiiso
Kaiiso

Reputation: 60

My esp32 print weird characters but I do anything

I only want to print simple text but it print unilimited weird character and never stop, (when I remove Serial.print() it continues to print weird characters).

This is the weird text that loop

-*⸮ql⸮7⸮$⸮
*!8P⸮⸮⸮V⸮)3 ⸮;⸮ 1⸮zY⸮b⸮ڔ!⸮⸮$q⸮,*⸮ı⸮N
⸮a!u⸮   1⸮zY⸮b⸮⸮⸮⸮⸮⸮!⸮  1⸮zY⸮W(⸮⸮⸮xI⸮
,*-⸮l⸮N
⸮a!u⸮,*⸮⸮⸮nbb⸮H⸮⸮⸮⸮,*⸮⸮⸮nbb⸮H$⸮
    1⸮zY⸮b⸮ڔ!X⸮⸮⸮⸮,*⸮⸮⸮nbb⸮H$⸮
*!8Pt⸮

My code :

void setup() {

}

void loop() {

}

I hope you can help me, thanks :)

UPDATE

I completely removed Serial.begin(9600) and Serial.print() and I still have the problem O_o

Upvotes: -1

Views: 7617

Answers (4)

Gururaj Kashikar
Gururaj Kashikar

Reputation: 9

For me, the issue was not the Baud rate. With both Serial.begin(115200) and the Serial monitor at 115200, some English chars were printed and most of them were unwanted/weird chars.

The issue in my case was that the ground pin of the ESP12F was not connected to the ground pin of the FTDI USB-to-Serial Converter. Once the ground pin was properly soldered on the PCB, every thing started working.

Upvotes: 1

You need to make sure that the baud rate in the code and baud rate of the serial monitor are the same.

Example: if your code has : Serial.begin(115200);

then change the baud rate of serial monitor to 115200, this can be done by accessing the baud as shown in the pictureimage below

Upvotes: 1

Kaiiso
Kaiiso

Reputation: 60

I just changed the Flash memory speed to 40MHz instead of 80MHz

Upvotes: 2

Batuhan Tosyalı
Batuhan Tosyalı

Reputation: 160

If you are using arduino IDE ( you probably are ) you can try changing the baud rates. That's what happened to me in arduino some time ago

Upvotes: 3

Related Questions