Hi there, I got the ESP8266 NODEmcu V2 WIFI module up and running, uploaded the sample programs, connected to the internet, sent POST variables to my site, received the correct data, everything worked great. Until I connected DHT11 module according to this guide . The only thing that didn't match in the tutorial was the order of the pins in the sensor, but I connected according to the description on the board.
Now, after connecting the module to the computer, the LED lights up faintly (I don't think it lit up much before either) the port is visible, recognised correctly but nothing can be uploaded, an error appears:
..........
C:AppDataLocalArduino15packagesesp8266tools/python3.7.2-post1/python3 C:AppDataLocalArduino15packagesesp8266hardware2.7.4/tools/upload.py --chip esp8266 --port COM3 --baud 115200 --before default_reset --after hard_reset write_flash 0x0 C:■UsersWLASCI~1AppDataLocalTemp_arduino_build_487600/glasshouse.ino.bin
esptool.py v2.8
Serial port COM3
Connecting........_____....._____....._____....._____....._____....._____....._____
Traceback (most recent call last):
esptool.main(cmdline)
File "C:/Users/Owner/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 2890, in main
esp.connect(args.before)
File "C:/Users/Owner/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\tool.py", line 483, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
Do you have any idea what went wrong and can something be done about it ?
Now, after connecting the module to the computer, the LED lights up faintly (I don't think it lit up much before either) the port is visible, recognised correctly but nothing can be uploaded, an error appears:
..........
C:AppDataLocalArduino15packagesesp8266tools/python3.7.2-post1/python3 C:AppDataLocalArduino15packagesesp8266hardware2.7.4/tools/upload.py --chip esp8266 --port COM3 --baud 115200 --before default_reset --after hard_reset write_flash 0x0 C:■UsersWLASCI~1AppDataLocalTemp_arduino_build_487600/glasshouse.ino.bin
esptool.py v2.8
Serial port COM3
Connecting........_____....._____....._____....._____....._____....._____....._____
Traceback (most recent call last):
esptool.main(cmdline)
File "C:/Users/Owner/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 2890, in main
esp.connect(args.before)
File "C:/Users/Owner/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\tool.py", line 483, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
Do you have any idea what went wrong and can something be done about it ?