Arduino+ESP8266 Follow Up Video (and how to connect Uno+ESP8266)

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • This is a sequel to a video I made earlier:
    Arduino Mega 2560 with ESP8266 (ESP-01) Wifi, AT Commands and Blynk
    • Arduino Mega 2560 with...
    In this video, I address several questions and problems that people had regarding the previous video, and I show how to connect an Arduino Uno+ESP8266+Blynk.
    0:02 Introduction
    0:58 Why don't I see "WIFI CONNECTED?"
    2:40 Things to check in your circuit before flashing
    3:19 Close Arduino windows before running flasher
    4:00 Flashing the ESP-01
    4:14 "Failed to connect"
    5:15 Check firmware status again
    6:30 Check Serial Monitor Settings
    6:54 Make sure libraries are installed
    8:11 Demonstration of Arduino Uno + ESP-01 + Blynk
    9:00 Explanation of Software serial and baud rate
    9:50 Change the default baud rate of the ESP-01
    11:32 Schematic for Arduino Uno + ESP-01
    14:30 Wiring up the circuit
    15:18 Create the Blynk project for an Arduino Uno
    16:56 Write the Arduino sketch
    20:17 Upload the sketch to the Arduino Uno
    20:35 Run the Blynk app and turn the LED on and off
    This is the link to get the AT_Command firmware
    www.electrodragon.com/w/File:At_firmware_bin1.54.zip
    This is the link to get the flasher app that I used in the video:
    drive.google.c...
    The Arduino sketch (Uno_ESP8266.ino) shown near the end of the video can be found here:
    drive.google.c...

Комментарии • 171

  • @aamirayub8564
    @aamirayub8564 6 лет назад +7

    SoftwareSerial can only handle 9600 ... this is what i've been trying to find and couldn't elsewhere except this video ... thanks a lot!

  • @KP-nc9gk
    @KP-nc9gk 6 лет назад +1

    I'm so amazed on how passionate you are on replying and helping each people asking for your help in your video comment section. And even willing to help them via email. You deserve a sub! Thank you for this wonderful tutorial! One day your subscribers will grow. Keep it up sir!

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

    I actually had some issues with baudrate commands and I fixed it!
    I'm going to leave this here as a note for people who may have baudrate change issues (to 9600 or any pretty much)
    Apparently the command Nathan showed was a bit different for my firmware, so it was AT+IPR=9600.

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

      Do not use AT+IPR to set boud! Use AT+CIOBAUD=9600

  • @djrachot
    @djrachot 5 лет назад +2

    The best video about arduino + blynk + esp8266 ever.

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

    I watched both your vids on ESP-01 setup. Got it halfway working from the first vid. Got it all the way working with this vid. The high baud rate was causing login timeouts. I would get a successful ping, then a login timeout. I followed your instructions to change the ESP to 9600 and my Aduino UNO is now talking to blynk! YES! Now I have 100 other things to figure out, but this is a huge milestone reached for my project. Thanks so much for taking the time to make these videos.

  • @Good.News777
    @Good.News777 4 года назад

    I dont know how to thank you. You introduced the best firmware update so far. I tried different sources but none worked. Again thank you for sharing valuable details about ESP8266 01.

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

    This is an excellent video! I was successful in setting my first Blynk project following the instructions! The attention to details (including the reminders on common mistakes!) really helps!
    Thank you so much, Nathan!

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

    I even ran into issues after changing the badu rate to 9600. My esp started responding.
    This was awesome demo for connecting esp-01 module. For starters it is really a head ache

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

    I'm using uno and esp12f. Perfectly running just like your project. Thanks a lot sir...

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

    I wish I had found this video sooner, spent few days figuring this out by trial and error :-/. You can also use softserial to program the ESP module and set baud rate without the need for a FTDI adapter. I used the WiFi once connected to flash the sw OTA as well without the flasher program.

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

    thanks man this tutorial is really helpful, my esp is now properly got working :)

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

      I saw your video tooo somehow for me its not working maybe because im using arduino nano

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

    Hi Nathan, in the serial moniter I am not getting the output that says "Ready ping:...ms" after the output "Connected to WiFi" that appears at 21:13 of your video. I have restarted it several times, but in vain. Could you suggest a solution?

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

      There are a few things that can cause this problem. 1) Perhaps the wifi network you are using has firewalls that block communication with the Blynk server. That is the case with my wifi at work. Try a different wifi network. 2) How are you powering your esp module? If you are trying to use the 3.3V supply from the Arduino... don't. You have to use an external 3.3V supply. 3) Make sure you have the Auth Token entered correctly in the Arduino sketch.

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

    why dont use D0 (tx) dan D1 (rx) for serial communication? pls help me

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

      For most Arduino circuits and sketches, the default configuration uses TX(D1) and RX(D0) for the Arduino's main serial output. The same serial information going to your serial monitor (through the USB cable) gets sent to D0 and D1 on the Arduino board. That is the "default" configuration. It can be changed, but I haven't tried to figure out how to change it. Since D0 and D1 are reserved for the serial output, you cannot use it for communication with the ESP module. So as demonstrated in this video, I use pins 2 and 3 for the software serial communication with the ESP module.

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

    Thanks for the video! Very clear and informative.

  • @hossamel-kharbotly4803
    @hossamel-kharbotly4803 3 года назад

    you are truly the best ever.

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

    Really a big thank you! Appreciated a LOT!

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

    Nathan thank you for this wonderful tutorial.

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

    Can we use the 3.3 v supply from arduino?

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

      The 3.3V supply on the Arduino Uno and Mega is only rated to about 50mA. Sometimes that is enough to run the ESP8266, but it is not reliable. Sometimes it works, sometimes it doesn't. That makes it really difficult to troubleshoot your circuit when there are problems. The ESP8266 can draw up to 400mA, so I strongly recommend using an external 3.3V supply if you are using any Arduino... except the Arduino Due... the 3.3V supply on the Arduino Due can supply up to 800mA.

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

      @@duntyou8 im planning to use wemos d1,cna you help me on my third year project?, I need to send my temperature data from lora receiver to the cloud

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

      @@duntyou8 here is my whatsapp number +60185724315 and my email haziqhelmy3@gmail.com

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

      I do not have any experience with Wemos D1, but if I were starting a project using that board, I would go to the Blynk website. help.blynk.cc/en/ I am sure they have guidance that will help you. Here is one video that should get you started: community.blynk.cc/t/nodemcu-step-by-step-video-tutorial/12290

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

    Thank you so much for this amazing tutorial, helped a lot :) :)

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

    liked............... Subscribed..................clicked the bell icon.............. interesting tutorial...........

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

    Sir can you please explain, as to why only the Arduino Software Serial Tx line to ESP module uses the voltage divider method and not the Rx line? Aren't both of them at 5V levels?
    Thanks.

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

      Only the TX line going from the Arduino is a 5V signal; it could damage the ESP module, so it has a voltage divider. The TX line going from the ESP module to the Arduino RX is operating at 3.3V. That level is sufficient for the Arduino to recognize as HI, so we do not need to do any level shifting. For more serious projects, people might prefer to use a bidirectional level shifter like the TXB0104, but for the simple example in the video, the voltage divider is good enough.

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

      Thank You so much for clearing that up. I honestly didn't expect such a prompt response. I really liked your videos (including the 1st part). The videos were to the point and all the details are explained in a lucid manner. Once again, thanks a lot.

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

      thank you for the answer, i was looking for this

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

    you are my saviour dude!!!! Thankkssss!!!!

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

    11:33 So this circuit requires the voltage divider to go from Arduino's 5v Tx to the ESP module's 3.3v Rx. Going from the ESP module's Tx to the Arduino's Rx is 3.3v?

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

      Correct. Sending a 3.3V signal from the ESP TX to the Arduino Uno RX is not a problem. The Uno recognizes 3.3V as high. Sending a 5V signal from the Uno TX to the ESP is not a good practice, and it could damage the ESP; that is the reason for the voltage divider.

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

    I failed to do the flashing, the cause could be from power? I use a 9v adapter and I convert 3.3v with a stepdown module and I think the voltage is unstable and sometimes the esp8266 module is very hot. What adapter do you use?

  • @SandeepKumar-el8zc
    @SandeepKumar-el8zc 6 лет назад

    Dear sir please make a video on esp01 programming with ESplorer software .

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

    hi nathan...your tutorial is very great and helped me a lot... i had done exactly as this video but my led doesn't light up... other setting is run successfully except for the last line in the serial monitor doesn't show " Ready ( ping = 24ms) "...can you give me an idea to solve this problem? thank you in advanced

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

      There are a few things that can prevent getting the ping. 1) Perhaps the wifi network you are using has firewalls that block communication with the Blynk server. That is the case with my wifi at work. To solve this, try a different wifi network. 2) How are you powering your esp module? If you are trying to use the 3.3V supply from the Arduino... don't. You have to use an external 3.3V supply. 3) Make sure you have the Auth Token entered correctly in the Arduino sketch.

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

    bro nathan ,I want to ask, if I connect rx tx arduino and esp to 2, 3 and I upload the serial software program and I open the serial monitor and I run the AT command and nothing happens, on the contrary if rx tx is connected to 0.1 when uploading the program I found an error (avrdude .. programming not sync) like that and the upload status stopped...
    if I use Ftdi does it only need to upload an empty program and only open the serial monitor after upload?

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

    sir make a video on Sparkfun ESP8266 wifi shield with uno and sensor data upload operation on blynk..It may be very helpful on Iot projects..Plz

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

    when i go on to serial monitor It doesn't show anything and when trying to do anything doesn't work

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

      The video shows a step-by-step process. Start from the beginning of the video, finish each task, and then when you run into problem, let me know where you are in the video (time stamp). From your message above, I cannot decipher where you are in the process, so I cannot guess what the problem could be. For example, did you flash the ESP module? Did you change the baud rate to 9600?

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

    I love you man! thanks

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

    Sir, thanks for this tutorial. But, i want to ask you. Are the esp8266 for using to WiFi Shield for arduino Uno should have a external power 3.3 v?.

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

      The purpose-built Arduino ESP8266 Wifi shields probably use a suitable voltage regulator to power the ESP8266. I think you do not need an external 3.3V supply for those shields.

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

      @@nathanchurch419 i already try use adapter who convert the voltage to 3.3 v, in my case. My project can connect once with android WiFi sharing but, if i use my home WiFi that is not connect again and theres is a explanation in serial monitor, login time out.

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

    Hello Nathan, I'm trying to connect my GPS data from a Neo 6m GPS sensor through an ESP8266(both of which are connected to an Arduino Uno) to thingspeak. I'm still stuck on sending the data to Thingspeak. Can I get some guidance from you?

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

      Hi, I cannot help much. I do not have any experience using ThingSpeak, but it seems other RUclipsrs have connected an Uno+8266 to Thingspeak. (For example ruclips.net/video/sPfJ9f1FuUE/видео.html ) This would be my approach… first get the communication working between the Uno+8266 and Thingspeak using very simple data, like millis. Then add your GPS data to the system.

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

    So I flashed the firmware to the ESP8266 using the CH304G (www.amazon.com/gp/product/B07KF119YB/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1). The Problem is that when I send the AT commands to the serial monitor it shows nothing, not even the garbage. I flashed it multiple of times and even updated the CH304G drivers. Im using the right COM port. Anybody know what's wrong with me?

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

    Hey Nathan, I’m a beginner and I’m working on a project that is pretty much similar to this one. I wanted to ask if it is mandatory to use the USB to TTL adaptor ? I don’t have one and I’m desperately looking for any kind of help
    Thanks a lot

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

      Hi Meriam, the USB to TTL adapter is not really necessary. If you have an Arduino board, you can use it to do the same thing as the USB to TTL adapter, and flash the ESP module. Wiring up the Arduino to perform the flashing is a little more tricky compared to the adapter, and the wiring depends on what Arduino board you intend to use. If you have an Arduino Due, that is best because it does not need an external 3.3V power supply and you do not need to do any level shifting. But the flashing can still be done with an Arduino Uno or Arduino Mega... it just takes a bit more hardware. There are some websites (and maybe youtube videos) that show how to do it. If you want my help, let me know what kind of Arduino board and ESP module you have.

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

      Nathan Church Thank you so much! You’ve been most helpful .. you just answered all the questions that I had in mind, I appreciate it

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

    Is there a way to initialize the connection without needing to open the serial monitor?

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

      You do not need to open the serial monitor to start the Wifi connection. The connection will start anytime the Arduino sketch gets to the Blynk.begin command.

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

      ElectroMech Playground thanks a lot

  • @hicham.m8867
    @hicham.m8867 6 лет назад

    Hi
    i try your project but i have in serial monitor :[1605] ESP is not responding

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

      Hi,
      The information that you provided isn’t enough to help me find your problem. I need to see your Arduino sketch and a schematic (or photo) of your circuit. You can send it to my email: nathan_church@hotmail.com . Anyway, here are a few things that people sometimes get wrong:
      Make sure all ground lines are connected.
      Make sure you flash the ESP module and confirm you have the correct AT commands firmware (as shown in the video.)
      Make sure the ESP module and the Arduino are “speaking” with the same baud rate (as shown in the video.)
      GPIO should only be connected to ground when flashing, otherwise it should be disconnected.
      It is best to use a separate 3.3V supply for the ESP module.
      Make sure TX and RX are connected as shown in the video.

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

    THANK YOU ALOT , Im trying to flash my esp for a few days now .
    i did as you did in the video , now im not getting AT ?
    whats wrong ?

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

      Hi, please watch the other video where I show how to flash the ESP: ruclips.net/video/YLKEZtLhfZo/видео.html In that video, start at time 10min 24sec.
      If you have any problems following the instructions, tell me exactly where (the time) in the video you see your problem.

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

      @@duntyou8 thank you !!! i got it to work with the new bin version . and it was so easy thank to you man .
      Subscribed

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

    17:38 which ssid or pass is to enter, esp8266 or home wifi network?

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

      I assume you are trying to connect the ESP8266 to your home wifi. Your home wifi has a name, like "MYNETWORK"... that is what you type in for SSID. And your home wifi has a password, like "spIke84"... that is what you type in for pass.

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

      @@duntyou8 ok thank you :)

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

    can u help me how to connect shield eso wifi connect to arduino mega ?

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

      Hi, I have another video that shows how to connect an ESP-01 to a mega... ruclips.net/video/YLKEZtLhfZo/видео.html

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

    and one more question, why don't you use esp adapter? does it not work on Uno or do you want to try without an adapter? thanks a lot

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

      Dunia,
      Do not try to connect the RX and TX pins of ESP module to the Aruduino Uno pin 0 and 1. It won't work with the software serial sketch that I demonstrated in the video.
      I did not use the ESP adapter in this video because some of my viewers do not have an adapter and they wanted to know how to connect an ESP module to an Arduino without an adapter.
      If you are having trouble with your circuit, I might be able to help, but please go through the whole video step by step and tell me the point in process where things go wrong.
      Step 1: Have you have successfully flashed your ESP-01 as shown in the video?
      Step 2: Have you changed the baud rate of the ESP-01 as shown in the video?
      Nathan

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

      im using ai thinker firmware 1.2.0.0 version . and didnt work (Esp not responding). im confused about resistor on ur circuit. ur sketch changed RX and TX pins of esp to TX and RX arduino?

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

      If you are trying to use Blynk, you should use the AT Command version that is recommended on the Blynk web site:
      help.blynk.cc/how-to-connect-different-hardware-with-blynk/arduino/esp8266-with-at-firmware
      They say version 1.1.0.0 works best. My video shows how to get that version and how to flash it.
      The Arduino is a 5V device. The ESP is a 3.3V device. The resistors act as a voltage divider so that the 5V signal from the Arduino does not damage the ESP module.

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

    Why are you using an external power source?
    can't I use the 3.3V source from the Arduino uno?

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

      The Arduino Uno 3.3V supply can only deliver about 50mA of current. The ESP-01 requires over 200mA to run.

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

    Will this work with just the bare bones circuit for ATMEGA328P chip?

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

      I haven't done that, but I think it would work.

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

    Hi Sir. Is the connection of the circuit still the same when I use ESP8266 ESP-12F?

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

      I have not used the ESP 12-F, but it should work okay. The wiring will be a little different.
      Connect EN to 3.3V with a 10K resistor
      Connect GPIO15 to GND with a 10K resistor
      Connect GPIO2 to 3.3V with a 10K resistor
      Connect RST to 3.3V with a 10K resistor
      The connection will be similar to this video ruclips.net/video/ghylNSjYdMs/видео.html&t=
      ... view from time15:37.
      This is another video that seems pretty good (but it is not mine). It shows how to connect a 12-E. ruclips.net/video/YCeWpg_SqI8/видео.html
      The author does not flash AT commands, but otherwise the connections are similar.

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

    I am getting an error saying ESP not responding. I have followed all the steps.

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

      It is a fairly common problem to see "ESP Not Responding". I have another video that discusses some of the reasons people encounter the message. Go to this video, at time 34:33.
      ruclips.net/video/ghylNSjYdMs/видео.html&

  • @user-fm3bj7lv2l
    @user-fm3bj7lv2l 5 лет назад

    You Best!

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

    how would you connect the USB to TTL adapter to the Arduino?
    Is it with a separate micro USB cable that we have to buy on our own?

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

      I have never had a need to connect a USB to TTL adapter to an Arduino. What is your project?

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

      @@duntyou8 Well, it turns out I don't need to do that. I was just confused on what that does. But I do want to know why my ESP8266 has it's blue led always on because I don't think that's supposed to happen. Also if you could give me some guidance on how to transmit the data to google sheets instead of blynk, that would be great! Thank you for responding to my previous comment!

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

      I don't know why the blue LED is always on. I think different ESP modules come with different pre-installed firmware. Sorry, I don't know how to send data to Google sheets, but with Blynk, you can download text files of all the data that you send to the "superchart" widget. I've done that before.

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

      @@duntyou8 Hello, this is pertaining to your other ESP8266 video. I am trying to connect my ESP8266 and in the Serial Monitor, after I connected to the Blynk, it says the "ESP is not responding". Can I get some guidance on this?

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

      Hi, go to my other video: ruclips.net/video/ghylNSjYdMs/видео.html and jump to time 34:50. I give some tips for troubleshooting that problem.

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

    Hello sir, I followed your instructions.. i flashed esp8266-01 and i am getting garbage value in serial monitor. But when I try to communicate with it by AT and other AT commands i am getting no response. baudrate and both nl&cr are checked and same as you got. I'm working on a project and need this working asap. Please reply soon and thanks. We can talk more about this in mail too.

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

      After the line of garbage, do you see "ready"? Also, what are you using to supply 3.3V to the ESP-01? You can email me at nathan_church@hotmail.com

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

      @@duntyou8 Sir my esp was running perfectly in 9600 baud rate but not in 115200 baud rate. That problem solved. Wifi got connected code was uploaded. Now my arduino is not showing online in Blynk app though wifi is connected. Should i change my Tx and Rx pins to 3,4 or let them be tx to tx, rx to rx?

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

      In the serial monitor, do you see "Connected to WiFi" and "ping", as shown at time 21:15?
      What are you using for your 3.3V supply to the ESP-01?
      The wiring of TX and RX should be as shown in the schematic at time 14:03 (pins 2 and 3).

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

      @@duntyou8 can we talk more about this in email?

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

      Yes. nathan_church@hotmail.com. Send a photo of your circuit if possible.

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

    Hi! I'm having a problem while flashing :
    Writing at 0x00082800... (50 %)
    Writing at 0x00082c00... (51 %)
    Writing at 0x00083000... (51 %)
    Writing at 0x00083400... (51 %)
    Invalid head of packet
    If I run it again and again, it changes of moment that it stops.
    Do you have an idea why it's not working?
    Thank you!

  • @SandeepKumar-el8zc
    @SandeepKumar-el8zc 6 лет назад

    Thanks sir

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

    Can i use ESP8266 12-E instead of the model you are using ? Will the flashing process and firmware remain the same or any different for 12-E module ? And AT command wont work on my esp.. What is the solution ?

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

      I have not used the ESP 12-E, but it should work okay. The wiring will be a little different.
      Connect EN to 3.3V with a 10K resistor
      Connect GPIO15 to GND with a 10K resistor
      Connect GPIO2 to 3.3V with a 10K resistor
      Connect RST to 3.3V with a 10K resistor
      The connection will be similar to this video
      ruclips.net/video/ghylNSjYdMs/видео.html&t=
      ... view from time15:37.
      This is another video that seems pretty good (but it is not mine). It shows how to connect a 12-E.
      ruclips.net/video/YCeWpg_SqI8/видео.html
      The author does not flash AT commands, but otherwise the connections are similar.

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

      @@duntyou8 actually now am trying to connect an nodemcu which has the same esp12E . So that I don't get into any power or wiring issues. I tried all possibilities. But no luck. Tried with latest and old firmware of AT And also blynk libraries. But couldn't get it to work. Please help me out

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

      Nathan Church i have watched this video that you have provided with a link. And i have already followed the exact same procedures. I have tried different blynk libraries and AT firmware. But no luck. Can you please tell me which IDE version, AT firmware, and blynk library you are using? So that i can use the same.

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

      In the video, you can see that I was using Arduino IDE version 1.8.4, but the latest version is 1.8.8, and I suggest you go with that version. In the video, you can see the Blynk library version displayed in the serial monitor; I was using was v0.5.0. But the latest version of the Blynk library is v0.6.0. I don’t remember what version of Blynk was running on my phone during the video. Just download/update to whatever is the current version (2.25.0, I think).
      As recommended on the Blynk website, use this version of AT Commands…
      AT version:1.1.0.0(May 11 2016 18:09:56)
      SDK version:1.5.4(baaeaebb)
      I suggest you look through the Blynk online community regarding the use of a NodeMCU.
      community.blynk.cc/
      Also, this video might help…
      ruclips.net/video/33ynNkvfvWU/видео.html
      watch from time 6:44.

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

      @@duntyou8 thank you so much for the help.. now i got that running some how.
      Please concider my request of port forwarding the blynk.
      Thank you in advance

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

    Can we flash esp using uno

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

      You can flash the ESP with an Uno, but it is more difficult to set up. I show how to flash an ESP with a Due in this video ruclips.net/video/ghylNSjYdMs/видео.html (starting at time 12_38.) Using an Uno is similar to using a Due but you should use an external 3.3V supply with the Uno and a voltage divider for the signal. Remember the Uno is a 5V device and the ESP is a 3.3V device.

  • @duynguyen-tn5pn
    @duynguyen-tn5pn 5 лет назад

    thanks

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

    Dear Sir, no one is helping me. You are the last resort. My Arduino Uno and ESP01 are serially connected. ESP sending data to Uno and Result displayed on LCD perfectly. Now I want ESP to read RSS feed from any news site.1)What steps do I need to take? I can't use blynk.2) I want my ESP to connect to my wifi. 3)Do I need to upload any code in my ESP01 or just leave it blank?

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

      Hi. Sorry, I do not know how to do that.

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

    I find out how to use ESP8266 with 8 pins to comunicate with arduino like bluetooth module! I create custom server script with boud 9600 to serial and 4800 from ESP to arduino. 1 and 3 pin as output from ESP and 3 and 2 to recieve on arduiono. Communication work as http request from GET parameters and ESP used only to forward commands to arduino. Again, i bought by mistake only chip ESP8266 with only 8 pins GPIO 0, GPIO 2, RX, TX, Vcc, Gnd, RST and SCH i gues... And i killed my self to make it work, and its work as Server to forward wirelessly... 😎

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

    Can we use this technique if ESP8266 is connected to wifi-A while mobile is connected to wifi-B?? Please give your response as soon as possible. Thank you.

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

      The Arduino+EPS8266 and the phone do not have to be on the same wifi network. They can be on different wifi networks... they can even be in different countries, as is the case with one project that I am working on.

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

      @@duntyou8 Thank you sir, your videos are big help as I am working on this project. can you tell me which ESP8266 model you are using ?

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

      The ESP module in the video is GeeBat ESP8266 Serial WIFI Wireless Transceiver Module ESP-01.
      But really, any ESP-01 should work as shown in the video.
      I have another video that shows how to connect an ESP-WROOM-02U.

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

      Nathan Church sir I have done exactly what you have shown in the video and it worked 7-8 times but now it continuesly shows "ESP is not responding" in serial monitor and now it's not working. What should I do now sir? I've double checked everything. Configuration is exactly same as shown in the video. Is something is wrong with ESP8266 or it's gone Bad? Please reply as soon as possible sir.

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

      I suggest that you flash the ESP-01 module again. If you can flash the ESP module then it is probably working fine.
      If you see "ESP is not responding", watch my other video, where I discuss this problem. Watch from time 34:50...
      ruclips.net/video/ghylNSjYdMs/видео.html&
      1) Make sure you have flashed the correct version of the firmware to the ESP module
      2) Make sure that GPIO is not connected to ground
      3) Make sure the ground of the ESP module, the ground of the Arduino and the ground of the power supply are all connected together.
      4) Do not connect the ESP to TXO and RXO on the Arduino. Follow the circuit diagram that I provided.
      5) Make sure you have a good external 3.3V power supply. Do not use the 3.3V supply from the Arduino Uno or Mega.

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

    can you connect that to firebase?

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

      Maybe, but that is outside my area of expertise.

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

    MY ESP IS RUNNING BUT WHEN I GET REMOVE MY ARDUINO THEN IF I AGAIN CONNECT IT TO THE COMPUTER THEN IN THE SERIAL MONITOR IT IS SHOWING ME THAT CONNECTING TO THE WIFI AND IN THE NEXT LINE IT SHOWING ME THAT ESP NOT RESPONDING

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

      Hi,
      Are you using an ESP-01 and Arduino Uno? If not, let me know.
      Have you flashed the ESP-01 as shown in the video?
      Have you changed the baud rate as shown in the video?

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

      Nathan Church it's was just a connection error because the wires were a little bit loose 10q for every thing in the tutorial but can u make a vedio about the triggers or to control a bot using blynk app

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

      i also wanted to know that this code is running only when the serial monitor is open i wanted to make it like that whenever the wifi module is powered up and connected to wifi it automatically ping to the server and function accordingly

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

      Hi, I am working on video right now about a different topic, but maybe when that is done, I will look at robots. I'm not sure I understand your second question, but you do not need to have the serial monitor open in order for the wifi module to connect to blink. After you have uploaded your sketch to the Arduino, your computer does not need to be connected to the Arduino. You can power the Arduino with a 5V or 9V power supply, and the Arduino will work independently, and the wifi will still connect to Blynk.

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

      i knew that after once uploading the sketch it will run multiple time but in this sketch the wifi module is pinging to the blynk server whenever the serial monitor is switched on. I wanted that whenever the wifi module is powered up with the arduino it should automatically ping to the blynk server and get connected to the app

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

    wil this work on a standalone?

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

    [1697] ESP is not responding
    please help

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

      Go to this video, and watch from time 34.51.
      ruclips.net/video/ghylNSjYdMs/видео.html
      Make sure you have the correct version of AT commands on your ESP module
      Make sure you have a good 3.3V power supply
      Make sure your grounds are connected
      DO NOT connect the ESP module to RXO and TXO
      Make sure GPIO is not connected to ground

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

      Thanks, sir but still esp is not responding

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

      Were you able to flash the ESP-01 as shown in the video?
      Were you able to change baud rate of the ESP-01 as shown in the video?

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

      Thanks, Sir i solve my problem... Honestly your 2nd question was my problem...

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

      That's great. You may find that the Uno+ESP8266 is not very stable. If you are doing a simple, short-term project, it might be okay, but if your project is complex and needs to work over a long period of time, I suggest using the Arduino Mega or Due. My other videos explain how to connect those boards.

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

    SAME ERROR WITH ME

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

      Hi,
      The information that you provided isn’t enough to help me find your problem. I need to see your Arduino sketch and a schematic (or photo) of your circuit. You can send it to my email: nathan_church@hotmail.com . Anyway, here are a few things that people sometimes get wrong:
      Make sure all ground lines are connected.
      Make sure you flash the ESP module and confirm you have the correct AT commands firmware (as shown in the video.)
      Make sure the ESP module and the Arduino are “speaking” with the same baud rate (as shown in the video.)
      GPIO should only be connected to ground when flashing, otherwise it should be disconnected.
      It is best to use a separate 3.3V supply for the ESP module.
      Make sure TX and RX are connected as shown in the video.

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

      Hi
      esp error is overcome but in serial monitor it shows "failed to connect wifi"

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

      Hi,
      Make sure in the Arduino code you have ssid and password set correctly.
      The ESP-01 does not have a good antenna, so a weak wifi signal could cause the problem you are seeing.
      I had problems connecting to a wifi network at my office because of some security issues. I suggest you try a different open wifi network.

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

      wifi is connected
      finaly the project is complet
      Thanks for uploading such a useful video

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

      Great! How did you fix the problem with the wifi?