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:
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
__________________________________________________________________________________________
If there's anyone who can help me get through this I'd be really greatful about it. Thank you.
-
1\$\begingroup\$ Is NODE MCU 1.0 the type of board that you have? \$\endgroup\$sai– sai2023年03月26日 16:38:16 +00:00Commented 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– Justme2023年03月26日 16:55:36 +00:00Commented Mar 26, 2023 at 16:55
-
\$\begingroup\$ Have you told the Arduino IDE what serial port your board is connected to? \$\endgroup\$Peter Bennett– Peter Bennett2023年03月26日 19:43:13 +00:00Commented Mar 26, 2023 at 19:43
-
1\$\begingroup\$ instructables.com/… Happy coding! \$\endgroup\$ElectronicsStudent– ElectronicsStudent2023年03月26日 22:27:25 +00:00Commented 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– Paul2023年08月16日 11:50:44 +00:00Commented Aug 16, 2023 at 11:50
6 Answers 6
Reinstall your driver then it will work.
-
\$\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\$Kevin Hernandez– Kevin Hernandez2024年05月12日 01:01:10 +00:00Commented May 12, 2024 at 1:01
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
-
2\$\begingroup\$ Please use proper wording and don't subsitute your with ur etc. \$\endgroup\$MiNiMe– MiNiMe2023年11月03日 13:35:31 +00:00Commented Nov 3, 2023 at 13:35
You just need to install this driver: https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all#windows-710
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.
Use version 2.5 of the ESP2866 while downloading, The error persists in v3.1
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 .
-
2\$\begingroup\$ Hi! What is excessive usage, have the board been in use for more than x recommended amount of time, or has it been overloaded, overclocked? Also there's a lot of vague expressions can be this might and thy this out (the latter, try what?) that makes it all uncertain. Please edit your answer according to the guidelines at electronics.stackexchange.com/help/how-to-answer \$\endgroup\$MiNiMe– MiNiMe2023年11月03日 13:31:58 +00:00Commented Nov 3, 2023 at 13:31
-
1\$\begingroup\$ This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review \$\endgroup\$Greenonline– Greenonline2023年11月03日 19:09:50 +00:00Commented Nov 3, 2023 at 19:09