Easiest ESP8266 Tutorial (Using arduino)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2017
  • How to easily and quickly program the ESP8266 module via an arduino using the arduino IDE with example.
    Link to paste : arduino.esp8266.com/stable/pac...
    Download The Arduino IDE : goo.gl/F5ClOy
    ESP Pin Diagram : preview.ibb.co/e9vBVa/Schema_...
    *********F.A.Q.s*************
    Q. Getting Error : espcomm_upload_mem failed
    A. Make sure that the GPIO 0 pin is connected to ground(GND) and the esp module is getting power.
    Q. Can't Install the ESP board?
    A. Make sure that you have a reliable connection to the internet.
    Q. My sketch doesn't run after I power the the ESP again?
    A. Make sure that the GPIO 0 pin is disconnected if you want to run a sketch. Reconnect it if you want to program the board.
    Q. I did everything right but I still get error during upload?
    A. Go to tools, upload speed and try uploading with different speeds either '115200' or '9600' should work but if they don't try the other ones.
    Q.How do I power the ESP without a arduino?
    A. You can use a 3.5v LiPo battery or a breadboard power supply like the one I showed at the end(link below) or use 3 AA cells in series.
    *******************************
    *****PURCHACE LINKS*****
    Buy ESP8266-01 Module : goo.gl/KR6fsn
    Buy Arduino Nano : goo.gl/Cn44aP
    Buy USB to TTL Adapter : goo.gl/Dl6NQw
    Make The Breadboard Adapter : goo.gl/F0OI23
    Buy The Breadboard Adapter : goo.gl/lyomlw
    Buy Jumper (Dupont) Cables : goo.gl/QqdBal
    Buy Breadboard Power Supply : goo.gl/az9qWz
    *******************************
    Music : Invisible by Vibe Tracks • Invisible - Vibe Tracks
    Tags: esp8266 beginners guide
    how to use the esp8266
    how to program the esp8266 using arduino
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @ncgrof
    @ncgrof 5 ปีที่แล้ว +44

    Mine wouldn't seem to work after following the steps. I had to change Tools>Builtin Led: "x" to the pin 1. It worked after this, and worked for other sketches.
    Thanks for the tutorial Live Sparks!

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

      thankssssssss

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

      Thank you so much, the whole time i thought something gone wrong while uploading. But just the builtin led var was wrong. Thank youuuu,.

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

      Thank You!

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

      Thank You!! Been struggling with this for hours!

    • @tumimbanghymarvannd.8603
      @tumimbanghymarvannd.8603 5 ปีที่แล้ว

      Hahahhaha tnx

  • @vandalest
    @vandalest 7 ปีที่แล้ว +45

    It was so hard to follow the tutorial, I was dancing so hard over the background music

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

    Finally after many hours it worked. I had to:
    - connect all the pins to the breadboard, including GPIO2 which is not used;
    - pull-up RST of the ESP with a 10 KOhm resistor;
    - use an external power supply on the bus lines of the breadboard;
    - connect the GND pins of the Arduino and the ESP to the GND of the external power module;
    - change the Builtin LED to 1.
    I hope this help other users.

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

      THANK YOU SO MUCH. I was convinced that since the code was an example straight from the IDE that it would for sure be working code!! Silly me! I changed Builtin LED to just '1' and it worked right away. There are so many tutorials on the internet that are just plain wrong!

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

      how to change built in LED?

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

      @@ahmetfatihsalim7616 there should be an option under the "Tools" menu, see other comments.

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

    This was extremely good and the best video on this ESP board on youtube so far after looking at dozens. All the other videos spend 15-20 minutes bullshitting about the board and telling you to download some python ide and a couple of softwares that are totally irrelevant. This literally goes in depth of how to actually use the board and running a simple code on it.

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

    Worked great for me using a Nano! The first few times I tried to upload the sketch it did not work, but then I found that it was because I had a bad USB connection to the Nano. Once I fixed the USB issue it worked great every time. Thanks!

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

    worked perfectly. 10 times more straight forward than any other guide. subscribed. don't like the music.

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

    This video is fast paced, but to the point. One can always play and pause at the time of execution. Well done.

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

      I ran it at 75% speed and it is still fast but better, I had to pause and take notes too. Extremely useful I like the Cap in VCC to Grnd, need to see if that helps my Sound Systems output.

  • @AsifIqbal-sj1ct
    @AsifIqbal-sj1ct 6 ปีที่แล้ว +1

    i did the same as in video.uploading done but mine led is bot blinking like your's.
    what could be problem ? i did not put 104pf on vcc and gnd of esp01.is it a problem?

  • @newbachi
    @newbachi 7 ปีที่แล้ว +3

    Thanks for the video Ravi, I succesfully connected ESP8266 to Arduino and it worked right away!

    • @LiveSparks
      @LiveSparks  7 ปีที่แล้ว

      +Bhargavi Varanasi happy to help

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

    For some reason, I could never get this to work with my Arduino Mega. Worked fine with a USB-to-ESP-01 adapter.
    I assume you connect the ESP-01's Rx to the Arduino's Rx, because that leads to the USB chip's Tx (an ATMEGA16U2 on the Arduino Mega). I could never get the ESP-01 to respond to the ATMEGA16U2's UART, but for some reason it responded to the ATMEGA2560's second UART just fine (I loaded a program onto the Arduino Mega just to forward data from UART0 to UART1 and vice versa), so I could issue AT-commands via the Arduino IDE's Serial Monitor.
    Still, the ESP-01 would reset intermittently, and often, when powered off the Arduino Mega's 3.3V line (the ESP-01's output on startup blamed the watchdog timer sometimes, and the reset pin other times... ???). Didn't get this problem with the USB adapter. I still have to manually short the ESP-01's GPIO0 to ground on startup if I want to load a new program, because the adapter I got doesn't have any mechanism to do that itself.
    Probably learned more about what's on my Arduino Mega, and what's on the ESP-01, due to so much stuff not working for a while. >.<
    Also had to replace LED_BUILTIN with 1 in the blink sketch for that to work.

  • @SenaArnaldo
    @SenaArnaldo 7 ปีที่แล้ว +4

    Its work! I have been change the resistor by a wire. Thank you!

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

    Hey thanks for the great video. I have a question on the esp8266. I am trying to use this as a door sensor where it will tell me when the door opens and closes based on a reed switch. I also want it to go to deep sleep just after it sends the MQTT message for close state. I’m confused about the GPIO0 connection. If i connect the GPIO to ground, can i not send this pin to go low which means close and high when open? So i have my reed switch connected to GPIO0 and ground. Then i have a jumper between VCC and CHPD. Am i doing something wrong? My code basically set pin 0 to digital read ? Let me know if you can help...great video btw

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

      It is not recommended to connect anything to the GPIO0 because if the hardware pulls it to GND then it will take the ESP into programming mode and your code won't execute. If you really have to connect something to GPIO0 then make sure that it's pulled high on boot. I would recommend that if you pursuing a serious project then buy one of the ESP12 boards like the wemos d1 mini.

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

    Did you previously install the Arduino core into your IDE - or is this what is accomplished with the Additional Boards Manager?

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

    I love the speed at which you tutor. I can pause when I need and fly through the stuff I know. Thumbs up.

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

      +lav Senoj Thanks

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

    Thank you for this tutorial. After to upload the sketch with no problem, I disconnect and connect again the power cable but any led blink!.... what it can be?

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

    hi great video. having issues programming the esp. how can i contact you to find out a few things. example in my arduino ide i dont have the esp 8266 sketches. thanks

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

    Does we have to remove some wires, after uploading the program? as I have uploaded the program in ESP, but its not blinking!

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

      Yes, disconnect the GPIO0 wire and you should be good to go.

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

    great help, what about the logic levels ? 5v or 3,3v to use with esp ??? ive seen many times used like this pure 5v.

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

      Esp uses 3.3v logic levels but the serial pins work fine with 5v signals. You mist use 3.3v for the rest of the pins just to be safe.

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

      @@LiveSparks ok but in all datasheets is mentioned not to use 5v. Thanks anyway

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

    sir can i ask something, i had this kind of project the wifi base electric fan microcontroller the components are relay 8 module, arduino uno, esp 8266 and 12v dc electric fan. its all working together but there's some problem the esp 8266 have been restarting because of the fluctuation of the tx in esp there is current flowing on that pin thats why our project is not working properly the esp keep shutting down. what can you suggest ? thank you!

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

      +Vironica Macabenta There should be no current flow on the tx at all. That is a logic pin and works only on voltage. To prevent voltage fluctuations, connect a capacitor between the vcc and ground of esp as well as the motor. Also make sure that there is a flyback diode across the relay to eliminate voltage spikes.

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

      thank you ill try it!

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

    Hi
    Can you help with the esp8266 in home automation?
    I'm using it for home automation and the problem is when it reboots as the power gone, it automatically turns everything on .
    I don't need anything to be on state.
    Please help with it ?

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

    Hello , i have followed all the steps you have showed but i am getting the following error ..
    espcomm_upload_mem failed
    please suggest what to do .. ??

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

    Nice, brief and complete video manual. Good work !

  • @TheTeamScorpia
    @TheTeamScorpia 7 ปีที่แล้ว

    You recommend putting a 3.3 µF Capacitor between ground and vcc? Didn't understood that

    • @LiveSparks
      @LiveSparks  7 ปีที่แล้ว +1

      +Scorpiaa_ | YT: ScorpiaDev Its not necessary but can help smooth out any fluctuations in power.

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

    Do you have to connect the reset to ground. When I connect the reset to ground the rest of my project does no function...

  • @Andrzon
    @Andrzon 7 ปีที่แล้ว

    Thank you for this got me pointed in right direction. Finally got my setup to work. I used a Raspberry Pi 3 - arduino nano - esp8266. Works fine with arduino IDE 1.6.4

  • @KishoreRavisankar
    @KishoreRavisankar 7 ปีที่แล้ว +8

    Hey Ravi,
    Your instructions were perfect!!! I was able to connect ESP8266 to Arduino Uno right away. I was looking for something like this for a very long time now, and thank god I stumbled upon this. Thank you!!

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

      Hello, Can you help me. I have a problem with that . Error occured during upload the coding . Here is the error :
      error: espcomm_open failed
      error: espcomm_upload_mem failed
      error: espcomm_upload_mem failed

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

      The computer can't find the ESP. double check the connections and reconnect everything before plugging in to pc.

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

      Is it same connection for arduino uno ? because I google and there is many kind of connection make me confuse .

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

      The connections are same as shown in the video.

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

      I already connect all the pin as shown in the video and follow the all step. But there is still error. Why ?

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

    Bro i want to connect a hard drive with this esp8266 or esp32 and use them as a server through which i can access my hard drive data wirelessly is that possible in any way??

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

    Just 1 question hopefully u can answer soon as possible... is this esp8266 need to be connected to a some kind of home wifi?

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

    Hi! just a beginner starting up in everything, got a question, how can you get the sample module in ESP8266? Don't think the exact module is in library manager :( need help (setting it up in an arduino uno if that helps)

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

      If you paste that same link then it should install that same board in your library manager. Maybe try restarting your PC so that the IDE updates and refreshes itself. A restart of the the IDE will suffice too.

  • @SandeepMishra95
    @SandeepMishra95 7 ปีที่แล้ว +2

    All those who are getting this type of error
    warning: espcomm_sync failed
    error: espcomm_open failed
    error: espcomm_upload_mem failed
    error: espcomm_upload_mem failed
    before programming connect the module to power. Use a push button to ground the reset pin momentarily and then GND the GPIO. It worked for me :)

    • @MA-ty4yf
      @MA-ty4yf 5 ปีที่แล้ว

      th-cam.com/video/fVmpF6ttz8M/w-d-xo.html

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

    How to backup esp-01 into old or original version?
    Please help me

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

    Very good, clear cut no nonsense, I've been trying to understand this module for a couple weeks, now I get it! Thanks!

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

      +cozmcc Thanks for appreciating my work!

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

    hi ,can u pls use d audrino n wifi module to control light,as im a starter pls hlp me vid ur guidance

  • @vksalian
    @vksalian 7 ปีที่แล้ว +1

    Hi,
    Is it possible to program the WiFi module in such a way that it will act like a MCU and WiFi module at the same time. Where can I get the program / sketch for doing so?

    • @LiveSparks
      @LiveSparks  7 ปีที่แล้ว

      +Vijaya Kumar Saliyan It's totally possible! Just check out the examples in the arduino IDE under esp8266 for inspiration.

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

    how to use this ESP module to get the values from MPU 6050 IMU sensor through wireless communication

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

    hiii bro
    please help me
    i m using esp8266 -12 .Led does not blink after uploading the programme so what should i do?

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

    CAN I USE THIS TO GET DATA WIRELESSLY FROM ULTRASONIC MODULE AND TEMPERATURE SENSOR AND MONITORING DATAS IN MY ANDROID DEVICE OR PHONE????

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

    I tried your example (with the mention that I have 8266EX)
    I have "EN" pin instead of CH_PD, and I wired the module the same
    When I came into the program, instead of blinking on module's LED, Arduino's TX did, why?
    In the app, I had 2 new ports: COM5, COM4, COM3 (arduino uno/genuino) and I didn't know what to choose, so I let it on COM3
    The first time, program has been uploaded, but the 2nd time on, I got an error and couldn't upload more

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

    Sorry I a newbie but what is that adapter like thing you used in the end

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

      That was a power supply for breadboards

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

    I can upload the blink sketch to the esp8266 01, and after its done uploading the blink sketch works without an issue. But when I power cycle the board the the esp8266 01 doesn't run blink sketch. It looks like it loses its program...

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

      Make sure to disconnect GPIO 0 from GND before powering it up again.

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

    how to make it work with arduino uno for reading analog value from pin A0 ?

  • @deal5355
    @deal5355 7 ปีที่แล้ว

    Hi, I got a question about your video. The upload worked (blink sketch) but the LED didnt blink. Are you sure that the rx pins are working with 5 V because i read that: "Remember to always use a level converter for the RX pin into the device
    as it is not 5V tolerant."
    I used a 100 µf condensator and a 120 ohm resistor btw

    • @LiveSparks
      @LiveSparks  7 ปีที่แล้ว

      +De Al If the rx, tx pins were connected wrongly then you would have had an error on your hands not a successful upload. Here the problem is that after the upload, the esp is not resetting correctly.

    • @deal5355
      @deal5355 7 ปีที่แล้ว

      Thank you for your quick response :) . Do you have any advice for this problem ?
      There is one other thing I was wondering about. Whats does the connection between the reset and the ground on the arduino board do ?

    • @LiveSparks
      @LiveSparks  7 ปีที่แล้ว +1

      +De Al The arduino is being held in a constant reset so only tge esp gets programmed and not the arduino.

    • @deal5355
      @deal5355 7 ปีที่แล้ว

      Thank you very much :)

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

    Board generic (platform esp8266, package esp8266) is unknown
    how to fix it?

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

    What is the value of the resistor you are using?

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

    How can I control devices plugged in arduino(like led,motors etc) using esp6288 and mobile phone. Please help!!

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

    i am unable to interface esp8266 module with arduino uno r3. can you help me with it's connection circuit?

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

    Really nice tutorial man. No one's got time for 20+ minutes of blah blah blah. You covered a lot of topics and gave some nice handy tips as well. All of that in less than 4 minutes!! :) I love it when tutorials are fast cuz that leaves more time in my day for practical hands-on use.

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

    When I connect CHPD pin to Vcc, red led goes OFF. Whats that?

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

    hi... i have a problem.since i am new to arduino, m not able to solve this
    i am using arduino uno , esp8266 01 and ultrasonic sensor. I want arduino uno to read the ultrasonic sensor data and send it to firebase(database) via esp8266 01. Since i can not code directly th esp8266 01 and want to use arduino uno as main board how can i integrate arduino uno and esp8266 01(with code and connections please.)
    please help.
    Thanks in advance.

  • @matthewklemm4897
    @matthewklemm4897 5 ปีที่แล้ว +2

    What resistor value did you use?
    Thanks!

  • @ryannining
    @ryannining 7 ปีที่แล้ว

    oh, does it mean the blink code are uploaded to your arduino as well? because i was thingking they both connectes to pc

    • @LiveSparks
      @LiveSparks  7 ปีที่แล้ว

      +Ryan Widi No, the arduino is in continuous reset. It just passes on the information but doesn't get programmed.

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

    I get an error "the selected serial port does not exist or your board is not connected" even though the serial port was selected and my Arduino is connected.
    Also, what is that thing connecting two pins of the ESP? A capacitor? Can you explain more about it?
    Thanks!

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

    Hi I have connected every thing as you told in the video but still unable to upload program to esp8266. It is espcomm_upload_memory fails error please help me...

  • @Avikshith
    @Avikshith 7 ปีที่แล้ว

    Thank you for this. Will a 1000uf 16v capacitor work instead of the capacitor you specified?

    • @LiveSparks
      @LiveSparks  7 ปีที่แล้ว

      +Avikshith Np That capacitor is too big to smooth the spikes in a 3.3v power line. You don't really need the capacitor necessarily if you don't have one.

    • @Avikshith
      @Avikshith 7 ปีที่แล้ว +1

      Live Sparks Ah. Let me try to program my esp-12E with this method :)

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

    Hi Ravi, Thanks for the contribution. I have almost spent 3 days to understand what is to be done to use ESP8266 Wifi module yet I couldn't be sure about what I learnt. I came across your video and it is really clear and easy to follow out of several videos I saw to crack ESP8266. Your explanation speed is good its actually engaging us not being very slow or fast, All the best keep up the good work. Thanks again.

  • @mariaalejandra328
    @mariaalejandra328 7 ปีที่แล้ว

    Hi, thanks for the tutorial, very good and useful!! I tried it but when it starts to run, my board restarts after a few seconds, any idea why this could be happening?

    • @LiveSparks
      @LiveSparks  7 ปีที่แล้ว

      +Maria Alejandra Sánchez Most probably something wrong with the power.

  • @bassome3000ify
    @bassome3000ify 6 ปีที่แล้ว +4

    Really helpful and informative :D thank you !

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

    How to do programming in wifi module esp8266 NodeMcu 12e module? how to make 3 outputs? thanks

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

    What is the resistor you put between the vcc and gnd?

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

      I did not put any resistor between VCC and GND. That would be a very bad idea.

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

    I need to use the ESP8266 only to communication to PC. And I need to make the rest of my project using the arduino. I will sent a command to blink a LED, for example, to my arduino by the internet. How I do this?

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

    Hi friend I want to read data from ds18b20 with arduino uno and send it to cloud using esp8266-01 but I am not getting how should I do plz help me for esp connections

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

    Got the circuit with the ESP8266 and the ArduinoNANO wired together with jumpers exactly as you have yours. Arduino IDE set exactly as yours. Program uploads (blue LED blinking fast on the ESP8226). When upload has finished - no errors on the IDE. BUT - the power LED (red LED) and the blue LED are out on the ESP8266. The blue never starts blinking. If I try to do another upload, I have to power down the setup, then power back up to get the power LED on the ESP8266 to illuminate - then it will upload again - but same result. Any ideas on why this is happening?

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

      The GPIO pin for the LED might be configured wrong. Replave that with GPIO 2 in the code and try connecting a LED to the GPIO 2 pin. I think your code is working fine.

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

      @@LiveSparks How would I configure the LED correctly so that I wouldn't have to add another LED? Thanks!

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

    you set a new record for the fastest tutorial ever... its a good thing these videos have pause

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

    Bro do u have program for wifi home automation using esp8266. Please let me know if you have.

  • @SupremeNoble
    @SupremeNoble 5 ปีที่แล้ว +6

    Hey man, I did the exact same connection but using an Arduino Uno, but after select ESP8266 as board, no new Ports come up, is this a problem? So I just use default arduino port and uploaded the blink example, upload succesful but no blinking. When I try again there is "espcomm_upload_mem failed" error. Please help! (Yes GPIO-0 is connected to GND)

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

      same thing bro, can you help?

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

      After uploading a sketch you can't upload antoher until you turn the power off and on. In the Blink sketch you need to select the currect LED in my case it was the second one.

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

      yes...i am also facing the same problem now...did you figure out anything?

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

      same problem i faced :( did you find the solution ?

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

      Same problem. Please enlighten us

  • @rajasukar
    @rajasukar 7 ปีที่แล้ว

    after i connected the circuit ,the wifi led (red) gets switched on.but i couldnt find the com port of the wifi device .. (i connected without 100ohms and without the capacitor across the wifi)

  • @gauravgarg8465
    @gauravgarg8465 7 ปีที่แล้ว

    can u tell me how to get multi output from arduino as I want to go on home automation by using many relays will it require other espmodule or it can be done with same arduino nd esp8266-01

    • @LiveSparks
      @LiveSparks  7 ปีที่แล้ว

      +gaurav garg you can use one arduino and a esp to control multiple relays but you will need to set up a master slave relation between them. There are a lot of guides on how to do it on Instructables.com

    • @gauravgarg8465
      @gauravgarg8465 7 ปีที่แล้ว

      Live Sparks can u provide specific links

  • @arunpoulose4193
    @arunpoulose4193 7 ปีที่แล้ว

    please tell me how to flash the ESP8266 01 with its firmware using arduino

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

    What resistor did you use to connect CH_PD pin to GND?
    And why did you solder a capacitor on ESP8266?

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

      +Cristian-Alexandru Radu You can use any value of the resistor. I used a 100K ohm resistor. You can also use a wire instead of the resistor.
      The capacitor is to smooth any fluctuations in power. It's not necessary but recommended.

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

      Any capacitor value?

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

      +Cristian-Alexandru Radu I'll recommend 3.3uF

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

      I don't have a capacitor with that value, because I'm using Arduino Starter Kit (with UNO r3) and that doesn't include one (but 100 nano, pico and microF)
      I'll try your experiment... and by the way, how to update firmware on ESP8266 (could you please make a tutorial)?

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

      will 1uF work?

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

    Bro can we send data that readed in arduino using sensor at time WiFi module connected

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

    can i flash the 2 program for esp 8266 . when i flash the program what about the earlier ones? it will automatically deleted? i have 2 program one is works with blynk and another one is for alexa can i mingle it?

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

      +Agasthii Bala murali You will have to write them in a single code. Esp can't hold two programs at ones.

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

    Shouldn't Tx pins go to Rx pins on the Arduino board?

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

    thank you!!!! finaly simple tutorial :D

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

    Does the microcontroller get the wifi now?

  • @Blisoft
    @Blisoft 7 ปีที่แล้ว

    Can you explain how to get the module back to accepting AT commands from the NANO after installing the Blink program, please?

    • @LiveSparks
      @LiveSparks  7 ปีที่แล้ว

      +BLiS No. But here is a link: www.allaboutcircuits.com/projects/update-the-firmware-in-your-esp8266-wi-fi-module/

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

    Hi I am trying to flash Micropython Code into 8266.I am using thony IDE.How can i check weather all the dependencies are Successful

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

    I got no problem .everything ran perfectly.Thanks Admin

  • @Ozzy-K
    @Ozzy-K 5 ปีที่แล้ว +72

    It's too hard to hear you over the music. Music is great on fail videos etc. but please, not for tutorials.

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

      Very true... I also found the music too distracting. Otherwise good video. Thanks!

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

    Thank you! Simple, clear, accurate instructions. A great help :)

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

    Please, what is the name of the black card is he using ?

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

    Do you need an Arduino to program the esp8266 or can you do it directly?

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

      You need either an Arduino or a USB to Serial Adapter for the ESP-01 shown in this video. I would rather recommend that you buy the newer ESP-12 development boards like the wemos d1 mini which have a built in USB board and can be programmed directly.

  • @shiva8245
    @shiva8245 7 ปีที่แล้ว

    is it same for
    ardunio uno

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

    i have this esp-01 adapter for esp8266, in that adapter, there are 4 pins, can i use that adapter to connect it to arduino nano and program esp? please assist me as soon as possible. this is for a university project

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

      +sameera gamage I don't know which adapter you are talking about so I can't tell you anything for sure.

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

      this is the one i am talking about, when i try to connect the module via this adapter, there is an error shows in the arduino ide "espcomm_upload_mem_failed" what is the reason, btw, thanks a lot for replying

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

      +sameera gamage this error means that the connection are wrong

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

    my error said my serial port_does not exist or your board does not connected what should I do?

  • @ahmedmohamed-vd8xs
    @ahmedmohamed-vd8xs 6 ปีที่แล้ว

    Hello the code is complete uploading but the blue led not blinking as video why i cant understand why??? Thanks

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

    Is this possible to transfer data from computer to cloud

  • @Starwave...3821
    @Starwave...3821 6 ปีที่แล้ว

    You have used arduino mini board to program the ESP.... Can I program it through the ardunio UNO board??

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

    Hello and thanks for the great video. However, I have a little problem and maybe you can help.
    After uploading a sketch, the LED on the ESP8266 blinks for ~10 seconds and then I receive the following error on Arduino IDE:
    warning: espcomm_sync failed
    error: espcomm_open failed
    error: espcomm_upload_mem failed
    error: espcomm_upload_mem failed
    Do you maybe know why this is happening? I connected everything as you explained.

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

      Double check your connections, especially the gpio 0

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

    how to use breadboard adaptor ?
    I am very confused

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

    error: espcomm_upload_mem failed
    although i attached the gpio with gnd,,,and 1 more thing i m giving power directly to esp from uno,,,is its ok?

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

      You must try this it worked for me....
      1. Follow steps of this tutorial correctly . OK
      2. Connect RST pin of ESP8266 to Ground for just 1-2 Seconds before Programming...and then remove it after 1-2 seconds..
      this is because, i think the reason could be Arduino IDE will able to show during uploading the flash memory found on ESP8266 and some more details. IDE can able to detect the flash memory of ESP8266 and then it will successfully uploaded.

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

    brother program uploading is done but it is not blinking even though i have removes GPIO0 from GND
    PLZZ help

  • @AvikSeth
    @AvikSeth 7 ปีที่แล้ว

    after uploading 100% the board(Arduino nano in my case) gets disconnected
    please help

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

    5v will kill it = it will never recover? so i have to throw it away?

  • @nurishahaniakamarudin7417
    @nurishahaniakamarudin7417 6 ปีที่แล้ว +4

    Hello, I'm Isha. I already followed your tutorial. But during to upload the code, there is error occured. The error produce like this :
    error: espcomm_open failed
    error: espcomm_upload_mem failed
    error: espcomm_upload_mem failed
    Can you help me to overcome it ? Thank you.

    • @user-js2el4pd6p
      @user-js2el4pd6p 4 ปีที่แล้ว +1

      sorry have u solved this issue?
      would u mind helping me if u have solved it

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

    I need help regarding this module usage

  • @Khan__Usman
    @Khan__Usman 7 ปีที่แล้ว

    is it fine if i dont use the capacitor as you showed in ur video because i am not having (capacitor) as of now

    • @LiveSparks
      @LiveSparks  7 ปีที่แล้ว +1

      +Usman Khan Is not necessary

    • @Khan__Usman
      @Khan__Usman 7 ปีที่แล้ว

      Live Sparks thank you

  • @d3jake
    @d3jake 7 ปีที่แล้ว +3

    This video came in handy while trying to help a user who came into #arduino on IRC. I'm not familiar at all with the ESP devices, but your explanation was very clear. Thank you for making the video.

    • @LiveSparks
      @LiveSparks  7 ปีที่แล้ว

      +d3jake Happy to help!

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

    Can you guide me to connect the esp 01 with arduino mega to app inventor??

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

    How did you stabilize your voltage?

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

      soldered a 3.3uF capacitor between the vcc and gnd pins

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

    generic esp8266 board is not listed in board, where it is?