NodeMCU ESP 8266 ESP12E and Arduino IDE Ver. 1.8.7(Window Store 1.8.15.0)

Thread Starter

mkbutan

Joined Sep 30, 2008
299
hi I am using NodeMCU ESP8266 ESP12E
My Arduino IDE is giving the following error
please help

Arduino: 1.8.7 (Windows Store 1.8.15.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 9600"
Sketch uses 268560 bytes (25%) of program storage space. Maximum is 1044464 bytes.
Global variables use 30672 bytes (37%) of dynamic memory, leaving 51248 bytes for local variables. Maximum is 81920 bytes.
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
please tell me what am i doing wrong?
 

Thread Starter

mkbutan

Joined Sep 30, 2008
299
Either the baudrate or the comm port selected in Arduino is wrong.
Note on some cables/modules too high a baudrate will not work
reliably, so lower baudrate. Also confirm module power supply
voltage at module, use a cap to help.

Or reset pin not in correct state on module.

https://arduino-esp8266.readthedocs.io/en/latest/faq/a01-espcomm_sync-failed.html



Regards, Dana.
Thanks for your support
even after following your instruction
ia m getting the following error now
Arduino: 1.8.7 (Windows Store 1.8.15.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Sketch uses 268560 bytes (25%) of program storage space. Maximum is 1044464 bytes.
Global variables use 30672 bytes (37%) of dynamic memory, leaving 51248 bytes for local variables. Maximum is 81920 bytes.
error: Failed to open COM3
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
 

Thread Starter

mkbutan

Joined Sep 30, 2008
299
Code:
/*************************************************************
  Download latest Blynk library here:
    https://github.com/blynkkk/blynk-library/releases/latest

  Blynk is a platform with iOS and Android apps to control
  Arduino, Raspberry Pi and the likes over the Internet.
  You can easily build graphic interfaces for all your
  projects by simply dragging and dropping widgets.

    Downloads, docs, tutorials: http://www.blynk.cc
    Sketch generator:           http://examples.blynk.cc
    Blynk community:            http://community.blynk.cc
    Follow us:                  http://www.fb.com/blynkapp
                                http://twitter.com/blynk_app

  Blynk library is licensed under MIT license
  This example code is in public domain.

*************************************************************
  This example runs directly on ESP8266 chip.

  Note: This requires ESP8266 support package:
    https://github.com/esp8266/Arduino

  Please be sure to select the right ESP8266 module
  in the Tools -> Board menu!

  Change WiFi ssid, pass, and Blynk auth token to run :)
  Feel free to apply it to any other example. It's simple!
*************************************************************/

/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial


#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "abcd1234";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "xxxxxx";
char pass[] = "xxxyyyzzz";

void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(auth, ssid, pass);
}

void loop()
{
  Blynk.run();
}
I need to upload the above code to my NODE MCU but unable to do so...
please help
 

danadak

Joined Mar 10, 2018
4,057
Do you have a scope so you can look at power at the ESP8266 pins,
also look at data lines the USB cable is connected to at the module
interface ?

Regards, Dana.
 
Last edited:
Top