3
\$\begingroup\$

I'm making a circuit for a competition and this is the first time I'm coding something.
I am coding an Arduino ESP8266 for an air pollution monitoring system.

Problem 1
Though I've connected my ESP8266 to the laptop (via a micro USB cable that is totally alright), when I open Arduino IDE it does not detect the ESP8266. I've installed the correct drivers and installed everything needed in the Arduino IDE.

This is what I see:

enter image description here

Problem 2
I was trying to upload the blink code to my ESP8266 according to a tutorial on the internet, but it shows these error messages:

__________________________________________________________________________________________
. Variables and constants in RAM (global, static), used 28456 / 80192 bytes (35%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ DATA     1496     initialized variables
╠══ RODATA   1208     constants       
╚══ BSS      25752    zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 60691 / 65536 bytes (92%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ ICACHE   32768    reserved space for flash instruction cache
╚══ IRAM     27923    code in IRAM    
. Code in flash (default, ICACHE_FLASH_ATTR), used 235060 / 1048576 bytes (22%)
║   SEGMENT  BYTES    DESCRIPTION
╚══ IROM     235060   code in flash   
Failed uploading: no upload port provided
__________________________________________________________________________________________

enter image description here

If there's anyone who can help me get through this I'd be really greatful about it. Thank you.

\$\endgroup\$
6
  • 1
    \$\begingroup\$ Is NODE MCU 1.0 the type of board that you have? \$\endgroup\$
    – sai
    Commented Mar 26, 2023 at 16:38
  • 2
    \$\begingroup\$ The second "error" is not an error - it just prints statistics and says the target can't be connected, because the first error is that the target was not found. You may have better luck asking on Arduino Stack Exchange, but my guess is that an ESP-12 is not an ESP8266 and you need to separately install a plug-in to add support for ESP8266 modules. Can this be migrated to Arduino.SE? \$\endgroup\$
    – Justme
    Commented Mar 26, 2023 at 16:55
  • \$\begingroup\$ Have you told the Arduino IDE what serial port your board is connected to? \$\endgroup\$ Commented Mar 26, 2023 at 19:43
  • 1
    \$\begingroup\$ instructables.com/… Happy coding! \$\endgroup\$ Commented Mar 26, 2023 at 22:27
  • \$\begingroup\$ please add some more details on your hardware setup! You mention the ESP8266, but that's just a chip. ESP-12E is a module, but it doesn't have a micro-USB connector. So I'm assuming you have a module or breakout board; please describe how it is all wired together. \$\endgroup\$
    – Paul
    Commented Aug 16, 2023 at 11:50

6 Answers 6

2
\$\begingroup\$

Reinstall your driver then it will work.

enter image description here

\$\endgroup\$
1
  • \$\begingroup\$ ESP8266 was working just fine and this happened "randomly". I want to assume this actually happened because my upload speed was maxed :D \$\endgroup\$ Commented May 12 at 1:01
0
\$\begingroup\$

you are good with the libraries i.e for esp8266 using esp 12E module so I don't think there is an issue there, I would suggest you to check your micro USB connector as all micro USB connects u find cant transfer data some have only the capability to charge. how to check it, u can connect a keypad or any mobile phone with a micro USB pin using the same cable u r using for the project, if ur phone's storage details appear on the system in "removable disk" after accepting the notification if any appears on your phone for data transfer. If the phone is getting charged but the storage data is not accessible on the system then the cable is only for charging and has no data transfer capabilities which make it to fail to connect ur esp8266 to Adriuno IDE

\$\endgroup\$
1
  • 2
    \$\begingroup\$ Please use proper wording and don't subsitute your with ur etc. \$\endgroup\$
    – MiNiMe
    Commented Nov 3, 2023 at 13:35
0
\$\begingroup\$

You just need to install this driver: https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all#windows-710

\$\endgroup\$
0
\$\begingroup\$

Answer: Problem-1 & 2 is you have to select ports to particular COM port in tools tab:>> port:>> select the your COM port there and upload.

\$\endgroup\$
0
\$\begingroup\$

Use version 2.5 of the ESP2866 while downloading, The error persists in v3.1

\$\endgroup\$
-1
\$\begingroup\$

Change the board. This can be because excessive usage of the board. this might have heated up the board and damaged it internally.

thy this out .

\$\endgroup\$
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.