Skip to content

Garbage output in Serial Monitor when using ESP8266 via FTDI #427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nboorstin opened this issue Jun 28, 2021 · 6 comments
Open

Garbage output in Serial Monitor when using ESP8266 via FTDI #427

nboorstin opened this issue Jun 28, 2021 · 6 comments
Labels
topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project

Comments

@nboorstin
Copy link

Describe the bug
Hi, I'm using an ESP8266 connecting to USB via a FTDI FT231XS using the ESP8266 Boards version 2.7.4 library (https://github.com/esp8266/Arduino), and although I can compile and upload properly using the IDE 2.0.0-beta.7, I can't see any output from the Serial Monitor: I only get this symbol: �. The Serial Monitor works as expected on the old Arduino IDE.

To Reproduce
Steps to reproduce the behavior:
Plug in the board, select the port and board type, try to open the Serial Monitor

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: 2.0.0-beta.7
@per1234
Copy link
Contributor

per1234 commented Jun 30, 2021

Hi @nboorstin. Do you have the baud rate menu in the Arduino IDE 2.x Serial Monitor set to match the rate set in the Serial.begin() call in your sketch?

For example, if your sketch contains this line:

Serial.begin(115200);

Then you must make sure that the Serial Monitor's dropdown menu is set to "115200 baud". Mismatched baud rates is the most common cause of getting gibberish characters in Serial Monitor.

@per1234 per1234 added status: waiting for information More information must be provided before work can proceed topic: serial monitor labels Jun 30, 2021
@nboorstin
Copy link
Author

Hi @per1234, thanks for taking the time to respond!
Both baud rates are set to 9600, but I only get � as output. (I get � in the IDE 2.x; in the old IDE I get the proper serial output).
Thanks!

@per1234
Copy link
Contributor

per1234 commented Jun 30, 2021

Do you get the same problem if you upload this super simple sketch?

void setup() {
  Serial.begin(9600);
}

void loop() {
  Serial.println("hello");
  delay(1000);
}

@nboorstin
Copy link
Author

Yes, same problem, it compiles/uploads with both the old and new IDE but the serial monitor only works in the old IDE

@per1234 per1234 removed the status: waiting for information More information must be provided before work can proceed label Jul 1, 2021
@JonathanKartun

This comment was marked as off-topic.

@cmaglie cmaglie removed the type: bug label Sep 16, 2021
@rsora rsora added type: imperfection Perceived defect in any part of project topic: serial monitor Related to the Serial Monitor labels Sep 22, 2021
@per1234 per1234 added the topic: code Related to content of the project itself label Oct 25, 2021
@per1234

This comment was marked as resolved.

@per1234 per1234 changed the title ESP8266/FTDI Serial Console Issue Garbage output in Serial Monitor when using ESP8266 via FTDI Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

6 participants