Skip to main content
Arduino

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Required fields*

ESP8266 shows garbage in serial monitor

I have my ESP8266 connected via serial to USB like the image shows: enter image description here

It worked just fine, however, when I tried flashing Blynk code

#define BLYNK_PRINT Serial 
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
char auth[] = "YourAuthToken";
void setup()
{
 Serial.begin(9600);
 Blynk.begin(auth, "ssid", "pass");
}
void loop()
{
 Blynk.run();
}

It started outputting loads of garbage in the serial monitor, while Blynk app said ESP is not connected to network. I've tried since then flashing empty sketches or some other stuff, whatever I do, serial monitor shows loads of junk. I've tried changing modes, I've tried changing baud rates (57600 was default, and AT worked just fine).

Junk example:

 ...ÕZaP‚,JHVYo—¡VÕ]­J*ÉW\¡Õ\Õ-"aUŠQd®"¡âJ%H
!HiZÊIIRPÖuUPÒ‚BñZT\ *EUeZB\)*EVjU!\©Š_\¢"ÅVaqYiUμP"¬ÕPQT°*uH)HZKB*ÕXauH!HBHBH...μEIâHBH!H©aqY+hZVB\BH!HÊ*Òμe�qHBHBHŠ*i±...Z¦-hUμPÔ¬ÔPQT°*uH)H-KB*ÕXauH!HBHBH...μE­B\!H!HBVaqY+iZVB\BH!HeVÒZ¢qHBHBHŠ*iQ...Z¦-hUμPÔ¬ÔPQTaYRB\ jHiBHaaYRB\BH!HBVaaYRB\BH!HBVaqY+iZVB\BH!HÊVÒZ¢qHBHBHŠ*i±Õ\V
iUμPÔ¬ÕPQT°*uH)H-JBVaaYRB\BH!H!VaaYR!\BHBH!Vaq©+hZW!\BHBHJ*iμE�âHBH!HŠ*i±...Z¦-hUμPÕ¬ÔPQTaYR!\ %Hi!HÕXauH!HBHBH...μEIqHBHBH

Answer*

Draft saved
Draft discarded
Cancel

AltStyle によって変換されたページ (->オリジナル) /