I tried some simple project as blinking”. Uploading the code wil not happen: Failed to connect to ESP8266. My board is a nodemcu amica-model ESP8266MOD 12 F”.
How to proceed?? pls help me out.
Hi.
Try pressing the board BOOT button for about two to three seconds right after you upload the code.
Let me know if that solves the issue.
Regards,
Sara
Thanks Sara for yr answer. I followed your input , still no connection. As I ‘m fairly new I don’t know how to proceed.
Trying perhaps a more simple board ?, or back to the Arduino Uno?. Please ,if possible, please give me a hint.
Hi.
Can you send a link to the board you have?
Which board are you selecting in the Arduino IDE, in Tools > Board?
Are you sure the USB cable you’re using has data wires? Some USB cables are charging only and don’t allow you to transfer data.
Regards,
Sara
oef, quick reponse Sara, Yes , the cable USB, i tried several. The boards, well i tried severa 1-the ESPdev kit V2 ESP32-WROOM 32 , the ESP 8266 -12F, and also the ESP 01 – 8266, to use for operating an relay with WIFI . In all cases i did struggled uploading the sketches. Yes i thinki am not too experienced yet,in writing the scripts , as i learned that forgeting a , or a ; is already false, or wrong BAUD setting , but if that is ok, I start the uploading, well up until know with not much of a result.
So if you have an reference of a example, which is 100% realisable for me, as trainings object, that seems for me good , as an training object. By the way i found already a lot of tips in your book about the 8266 chip And again thanks for your coaching it helps me a lot.
ps uploading the image of my board refs not reusite
– div_boards_i_am_working_with.jpg
https://ahp.li/58f82198958785bfeccc.jpg
This link will work
Hi.
The problem is not the code.
The problem is that the code is not being uploaded to the board.
I recommend starting with the ESP8266-12f you have. For that board, in the Arduino IDE, go to Tools > Board and select the Generic ESP8266 module.
Then, press the Arduino IDE upload button. For that specific board, the code should upload automatically. If not, you need to hold the FLASH button on the board for about two seconds right after hitting the upload button.
Let me know if this helps.
Regards,
Sara
https://ahp.li/6b67b86a7565cbe00be7.jpg
still not connected, attached you’ll find the text from the arduino ide
I proceed my tries, now with 1 – a simple test with an arduino uno,to find if the uploading works there and also checking the usbA to micro usb cable for data traffic.
I`ll keep you informed, i’m convinced its not a big problem, somewhere i made an mistake.:))
The issue you’re getting is because you need to press the FLASH button on your board when the dots start appearing in the dubbing window.
If it doesn’t work that way, check that you’re selecting the right COM port in Tools > Port.
If it still doesn’t work, it might be a problem with the USB cable or the computer USB ports.
Regards,
Sara
Well Sara, the board blinks !!!!!, thumbs up. I downloaded an usb serial CH340 device, now visible on poort 14, so this poort placed in te sketch, and voilà, with flashing when upload started, with in a split second the board started blinkin.Thank you for your help,I learned a lot, your help gave me the courage, and confiance to proceed learning the basics with your book 8266 in my hand. kind regards,Ben from Holland