Failed uploading: uploading error: exit status 1

Hi all, I'm currently working on a project now. However, during uploading, it prompts me error, I do not know which part went wrong, can I seek help from the experts? Much appreciated!
I attached my files and diagram as below:

IOT_RFID_Arduino_New.ino (2.3 KB)
IOT_RFID_NodeMCU_New.ino (2.6 KB)

image

when uploading to the ESP8266 and displaying ..-----....-----.... did you try pressing the FLASH button

Pleasew read and use the advice in this topic: How to get the best out of this forum - Using Arduino / Project Guidance - Arduino Forum

It's a waste of time and energy spending energy to help You just get Your question in order. Please update Your post according to the topic in the link.
Helping You with the project, the technical aspekt is what helpers are here fore.

Only way I've gotten around that is to use an older ESP8266 boards package, wish I knew what the real solution was.

IMPORTANT - always remove account names and passwords from any code you post or attach

1 Like

Nope, I didnt press. It keeps showing connecting...-----...----.
Am I suppose to click the button on the ESP8266 board?

do you know where can i get the older ESP8266 package?

yes, there are generally two buttons labled RST (reset) and FLASH
when uploading try pressing the FLASH button

I just download the older version (v2.5 in this case) using the IDE board manager. Once that is used, the latest version can download a few times before the problem shows up again, so I keep the old version in a portable installation of the IDE.

Nothing has shown up. I'm still having the same error code.

unfortunately, it's still showing error for me :face_with_thermometer:

looks like your code is not even compiling !
can you upload the code using code tags </>?
avoid uploading images - use text it is easier to read

1 Like

You are right, I failed during compiling.
Here you go, I upload the code here.

IOT_RFID_NodeMCU_New.ino (2.6 KB)

the program compiles on my Arduino IDE OK
the board is specified as Tools>Board "Generic ESP8266 Module"
I changed the SSID etc and the program loads and runs - serial monitor displays

..............
WiFi connected
IP address: 
192.168.1.91
Connecting to Adafruit IO... Connection failed
Retrying connection...
Connection failed
Retrying connection...
Connection failed

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