Thank you so much Miika - this finally worked. Note that in your video you show the connection settings in Arduino IDE to connect to a NodeMCU (12E). To get blink to actually work I had to set this in the IDE to a "Generic ESP8266 Module", set LED_BuiltIn to 1 and select the flash size 512kb FS: 64kb.
@miikakurkela56065 жыл бұрын
Thank you for your comment!
@leonaka65394 жыл бұрын
Thank you! I made the same modification and it also worked for me. I was wondering why it wasn't blinking! Thank you!
@manohar37874 жыл бұрын
much appreciated , your method worked for me
@cardansan4 жыл бұрын
Also worked here. Thanks!
@Sultan___2 жыл бұрын
thank you
@lescarneiro4 жыл бұрын
Thank you so freaking much! I lost my Friday night and most of this Saturday trying to finally tasmotize my first ESP-01 with that hacked pushbutton on a ESP-01 USB module with CH340 and with an FTDI using that voltage divider crap with no luck... Was almost giving up and sticking to just use NodeMCUs and you now took them to a new level! THANK YOU! Fisrt ESP-01 finally tasmotized!
@liveen3 жыл бұрын
this voice is weirdly calming, I like it!
@sjkba Жыл бұрын
Thanks for this! I spent all day yesterday trying to figure this out and your sketch got me up and running immediately!
@choudharyadarsh3 жыл бұрын
Awesome dude.....You have given a solution ..I am tired of looking......respect
@leonaka65394 жыл бұрын
Thank you so much! After one week going through many tutorials and USB serial adapters and connections I finally made it work! Amazing! I even bought the nodemcu because I had quit trying to flash the esp01 (and i bought 10 esp01). I was sad and now I'm happy again! So much easier! Thank you!
@leonaka65394 жыл бұрын
and it worked with 100u capacitor
@kd4pba5 жыл бұрын
Thank you! This video FINALLY helped me get my devices set up and working. I had tried using an Arduino Uno, a CH340 USB programmer and several other setups using a voltage divider and I honestly thought my devices were bad. I had no even considered I could use NodeMCU for this task. I have been working every night for weeks on this. Finally I this solution. I did have to set up a separate power supply using a 3 volt regulator. I moved on to flashing and actually wiped out everything by mistake but it was a good mistake because I then learned how to flash the latest firmware using the official tool. The documentation for this device is outstanding. Thank you again.
6 ай бұрын
Finally!!! Best tutorial!
@ravikumar-sp2uk5 жыл бұрын
Cant get enough of your voice
@Diego-Garcia2 жыл бұрын
Thanks, very well explained the purpose of each connection between ESP32 NodeMCU and ESP-01
@TitanGamesTV3 жыл бұрын
OMG! Thank you so much! I was trying this with my Arduino nano for eternity and your video really saved me a lot of trouble.
@osgaleo22294 жыл бұрын
hello friend this resource saves a lot of people i am using the same way in all modules here thank you very much for contributing valuable information.
@miikakurkela56064 жыл бұрын
Thank you for your feedback!
@luigidalessio96547 жыл бұрын
Thank you so much! I was going crazy while trying to program ESP-01 using una usb adapter and you save my time and my head! :) Cheers!
@miikakurkela56067 жыл бұрын
I'm glad if you liked it :-)
@kasyxkm6 жыл бұрын
same for me! this is the only working solution to do anything with ESP01
@spacefolder7 жыл бұрын
Thanks Miika for such wonderfull, informative, easy to follow, and "cozy" videos. Cheers!
@miikakurkela56067 жыл бұрын
Thank you for your kind feedback. I am glag if you liked the video.
@albertoroura80274 жыл бұрын
Thank you so much!!! my module is now working :)
@manecolooper7 жыл бұрын
Great video! best programming option for esp01 so far!
@miikakurkela56067 жыл бұрын
Thank you very much! I figured it out by myself one night, tried it on the next day and it worked :-)
@moridin11386 жыл бұрын
Great video! Like your description says, I havent seen other tutorials like this either out on the web or here on KZbin. So thanks for recording this and sharing!
@tusharpc6 жыл бұрын
Thank you SO MUCH, because of your perfect tutorial I have my Esp-12S board running!
@miikakurkela56066 жыл бұрын
You are welcome! I'm glad that the video was helpful.
@sayedur6 жыл бұрын
Excellent demonstration! Kudos!
@miikakurkela56066 жыл бұрын
Sayedur R Chowdhury, thank you for your feedback! I'm glad to hear that you liked it.
@petrosgia32606 жыл бұрын
Thank you very much for the turtorial!!It helped me a lot!!Working also on ESP-07
@miikakurkela56066 жыл бұрын
Petros G, I'm glad that you liked the video and I was glad to hear that it was helpful to you!
@RilosRanteS3 ай бұрын
could we do this with esp32 nodemcu to esp 32 breakboard?
@lotekjunky8 жыл бұрын
Keep up the good work!
@miikakurkela56068 жыл бұрын
Than you for your encouraging words!
@ChannelXY7 ай бұрын
With esp01 connected to nodemcu as shown, serial monitor shows garbage. How to fix that?
@saikatd90374 жыл бұрын
Make video on nodemcu connect to esp12f module.. please
@adruino123455 жыл бұрын
Thanks a lot! The nodemcu works perfect, but the esp01 do not blink after the sketch was flashed. But the following solution works fine: Chance the "Buildin LED" option in the Arduino IDE from 2 to 1. Now everything works well! Thanks
@miikakurkela56065 жыл бұрын
Thank you for your feedback!
@bexroot6344 жыл бұрын
Thank you so much! how can i program shelly 1 ? is it gonna work with node mcu
@electrotsmishar Жыл бұрын
Super cool
@renhit20056 жыл бұрын
Thanks for the video. I have tried all the steps as you described. Blinking program gets uploaded successfully. But after that blue LED does not glow at all. No blinking. I have put some print statements as below, none of these statements output on serial monitor; Strange!!! I assume program is not running. I have tried even removing ESP01 GPIO0 pin from D3 on NodeMCU and powering NodeMCU. No blinking! Any help? void setup() { Serial.println("In setup"); pinMode(LED_BUILTIN, OUTPUT); // Initialize the LED_BUILTIN pin as an output }
@kd4pba5 жыл бұрын
Had the same problem with Blink. I think that code is for an external LED? I moved onto a simple WebServer and that worked fine so you may want to test with another piece of code.
@rickybobbyracing91063 жыл бұрын
You kinda of sounds like Dracula :). But joking aside, great video, this helped me a bunch!
@kvk-ut2 жыл бұрын
Подскажите где найти скетч ?
@vis20207 жыл бұрын
Great it works with Lua firmware upload also!! Best option!
@miikakurkela56067 жыл бұрын
I'm glad that it worked there, too! Thank for your feedback!
@xennelul8 жыл бұрын
Looking forward to your explanation about Lora!
@miikakurkela56068 жыл бұрын
Will this link help you? docs.google.com/document/d/1yzKoLWDcgRxbQQSe5HlQSvLWO0Wfx9Jcvop6tipNw74/edit#heading=h.8syv5uuq5bi4
@drohnele37412 жыл бұрын
really helpfull
@cabeloDoPardal26 жыл бұрын
Thanks for your video! It outstands! I could make it for ESP-01 to accept the program. The blue led blinks, it gets uploaded.. but nothing after. I can't tell if the program runs.. actually it does not run because the blink example, when uploaded, do not blink and another examples as wifiAccessPoint and WifiClient both do not work. In my Arduino IDE's options I upload using Nodemcu reset method , Generic ESP8266 as target board and upload speed of 115200. I am using an alternate power supply exclusive for the ESP-01, linked with NodeMCU's ground (like shown in this video) and of course Arduino IDE. I have commented all Serial.prints.. and by the way, the ESP-01 gets hot! I power the ESP-01 after flashing, with just VCC and Ground plugged.. and still nothing. My upload process starts with grounding GPIO0 and powering ESP-01 while USB is connected to Nodemcu (as the power starts, the blue led blinks once - and I understand it as "prepared for upload"). Then I upload the program, normally (sometimes with GPIO0 still grounded, sometimes at D3 of nodemcu). After then I sometimes power ESP-01 with just VCC and GND and sometimes power without disconnecting it from nodemcu.. both methods made no difference to run the program that I just uploaded successfully.
@miikakurkela56066 жыл бұрын
Strange! Especially the hot ESP-01. I would try flashing the ESP-01 module wiht an ordinary USB-to-serial-converter. Then if the ESP-01 still works I would double check the wiring and the additional power supply and try again flashing with the NodeMCU. Please write back later and tell how you got this problem solved.
@cabeloDoPardal26 жыл бұрын
it is still working. Still uploading. The Nodemcu accepts programming too, when not used as a bridge for the ESP-01. Are there any special pin configuration to make it init by itself? I am just powering it with a 3V Battery or 3.3V source and the red light just stays on and nothing happens. I have seen that to make it boot to load GPIO0 (ESP-01) must be set to ground BUT to make it run the program uploaded, it must have GPIO0 set to High (I testes plugging GPIO0 of ESP-01 to 3.3V and still nothing more than the red light, but without dim). Afterwards, your video helped me very much and even may have helped me not to burn an ESP-01 because I may would not check for RX/TX voltages of the one I have before using. My problem now is beyond the issues of this video.. I assume the program got uploaded, but I can't tell if it runs or why it does not. I try to monitor Serial output (I upload sketches with serial output on and off) but it shows just garbage after plugging in the VCC from the Nodemcu to ESP-01. For the heating problem, I actually knew that I can program it without using external supply. The problem I had was not about low current available but just grounding ESP-01's GPIO0.. now it uploads every time. Thanks.
@cabeloDoPardal26 жыл бұрын
I will try flashing. I am using now a USB to Serial. Still the same happens. I am installing Termite to see if I can get some response from the ESP-01 to check which firmware is already running..
@cabeloDoPardal26 жыл бұрын
I got a soft brick on it because I tried many things to make it work (not just your approach). I did not noticed before that I had a USB to serial device available. I tested another of the same package and all worked well using the usb to serial. Strange. Well, now I have one esp-01 to play with testing firmwares and recovering from this soft brick.. I should learn a lot using it.
@Electromaniaworld6 жыл бұрын
Nice video. I tried to do same with my nodemcu but it fails to program. I have done exactly same connections. Any idea what might be wrong. I have esp01 and nodemcu v2. Finally I got a bare nodemcu board without esp8266 then it works. I will put video on my channel soon. But I still wonder why it doesn't program with nodemcu board (?)
@miikakurkela56066 жыл бұрын
Hi Electromania! Try adding the cspacitor.
@pacsmile6 жыл бұрын
I tried everything shown here, and it works perfectly, just had to change some values on the arduino IDE to match the flash memory on my esp-01. Now i have a weird problem, any program i upload using this method stays with a 74880 bps serial speed, i found out that speed by trial and error, any suggestions on what i could look into to solve that?.
@michaudjp5 жыл бұрын
Each time you upload a sketch from Arduino IDE, you're actually flashing the "active" ESP in your setup. If properly wired, it should be the ESP-01 and not the NodeMCU ESP-12E. If I recall, 74880 is kind of a debug feature only used in the firsts μs of the boot process. Add that line to your sketch: Serial.begin(115200);
@ahmadwaridi16 жыл бұрын
nice video! Thankyou :)
@miikakurkela56066 жыл бұрын
Ahmad Waridi, thank you for your ferdback!
@nicechubbchubbs6 жыл бұрын
Can you do Flash ESP-01 with Wemos D1mini?
@BrianLough6 жыл бұрын
Kind of, it doesn't have the EN pin broken out though. If you ground the RST pin of the Wemos, you can wire it up the same way, but you arent going to get the auto resetting magic. I'm also not sure if the GPIO0 of the ESP-01 will be grounded at the right time so you would probably need to ground that too
@MohammedRiad6 жыл бұрын
can i use arduino uno?
@neelmota6 жыл бұрын
how to program esp8266 after changing the firmware?
@miikakurkela56066 жыл бұрын
Hi Neel Rajgor! After changing the firmware the connections and the procedure of the video should work as earlier. What is the new firmware that you are having now?
@lodvries4 жыл бұрын
Miika, thank you for the nice tutorial. Uploading code via nodemcu is no problem, but I want to use a Wifi-Relais with the esp-01 integrated. I can communicate via a webserver on the esp-01, but the relais doesn't toggle. This is the code: #include const char* ssid = "xxxx"; const char* password = "passxxx"; #define RELAY 0 // relay connected to GPIO0 WiFiServer server(80); void setup() { Serial.begin(115200); Serial.println("Starten"); delay(10); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); } server.begin(); Serial.println("IP: "); Serial.println(WiFi.localIP()); } int value = 0; void loop(){ WiFiClient client = server.available(); if (client) { String currentLine = ""; while (client.connected()) { if (client.available()) { char c = client.read(); Serial.write(c); if (c == ' ') { if (currentLine.length() == 0) { client.println("HTTP/1.1 200 OK"); client.println("Content-type:text/html"); client.println(); client.print("Relais On"); client.print("Relais Off"); client.println(); break; } else { currentLine = ""; } } else if (c != ' ') { currentLine += c; } if (currentLine.endsWith("GET /H")) { Serial.println("EIN"); delay(10); byte close[] = {0xA0, 0x01, 0x01, 0xA2}; //byte close[] = {A0, 01, 01, A2}; Serial.write(close, sizeof(close)); } if (currentLine.endsWith("GET /L")) { Serial.println("AUS"); delay(10); byte open[] = {0xA0, 0x01, 0x00, 0xA1}; Serial.write(open, sizeof(open)); } } } client.stop(); } } This is the module I use: ESP-01 relais module (www.hobbyelectronica.nl/product/esp-01-relais-module/) Can you help me? What do I do wrong? I suppose it must be the code. I have also made a bridge between VCC and CHPD, but this doesn't help. Thank you in advance for your help. Yvonne
@lodvries4 жыл бұрын
Hi Miika, After trying again and again I tried to combine multiple codes and YES I succeeded. This is the new code, which works: #include const char* ssid = "xxx"; const char* password = "xxxx"; #define RELAY 0 // relay connected to GPIO0 WiFiServer server(80); void setup() { Serial.begin(115200); pinMode(RELAY, OUTPUT); Serial.println("Starten"); delay(10); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); } server.begin(); Serial.println("IP: "); Serial.println(WiFi.localIP()); } int value = 0; void loop(){ WiFiClient client = server.available(); if (client) { String currentLine = ""; while (client.connected()) { if (client.available()) { char c = client.read(); Serial.write(c); if (c == ' ') { if (currentLine.length() == 0) { client.println("HTTP/1.1 200 OK"); client.println("Content-type:text/html"); client.println(); client.print("Relais Einschalten"); client.print("Relais Ausschalten"); client.println(); break; } else { currentLine = ""; } } else if (c != ' ') { currentLine += c; } if (currentLine.endsWith("GET /H")) { Serial.println("EIN"); delay(10); digitalWrite(RELAY,LOW); //byte close[] = {0xA0, 0x01, 0x01, 0xA2}; //Serial.write(close, sizeof(close)); } if (currentLine.endsWith("GET /L")) { Serial.println("AUS"); delay(10); digitalWrite(RELAY,HIGH); //byte open[] = {0xA0, 0x01, 0x00, 0xA1}; //Serial.write(open, sizeof(open)); } } } client.stop(); } } Maybe this is a help for somebody else as well. Thanks for your time. Yvonne
@MrJirschiDD8 жыл бұрын
Hi Miika, I like your videos on KZbin. Great stuff!But the blink example of video #7 doesn't work with on my ESP-1 flashing via my ESP-12F. There exist the issue "Blink Example won't blink #2192" github.com/esp8266/Arduino/issues/2192Gorkde is using also an ESP-12F. Igrr wrote the pin of the built-in led has changed. I tried to use pin 2 but no blinking.Do you have an idea?Thank you :)
@MrJirschiDD8 жыл бұрын
github.com/esp8266/Arduino/issues/2192
@miikakurkela56068 жыл бұрын
Thank you for for your feedback and for the information! Do the other programs work? For instance: void setup(){Serial.begin(9600); Serial.print("Hello");} void loop() {}
@TallerCriollo6 жыл бұрын
me salvaste perro :v
@miikakurkela56066 жыл бұрын
Vad menar du med det?
@TallerCriollo6 жыл бұрын
Thanks friend, it was very useful for me
@bijenadhikari6 жыл бұрын
bro i need your email id for more consult.
@zsoltkallos4374 жыл бұрын
"Sorry man i hate your tone of voice and how you are speaking."
@lodvries4 жыл бұрын
Zsolt, what a stupid remark. I'm sorry for the child on your photo. Milka, you are a great teacher. I tried it with a programmer and with the Arduino, but this one is the first that works. thank you so much.