I have the ESP8266 WiFi Module ESP-12E and have been trying to upload the sketch for the DS18B20 temp sensor without success.
I am using the Arduino IDE. The Dallas Temp sensor library is there as is the Onewire library. When I attempt to compile the sketch I receive the error message…
Sketch uses 315260 bytes (63%) of program storage space. Maximum is 499696 bytes. Global variables use 28012 bytes (34%) of dynamic memory, leaving 53908 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.
I have the SSID and Password entered correctly.
- Have you been able to upload previous examples successfully like the Blink sketch?
- Are you using a bare ESP-12E chip or are you using an ESP8266 development board?
The “error: espcomm_open failed” means that your ESP8266 is not establishing a serial communication with your Arduino IDE and it fails to upload code.