Arduino Mega 2560 with ESP8266 (ESP-01) Wifi, AT Commands and Blynk

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 มิ.ย. 2024
  • In this video, I show how to connect an ESP8266 to the Arduino Mega 2560, and I send data to my phone which is running the Blynk app. I can also control an LED from the Blynk app. This tutorial assumes that you already know how to create simple Arduino projects. Aside from that, no special skills are needed.
    Yes, you really DO need an external 3.3V supply to make this circuit work. Or you need an adapter like the one I use in the video. The 3.3V supply from the Arduino Mega does not provide enough current to run the ESP module.
    If you want to know how to connect an Arduino Uno to an ESP-01, watch my "sequel" video:
    • Arduino+ESP8266 Follow...
    This is a pretty long video, so I have included a "table of contents" below:
    0:00 Introduction
    1:54 Project Hardware
    8:38 Download AT Command firmware for the ESP8266
    12:53 Download the app to flash the firmware to the ESP8266
    16:42 Wiring up the circuit to flash the ESP8266
    19:17 Flashing the AT Command firmware to the ESP8266
    24:01 Wiring up the Arduino Mega 2560 + ESP8266
    27:05 Setting up the Blynk app to send and received data
    33:17 Write Arduino code for the LED and millis
    38:46 Confirm Wifi is working and connected to the Blynk cloud server
    39:19 Confirm the LED button works and Millis is displayed
    39:49 Add code to run the temperature sensor and push data to the Blynk app
    43:18 Confirm the temperature data is being sent to the phone
    44:16 Conclusion - Bye!
    There are several websites that I use in the video. The links are below:
    This is the first link I show in the video. It takes you to the documentation page of the Blynk website.
    docs.blynk.cc/#hardware-set-up...
    This is the link to get the AT_Command firmware
    github.com/Edragon/esp_firmwa...
    This is the link to get the flasher app that I used in the video:
    drive.google.com/file/d/1frCA...
    This page shows an example sketch for the DS18b20 sensor:
    www.sunfounder.com/learn/Sens...
    The Arduino sketch (sketch_nov25a.ino) shown near the end of the video can be found here:
    drive.google.com/drive/folder...
    ********************
    This project requires certain libraries to be loaded into your Arduino IDE. To get the ESP8266 and Blynk libraries, go to this site:
    help.blynk.cc/en/articles/5121...
    … click on "Download Blynk Library", and follow the instructions
    The temperature sensor used in this video requires two libraries that can be downloaded from SunFounder. The zip folder can be found here:
    www.sunfounder.com/learn/down...
    Open the zip folder and navigate to find…
    \Sensor_Kit_V2.0_for_Arduino.zip\Sensor Kit V2.0 for Arduino\Library\Ds18b20
    … and…
    \Sensor_Kit_V2.0_for_Arduino.zip\Sensor Kit V2.0 for Arduino\Library\OneWire
    Copy those two library folders into your Arduino library folder.
    **********************
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 546

  • @jinhangkhaw696
    @jinhangkhaw696 3 ปีที่แล้ว +1

    Definitely the best tutorial on using ESP to connect to MEGA as WiFi shield! I'm honestly very doubtful of the other channels as they just show you the steps and wouldn't let you know if their method works. I followed your steps and get it connected to Blynk!
    I used a different firmware and the alternative way of flashing showed, and it worked either.
    Helped me a lot + all the time saving and headcracking going through info of flashing etc, cheers for more videos like this.

  • @crocellian2972
    @crocellian2972 6 ปีที่แล้ว +2

    You did very well. Please do more. You’re complete, clear and modest. None of that is common on TH-cam. You have another subscriber.

  • @MrMickjbriggs
    @MrMickjbriggs 6 ปีที่แล้ว +30

    Possibly the best tutorial on TH-cam , thank you.

    • @finnbonnen4910
      @finnbonnen4910 3 ปีที่แล้ว

      True I watched so many videos and that’s the only one wich worked

  • @amosgarcia45
    @amosgarcia45 4 ปีที่แล้ว +1

    There are no words to describe how much you have helped me, thank you very much

  • @3LITEDJ
    @3LITEDJ 5 ปีที่แล้ว

    Thank you so much for this. I spent days trying to get this to work and your tutorial is the only one that managed to do so!!

  • @lafkihkhalid3473
    @lafkihkhalid3473 6 ปีที่แล้ว +2

    Great tutorial Man ! spending 45 minutes to explain good ideas with a very beautiful way that means you are awesome.Thanks a lot

  • @wolfgangeuen9799
    @wolfgangeuen9799 5 ปีที่แล้ว

    Nathan, your presentation is just perfect! Thanks a lot.

  • @garysenier2440
    @garysenier2440 6 หลายเดือนก่อน

    I have been struggling on this for days and couldn't find videos that explained it as thoroughly as you did/I needed. Thanks so so very much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @PriyanshuKumar-zd1lq
    @PriyanshuKumar-zd1lq 6 ปีที่แล้ว

    One of the best videos on this topic.Cleared all my doubts.

  • @arunaviswanathan2955
    @arunaviswanathan2955 5 ปีที่แล้ว

    a very well explained video - thanks a lot.... i was really frustrated in search for a proper video and got a big relief in seeing this video. it worked very well.

  • @dompower500
    @dompower500 5 ปีที่แล้ว +3

    Excellent video tutorial with complete clear and beautiful explanation. One of the best tutorial I have ever seen on youtube. Keep it up sir.

  • @kamranmu
    @kamranmu 6 ปีที่แล้ว

    The best tutorial about Blynk ESP8266 and Arduino

  • @minoruhaginoya2249
    @minoruhaginoya2249 6 ปีที่แล้ว +3

    Wow, thank you so much for such a detailed tutorial!! You're awesome!

  • @neurorad826
    @neurorad826 5 ปีที่แล้ว

    THE BEST AND CLEAR TUTORIAL ON THIS TOPIC! I GET LOST WITH INCORRECT AT Firware links founded in variuois Internet sites but the one you linked in perfect! About the version of the firmware (8M) or (32M) depends on the size of your ESP flash memory. I have a 8M and work nice with the AT 8M Firmare

  • @seandonelan5740
    @seandonelan5740 3 ปีที่แล้ว

    Very useful video, thanks for taking the time to create it.

  • @zaimaiman4742
    @zaimaiman4742 5 ปีที่แล้ว

    This video really help me up on my project. Thanks for helping me.

  • @gonzalorumeuclaret9533
    @gonzalorumeuclaret9533 6 ปีที่แล้ว +1

    OMG so helpful. I wish more people would be as detailed as you have been in this video. Thank you so much

  • @zarahmoran4699
    @zarahmoran4699 5 ปีที่แล้ว

    Most useful video i have ever watched. Much thanks for sharing the video sir! Survived my college thesis through this 😊

    • @duntyou8
      @duntyou8  5 ปีที่แล้ว

      Wow. Congratulations. Glad I could help.

  • @rajdeepdas86
    @rajdeepdas86 5 ปีที่แล้ว

    Thanks a lot for this amazingly detailed tutorial

  • @timmorgan3673
    @timmorgan3673 6 ปีที่แล้ว +1

    Thanks Nathan - A most useful tutorial - Cheers :)

  • @ico450
    @ico450 5 ปีที่แล้ว +7

    Sir u deserve a statue! U saved me from madness with my esp8266.. A BIG THANK YOU!

  • @bluuey
    @bluuey ปีที่แล้ว

    Your tutorial greatly helped, thank you!

  • @mehulvarshney6708
    @mehulvarshney6708 4 ปีที่แล้ว

    This is the most underrated TH-cam Channel!

  • @drumminjeff71
    @drumminjeff71 4 ปีที่แล้ว

    I totally agree with the last comment. Awesome job. Thank you so much for investing your time to help us out :-)

    • @drumminjeff71
      @drumminjeff71 4 ปีที่แล้ว

      I have created a similar project to turn on and off my aquarium heater that I watch with blank and it notifies me through text message if my parameters get out of range. But you're project here made it much more simple for me and I'm going to change my setup :-) thank you.

  • @engamin89
    @engamin89 4 ปีที่แล้ว

    YOU'RE AMAZING!!
    Thanks a lot for amazing video.

  • @MrKartos1
    @MrKartos1 4 ปีที่แล้ว +1

    Your method worked for me, I didn't use a TTL to USB or any kind of adapter.
    Instead I connected to Arduino Uno - RX->RX, TX->TX, EN->3.3V, VCC->3.3V, GND->Ground, GPIO-0->Ground, Arduino RESET->Ground (to bypass the ATMEGA, do this AFTER the Arduino is powered on). For power source I used the Arduino's 5V pin with 2 diodes for their voltage drop instead of a resistor voltage divider, for some reason it didn't work for (current probably or bad connection on my side).
    Also, very important! the moment I started flashing the firmware, I put the ESP-01's RST pin to ground in and out quickly and the GPIO-0 to ground only after I connected power to the ESP.
    Thanks! Turning an LED on and off with the Arduino is fun, doing it over WiFi got me stoked!
    Along with the LED I connected DC motors to L293D with their own power source (I had trouble connecting it to Arduino's ground / 5V) and it worked perfect with the Blynk Slider widget!
    Happy hacking!

  • @LillySchwartz
    @LillySchwartz 5 ปีที่แล้ว

    This tutorial is so well done! I was migrating a project from a nano to a mega and just couldn't get the serial connection to work. One look at your sketch and it was sorted, perfect! Two things I'd like to mention: First, you made an effort to conceal your wifi login in the video but neglected to remove it from the sketch you shared! Second: I found the AT command firmware way too glitchy and the connection kept going down especially after trying to send certain packets. I sorted this by using the micropython firmware. I think I had to rebuild the firmware in docker to get it to talk to the Arduino - baudrate -, but my connection is now rocksolid. I also let the ESP do some of the lifting and just trigger python functions via serial. So much more reliable and intuitive!

    • @duntyou8
      @duntyou8  5 ปีที่แล้ว

      Cool. So you only changed the firmware on the ESP module, and there were no changes to the Arduino code?

    • @LillySchwartz
      @LillySchwartz 5 ปีที่แล้ว

      ​@@duntyou8 Well, I had to change the commands being sent to the ESP. Different application. I had to send an XOR encrypted packet to a specific IP address in the network and whenever I did that with the AT firmware the first one would go through but the next one would reset the network connection. The encryption had to happen on the Arduino which is a pain in C. With python networking functions are super easy to build, so instead of building the packet on the Arduino I used the ESP for that and just sent the plain string over to the ESP via serial. Works great!

    • @duntyou8
      @duntyou8  5 ปีที่แล้ว +1

      Whoa… totally over my head :)
      But still, I’m glad that my video helped in a tiny way!

  • @GaryTube18
    @GaryTube18 6 ปีที่แล้ว

    Very helpful. It took me 2 days to setup the esp8266 XD

  • @mannhansen9337
    @mannhansen9337 6 ปีที่แล้ว

    Thanks. Very good and instructive. You saved me a lot of time collecting information.

    • @duntyou8
      @duntyou8  6 ปีที่แล้ว +1

      I know what you mean. Nothing in the video is difficult, but it took a week for me to find all the info, which was scattered across the internet. I hope the video ties it all together and saves other people time.

  • @coctakiesmaster4513
    @coctakiesmaster4513 5 ปีที่แล้ว

    excellent wifi controlled working video

  • @adarshtomy3483
    @adarshtomy3483 6 ปีที่แล้ว

    perfect one i was looking for it.thank you

  • @kedarprabhudessai
    @kedarprabhudessai 6 ปีที่แล้ว +9

    Nice video.. from those two versions 8M and 32M stands for modules flash storage esp 01 comes with 8Mbits storage that is 1MBytes and esp12e comes with 32Mbits that is 4MBytes.so you need to choose the right one for your module. By change u chose the right one and it worked.☺️👍

    • @duntyou8
      @duntyou8  6 ปีที่แล้ว

      Thanks for the info.

    • @3dgiftz
      @3dgiftz 2 ปีที่แล้ว

      Great

  • @karthikk4890
    @karthikk4890 6 ปีที่แล้ว

    The best video I've ever seen. Awesome keep up the good work!!!!!!!!!!!!!!!!!!!!!!

  • @ma.angelicamayor4605
    @ma.angelicamayor4605 3 ปีที่แล้ว

    Great Video! Continue inspiring us!

  • @cemcumhurklc5531
    @cemcumhurklc5531 4 ปีที่แล้ว

    At last it works thank you for your sharing.

  • @AlexeyLitvinov
    @AlexeyLitvinov 5 ปีที่แล้ว +15

    thanx! you can flash ESP using arduino, w/o flasher. Need just to connectc txtx, rx and on Arduino connect RST to GND.

  • @ayubi4070
    @ayubi4070 3 ปีที่แล้ว

    im glad i found this tutorial

  • @felixg4m3r31
    @felixg4m3r31 5 ปีที่แล้ว

    Your video is great. Very good explanation that even beginnerst will understand. I had a lot of Issues for example uploading the AT Firmware (dont know why but it alwasy said that there is no connection but there was... i tried it a lot of times even with 3 different Flasher softwares and sometimes it worked) the last problem was the it did not show me the Blynk sign in the Seriell Monitor but after i changed da Baud rate to 9600 it worked. Maybe i can help someone with that information but again i am very thankfull for this awesom video

  • @AfzalRaza54
    @AfzalRaza54 5 ปีที่แล้ว

    nice and detailed info for beginners

  • @TheLegend-mb8wc
    @TheLegend-mb8wc 4 ปีที่แล้ว

    thanks, I was wondering why my esp chip wasnt responding to any of my AT commands; turns out I needed to download firmware onto it first. Same for a similar bluetooth module btw. Nice job

  • @kennedyafia2337
    @kennedyafia2337 6 ปีที่แล้ว

    Bro you're a lifesaver. Thanks

  • @aaronglafenhein9565
    @aaronglafenhein9565 5 ปีที่แล้ว

    this is the best tutorial by far that i have found on the web!

  • @philipcherry1104
    @philipcherry1104 4 ปีที่แล้ว

    Thankyou soo much! I had been pulling my hair out over this

  • @kryptonitecorydo7152
    @kryptonitecorydo7152 5 ปีที่แล้ว

    this is the best tutorial i've ever seen.

  • @sneaker2589
    @sneaker2589 4 ปีที่แล้ว

    Thanks for this tutorial!

  • @pbalba
    @pbalba 5 ปีที่แล้ว

    Thanks a lot, man. Best tutorial ever.

    • @pbalba
      @pbalba 5 ปีที่แล้ว

      omg just realised you were my teacher at SLB!! El Tigre 2001!! =)

  • @ronenbarakc.p.a8985
    @ronenbarakc.p.a8985 4 ปีที่แล้ว

    great videao very very well explained - one of the best. you got the talent

  • @jeksenlisie7470
    @jeksenlisie7470 6 ปีที่แล้ว

    thanks dude for your great explanation..

  • @mcie6306
    @mcie6306 2 ปีที่แล้ว

    Great video thank you so much man, that's fantastic

  • @usersn300
    @usersn300 2 ปีที่แล้ว

    Also, well written description :)

  • @RadiofarafiltruBlogspot
    @RadiofarafiltruBlogspot 4 ปีที่แล้ว

    many thanks it works very well !!! i try many pojects on the net, but no one function. this it work on first try. i do alimentation of esp8266, direct from arduino mega, on pin 3,3v and it work very well

  • @vineshv7401
    @vineshv7401 5 ปีที่แล้ว

    Marvelous work thanks

  • @gustavstreicher4867
    @gustavstreicher4867 4 ปีที่แล้ว +2

    12:14 The 8M stands for 8Mbit, which is equivalent to 1MB (Megabyte). 32M stands for 32Mbit, which is equivalent to 4MB (Megabyte). This refers to the flash memory size of the ESP module. Some have 1MB, some have 4MB. I believe the ESP8266 (ESP-01) that you have has 1MB of flash memory, so the 8M flash version should be appropriate.
    Side note: If you are working on a Linux distribution, you can use esptool to flash the firmware onto the ESP module.

  • @wiseelu329
    @wiseelu329 5 ปีที่แล้ว

    Thanks, man. That really helps me.

  • @augustorosa3860
    @augustorosa3860 5 ปีที่แล้ว

    AMAZING !!!!! you are the best

  • @RishiKumar-ii8tu
    @RishiKumar-ii8tu 5 ปีที่แล้ว +1

    that was so helpful

  • @virtualpathshala21
    @virtualpathshala21 6 ปีที่แล้ว

    Thnx Awsome teachin ... Hope u will upload n teach us more

  • @ManuVenugopaltheblazedundead
    @ManuVenugopaltheblazedundead 6 ปีที่แล้ว

    Dude. Thank you so much. I've been following this tutorial for almost 2 days now and I finally got it working.
    A few things to add for someone who may face the same problem as me:
    1. for some reason, I couldn't get pin 18 and 19(TX1 and RX1) to work the way I want to so I ended up using pin 0 and 1.(RX0 and TX0). The only thing to keep in mind while doing that is, while uploading the code to the Arduino, you need to keep RX0 and TX0 free. After uploading the data, you can reconnect them. Also, in the code that you copy from the Blynk website, change ' #define BLYNK_PRINT Serial1 ' to ' #define BLYNK_PRINT Serial' because you're working with Serial and not Serial1.
    2.Also while flashing the firmware to the ESP module, I connected the RESET of the Arduino board to GND. It helped me, it may not help you.
    3. Also while flashing firmware, connect RX of ESP to RX of Arduino and TX to TX of Arduino.

    • @duntyou8
      @duntyou8  6 ปีที่แล้ว

      That's awesome. Two days ain't bad. It took me five days to work out all the problems prior to making the video. It is strange that Serial1 did not work for you. Did you try Serial2 or Serial3?

  • @dogeeatsveggies
    @dogeeatsveggies 3 ปีที่แล้ว

    thank you sir! God bless you! ♥

  • @MultiPeterxx
    @MultiPeterxx 4 ปีที่แล้ว

    thanks bro. really helpfull

  • @lokivsfortune
    @lokivsfortune 3 ปีที่แล้ว

    in my case 115200,with MEGA ,Many Thanks to you.. God Bless You.. :)

  • @duntyou8
    @duntyou8  5 ปีที่แล้ว

    That should work. Just make sure the supply can handle at least 500 mA.

  • @gustavovd
    @gustavovd 4 ปีที่แล้ว

    Good stuff.... Good stuff...

  • @nursaid7885
    @nursaid7885 4 ปีที่แล้ว

    you are the best

  • @caffeinatedinsanity2324
    @caffeinatedinsanity2324 4 ปีที่แล้ว

    Great video! Just a notice that at 40:58, the Wire.h library isn't necessary here, because in the code bit you imported, it is for the lcd that uses I2C, and you're not using any I2C devices as far as I know in this project.

    • @duntyou8
      @duntyou8  4 ปีที่แล้ว

      Thanks for the tip. I probably had an LCD connected in another version of the circuit.

  • @tougeattack123
    @tougeattack123 5 ปีที่แล้ว

    i got a nano that reads some data from a bike and i want that data to be transfered online how can i use esp to comunicate with nano ?

  • @jacobstech1777
    @jacobstech1777 4 ปีที่แล้ว

    life saver!!!

  • @Cheloman1975
    @Cheloman1975 6 ปีที่แล้ว

    very good!!!

  • @tonyx2203
    @tonyx2203 6 ปีที่แล้ว

    Nice video

  • @ClydeHoadley
    @ClydeHoadley 5 ปีที่แล้ว

    I got it all working with an UNO and an Adafruit Huzza esp8266 breakout module.

  • @kolayscada9244
    @kolayscada9244 4 ปีที่แล้ว

    Hi When I want to connect Esp8266 to the wireless network with AT codes, I get MEM CHECK FAIL error on the serial port monitor screen. It is stated in some sources that esp8266 may be corrupted. Do you have experience in this regard? Or can you give me some advice? I wish you convenience in your work.

  • @wafayoussef224
    @wafayoussef224 3 ปีที่แล้ว

    thank you so much

  • @shashanksh5057
    @shashanksh5057 5 ปีที่แล้ว

    Can I use a step down converter for 3.3v??

  • @tanmaymondal885
    @tanmaymondal885 5 ปีที่แล้ว

    yah I hope its the great tutorial on esp01 and arduino mega....

  • @OskarP2601
    @OskarP2601 4 ปีที่แล้ว

    Is it possible to connect without the WiFi module? Pretty sure the Arduino mega 2560 already has one built in? Might be wrong tho

  • @moelgandor2617
    @moelgandor2617 4 ปีที่แล้ว +1

    U SAVED MY F ING LIFE

  • @basejumper1379
    @basejumper1379 6 ปีที่แล้ว

    FYI, I have 2 different chinese chips that I bought this year, one blue one black. They came with AT version 1.2.0.0, SDK version 1.5.4.1. I needed to set the baud rate to 9600 for the black one and 74880 for the blue one in order to communicate with them.

    • @duntyou8
      @duntyou8  6 ปีที่แล้ว

      Interesting. I guess 115200 isn't as universal as I thought it was.

  • @huandinh2157
    @huandinh2157 ปีที่แล้ว

    thanks you very much

  • @jmeska
    @jmeska 6 ปีที่แล้ว

    Hello, Nathan can you tell more about the 4 pin breadboard adapter you use? Is it possible to program esp with it? Thanks!

    • @duntyou8
      @duntyou8  6 ปีที่แล้ว

      The four pin adapter does not have a convenient way to connect GPIO to ground, so it is not very helpful for flashing the ESP. I thought that was an annoying design flaw. If you are really determined, you could probably find a way to hack the adapter board and add wire connected to GPIO, and then you could flash the ESP.

  • @ynselectrotique2869
    @ynselectrotique2869 4 ปีที่แล้ว

    thank you very much

  • @melannieworld
    @melannieworld 2 ปีที่แล้ว

    I have a claw machine, which i would like to setup something like this to move the claw and drop the claw by using my computers keyboard. Any ideas, where to start?.

    • @duntyou8
      @duntyou8  2 ปีที่แล้ว

      I would try ThingSpeak. I have not used it myself, but it might be what you are looking for.

  • @refakmakeen5248
    @refakmakeen5248 5 ปีที่แล้ว +1

    HI WHEN I USE THE FLASHER INORDER TO UPLOAD THE FIRMWARE ONTO THE ESP-01 IT STATES 'INVALID HEAD OF PACKET ' YOU KNOW THE SOLUTION FOR THIS?

    • @tonib4307
      @tonib4307 3 ปีที่แล้ว

      You need the "8M-8M...bin"

  • @kieranj67
    @kieranj67 6 ปีที่แล้ว

    Thank you

  • @AdnanFKSA
    @AdnanFKSA 4 ปีที่แล้ว

    I've got problems while trying to flash ESP8266, connected with ESP-01 Adapter, through Arduino Mega. Is it even possible, or you have to have FTDI to USB converter to flash it?

    • @nathanchurch419
      @nathanchurch419 4 ปีที่แล้ว

      Yes, it is possible to use the Mega to flash the ESP-01. But there are some things that make it tricky. The Mega is a 5V device; the ESP is 3.3V device, so you have to use a level shifter or voltage divider on the RX line of the ESP module, otherwise you will probably damage the ESP module. Also, you need to power the ESP with 3.3V, and the 3.3V output from the Mega might not provide enough power, so you are still likely to need an external 3.3V supply for the ESP module. I do not have a tutorial that shows how to flash an ESP module with a Mega, but I do have a video that shows how to flash an ESP module with an Arduino Due. That video might help you a little. Go to time 12_38 in this video th-cam.com/video/ghylNSjYdMs/w-d-xo.html&

  • @herlismanlim9557
    @herlismanlim9557 2 ปีที่แล้ว

    A little help, sir ?
    i have this error, and have been looking everywhere online but to no avail. Thank you in advance!
    [1616] ESP is not responding

  • @greenspanfx
    @greenspanfx 5 ปีที่แล้ว

    Hi Nathan, does it happen to work with newer versions of the firmware? I currently have this one T version:1.3/0.0(Jul 14 2016 18:54:01)
    SDK version:2.0.050

    • @duntyou8
      @duntyou8  5 ปีที่แล้ว +1

      For all of my projects, I have used AT version:1.1.0.0(May 11 2016 18:09:56) SDK version:1.5.4(baaeaebb). I don't know what happens when newer versions are used. The Blynk website simply states that 1.1.0.0 works best. This is the link that I am referring to:
      help.blynk.cc/how-to-connect-different-hardware-with-blynk/arduino/esp8266-with-at-firmware

    • @greenspanfx
      @greenspanfx 5 ปีที่แล้ว

      @@duntyou8 Thank you for the detailed tutorial! It is working now! I was having a lot of trouble trying to update the firmware(the first part of your tutorial), and didn't even check the version my module had, I believed it was old. When I checked I noticed I had AT version:1.3.0.0(Jul 14 2016 18:54:01)
      SDK version:2.0.0(5a875ba), so I decided to skip that part, and yay! It is working now :D Thank you very much.

  • @tonyx2203
    @tonyx2203 6 ปีที่แล้ว

    8M is for the esp module with 8mbit flash memory n the 32M is for 32mbit flash memory module of the esp

  • @sivabalan8649
    @sivabalan8649 6 ปีที่แล้ว

    hello sir. thanks for making this video. its really very useful and innovative. also i need your help. it means, i want take and monitor the reading from atleast 10 arduino board by using mobile phone. its possible or not?

    • @duntyou8
      @duntyou8  6 ปีที่แล้ว

      Sending data from multiple Arduinos to your phone is possible. The same circuit shown in this video could be duplicated, and the data from all the devices could be monitored from one app. The Blynk app makes it easy. There are at least two scenarios to consider:
      1. You may have multiple Arduinos that all use the same token, and they all send their data to the Blynk server, and then all of the data from all the Arduinos can be monitored simultaneously from one Blynk project on your phone.
      2. You can also have multiple Arduinos, each with their own token. Then you can have a Blynk project that selects which Arduino you want to monitor at any given time. This is exactly the type of project that I am building now. I will have 20 Arduinos all around the world running special equipment. Each Arduino will be sending out a lot of data. I only need to look at one device at a time. I will have one Blynk app that will let me select the Arduino that I am interested in, and I can monitor and control that Arduino from my phone. Pretty cool.

  • @LoverOfToast43
    @LoverOfToast43 4 ปีที่แล้ว

    A question I have is why do you need the 5v to 3.3v adapter for the second circuit? Can't you use the breakout board for the ESP-01 along with your external 3.3v power supply that you used in the first circuit?

    • @duntyou8
      @duntyou8  4 ปีที่แล้ว +1

      Regarding the 3.3V power supply, when I received the power supply in the mail, it came with a female power jack connector… probably identical to yours. I cut the jack off, stripped the wires and added the pins that you see in the video. I do not remember where I got the pins from, but I probably just pulled them off of some jumper wires that were in my tool kit. I suggest you do the same with your 3.3V supply. When flashing, I sometimes get the “failed to connect” message. It is usually a setup problem. See this video, at time 4:00 : th-cam.com/video/knYVIo8kNkA/w-d-xo.html
      You are right. You can use the breakout board and the 3.3V supply for flashing and for the Blynk project. Functionally, they work the same. The 5-3.3V adapter board is a little more convenient for projects, but it cannot be used for flashing because it does not provide access to all the pins on the ESP-01.

    • @LoverOfToast43
      @LoverOfToast43 3 ปีที่แล้ว

      @@duntyou8 Thank you for the prompt and informative response

  • @mohammadrezahomayoun48
    @mohammadrezahomayoun48 5 ปีที่แล้ว

    Hello
    what is the range of esp8266 and the phone.I mean without home wifi router just the range between phone and esp module .did u test this?

    • @duntyou8
      @duntyou8  5 ปีที่แล้ว

      I did not test the range. In the video, the ESP module and phone are about about 20 m from my wireless router.

  • @jhojanpalomino7912
    @jhojanpalomino7912 3 ปีที่แล้ว

    Excelente.

  • @juanmanuel-ov3sd
    @juanmanuel-ov3sd 5 ปีที่แล้ว

    Hi, im not finish watching the tutorial yet but wanted to ask why you didnt use the 3v from arduino to the esp , thank you

    • @duntyou8
      @duntyou8  5 ปีที่แล้ว

      The 3.3V supply from Arduino Mega and Uno cannot provide enough current to run the ESP module reliably. The ESP can draw up to 430 mA. The 3.3V supply on the Mega and Uno is only rated to 50 mA.

  • @wesleywiggins86
    @wesleywiggins86 5 ปีที่แล้ว

    If you are using Mac and esptool.py...I had some trouble getting the right command arguments. This ended up working for me "--baud 115200 --after no_reset write_flash --flash_mode dout 0x00000". Changing flash_mode from dio to dout seemed to be the key.

  • @jonasbraga7436
    @jonasbraga7436 5 ปีที่แล้ว

    Hey, is the conversor USB to TTL only for install the newest firmware? So then, can I use the esp8266 with their default firmware?

    • @duntyou8
      @duntyou8  5 ปีที่แล้ว +1

      The ESP8266 will probably have AT Commands installed when you buy it. The ESP8266 might work with that firmware. If you are trying to duplicate the project shown in the video, then you need to check which version of AT Commands is installed on the ESP8266, because Blynk only works with certain versions of AT Commands. This is discussed at 10:23 and 20:55 In the video.

    • @jonasbraga7436
      @jonasbraga7436 5 ปีที่แล้ว

      @@duntyou8 okay, got it thanks

  • @benjaminbaptista1408
    @benjaminbaptista1408 4 ปีที่แล้ว

    Great tutorial, never seen like this before so clear information. But i have a question, my esp8266 connected to wifi but there no reply from blynk, do you know why?

    • @duntyou8
      @duntyou8  4 ปีที่แล้ว

      Hi. It could be your wifi has a firewall that prevents communication with Blynk. If possible, try a different wifi network. Other people have had problems similar to yours, in my third ESP8266 video, I discuss this more. Go to this video, th-cam.com/video/ghylNSjYdMs/w-d-xo.html , and jump to time 38:50.

    • @benjaminbaptista1408
      @benjaminbaptista1408 4 ปีที่แล้ว

      @@duntyou8 thanks for your kind reply. I'll try another wifi, Thanks Nat.

  • @erimelody4120
    @erimelody4120 2 ปีที่แล้ว

    Hello Nathan ,its great explanation , I have been following through the process however, the At_firmware_bin1.54 has been deleted(I cant find it on the link you provided). is any other option I can use .

    • @duntyou8
      @duntyou8  2 ปีที่แล้ว +1

      I think the link in the video is old and no longer works. Please try the link in that is provided in the description of the video... I just tried it... it takes you to Github. That should work.

    • @erimelody4120
      @erimelody4120 2 ปีที่แล้ว

      @@duntyou8 thankyou ,i am going to try it.

  • @tegasandhikam1554
    @tegasandhikam1554 6 ปีที่แล้ว

    Sir, does flashing firmware and flashing app work on esp8266 12E/F ? And how bout the wiring, does it same ? Thx for the help

    • @duntyou8
      @duntyou8  6 ปีที่แล้ว

      I have not used the -12, but I think the app will work and the wiring will be the same.

  • @neelix1993
    @neelix1993 4 ปีที่แล้ว

    Thank. You.

  • @icametoplay4478
    @icametoplay4478 3 ปีที่แล้ว

    ESP01 3V3 5V Serial Adapter can use to esp-01s?

    • @duntyou8
      @duntyou8  3 ปีที่แล้ว

      At 16:43 I show how to use the USB to TTL adapter. The voltage jumper on the adapter should be set to 3.3V. Then it can be connected to the ESP-01.

  • @joshuavarela5647
    @joshuavarela5647 4 ปีที่แล้ว

    i dont have the "#include " ive included the library getting an error