Components and supplies
Arduino UNO
Jumper wires (generic)
LED (generic)
ESP8266 ESP-01
Project description
Downloadable files
Fritzing schematic
Fritzing schematic
Comments
Only logged in users can leave comments
luciorocha
2 years ago
Hi! Could you use this reviewed tutorial? I used many times without problems with ESP8266 black model. Hope this help!
Anonymous user
2 years ago
Hello, I have a problem. Everithing works fine ultil i want to flash.I get the error in the terminal of the ESP FLASH DOWNLOAD. The error say ""get flash id error"". Can you help me?
luciorocha
2 years ago
Hi, Probably it is a configuration. Could you try this new reviewed post? Regards.
Anonymous user
2 years ago
Hello, it worked now. I flashed the new firmware. And when i disconnect the gnd and reconnect i get the "ready" but no response when i type AT. Can you provide further help. I have video and photos if you want.
Anonymous user
2 years ago
After lot of failed trails with esp-01 firmware upgrade, finally worked with this article. weird part was failed to upgrade with FTDI232 UART chip but worked fine with using arduino as UART device. Finally done thanks @luciorocha
Anonymous user
2 years ago
HI, I see that there is 2 packages need to be loaded on the same address (0x00000) * AT_v0.51_on_ESP8266_NONOS_SDK_V1.5.0\\at\\boot_v1.4(b1).bin >>> 0x00000 * ai-thinker-v1.1.1.bin >>> 0x00000 Do we have a problem here ? another thing that let think on an error here, when reading the popup text that is shown when you try to check the path for the packages that you loaded on the ESP Flash Download Tool v2.3, I can read 1MB (which is my case) BOOT+USER.BIN: blank.bin --> 0xFE000 esp_init_data_defaut.bin --> 0xFC000 boot.bin --> 0x0 User1.bin --> 0x1000 User2.bin --> 0x81000(NOT NECESSARY) master_device_key --> 0x7E000(IF USE ESP CLOUD SERVER) Now, finished flashing (using 0x00000 for both files), in the log I see that only 4 files were took into consideration. (boot_v1.4(b1).bin is not listed). For your information, I'm connecting ESP8266-01 with Ai Cloud inside (Black) connected to USB -> TTL Thanks
luciorocha
2 years ago
Hi, This post was updated. Take a look again. Thanks.
Anonymous user
2 years ago
I've tried another method, different error but still an error : https://youtu.be/m84OSAWOERo What could be happening?
luciorocha
2 years ago
Hi, I posted this video that shows how I'm using ESP8266 to deploy sketchs in Arduino IDE. Hope this help. https://youtu.be/OHMpNgg1CAI Regards, Lucio ......... Citando "Hackster.io" <help@hackster.io>:
Anonymous user
2 years ago
After the upgrade my ESP became a little crazy... The blue led keeps on and when I try to connect to the Termite it start to write a lot of special characters without stopping. I've tried the process a lot of times but keeps the same. What could I do to save it?
luciorocha
2 years ago
Hi, hum... something is wrong with your setup. But I believe that still is possible to fix your esp. - Reset your esp some times to make sure that it is clean (verify if appears a blue blink when you reset your module). -Verify if you are using the same software that I used. -Verify all your settings and hexadecimal values in flash download tools.
luciorocha
2 years ago
Hi, Probably you are doing something wrong. I used this same procedure in two modules without problems a lot of times. Could you post your 'complete' procedure before post more questions? It is very difficult to help you without more detailed explanation about your circuit and so on. Also, why not post a video about how you are doing your procedure? Hope this help. Citando "Hackster.io" <help@hackster.io>:
luciorocha
2 years ago
You should enable the proper settings in Arduino IDE. I update the tutorial contents, you could take a look again. If you do not use the same settings of the Flash Download Tools in Arduino IDE, the serial monitor will show these strange characters. Hope this help.
luciorocha
2 years ago
Hi, Thank you to create and share this video! I'll do a video too and share with you. I believe that you not burned you esp, but I observed that your circuit 'is not' the same that I used. Please, wait a while for a video.
luciorocha
2 years ago
Probably your error is when you turn off your circuit. It is necessary to unplug RX and TX wires first. Then, remove the wire connected to VCC. Then, you can plug VCC again to turn on your esp8266. Hope this help, thanks!
luciorocha
2 years ago
Hi, Firstly, verify if your esp8266 is the same that I used (black).I updated the post. Could you try again? Thanks.
Anonymous user
2 years ago
1- Reset your esp some times to make sure that it is clean (verify if appears a blue blink when you reset your module). - When I reset it the blue led goes on and keeps on all the time (doesn't blink or turn off) 2- Verify if you are using the same software that I used. - I'm using: FLASH_DOWNLOAD_TOOLS_V3.4.4 esp_iot_sdk_v1.5.0 ai-thinker-v1.1.1.bin 3- Verify all your settings and hexadecimal values in flash download tools. - I've tried flashing 6x. And each time I've checked the settings 4- Verify voltage and amperage if you are using a circuit similar at mine - I've tried to use the 3.3v connection from Arduino and an external power source 5- Remember my comment about using Arduino IDE to put firmware inside it - I'm gonna try doing it again I just thought a little strange using the same hexadecimal with the: AT_v0.51_on_ESP8266_NONOS_SDK_V1.5.0\\at\\boot_v1.4(b1).bin >>> 0x00000 ai-thinker-v1.1.1.bin >>> 0x00000 I'm gonna follow your tips once more and any news I'll tell you! Thanks again!
Anonymous user
2 years ago
Fico feliz em saber que também é brasileiro... rsrsrs Então eu tenho exatamente esse sim, AI Cloud Inside. O procedimento que fiz foi: 1- Com tudo desligado conectei o ESP ao meu Arduino Uno Genuíno 2- Liguei a alimentação e coloquei em modo flash (Aperta o Reset no ESP, Aperta o Flash no ESP, Solta o Reset e Solta o Flash) - Aperta é igual a fechar o circuito dos pinos 3- Sincronizei o ESP com o ESP Flash... 4- Apontei o caminho dos arquivos conforme instruções 5- Coloquei ele em modo flash novamente (mesmo procedimento anterior) e fiz o flash 6- Tudo correu bem sem erro 7- Desliguei a alimentação (do ESP e Arduino) 8- Liguei de novo e ele ficou doido Importante destacar que quando coloco em ele modo flash ele para de fazer as maluquices dele, basta resetar que tudo dá errado. Já tentei repetir o procedimento 3x e permanece o erro. Eu havia anteriormente tentado fazer flash com uma firmware AT simples (v2) que atende as especificações melhores do meu projeto (Arduino Uno + ESP8266 + MQTT) mas não tinha dado o resultado esperado e resolvi ir para a fw original atualizada e foi quando tudo deu errado. Pode, e parece provável, que fiz besteira. Teria alguma dica para me ajudar? Obrigado!
Anonymous user
2 years ago
I bought a new ESP and an FTDI and the problem stays the same... My God I burned another one!! What I'm doing: 1- Connect the ESP through FTDI or Arduino to PC 2- Sync with Flash Tools v3.4 3- Reset ESP and Flash the files: - Z:\\Downloads\\esp_iot_sdk_v1\\esp_iot_sdk_v1.5.0\\bin\\esp_init_data_default.bin >>> 0xfc000 - Z:\\Downloads\\esp_iot_sdk_v1\\esp_iot_sdk_v1.5.0\\bin\\blank.bin >>> 0xfe000 - Z:\\Downloads\\esp_iot_sdk_v1\\esp_iot_sdk_v1.5.0\\bin\\boot_v1.4(b1).bin >>> 0x00000 - Z:\\Downloads\\esp_iot_sdk_v1\\esp_iot_sdk_v1.5.0\\bin\\at\\512+512\\user1.1024.new.2.bin >>> 0x01000 - Z:\\Downloads\\ai-thinker-0.9.5.2.bin >>> 0x00000 4- Close Flash Tools 5- Disconnect RX/TX 6- Disconnect GPIO 7- Disconnect VCC 8- Open Termite 9- Connect VCC There is an Youtube Video here with the procedure that I recorded: https://www.youtube.com/watch?v=EWHWXsqbVSU&feature=youtu.be I've tried to change the order of disconnecting (first VCC, the RX/TX, first GPIO,..) nothing. Could you please share the files you used to update yours? felipe_braz@hotmail.com The last thing that could be happening is the files with problems.
Anonymous user
2 years ago
Hi, I've tried to do it and a lot of other stuff but appears my ESP really died. When I turn it on the blue and red light stays on all the time and when I connect it on my PC it start to write a lot of things really fast on the terminal (Termite or Putty). It doesn't stops until I put it in programming (or flash mode) (GPIO0 plugged on GND), but when I do it the ESP becomes unresponsive, it just allows me to flash it again.
Anonymous user
2 years ago
I've tried again following all the methods but the problem stay the same. After all done, when I turn on my ESP the blue led blinks then it stays on and starts sending a lot of crazy stuff through serial. And I found a log now when I've connected ESP on Termite: sl[00]lœž|[00]Œlà|[03][0C][0C][0C]Œ[0C]lì[0C]b|‚[03]ì[12]“r“bŒ[0C]cŒònožlonœãì[0C]c[1C]p[0C]lb[0E]lrlpóoà[10][02][0C][0C]‚[0C]l[0C][0C][0C][0C][0C][0C]b[0C]nâ|[02][0C]lŒŽbŒònoï[00]lŒl`[03][12][13]on[0C]l`[02][0E][03]orŽ“’n[0C][0C][03][0C]œ[0E]lpóoà[10][02][0C][0C]rŒœœâà[0C][0C][0C][0C]b[0C]nâ|[02]ìŽ[0C][0C]bŒònoï[00][0C][0C]l`[02][13][12]nolŒl`[03][0F][02]nrŽ“’n[0C][0C]sâ’`[02]`óo[0C][0C][0C]Ÿàc‚nlŒ[0C]Œóonî[00][0C][0E]lpónà[10][02][0C][0C]rŒœœâàìl[0C]c[0C]nâ|[02]Œ[0C][0C][0C]bŒònoï[00]lŒ[0C]l`[03][12][12]no[0C]Ž[0F]l[0F][02]ns’“o[0C][0C]rã’`[03][0F]r“’n[0C][0C]sâ“`[02]rlŒŒoœŒònoŸŒžãŒs[12]nonŒ[0C]lŒb[1C]sl[00][0C]ì[13]’lì[13]“’ƒ[02][0C][0C][0C][0C][0C]Œ[0C][0C]lll~rl[00][0C]ì[12]“llloœâ[00][0C][0C][0C][0C][0C][0C]Œ[0C]l’ll[0E]l[00][0C]ì[13]’lŒnà[02]oì“o~[12][03]Œ[0C][0C]Ž[0C][12]nž[0F]ll“’n[03][0C]ŸoŒ“ânlŸ|[13]b[13]l`[03]sldon't use rtc mem data rlŽƒrlŒžãŒc[0C]lŒcr|[0C][0C]ìònî€[12]noã[10][03][0C][02]ŒlnžŒìŽŒ[0C]lllìŒììŽ[1E]’ll`[02]€[02]nü[00]ŒŸâŒb[0C][0C]Ž[0C]Žb[0C][02][02]ŒžãŒc[0C]lŒcrrlrl ready AT ets Jan 8 2013,rst cause:4, boot mode:(3,0) wdt reset load 0x40100000, len 816, room 16 tail 0 chksum 0x8d load 0x3ffe8000, len 788, room 8 tail 12 chksum 0xcf ho 0 tail 12 room 4 load 0x3ffe8314, len 288, room 12 tail 4 chksum 0xcf csum 0xcf 2nd boot version : 1.2 SPI Speed : 40MHz SPI Mode : QIO SPI Flash Size : 4Mbit jump to run user1 Fatal exception (0): epc1=0x4010032b, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000 Fatal exception (0): epc1=0x4010032b, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000 Fatal exception (0): (...)
dp3496
4 years ago
After lot of failed trails with esp-01 firmware upgrade, finally worked with this article. weird part was failed to upgrade with FTDI232 UART chip but worked fine with using arduino as UART device. Finally done thanks @luciorocha
Anonymous user
7 years ago
Man, very important tip.. You have o connect the Reset Pin from the Arduino to GND, at least for the arduino mega.. I spent like 10 hours figuring out what was wrong.
luciorocha
2 years ago
Nop. You should remove the Arduino ATMega chip. It is the better choice to avoid problems.
Anonymous user
7 years ago
HI, I see that there is 2 packages need to be loaded on the same address (0x00000) * AT_v0.51_on_ESP8266_NONOS_SDK_V1.5.0\\at\\boot_v1.4(b1).bin >>> 0x00000 * ai-thinker-v1.1.1.bin >>> 0x00000 Do we have a problem here ? another thing that let think on an error here, when reading the popup text that is shown when you try to check the path for the packages that you loaded on the ESP Flash Download Tool v2.3, I can read 1MB (which is my case) BOOT+USER.BIN: blank.bin --> 0xFE000 esp_init_data_defaut.bin --> 0xFC000 boot.bin --> 0x0 User1.bin --> 0x1000 User2.bin --> 0x81000(NOT NECESSARY) master_device_key --> 0x7E000(IF USE ESP CLOUD SERVER) Now, finished flashing (using 0x00000 for both files), in the log I see that only 4 files were took into consideration. (boot_v1.4(b1).bin is not listed). For your information, I'm connecting ESP8266-01 with Ai Cloud inside (Black) connected to USB -> TTL Thanks
luciorocha
2 years ago
Hi, This post was updated. Take a look again. Thanks.
Anonymous user
7 years ago
Hello, I have a problem. Everithing works fine ultil i want to flash.I get the error in the terminal of the ESP FLASH DOWNLOAD. The error say ""get flash id error"". Can you help me?
luciorocha
2 years ago
Hi, Probably it is a configuration. Could you try this new reviewed post? Regards.
Anonymous user
2 years ago
Hello, it worked now. I flashed the new firmware. And when i disconnect the gnd and reconnect i get the "ready" but no response when i type AT. Can you provide further help. I have video and photos if you want.
Anonymous user
8 years ago
Dear friend, I follow your step until to step no.6. Pls tell me detail how to connect Arduino Uno with ESP8266, to check ESP8266 work after flash. Because there is no signal from Termite App. I try all bautrate from 9600 to 1152000. There is no response. I still be stuck at step no.6. How to solve it Pls?
luciorocha
2 years ago
Hi! Could you use this reviewed tutorial? I used many times without problems with ESP8266 black model. Hope this help!
hawkbraz
8 years ago
I've tried another method, different error but still an error : https://youtu.be/m84OSAWOERo What could be happening?
luciorocha
2 years ago
Hi, I posted this video that shows how I'm using ESP8266 to deploy sketchs in Arduino IDE. Hope this help. https://youtu.be/OHMpNgg1CAI Regards, Lucio ......... Citando "Hackster.io" <help@hackster.io>:
hawkbraz
8 years ago
After the upgrade my ESP became a little crazy... The blue led keeps on and when I try to connect to the Termite it start to write a lot of special characters without stopping. I've tried the process a lot of times but keeps the same. What could I do to save it?
luciorocha
2 years ago
Hi, hum... something is wrong with your setup. But I believe that still is possible to fix your esp. - Reset your esp some times to make sure that it is clean (verify if appears a blue blink when you reset your module). -Verify if you are using the same software that I used. -Verify all your settings and hexadecimal values in flash download tools.
luciorocha
2 years ago
You should enable the proper settings in Arduino IDE. I update the tutorial contents, you could take a look again. If you do not use the same settings of the Flash Download Tools in Arduino IDE, the serial monitor will show these strange characters. Hope this help.
luciorocha
2 years ago
Hi, Probably you are doing something wrong. I used this same procedure in two modules without problems a lot of times. Could you post your 'complete' procedure before post more questions? It is very difficult to help you without more detailed explanation about your circuit and so on. Also, why not post a video about how you are doing your procedure? Hope this help. Citando "Hackster.io" <help@hackster.io>:
luciorocha
2 years ago
Hi, Firstly, verify if your esp8266 is the same that I used (black).I updated the post. Could you try again? Thanks.
luciorocha
2 years ago
Hi, Thank you to create and share this video! I'll do a video too and share with you. I believe that you not burned you esp, but I observed that your circuit 'is not' the same that I used. Please, wait a while for a video.
luciorocha
2 years ago
Probably your error is when you turn off your circuit. It is necessary to unplug RX and TX wires first. Then, remove the wire connected to VCC. Then, you can plug VCC again to turn on your esp8266. Hope this help, thanks!
hawkbraz
2 years ago
Fico feliz em saber que também é brasileiro... rsrsrs Então eu tenho exatamente esse sim, AI Cloud Inside. O procedimento que fiz foi: 1- Com tudo desligado conectei o ESP ao meu Arduino Uno Genuíno 2- Liguei a alimentação e coloquei em modo flash (Aperta o Reset no ESP, Aperta o Flash no ESP, Solta o Reset e Solta o Flash) - Aperta é igual a fechar o circuito dos pinos 3- Sincronizei o ESP com o ESP Flash... 4- Apontei o caminho dos arquivos conforme instruções 5- Coloquei ele em modo flash novamente (mesmo procedimento anterior) e fiz o flash 6- Tudo correu bem sem erro 7- Desliguei a alimentação (do ESP e Arduino) 8- Liguei de novo e ele ficou doido Importante destacar que quando coloco em ele modo flash ele para de fazer as maluquices dele, basta resetar que tudo dá errado. Já tentei repetir o procedimento 3x e permanece o erro. Eu havia anteriormente tentado fazer flash com uma firmware AT simples (v2) que atende as especificações melhores do meu projeto (Arduino Uno + ESP8266 + MQTT) mas não tinha dado o resultado esperado e resolvi ir para a fw original atualizada e foi quando tudo deu errado. Pode, e parece provável, que fiz besteira. Teria alguma dica para me ajudar? Obrigado!
hawkbraz
2 years ago
I bought a new ESP and an FTDI and the problem stays the same... My God I burned another one!! What I'm doing: 1- Connect the ESP through FTDI or Arduino to PC 2- Sync with Flash Tools v3.4 3- Reset ESP and Flash the files: - Z:\\Downloads\\esp_iot_sdk_v1\\esp_iot_sdk_v1.5.0\\bin\\esp_init_data_default.bin >>> 0xfc000 - Z:\\Downloads\\esp_iot_sdk_v1\\esp_iot_sdk_v1.5.0\\bin\\blank.bin >>> 0xfe000 - Z:\\Downloads\\esp_iot_sdk_v1\\esp_iot_sdk_v1.5.0\\bin\\boot_v1.4(b1).bin >>> 0x00000 - Z:\\Downloads\\esp_iot_sdk_v1\\esp_iot_sdk_v1.5.0\\bin\\at\\512+512\\user1.1024.new.2.bin >>> 0x01000 - Z:\\Downloads\\ai-thinker-0.9.5.2.bin >>> 0x00000 4- Close Flash Tools 5- Disconnect RX/TX 6- Disconnect GPIO 7- Disconnect VCC 8- Open Termite 9- Connect VCC There is an Youtube Video here with the procedure that I recorded: https://www.youtube.com/watch?v=EWHWXsqbVSU&feature=youtu.be I've tried to change the order of disconnecting (first VCC, the RX/TX, first GPIO,..) nothing. Could you please share the files you used to update yours? felipe_braz@hotmail.com The last thing that could be happening is the files with problems.
hawkbraz
2 years ago
1- Reset your esp some times to make sure that it is clean (verify if appears a blue blink when you reset your module). - When I reset it the blue led goes on and keeps on all the time (doesn't blink or turn off) 2- Verify if you are using the same software that I used. - I'm using: FLASH_DOWNLOAD_TOOLS_V3.4.4 esp_iot_sdk_v1.5.0 ai-thinker-v1.1.1.bin 3- Verify all your settings and hexadecimal values in flash download tools. - I've tried flashing 6x. And each time I've checked the settings 4- Verify voltage and amperage if you are using a circuit similar at mine - I've tried to use the 3.3v connection from Arduino and an external power source 5- Remember my comment about using Arduino IDE to put firmware inside it - I'm gonna try doing it again I just thought a little strange using the same hexadecimal with the: AT_v0.51_on_ESP8266_NONOS_SDK_V1.5.0\\at\\boot_v1.4(b1).bin >>> 0x00000 ai-thinker-v1.1.1.bin >>> 0x00000 I'm gonna follow your tips once more and any news I'll tell you! Thanks again!
hawkbraz
2 years ago
Hi, I've tried to do it and a lot of other stuff but appears my ESP really died. When I turn it on the blue and red light stays on all the time and when I connect it on my PC it start to write a lot of things really fast on the terminal (Termite or Putty). It doesn't stops until I put it in programming (or flash mode) (GPIO0 plugged on GND), but when I do it the ESP becomes unresponsive, it just allows me to flash it again.
hawkbraz
2 years ago
I've tried again following all the methods but the problem stay the same. After all done, when I turn on my ESP the blue led blinks then it stays on and starts sending a lot of crazy stuff through serial. And I found a log now when I've connected ESP on Termite: sl[00]lœž|[00]Œlà|[03][0C][0C][0C]Œ[0C]lì[0C]b|‚[03]ì[12]“r“bŒ[0C]cŒònožlonœãì[0C]c[1C]p[0C]lb[0E]lrlpóoà[10][02][0C][0C]‚[0C]l[0C][0C][0C][0C][0C][0C]b[0C]nâ|[02][0C]lŒŽbŒònoï[00]lŒl`[03][12][13]on[0C]l`[02][0E][03]orŽ“’n[0C][0C][03][0C]œ[0E]lpóoà[10][02][0C][0C]rŒœœâà[0C][0C][0C][0C]b[0C]nâ|[02]ìŽ[0C][0C]bŒònoï[00][0C][0C]l`[02][13][12]nolŒl`[03][0F][02]nrŽ“’n[0C][0C]sâ’`[02]`óo[0C][0C][0C]Ÿàc‚nlŒ[0C]Œóonî[00][0C][0E]lpónà[10][02][0C][0C]rŒœœâàìl[0C]c[0C]nâ|[02]Œ[0C][0C][0C]bŒònoï[00]lŒ[0C]l`[03][12][12]no[0C]Ž[0F]l[0F][02]ns’“o[0C][0C]rã’`[03][0F]r“’n[0C][0C]sâ“`[02]rlŒŒoœŒònoŸŒžãŒs[12]nonŒ[0C]lŒb[1C]sl[00][0C]ì[13]’lì[13]“’ƒ[02][0C][0C][0C][0C][0C]Œ[0C][0C]lll~rl[00][0C]ì[12]“llloœâ[00][0C][0C][0C][0C][0C][0C]Œ[0C]l’ll[0E]l[00][0C]ì[13]’lŒnà[02]oì“o~[12][03]Œ[0C][0C]Ž[0C][12]nž[0F]ll“’n[03][0C]ŸoŒ“ânlŸ|[13]b[13]l`[03]sldon't use rtc mem data rlŽƒrlŒžãŒc[0C]lŒcr|[0C][0C]ìònî€[12]noã[10][03][0C][02]ŒlnžŒìŽŒ[0C]lllìŒììŽ[1E]’ll`[02]€[02]nü[00]ŒŸâŒb[0C][0C]Ž[0C]Žb[0C][02][02]ŒžãŒc[0C]lŒcrrlrl ready AT ets Jan 8 2013,rst cause:4, boot mode:(3,0) wdt reset load 0x40100000, len 816, room 16 tail 0 chksum 0x8d load 0x3ffe8000, len 788, room 8 tail 12 chksum 0xcf ho 0 tail 12 room 4 load 0x3ffe8314, len 288, room 12 tail 4 chksum 0xcf csum 0xcf 2nd boot version : 1.2 SPI Speed : 40MHz SPI Mode : QIO SPI Flash Size : 4Mbit jump to run user1 Fatal exception (0): epc1=0x4010032b, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000 Fatal exception (0): epc1=0x4010032b, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000 Fatal exception (0): (...)
luciorocha
2 Followers
•2 Projects
19
46
AI-Thinker AI-Cloud Inside ESP8266 Update Firmware(REVIEWED) | Arduino Project Hub
Anonymous user
2 years ago
Dear friend, I follow your step until to step no.6. Pls tell me detail how to connect Arduino Uno with ESP8266, to check ESP8266 work after flash. Because there is no signal from Termite App. I try all bautrate from 9600 to 1152000. There is no response. I still be stuck at step no.6. How to solve it Pls?