Easiest ESP8266 Tutorial (Using arduino)

  Переглядів 527,367

LiveSparks

LiveSparks

7 років тому

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 років тому
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 років тому
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 6 років тому
It was so hard to follow the tutorial, I was dancing so hard over the background music
@esa2236
@esa2236 5 років тому
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.
@Ozzy-K
@Ozzy-K 5 років тому
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 роки тому
Very true... I also found the music too distracting. Otherwise good video. Thanks!
@dejanrajcic8686
@dejanrajcic8686 5 років тому
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!
@NACA4412
@NACA4412 5 років тому
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 років тому
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 Рік тому
how to change built in LED?
@NACA4412
@NACA4412 Рік тому
@@ahmetfatihsalim7616 there should be an option under the "Tools" menu, see other comments.
@newbachi
@newbachi 7 років тому
Thanks for the video Ravi, I succesfully connected ESP8266 to Arduino and it worked right away!
@LiveSparks
@LiveSparks 7 років тому
+Bhargavi Varanasi happy to help
@betabenja
@betabenja 5 років тому
worked perfectly. 10 times more straight forward than any other guide. subscribed. don't like the music.
@SenaArnaldo
@SenaArnaldo 7 років тому
Its work! I have been change the resistor by a wire. Thank you!
@kristianprokupek6606
@kristianprokupek6606 5 років тому
Nice, brief and complete video manual. Good work !
@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 років тому
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?
@deekshadakshayani3043
@deekshadakshayani3043 5 років тому
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 .. ??
@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
@KishoreRavisankar
@KishoreRavisankar 7 років тому
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 ?
@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
@bassome3000ify
@bassome3000ify 6 років тому
Really helpful and informative :D thank you !
@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!
@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.
@mouizimran1032
@mouizimran1032 6 років тому
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.
@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.
@bafutnjak
@bafutnjak 7 років тому
thank you!!!! finaly simple tutorial :D
@parvaze72
@parvaze72 5 років тому
I got no problem .everything ran perfectly.Thanks Admin
@SandeepMishra95
@SandeepMishra95 7 років тому
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 4 роки тому
ukposts.info/have/v-deo/noaepHxtq6qrmYE.html
@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?
@jmortonsalt
@jmortonsalt 5 років тому
Did you previously install the Arduino core into your IDE - or is this what is accomplished with the Additional Boards Manager?
@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 ?
@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
@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??
@stevenlee1726
@stevenlee1726 5 років тому
Whenever you connect Tx to Tx, Rx to Rx, and GPIO0 of ESP8266 to GND, you are downloading firmware into ESP8266. After that, you no longer able to use AT command to communicate with your ESP8266. You need to re-upload the ESP8266 firmware into ESP8266 to enable you to use AT command.
@pastexpiry2013B
@pastexpiry2013B 5 років тому
i THINK you meant TX to RX and, RX to TX.
@thomasweyermann5848
@thomasweyermann5848 3 роки тому
@@pastexpiry2013B Yeah from what I can tell, he said it backwards throughout the video too
@LiveSparks
@LiveSparks 3 роки тому
No, I said it correctly. If the Arduino itself was communicating with the ESP then you would be correct. But we are actually bypassing the Arduino completely and hence the weird connections.
@thomasweyermann5848
@thomasweyermann5848 3 роки тому
Oh okay that does make more sense. No matter what I tried, I could never get this working through the Arduino (presumably because I didn’t have the necessary capacitors, resistors, or possibly computer drivers), so I’ve been using a hybrid of a 3.3V power supply and my FTDI adapter which does require rx-tx and tx-rx.
@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...
@d3jake
@d3jake 7 років тому
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!
@aneil2dig
@aneil2dig 5 років тому
Thank you! Simple, clear, accurate instructions. A great help :)
@vironicamacabenta8303
@vironicamacabenta8303 6 років тому
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!
@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?
@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...
@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!
@michaelt126
@michaelt126 3 роки тому
this was a great tutorial, i wouldnt recommend it to people who dont know anything about arduino or havnt seen/used transceivers before. This is a GREAT tutorial for people that need a refresh, who may need to double check their setup, or have used similar boards and dont want to go through long boring tutorials again!
@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.
@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
@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
@sayedsakin1284
@sayedsakin1284 4 роки тому
when i'm upload it say, " esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header " please help!!
@swastikgowdal7412
@swastikgowdal7412 4 роки тому
i am also getting the same error if it is solved plz tell me
@rugmj6689
@rugmj6689 4 роки тому
@Nand Kishore Bhamidipati i dont have one of them is there another way to fix this?
@washhands5191
@washhands5191 4 роки тому
I have a answer to this problem... 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.
@shreyaspatil372
@shreyaspatil372 6 років тому
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.
@vksalian
@vksalian 7 років тому
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.
@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
@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?
@elabinnovations
@elabinnovations 5 років тому
How to backup esp-01 into old or original version? Please help me
@ManishGupta011994
@ManishGupta011994 5 років тому
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.
@alifsulton8613
@alifsulton8613 6 років тому
Board generic (platform esp8266, package esp8266) is unknown how to fix it?
@GURU_85
@GURU_85 3 роки тому
Please help me on this error ....Done all Connections right still getting error "esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header " How to remove this error ??
@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.
@nishantvikramsingh4467
@nishantvikramsingh4467 3 роки тому
How can I control devices plugged in arduino(like led,motors etc) using esp6288 and mobile phone. Please help!!
@kishoremulupuri113
@kishoremulupuri113 2 роки тому
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
@VincentHoong
@VincentHoong 6 років тому
After all the damn issue - "espcomm_upload_mem failed" power transmission too high, not suitable to use jumper 7 jumpers of mine been sacrificed to this startup configuration tutorial Thanks man...nice tutorial anyway keep it up!!!
@deepaknayak6715
@deepaknayak6715 5 років тому
Perfect tutorial! Please do more of ESP8266 project videos
@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?
@AdityaGupta1997
@AdityaGupta1997 6 років тому
i am unable to interface esp8266 module with arduino uno r3. can you help me with it's connection circuit?
@shubhamupadhyay5596
@shubhamupadhyay5596 6 років тому
brother program uploading is done but it is not blinking even though i have removes GPIO0 from GND PLZZ help
@rajasukar
@rajasukar 6 років тому
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)
@pmzmdf
@pmzmdf 6 років тому
Thank you for this video. It worked first time with my Arduino Uno using the same pins as on your Nano.
@LiveSparks
@LiveSparks 6 років тому
+Matthew Finn Happy to help
@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????
@SupremeNoble
@SupremeNoble 5 років тому
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 років тому
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
@sampathkumarayyavaru3094
@sampathkumarayyavaru3094 6 років тому
how to use this ESP module to get the values from MPU 6050 IMU sensor through wireless communication
@bunnykiller
@bunnykiller 2 роки тому
you set a new record for the fastest tutorial ever... its a good thing these videos have pause
@AvikSeth
@AvikSeth 7 років тому
after uploading 100% the board(Arduino nano in my case) gets disconnected please help
@gihozuniega8078
@gihozuniega8078 3 роки тому
my error said my serial port_does not exist or your board does not connected what should I do?
@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 роки тому
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
@darlingaadi8258
@darlingaadi8258 Рік тому
Bro can we send data that readed in arduino using sensor at time WiFi module connected
@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
@FeuFabricio
@FeuFabricio 6 років тому
Many thanks, I was going to throw my ESP-01s away. With me, it ONLY WORKED when used both the 100ohm resistor and the 3.3uF capacitor.
@OblivionTechYT
@OblivionTechYT 5 років тому
When I connect CHPD pin to Vcc, red led goes OFF. Whats that?
@bellilyassine9442
@bellilyassine9442 3 роки тому
how to make it work with arduino uno for reading analog value from pin A0 ?
@FuxionTech
@FuxionTech 7 років тому
thanks sir, it helped a lot.. but I want to send data from a webpage through this module , can you help me in this?? i.e how can we create a simple webpage on which we have one button to toggle a specific pin of arduino... waiting for your reply
@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.
@nurishahaniakamarudin7417
@nurishahaniakamarudin7417 6 років тому
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 роки тому
sorry have u solved this issue? would u mind helping me if u have solved it
@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!
@nurishahaniakamarudin7417
@nurishahaniakamarudin7417 6 років тому
Hello Sir, Can you tell me how to pass the value from Arduino to NodeMCU ? I have problem when connecting the current sensor directly to nodemcu. The value produce is not same as multimeter. If I use Arduino, I got the value same as multimeter. Both I used same code. But different result. Can you share with me how to transfer data from arduino to nodemcu lolin??
@anisbhsl
@anisbhsl 6 років тому
nice tutorial. You saved lot of my time and speed is what I loved in your video :)
@Kevin-mb4xf
@Kevin-mb4xf 5 років тому
Thank you for making this video. It was very enlightening. The music was damned distracting though.
@rahulsahable
@rahulsahable 5 років тому
My wifi module is program but not blinking the building led in esp8266 01 .. Pls help me.. Live sparks
@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
@uganesjack9427
@uganesjack9427 5 років тому
How to do programming in wifi module esp8266 NodeMcu 12e module? how to make 3 outputs? thanks
@cutlerwhitely2269
@cutlerwhitely2269 2 роки тому
Shouldn't Tx pins go to Rx pins on the Arduino board?
@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 років тому
Live Sparks Ah. Let me try to program my esp-12E with this method :)
@madhukeshnp
@madhukeshnp 7 років тому
awesome tutorial ..... best one so far on UKposts. also try to make a rgb colour changer and dimmer. thank you in advance. i think u will be back soon with this rgb project.
@caepisan
@caepisan 5 років тому
how to use breadboard adaptor ? I am very confused
@pareshmhatre4019
@pareshmhatre4019 2 роки тому
generic esp8266 board is not listed in board, where it is?
@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 років тому
+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?
@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
@TheMailojah
@TheMailojah 5 років тому
Ciao, perchè alcuni collegano tx con rx arduno e rx con tx di arduino? Cioè il contrario ? Perchè? Grazie mille
@LiveSparks
@LiveSparks 5 років тому
This is because we are bypassing the arduino to communicate with the ESP.
@matthewklemm4897
@matthewklemm4897 5 років тому
What resistor value did you use? Thanks!
@valuechained
@valuechained 5 років тому
yeah!
@WADiviNavya
@WADiviNavya 4 роки тому
I have connected the ESP8266 with Arduino UNO with the same connections shown in the video but when I was trying to run the blink code it is showing the error that selected serial port(Port name: COM3(Arduino/Genuino UNO) doesnot connect with your board. It is the only port available when I am connecting the device to my laptop. What can i do to solve this . Waiting for the reply
@LiveSparks
@LiveSparks 4 роки тому
Can you upload any code to only the arduino? If not than try changing the cable.
@PaulR387
@PaulR387 6 років тому
Excellent my friend, very well structured tutorial..
@The_Unobtainium
@The_Unobtainium 6 років тому
ok, now i get it! you use arduino nano board just to use its ch340 usb-uart chip. That is why nano's reset pin is permanently hooked up to the ground and tx-tx and rx-rx pins are connected. thank you
@TheTeamScorpia
@TheTeamScorpia 7 років тому
You recommend putting a 3.3 µF Capacitor between ground and vcc? Didn't understood that
@LiveSparks
@LiveSparks 7 років тому
+Scorpiaa_ | YT: ScorpiaDev Its not necessary but can help smooth out any fluctuations in power.
@quaziz
@quaziz 5 років тому
What is the value of the resistor you are using?
@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 років тому
+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 :)
@johnmason6079
@johnmason6079 6 років тому
For some reason you cannot use a jumper cable when connecting CH_PD to VCC. (you get a failed to upload error). Use a 10k resistor instead and it works perfectly
@arunpoulose4193
@arunpoulose4193 6 років тому
please tell me how to flash the ESP8266 01 with its firmware using arduino
@kalpalathikaramanujam1573
@kalpalathikaramanujam1573 5 років тому
Does the microcontroller get the wifi now?
ESP8266 in 5 minutes
5:50
MrDIY
Переглядів 111 тис.
ESP 8266 -01 FirmWare Upgrade & BaudRate setting
17:50
Saravanan AL
Переглядів 55 тис.
РАДУЖНАЯ ГОРКА 🌈😱
00:30
ВИОЛА 🐰
Переглядів 3,4 млн
ESP-01 UART and turning it to a programmer
5:03
Csongor Varga
Переглядів 154 тис.
#1 Program an ESP01: The easy way!
7:38
AIbeginsDotNet
Переглядів 96 тис.
How to Program #Esp8266 using Arduino uno.
6:58
technolab creation
Переглядів 154 тис.
How to Program ESP8266 ESP-01 Module with Arduino UNO
4:22
Yellow Purple
Переглядів 22 тис.
Using an ESP8266 ESP01 Module
6:51
Brian Lough
Переглядів 114 тис.
Секретная функция ютуба 😱🐍 #shorts
0:14
Владислав Шудейко
Переглядів 124 тис.
Зачем вы показываете ноутбук в аэропорту?✈️
0:29
Что если бы Apple делала зубные щётки?
0:59