Error uploading code on NodeMCU ESP8266

I have a NodeMCU E-12 ESP8266 and i'm trying to display data colected from a sensor. When trying to upload the code i got the following error:


warning: espcomm_sync failed

error: espcomm_open failed

error: espcomm_upload_mem failed

error: espcomm_upload_mem failed


When i don't have any sensors attached it's working everything fine. ( i tried with an example from IDE - WiFiScan)

Please post a drawing showing the sensor connections, the download connections and the powering.
Also post a link to "a sensor".

Depending -- there are certain ESP8266 pins have to be HI or LO when Uploading.
See " Best Pins to Use – ESP8266 " ─
[url]https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/[/url]

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.