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

Поделиться
HTML-код
  • Опубликовано: 20 июл 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

  • @crocellian2972
    @crocellian2972 6 лет назад +2

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

  • @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.

  • @MrMickjbriggs
    @MrMickjbriggs 6 лет назад +30

    Possibly the best tutorial on RUclips , thank you.

    • @finnbonnen4910
      @finnbonnen4910 3 года назад

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

  • @garysenier2440
    @garysenier2440 7 месяцев назад

    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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @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.

  • @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

  • @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!!

  • @wolfgangeuen9799
    @wolfgangeuen9799 5 лет назад

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

  • @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.

  • @amosgarcia45
    @amosgarcia45 5 лет назад +1

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

  • @PriyanshuKumar-zd1lq
    @PriyanshuKumar-zd1lq 6 лет назад

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

  • @minoruhaginoya2249
    @minoruhaginoya2249 6 лет назад +3

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

  • @kamranmu
    @kamranmu 6 лет назад

    The best tutorial about Blynk ESP8266 and Arduino

  • @mehulvarshney6708
    @mehulvarshney6708 4 года назад

    This is the most underrated RUclips Channel!

  • @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

  • @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.

  • @ico450
    @ico450 5 лет назад +7

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

  • @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.

  • @zaimaiman4742
    @zaimaiman4742 5 лет назад

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

  • @seandonelan5740
    @seandonelan5740 3 года назад

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

  • @timmorgan3673
    @timmorgan3673 6 лет назад +1

    Thanks Nathan - A most useful tutorial - Cheers :)

  • @rajdeepdas86
    @rajdeepdas86 5 лет назад

    Thanks a lot for this amazingly detailed tutorial

  • @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!

  • @karthikk4890
    @karthikk4890 6 лет назад

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

  • @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!

  • @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.☺️👍

  • @engamin89
    @engamin89 4 года назад

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

  • @bluuey
    @bluuey 2 года назад

    Your tutorial greatly helped, thank you!

  • @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.

  • @adarshtomy3483
    @adarshtomy3483 6 лет назад

    perfect one i was looking for it.thank you

  • @ma.angelicamayor4605
    @ma.angelicamayor4605 3 года назад

    Great Video! Continue inspiring us!

  • @coctakiesmaster4513
    @coctakiesmaster4513 5 лет назад

    excellent wifi controlled working video

  • @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.

  • @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.

  • @philipcherry1104
    @philipcherry1104 4 года назад

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

  • @cemcumhurklc5531
    @cemcumhurklc5531 4 года назад

    At last it works thank you for your sharing.

  • @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

  • @aaronglafenhein9565
    @aaronglafenhein9565 5 лет назад

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

  • @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

  • @ayubi4070
    @ayubi4070 3 года назад

    im glad i found this tutorial

  • @kennedyafia2337
    @kennedyafia2337 6 лет назад

    Bro you're a lifesaver. Thanks

  • @sneaker2589
    @sneaker2589 4 года назад

    Thanks for this tutorial!

  • @AfzalRaza54
    @AfzalRaza54 5 лет назад

    nice and detailed info for beginners

  • @kryptonitecorydo7152
    @kryptonitecorydo7152 5 лет назад

    this is the best tutorial i've ever seen.

  • @pbalba
    @pbalba 6 лет назад

    Thanks a lot, man. Best tutorial ever.

    • @pbalba
      @pbalba 6 лет назад

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

  • @jeksenlisie7470
    @jeksenlisie7470 6 лет назад

    thanks dude for your great explanation..

  • @ronenbarakc.p.a8985
    @ronenbarakc.p.a8985 4 года назад

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

  • @vineshv7401
    @vineshv7401 5 лет назад

    Marvelous work thanks

  • @usersn300
    @usersn300 2 года назад

    Also, well written description :)

  • @mcie6306
    @mcie6306 2 года назад

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

  • @augustorosa3860
    @augustorosa3860 5 лет назад

    AMAZING !!!!! you are the best

  • @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?

  • @wiseelu329
    @wiseelu329 5 лет назад

    Thanks, man. That really helps me.

  • @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

  • @duntyou8
    @duntyou8  5 лет назад

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

  • @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 ?

  • @RishiKumar-ii8tu
    @RishiKumar-ii8tu 5 лет назад +1

    that was so helpful

  • @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.

  • @ClydeHoadley
    @ClydeHoadley 5 лет назад

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

  • @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.

  • @dogeeatsveggies
    @dogeeatsveggies 3 года назад

    thank you sir! God bless you! ♥

  • @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"

  • @joshuavarela5647
    @joshuavarela5647 4 года назад

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

  • @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

  • @virtualpathshala21
    @virtualpathshala21 6 лет назад

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

  • @shashanksh5057
    @shashanksh5057 5 лет назад

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

  • @caffeinatedinsanity2324
    @caffeinatedinsanity2324 5 лет назад

    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  5 лет назад

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

  • @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

  • @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.

  • @techmj4837
    @techmj4837 6 лет назад +2

    Please help for esp connection to LCD, ultrasonic sensor,

  • @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.

  • @yewchunyen7704
    @yewchunyen7704 6 лет назад

    Sir, i can upload the program to UNO board, but in Blynk it shows project not online yet. I am not able to control it. What should i fix?

    • @duntyou8
      @duntyou8  6 лет назад +1

      Make sure you have changed the Arduino code to include your wifi settings and the Auth Token.
      If you are using an Uno, you will have to change the code and the TX and RX connections.
      In my code for the Mega, we have this:
      // Hardware Serial on Mega, Leonardo, Micro...
      #define EspSerial Serial1
      // or Software Serial on Uno, Nano...
      //#include
      //SoftwareSerial EspSerial(2, 3); // RX, TX
      If you are using the Uno, you should change the code to this:
      // Hardware Serial on Mega, Leonardo, Micro...
      //#define EspSerial Serial1
      // or Software Serial on Uno, Nano...
      #include
      SoftwareSerial EspSerial(2, 3); // RX, TX
      On the Mega, I connected
      ESP-01 RX to Mega pin 18
      ESP-01 TX to Mega pin 19
      On the Uno..
      ESP-01 RX to Uno pin 3
      ESP-01 TX to Uno pin 2
      If you already did those things,
      Send a photo of your circuit.
      Send your sketch
      Send a screen shot of the serial monitor.
      nathan_church@hotmail.com

  • @Nate.mp4
    @Nate.mp4 6 лет назад +6

    "Millis" = "Mill-ees" as in Milli-seconds

  • @Chef_engineer...
    @Chef_engineer... Год назад

    Hello sir I followed these procedures but in my serial monitor [1527]ESP is not responding. Like this coming please give me a solution for this error sir 🙏

  • @ktoh6490
    @ktoh6490 6 лет назад

    Hi Mr Nathan,
    I had gotten this error from the Serial Monitor upon attempting to connect to the Wifi using ESP8266
    [1590] Failed to disable Echo
    and..
    [14611] Failed to enable MUX
    [15621] Failed to set STA mode
    after which it just goes to..
    [1579] ESP is not responding
    (after multiple reset)
    Thank you for your advise.

    • @duntyou8
      @duntyou8  6 лет назад

      The message Failed to enable MUX is probably nothing to worry about. I see it from time to time, and it does not seem to cause any problem… my ESP still works and I can connect to wifi.
      I don’t remember seeing the messages about Echo and STA mode. I don’t know what they mean.
      The message ESP not responding is a very common problem. It can be caused by many things. Usually it is caused by a wiring or setup problem.
      Check/confirm these things:
      Are you using and ESP-01? If yes, that is fine. If not, then the setup might be different than what I show in the video.
      Which Arduino are you using? If it is a mega, that is fine. If it is an Uno or something else, then a lot of things change in the setup.
      Make sure the ESP module is powered with a separate 3.3V power supply that can provide at least 400 mA. Do not try to power the ESP module with the Arduino 3.3V output.
      Were you able to flash AT commands to the ESP module? If yes, that is a good sign that the ESP module is working. It also ensures that the baud rate of the ESP module is set to the default value of 115200.
      Make sure you can flash the ESP before trying the rest of the project.
      After flashing, make sure you disconnect GPI0 from ground.
      Make sure the power supply ground, the Arduino ground and the ESP module ground are all connected.
      How are you doing the level conversion from 5V to 3.3V? Is it the same as in the video?
      Send a photo or a schematic of your circuit: nathan_church@hotmail.com

  • @MultiPeterxx
    @MultiPeterxx 4 года назад

    thanks bro. really helpfull

  • @deepakraj6730
    @deepakraj6730 4 года назад

    Plz solve my problem :- Connect minimum 3 Nodemcu devices with one Arduino-Uno OR Raspberry Pi( As
    controller ) to Established connection between all the Nodemcu.
    And on the basis of some range of virtual keys( like 10 keys per Nodemcu ) of Blynk
    App, the controller communicates with there respected Nodemcu and do the work as per
    data provided by Blynk App.

  • @darylmanago1247
    @darylmanago1247 6 лет назад

    Hi Sir, I have problem when I flash the ESP8266-01, I follow your instruction after the flashing but when I'm in the Serial monitor, there are continues flowing of garbage data horizontaly in serial monitor. Thanks Sir.

    • @darylmanago1247
      @darylmanago1247 6 лет назад

      I already sent a video of my work sir. Thank You sir.

  • @tanmaymondal885
    @tanmaymondal885 6 лет назад

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

  • @gustavovd
    @gustavovd 4 года назад

    Good stuff.... Good stuff...

  • @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.

  • @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

  • @nursaid7885
    @nursaid7885 4 года назад

    you are the best

  • @jacobstech1777
    @jacobstech1777 4 года назад

    life saver!!!

  • @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 : ruclips.net/video/knYVIo8kNkA/видео.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 4 года назад

      @@duntyou8 Thank you for the prompt and informative response

  • @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.

  • @AfzalRaza54
    @AfzalRaza54 5 лет назад

    but for me it says...failed to disable echo

  • @tonyx2203
    @tonyx2203 6 лет назад

    Nice video

  • @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.

  • @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.

  • @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, ruclips.net/video/ghylNSjYdMs/видео.html , and jump to time 38:50.

    • @benjaminbaptista1408
      @benjaminbaptista1408 4 года назад

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

  • @Cheloman1975
    @Cheloman1975 6 лет назад

    very good!!!

  • @mohammadrezahomayoun48
    @mohammadrezahomayoun48 6 лет назад

    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  6 лет назад

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

  • @moelgandor2617
    @moelgandor2617 4 года назад +1

    U SAVED MY F ING LIFE

  • @jayatejakalla5190
    @jayatejakalla5190 5 лет назад

    hii sir at 20.46 sec in a video, it is showing WIFI Connected after ready. I followed the exact same steps but I am getting WIFI DISCONNECT after ready. Could you please help me.

    • @duntyou8
      @duntyou8  5 лет назад

      Hi,
      Many people asked about that. Don't worry if don't see the Wifi messages. As long as you see "ready", then you are good to go. If you want a longer explanation, go to my other video:
      ruclips.net/video/knYVIo8kNkA/видео.html
      at time 1.05.

  • @gauravchhaidy9576
    @gauravchhaidy9576 6 лет назад

    we can use the arduino mega itself for flashing the firmware to esp 8266..... why did you use FTDI, 3.3v adapter etc.... there is no such need if we have arduino....Arduino mega can work as serial interface between esp8266 and computer

  • @lokivsfortune
    @lokivsfortune 3 года назад

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

  • @abdelrahmangamalmahdy
    @abdelrahmangamalmahdy 6 лет назад

    Do we have to download the upgrade for the firmware, doesn't the esp8266 already have a firmware installed on it !!

    • @duntyou8
      @duntyou8  6 лет назад

      A lot of ESP modules come with AT commands firmware installed. Some do not. Even the modules that come with AT commands installed, the firmware version may not be compatible with Blynk. So it is always best to check the version, as demonstrated in the video. The Blynk website lists the tested versions of AT commands that are compatible.help.blynk.cc/how-to-connect-different-hardware-with-blynk/arduino/esp8266-with-at-firmware