0

I did a bit of playing with my new ESP-12e, but suddenly it kind of fails on me. It gives me some weird looks it didn't give me (as much) before.

enter image description here

This is what the Serial Monitor prints when I try to run a very simple sketch. When I restart the module, it just adds some more of these chars. The following is the code for that:

const int statusLED = 16;

void setup() {
  pinMode(statusLED, OUTPUT);
  digitalWrite(statusLED, HIGH);

  Serial.begin(115200);
  Serial.write("The ESP-12e has started.");
  delay(500);
}

void loop() {
  delay(1000);
  digitalWrite(statusLED, LOW);
  delay(1000);
  digitalWrite(statusLED, HIGH);
}

This doesn't even involve the WIFI...

These are my board settings:
Board: Generic ESP8266 Module
Flash mode: QIO
Flash frequency: 40MHz
CPU frequency: 80MHz
Flash size: 4M (3M SPIFFS)
Upload speed: 115200

And finally, if it might help, how I connected the module:
enter image description here All connections are solid, so that shouldn't be a problem. The connection board has GPIO15 printed on it twice, but the one I connected to the LED is actually GPIO16. I noticed that the onboard LED of the ESP-12e doesn't light on anymore.

I use the CP2102 USB to UART module.

Thanks!
Rogier

18
  • It seems like maybe the firmware itself is crashing. Have you tried reflashing the device a couple of times?
    – Malachi
    May 25, 2016 at 16:02
  • The output doesn't appear to be able to have come from your code. Are the states of GPIO[0,2,15] appropriate for booting, at boot time? For running from flash, at run time?
    – JRobert
    May 25, 2016 at 16:38
  • wow, a negative for that? Problem isn't even solved yet. rough crowd.
    – Malachi
    May 25, 2016 at 19:13
  • Yes, the GPIO pins should be connected the right way. Also, I am able to upload to the flash memory. May 25, 2016 at 19:41
  • Yeah, weird. I don't know who would do that. I will try to flash new firmware and get back to you! Thanks for your help! May 25, 2016 at 19:44

1 Answer 1

2

Check what baud rate is serial window displaying. It should be the same as defined in your code.

1
  • Thanks. But that's the same. I have tried other baud rates, but that doesn't change it. May 25, 2016 at 14:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.