True I watched so many videos and that’s the only one wich worked
@jinhangkhaw6963 жыл бұрын
Definitely the best tutorial on using ESP to connect to MEGA as WiFi shield! I'm honestly very doubtful of the other channels as they just show you the steps and wouldn't let you know if their method works. I followed your steps and get it connected to Blynk! I used a different firmware and the alternative way of flashing showed, and it worked either. Helped me a lot + all the time saving and headcracking going through info of flashing etc, cheers for more videos like this.
@kedarprabhudessai6 жыл бұрын
Nice video.. from those two versions 8M and 32M stands for modules flash storage esp 01 comes with 8Mbits storage that is 1MBytes and esp12e comes with 32Mbits that is 4MBytes.so you need to choose the right one for your module. By change u chose the right one and it worked.☺️👍
@duntyou86 жыл бұрын
Thanks for the info.
@3dgiftz2 жыл бұрын
Great
@crocellian29726 жыл бұрын
You did very well. Please do more. You’re complete, clear and modest. None of that is common on KZbin. You have another subscriber.
@MrKartos14 жыл бұрын
Your method worked for me, I didn't use a TTL to USB or any kind of adapter. Instead I connected to Arduino Uno - RX->RX, TX->TX, EN->3.3V, VCC->3.3V, GND->Ground, GPIO-0->Ground, Arduino RESET->Ground (to bypass the ATMEGA, do this AFTER the Arduino is powered on). For power source I used the Arduino's 5V pin with 2 diodes for their voltage drop instead of a resistor voltage divider, for some reason it didn't work for (current probably or bad connection on my side). Also, very important! the moment I started flashing the firmware, I put the ESP-01's RST pin to ground in and out quickly and the GPIO-0 to ground only after I connected power to the ESP. Thanks! Turning an LED on and off with the Arduino is fun, doing it over WiFi got me stoked! Along with the LED I connected DC motors to L293D with their own power source (I had trouble connecting it to Arduino's ground / 5V) and it worked perfect with the Blynk Slider widget! Happy hacking!
@garysenier244010 ай бұрын
I have been struggling on this for days and couldn't find videos that explained it as thoroughly as you did/I needed. Thanks so so very much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@gustavstreicher48674 жыл бұрын
12:14 The 8M stands for 8Mbit, which is equivalent to 1MB (Megabyte). 32M stands for 32Mbit, which is equivalent to 4MB (Megabyte). This refers to the flash memory size of the ESP module. Some have 1MB, some have 4MB. I believe the ESP8266 (ESP-01) that you have has 1MB of flash memory, so the 8M flash version should be appropriate. Side note: If you are working on a Linux distribution, you can use esptool to flash the firmware onto the ESP module.
@AlexeyLitvinov5 жыл бұрын
thanx! you can flash ESP using arduino, w/o flasher. Need just to connectc txtx, rx and on Arduino connect RST to GND.
@dompower5005 жыл бұрын
Excellent video tutorial with complete clear and beautiful explanation. One of the best tutorial I have ever seen on youtube. Keep it up sir.
@neurorad8265 жыл бұрын
THE BEST AND CLEAR TUTORIAL ON THIS TOPIC! I GET LOST WITH INCORRECT AT Firware links founded in variuois Internet sites but the one you linked in perfect! About the version of the firmware (8M) or (32M) depends on the size of your ESP flash memory. I have a 8M and work nice with the AT 8M Firmare
@LillySchwartz5 жыл бұрын
This tutorial is so well done! I was migrating a project from a nano to a mega and just couldn't get the serial connection to work. One look at your sketch and it was sorted, perfect! Two things I'd like to mention: First, you made an effort to conceal your wifi login in the video but neglected to remove it from the sketch you shared! Second: I found the AT command firmware way too glitchy and the connection kept going down especially after trying to send certain packets. I sorted this by using the micropython firmware. I think I had to rebuild the firmware in docker to get it to talk to the Arduino - baudrate -, but my connection is now rocksolid. I also let the ESP do some of the lifting and just trigger python functions via serial. So much more reliable and intuitive!
@duntyou85 жыл бұрын
Cool. So you only changed the firmware on the ESP module, and there were no changes to the Arduino code?
@LillySchwartz5 жыл бұрын
@@duntyou8 Well, I had to change the commands being sent to the ESP. Different application. I had to send an XOR encrypted packet to a specific IP address in the network and whenever I did that with the AT firmware the first one would go through but the next one would reset the network connection. The encryption had to happen on the Arduino which is a pain in C. With python networking functions are super easy to build, so instead of building the packet on the Arduino I used the ESP for that and just sent the plain string over to the ESP via serial. Works great!
@duntyou85 жыл бұрын
Whoa… totally over my head :) But still, I’m glad that my video helped in a tiny way!
@amosgarcia455 жыл бұрын
There are no words to describe how much you have helped me, thank you very much
@lafkihkhalid34736 жыл бұрын
Great tutorial Man ! spending 45 minutes to explain good ideas with a very beautiful way that means you are awesome.Thanks a lot
@minoruhaginoya22496 жыл бұрын
Wow, thank you so much for such a detailed tutorial!! You're awesome!
@arunaviswanathan29555 жыл бұрын
a very well explained video - thanks a lot.... i was really frustrated in search for a proper video and got a big relief in seeing this video. it worked very well.
@3LITEDJ5 жыл бұрын
Thank you so much for this. I spent days trying to get this to work and your tutorial is the only one that managed to do so!!
@wolfgangeuen97995 жыл бұрын
Nathan, your presentation is just perfect! Thanks a lot.
@seandonelan57404 жыл бұрын
Very useful video, thanks for taking the time to create it.
@ico4505 жыл бұрын
Sir u deserve a statue! U saved me from madness with my esp8266.. A BIG THANK YOU!
@bluuey2 жыл бұрын
Your tutorial greatly helped, thank you!
@PriyanshuKumar-zd1lq6 жыл бұрын
One of the best videos on this topic.Cleared all my doubts.
@kamranmu6 жыл бұрын
The best tutorial about Blynk ESP8266 and Arduino
@ma.angelicamayor46053 жыл бұрын
Great Video! Continue inspiring us!
@zarahmoran46996 жыл бұрын
Most useful video i have ever watched. Much thanks for sharing the video sir! Survived my college thesis through this 😊
@duntyou86 жыл бұрын
Wow. Congratulations. Glad I could help.
@drumminjeff715 жыл бұрын
I totally agree with the last comment. Awesome job. Thank you so much for investing your time to help us out :-)
@drumminjeff715 жыл бұрын
I have created a similar project to turn on and off my aquarium heater that I watch with blank and it notifies me through text message if my parameters get out of range. But you're project here made it much more simple for me and I'm going to change my setup :-) thank you.
@cemcumhurklc55314 жыл бұрын
At last it works thank you for your sharing.
@zaimaiman47425 жыл бұрын
This video really help me up on my project. Thanks for helping me.
@timmorgan36736 жыл бұрын
Thanks Nathan - A most useful tutorial - Cheers :)
@usersn3002 жыл бұрын
Also, well written description :)
@felixg4m3r315 жыл бұрын
Your video is great. Very good explanation that even beginnerst will understand. I had a lot of Issues for example uploading the AT Firmware (dont know why but it alwasy said that there is no connection but there was... i tried it a lot of times even with 3 different Flasher softwares and sometimes it worked) the last problem was the it did not show me the Blynk sign in the Seriell Monitor but after i changed da Baud rate to 9600 it worked. Maybe i can help someone with that information but again i am very thankfull for this awesom video
@ayubi40703 жыл бұрын
im glad i found this tutorial
@engamin894 жыл бұрын
YOU'RE AMAZING!! Thanks a lot for amazing video.
@coctakiesmaster45136 жыл бұрын
excellent wifi controlled working video
@mcie63062 жыл бұрын
Great video thank you so much man, that's fantastic
@rajdeepdas865 жыл бұрын
Thanks a lot for this amazingly detailed tutorial
@mehulvarshney67084 жыл бұрын
This is the most underrated KZbin Channel!
@gonzalorumeuclaret95336 жыл бұрын
OMG so helpful. I wish more people would be as detailed as you have been in this video. Thank you so much
@karthikk48906 жыл бұрын
The best video I've ever seen. Awesome keep up the good work!!!!!!!!!!!!!!!!!!!!!!
@mannhansen93376 жыл бұрын
Thanks. Very good and instructive. You saved me a lot of time collecting information.
@duntyou86 жыл бұрын
I know what you mean. Nothing in the video is difficult, but it took a week for me to find all the info, which was scattered across the internet. I hope the video ties it all together and saves other people time.
@AfzalRaza545 жыл бұрын
nice and detailed info for beginners
@ronenbarakc.p.a89854 жыл бұрын
great videao very very well explained - one of the best. you got the talent
@abib26044 жыл бұрын
Hi, I Have question I used WemosMEGA, actually same with Arduino Mega + ESP8266 I have followed step by step, I have probelem on last step, after uploading code and Serial monitor "ESP Not Responding" What's wrong?
@duntyou84 жыл бұрын
"ESP is not responding" is a common problem. I show some troubleshooting steps, starting from time 34_40 in this video kzbin.info/www/bejne/nZncnYGJn76Xg9U
@abib26044 жыл бұрын
@@duntyou8 thank for information. i have watched the video. I believe no problem on RX TX, 3,3V, GND connected because I use Wemos MEGA, no cabling over there, only change the socket dip. in the step after flash fimware, I try to connect esp8266 and accesspoint with AT + CWJAP. and it worked. and have also tried to follow the example to turn on LEDs via the web. it worked. but if I try blynk, it's always ESP Not Responding. I doubt use version AT Command fimware. On WemosMega use ESP8266EX, In this case, which version of firmware do I have to use? and what is the difference between Ai hardware and ESP8266_NONOS_SDK? I have tried everything, but still ESP NOT responding. Thank you
@duntyou84 жыл бұрын
Hi, I think what you are doing is outside of my experience, so I cannot help. If you are trying to get Blynk to work with Wemos MEGA, then I suggest you go to the Blynk website and search the forum: community.blynk.cc/t/wemos-mega-wifi-r3-atmega2560-esp8266/19626/2 From what I can see, other people are using Wemos MEGA. Someone said you have to use Serial3 instead of Serial1 on the Wemos Mega.
@duntyou84 жыл бұрын
Hi, I think what you are doing is outside of my experience, so I cannot help. If you are trying to get Blynk to work with Wemos MEGA, then I suggest you go to the Blynk website and search the forum: community.blynk.cc/t/wemos-mega-wifi-r3-atmega2560-esp8266/19626/2 From what I can see, other people are using Wemos MEGA. Someone said you have to use Serial3 instead of Serial1 on the Wemos Mega.
@abib26044 жыл бұрын
Thank you. finally it worked I use this code for blynk + wemosMega + Example pushdata #define BLYNK_PRINT Serial #include #include char auth[] = "vXJswotHJM26Un0jS43Du_-Iw82OG1C9"; char ssid[] = "ASUS_X00RD"; char pass[] = "jancok456"; #define EspSerial Serial3 #define ESP8266_BAUD 115200 ESP8266 wifi(&EspSerial); void setup() { Serial.begin(115200); Serial3.begin(115200); pinMode(13,OUTPUT); delay(10); EspSerial.begin(ESP8266_BAUD); delay(10); Blynk.begin(auth, wifi, ssid, pass); } void loop() { Blynk.run(); if ( Serial3.available() ) { Serial.write( Serial3.read() ); } if ( Serial.available() ) { Serial3.write( Serial.read() ); } } Hope this helps someone else, in trouble like me
@caffeinatedinsanity23245 жыл бұрын
Great video! Just a notice that at 40:58, the Wire.h library isn't necessary here, because in the code bit you imported, it is for the lcd that uses I2C, and you're not using any I2C devices as far as I know in this project.
@duntyou85 жыл бұрын
Thanks for the tip. I probably had an LCD connected in another version of the circuit.
@adarshtomy34836 жыл бұрын
perfect one i was looking for it.thank you
@pbalba6 жыл бұрын
Thanks a lot, man. Best tutorial ever.
@pbalba6 жыл бұрын
omg just realised you were my teacher at SLB!! El Tigre 2001!! =)
@augustorosa38605 жыл бұрын
AMAZING !!!!! you are the best
@GaryTube186 жыл бұрын
Very helpful. It took me 2 days to setup the esp8266 XD
@vineshv74015 жыл бұрын
Marvelous work thanks
@sneaker25895 жыл бұрын
Thanks for this tutorial!
@rssicr1tical2 ай бұрын
The firmware version you need depends on the flash memory size. You can find that out with the command "AT+RST". For me it output "SPI Flash Size & Map: 8Mbit(512KB+512KB)", therefore I need the 8M version.
@kennedyafia23376 жыл бұрын
Bro you're a lifesaver. Thanks
@dogeeatsveggies3 жыл бұрын
thank you sir! God bless you! ♥
@jeksenlisie74706 жыл бұрын
thanks dude for your great explanation..
@duntyou86 жыл бұрын
That should work. Just make sure the supply can handle at least 500 mA.
@RishiKumar-ii8tu5 жыл бұрын
that was so helpful
@erimelody41202 жыл бұрын
Hello Nathan ,its great explanation , I have been following through the process however, the At_firmware_bin1.54 has been deleted(I cant find it on the link you provided). is any other option I can use .
@duntyou82 жыл бұрын
I think the link in the video is old and no longer works. Please try the link in that is provided in the description of the video... I just tried it... it takes you to Github. That should work.
@erimelody41202 жыл бұрын
@@duntyou8 thankyou ,i am going to try it.
@wiseelu3295 жыл бұрын
Thanks, man. That really helps me.
@melannieworld2 жыл бұрын
I have a claw machine, which i would like to setup something like this to move the claw and drop the claw by using my computers keyboard. Any ideas, where to start?.
@duntyou82 жыл бұрын
I would try ThingSpeak. I have not used it myself, but it might be what you are looking for.
@RadiofarafiltruBlogspot4 жыл бұрын
many thanks it works very well !!! i try many pojects on the net, but no one function. this it work on first try. i do alimentation of esp8266, direct from arduino mega, on pin 3,3v and it work very well
@Chef_engineer... Жыл бұрын
Hello sir I followed these procedures but in my serial monitor [1527]ESP is not responding. Like this coming please give me a solution for this error sir 🙏
@kolayscada92444 жыл бұрын
Hi When I want to connect Esp8266 to the wireless network with AT codes, I get MEM CHECK FAIL error on the serial port monitor screen. It is stated in some sources that esp8266 may be corrupted. Do you have experience in this regard? Or can you give me some advice? I wish you convenience in your work.
@LoverOfToast434 жыл бұрын
A question I have is why do you need the 5v to 3.3v adapter for the second circuit? Can't you use the breakout board for the ESP-01 along with your external 3.3v power supply that you used in the first circuit?
@duntyou84 жыл бұрын
Regarding the 3.3V power supply, when I received the power supply in the mail, it came with a female power jack connector… probably identical to yours. I cut the jack off, stripped the wires and added the pins that you see in the video. I do not remember where I got the pins from, but I probably just pulled them off of some jumper wires that were in my tool kit. I suggest you do the same with your 3.3V supply. When flashing, I sometimes get the “failed to connect” message. It is usually a setup problem. See this video, at time 4:00 : kzbin.info/www/bejne/oZ-8h3ylbdCBoaM You are right. You can use the breakout board and the 3.3V supply for flashing and for the Blynk project. Functionally, they work the same. The 5-3.3V adapter board is a little more convenient for projects, but it cannot be used for flashing because it does not provide access to all the pins on the ESP-01.
@LoverOfToast434 жыл бұрын
@@duntyou8 Thank you for the prompt and informative response
@herlismanlim95573 жыл бұрын
A little help, sir ? i have this error, and have been looking everywhere online but to no avail. Thank you in advance! [1616] ESP is not responding
@nursaid78855 жыл бұрын
you are the best
@ManuVenugopaltheblazedundead6 жыл бұрын
Dude. Thank you so much. I've been following this tutorial for almost 2 days now and I finally got it working. A few things to add for someone who may face the same problem as me: 1. for some reason, I couldn't get pin 18 and 19(TX1 and RX1) to work the way I want to so I ended up using pin 0 and 1.(RX0 and TX0). The only thing to keep in mind while doing that is, while uploading the code to the Arduino, you need to keep RX0 and TX0 free. After uploading the data, you can reconnect them. Also, in the code that you copy from the Blynk website, change ' #define BLYNK_PRINT Serial1 ' to ' #define BLYNK_PRINT Serial' because you're working with Serial and not Serial1. 2.Also while flashing the firmware to the ESP module, I connected the RESET of the Arduino board to GND. It helped me, it may not help you. 3. Also while flashing firmware, connect RX of ESP to RX of Arduino and TX to TX of Arduino.
@duntyou86 жыл бұрын
That's awesome. Two days ain't bad. It took me five days to work out all the problems prior to making the video. It is strange that Serial1 did not work for you. Did you try Serial2 or Serial3?
@MultiPeterxx4 жыл бұрын
thanks bro. really helpfull
@kryptonitecorydo71525 жыл бұрын
this is the best tutorial i've ever seen.
@philipcherry11044 жыл бұрын
Thankyou soo much! I had been pulling my hair out over this
@cenonlumabadiii89762 жыл бұрын
Have you tried the ESP-01S version? Can you confirm if your solution works in this new version of esp? Thanks!
@duntyou82 жыл бұрын
I have not tried the ESP-01S, but I read about the small changes between the ESP-01 and ESP01S. Think those changes are insignificant with respect to the instructions in this video. I would expect the ESP-01S to work fine with the procedures in this video. But be aware, the ESP-01S board has different LEDs, so don't be surprised if the LEDs on the ESP-01S board don't blink exactly like what you see in the video (I am using an ESP-01).
@cenonlumabadiii89762 жыл бұрын
@@duntyou8 Thank you for answering!
@benjaminbaptista14084 жыл бұрын
Great tutorial, never seen like this before so clear information. But i have a question, my esp8266 connected to wifi but there no reply from blynk, do you know why?
@duntyou84 жыл бұрын
Hi. It could be your wifi has a firewall that prevents communication with Blynk. If possible, try a different wifi network. Other people have had problems similar to yours, in my third ESP8266 video, I discuss this more. Go to this video, kzbin.info/www/bejne/nZncnYGJn76Xg9U , and jump to time 38:50.
@benjaminbaptista14084 жыл бұрын
@@duntyou8 thanks for your kind reply. I'll try another wifi, Thanks Nat.
@punithreddy92235 жыл бұрын
i am getting [1609] ESP is not responding error? could u have any idea?
@nathanchurch4195 жыл бұрын
Hi, The video shows a step-by-step process to make the project work. Make sure you have completed all of the steps up to the point that you see the error. Then let me know at which point (or time) in the video that you see the error. Are you using an Arduino Mega? If not, what board are you using?
@nathanchurch4195 жыл бұрын
A lot of people see this error. In fact, so many people see it that I made a new video that explains some of the causes. Starting from time 34:32, watch this video... kzbin.info/www/bejne/nZncnYGJn76Xg9U .
@punithreddy92235 жыл бұрын
I am using Arduino mega and I am getting that error at the end when the we try to check at last ping is also not showing up
@nathanchurch4195 жыл бұрын
Please find the spot in the video where the first error occurs, then give me the time of the video. With that information, I can help. Do not worry about the ping problem yet.
@OskarP26014 жыл бұрын
Is it possible to connect without the WiFi module? Pretty sure the Arduino mega 2560 already has one built in? Might be wrong tho
@virtualpathshala216 жыл бұрын
Thnx Awsome teachin ... Hope u will upload n teach us more
@gustavovd4 жыл бұрын
Good stuff.... Good stuff...
@AdnanFKSA5 жыл бұрын
I've got problems while trying to flash ESP8266, connected with ESP-01 Adapter, through Arduino Mega. Is it even possible, or you have to have FTDI to USB converter to flash it?
@nathanchurch4195 жыл бұрын
Yes, it is possible to use the Mega to flash the ESP-01. But there are some things that make it tricky. The Mega is a 5V device; the ESP is 3.3V device, so you have to use a level shifter or voltage divider on the RX line of the ESP module, otherwise you will probably damage the ESP module. Also, you need to power the ESP with 3.3V, and the 3.3V output from the Mega might not provide enough power, so you are still likely to need an external 3.3V supply for the ESP module. I do not have a tutorial that shows how to flash an ESP module with a Mega, but I do have a video that shows how to flash an ESP module with an Arduino Due. That video might help you a little. Go to time 12_38 in this video kzbin.info/www/bejne/nZncnYGJn76Xg9U&
@aaronglafenhein95655 жыл бұрын
this is the best tutorial by far that i have found on the web!
@jmeska6 жыл бұрын
Hello, Nathan can you tell more about the 4 pin breadboard adapter you use? Is it possible to program esp with it? Thanks!
@duntyou86 жыл бұрын
The four pin adapter does not have a convenient way to connect GPIO to ground, so it is not very helpful for flashing the ESP. I thought that was an annoying design flaw. If you are really determined, you could probably find a way to hack the adapter board and add wire connected to GPIO, and then you could flash the ESP.
@moelgandor26174 жыл бұрын
U SAVED MY F ING LIFE
@duniaatlas43076 жыл бұрын
excusme bro , I want to ask about the esp8266 you are using.Do you use esp with 8MB of flash memory or 1MB of flash memory? ty
@duntyou86 жыл бұрын
The ESP-01 module shown in the video has 1Mbyte (8Mbits) of flash.
@duniaatlas43076 жыл бұрын
Nathan Church i got it, thanks bro
@Ziplock90006 жыл бұрын
What was your reasoning for not *just* using the ESP8266, especially when it's also an arduino that is considerably more powerful than the mega?
@duntyou86 жыл бұрын
For sure, if all you are doing is making an LED turn on and off and getting a temperature, then you do not need the Mega. You could just use an ESP module. But the Mega has 54 IO pins, 16 Analog inputs, 4 serial UART, ISP, PWM, etc. If your project needs a lot of that stuff, plus wifi, then using a Mega connected to an ESP-01 makes sense.
@danielerighetti35164 жыл бұрын
Great tutorial! But I have a little problem. After flashing in the serial moniotr I have the message READY, not the mesage OK. Then I have tried to enter the command AT and I received the message "ERROR". Is this a problem?
@duntyou84 жыл бұрын
Hi, I don't know if that is a problem. Please make sure that you flashed the same version of AT commands that I did in the video. After you see "ready", type "AT+GMR". That will show the version, and you should see the same version information that I show at 23:28. Also make sure that you disconnected GPIO before typing "AT". When in doubt, go through the flashing process again.
@lokivsfortune3 жыл бұрын
in my case 115200,with MEGA ,Many Thanks to you.. God Bless You.. :)
@betool36262 жыл бұрын
How can use esp32 with an Arduino board? it does not appear esp32 when I select the board as Arduino Uno in the Blynk browser page!
@duntyou82 жыл бұрын
I think you are talking about the Blynk web page that provides code examples. On that page, set the “Board” option to whatever Arduino you are using. For “Connection”, select ESP8266 Wifi Shield. That should work with an ESP32. For your project, I suggest you use an Arduino Mega or Due instead of the Uno. You might find the system is less stable with an Uno. If you must use an Arduino Uno with an ESP module, then I suggest you follow the instructions in my other video: kzbin.info/www/bejne/oZ-8h3ylbdCBoaM
@ClydeHoadley5 жыл бұрын
I got it all working with an UNO and an Adafruit Huzza esp8266 breakout module.
@greenspanfx5 жыл бұрын
Hi Nathan, does it happen to work with newer versions of the firmware? I currently have this one T version:1.3/0.0(Jul 14 2016 18:54:01) SDK version:2.0.050
@duntyou85 жыл бұрын
For all of my projects, I have used AT version:1.1.0.0(May 11 2016 18:09:56) SDK version:1.5.4(baaeaebb). I don't know what happens when newer versions are used. The Blynk website simply states that 1.1.0.0 works best. This is the link that I am referring to: help.blynk.cc/how-to-connect-different-hardware-with-blynk/arduino/esp8266-with-at-firmware
@greenspanfx5 жыл бұрын
@@duntyou8 Thank you for the detailed tutorial! It is working now! I was having a lot of trouble trying to update the firmware(the first part of your tutorial), and didn't even check the version my module had, I believed it was old. When I checked I noticed I had AT version:1.3.0.0(Jul 14 2016 18:54:01) SDK version:2.0.0(5a875ba), so I decided to skip that part, and yay! It is working now :D Thank you very much.
@jacobstech17774 жыл бұрын
life saver!!!
@Cheloman19756 жыл бұрын
very good!!!
@garethwilhelm50545 жыл бұрын
Please help!! I manage to get to the step where I successfully flash the firmware, but when I reconnect and open serial monitor it stops at "ready" and doesn't say "WIFI connected" or "WIFI got IP" (refer to 20:41 in the video). Thanks in advance
@duntyou85 жыл бұрын
Hi, don't worry about getting the "WIFI connected" or "Wifi got IP" after flashing. Continue with the tutorial even though you did not get those two messages. Several people have asked me about this issue, so I explain in my followup video, check at time stamp 58 seconds ... kzbin.info/www/bejne/oZ-8h3ylbdCBoaM&
@stegreece35 жыл бұрын
I can’t find the 3,3v power cord for breadboard in my country at all . Is there another solution like MB102 breadboard power supply module ?
@duntyou85 жыл бұрын
Typically, MB102 breadboard power supply modules can provide 3.3V @ 700 mA. That is good enough.
@stegreece35 жыл бұрын
Nathan Church Thank you very much for fast respond first of all . I bought a rotary switch adaptor and it’s 600mA . You can set it on different outputs and one of the outputs is 3 not 3,3v (it doesn’t matter?)
@duntyou85 жыл бұрын
I do not know if 3.0V will work. I think it probably will work, but if you see strange behavior from the ESP8266, then you should try to find a 3.3V supply.
@harez934 жыл бұрын
Funny thing happen with my esp01. And i tested this out with a very simple relay trigger. While the relay is connected to an AC load, when i play around pushing buttons on the blynk app to trigger the relay on and off, after a few seconds its says device is disconnected on the blynk app. I used the blynk_debug code to see whats happening, and as i was pressing the button, the serial monitor freezes for a while and a “cmd error” appeared. Cannot reconnect or do anything once this happen, on the app it will say device is disconnected. Only thing to do is to reset it, or by closing the serial monitor and open it back up. Have any idea whats going on with my esp01?
@duntyou84 жыл бұрын
I do not know exactly what is going on, but I too find Blynk to be “finicky”. These are some things I suggest you test or try: Try a different wifi network. (I assume you are using wifi). Make sure you are not trying to send too much data, too fast to Blynk. It sounds like you are not doing that, but the symptoms you describe are similar to what one sees when Blynk gets too busy. Simplify the to code to the bare minimum to see if the problem goes away. Sorry I cannot pinpoint the issue for you. The support forum on Blynk's website might be helpful to address your issues.
@harez934 жыл бұрын
@@duntyou8 i've searched this problem in blynk's website and forums, non of the solutions work for me though. But havent tried using a different wifi network, i'll try that later. Im not sending too much data or too fast, just pressing the on and off button on blynk app a couple of times and this happens. I did try sending 3 analog values through virtual pins and it worked fine. the only issue is on the relay trigger. and whats even weirder is the cmd error didnt come up if i trigger the relay without a load on it. But as soon as i connect it to an AC load, pufff there it is again, that annoying cmd error haha Another fun fact, i tried it with the ESP32 and pressed the hell out on that trigger button with the load on, and there was no error. Im starting to think it might be a blynk and ESP8266 problem. Care to make a tutorial video on MEGA + ESP32 maybe? xD haha Anyway thanks for your reply and help. I might have to find another way to do this then.
@duntyou84 жыл бұрын
Does the relay and the ESP8266 share the same power supply? If so, you might have a noise problem. In other words, when the relay triggers, a short voltage drop (or spike) might be seen by the ESP8266, causing it to reset. I have another KZbin video that shows how to connect an Arduino Due to the ESP-WROOM-02U. That might be of interest to you.
@xxDeath99Starxx Жыл бұрын
when i sent an AT command in the serial monitor it works find but when doing it with code using SoftwareSerial it doesnt say anything in the console? ????
@duntyou8 Жыл бұрын
Your message is very brief, but I think you are saying that you were able to send AT commands through the USB-TTL converter… as was demonstrated at time 20:47. In this video, I do not communicate with the ESP8266 with Software serial. I am using the hardware serial port (TX1 RX1) on the Arduino Mega. Which Arduino board are you using? If you are using an Arduino Uno, then you need to use SoftwareSerial. I show how to connect an Arduino Uno and Software Serial in this video: kzbin.info/www/bejne/oZ-8h3ylbdCBoaM
@xxDeath99Starxx Жыл бұрын
@@duntyou8 Sorry, I'm kinda new to Arduino and my message was very brief. I have an esp8266 esp-01s hooked up to my Arduino Mega 2560 Rev3, I can send commands through the USB-TTL converter, and it works fine and connects to my network and gets an IP assigned. But yes, I was trying to use Software Serial for communication, How would I set up Hardware serial ? Do you have a small example? Not the blynk code? Thanks
@duntyou8 Жыл бұрын
If you follow all of the steps in the video, you will see how to write the sketch. Specifically, starting at about 36:00 in the video, I show how to write the sketch. I also provide a link the Arduino sketch in the description of the video.
@xxDeath99Starxx Жыл бұрын
@@duntyou8 I mean without Blynk,
@duntyou8 Жыл бұрын
The sketch shown in the video (and provided in the description) allows the Arduino Mega to communicate with an ESP8266 module with the Mega’s hardware serial port 1. You can leave the lines of code in the sketch related to Blynk, even if you are not using Blynk… the sketch should still compile and run, but the sketch won’t do anything interesting until you add the features specific to your project. You can delete the lines related to Blynk if you want to. Alternatively, you could complete the whole project shown in the video (with Blynk). Some people can get it done in less than an hour. The experience that you gain in the process might be helpful for your project.
@juanmanuel-ov3sd5 жыл бұрын
Hi, im not finish watching the tutorial yet but wanted to ask why you didnt use the 3v from arduino to the esp , thank you
@duntyou85 жыл бұрын
The 3.3V supply from Arduino Mega and Uno cannot provide enough current to run the ESP module reliably. The ESP can draw up to 430 mA. The 3.3V supply on the Mega and Uno is only rated to 50 mA.
@jonasbraga74366 жыл бұрын
Hey, is the conversor USB to TTL only for install the newest firmware? So then, can I use the esp8266 with their default firmware?
@duntyou86 жыл бұрын
The ESP8266 will probably have AT Commands installed when you buy it. The ESP8266 might work with that firmware. If you are trying to duplicate the project shown in the video, then you need to check which version of AT Commands is installed on the ESP8266, because Blynk only works with certain versions of AT Commands. This is discussed at 10:23 and 20:55 In the video.
@jonasbraga74366 жыл бұрын
@@duntyou8 okay, got it thanks
@LoverOfToast434 жыл бұрын
I have another question. I bought a DC connector to barrel power jack adapter for my external 3.3v power supply (instead of stripping it like you did). When I compile and upload my code I got from the example code generator I get no output on my serial monitor. Nothing at all. I'm sure that the COM and baud rate is correct. I also double checked all my wiring to make sure it was the same as yours (I don't have the adapter, but its exactly the same outside of that). Could the problem be my dc connector adapter? Do I need to just strip the power supply? I do have a different version of the Blynk libraries, could that be the problem? I have the newest version instead of 0.4.10. I also have the latest arduino version. Maybe I need the latest firmware version as well? Finally, my end goal is to send data to a website I'm making, It seems like this video just shows how to send the data to Blynk, but can you use the ESP-01 to send data from your circuit to an API so that my website can pull from it?
@duntyou84 жыл бұрын
I can imagine that the barrel power jack for your DC power supply is fine, but you should confirm which pin on the jack is ground and which pin is +3.3V. The easiest way to check is to use a voltmeter. If you do not have a voltmeter, then use an LED to check the polarity of the power coming from the jack. Also, when you have power to the ESP-01 you should see its LED light up, just like in my video at time 19:13. Blynk comes out with new versions every month or so. That is normal and shouldn't cause a problem. Same with the Arduino code. The ESP8266 firmware to use is AT version 1.1.0.0. Refer to this site: help.blynk.cc/en/articles/605485-esp8266-with-at-firmware. From your message, it isn't clear if you have gotten through the first step of flashing the ESP module. If you haven't gotten that far yet, then the version of Arduino and Blynk doesn't really matter. Successfully flashing the ESP is the first step. Blynk is probably not your best solution if you are trying to send data to a web site. I think there are some other IoT platforms that are better suited for that. Sorry that is outside of my scope of experience, but I would probably do a bit of research on the web to find out what seems to work.
@LoverOfToast434 жыл бұрын
@@duntyou8 I was able to successfully flash the AT v1.1.0.0 firmware to the ESP. My ESP also lights up when I connect the pins from the external power supply. I'm blanking on what the problem could be though.
@duntyou84 жыл бұрын
Are you using an Arduino Mega? I think you said you do not have an adapter. Can you describe your connections from the ESP-01 to the Arduino?
@LoverOfToast434 жыл бұрын
@@duntyou8 I am using the mega. Connections are from the ESP to Arduino respectively are TX to RX1 (pin 19), RX to TX2 (pin 18), VCC to my external 3.3v power, and ESP GND to my external 3.3v ground. And then of course I have a sensor, LED, and resistor. I'm using the breakout board for my ESP-01.
@duntyou84 жыл бұрын
The Mega is a 5V device and the ESP-01 is 3.3V device. Connecting the ESP TX to the Arduino RX is probably okay. The Arduino will accept 3.3V as a High. Connecting the Arduino TX (5V) to the ESP RX is bad, because the ESP is only designed to handle 3.3V signals. You should put a voltage divider on the Arduino TX line. See my other video that shows how to do that. kzbin.info/www/bejne/oZ-8h3ylbdCBoaM at time 12_00. The cleaner solution is to use the adapter shown in video with the Mega. The adapter does the level shifting for you. There is a small chance that you have damaged your 3.3V ESP board by connecting it directly to the 5V Mega. If you want to run the circuit without an adapter, and you are powering the ESP-01 with an external 3.3V supply, make sure you have connected the ground of the 3.3V supply to the ground of the Arduino. If you do not make that connection, then you will have a voltage step between the the ESP and the Arduino, and the circuit will not work. I have some other troubleshooting advice in yet another video... kzbin.info/www/bejne/nZncnYGJn76Xg9U . Time 34_30.
@zkdlmint14293 жыл бұрын
Hello, how do you fix, "ESP8266_Lib.h: No such file or directory ", when actually I have installed it already?
@duntyou83 жыл бұрын
Hi. I don't know exactly what could cause that problem. I would probably try reinstalling the library, or reinstalling the Arduino IDE.
@zkdlmint14293 жыл бұрын
@@duntyou8 Thank you for your reply!! i managed to run the code, but another problem occurred, on my serial monitor, shows "[1609] ESP is not responding". In your opinion how should I fix this? Thank you
@duntyou83 жыл бұрын
Many people encounter the problem that you described. I have a troubleshooting section in this other video, kzbin.info/www/bejne/nZncnYGJn76Xg9U . Go to that video at time 34.30 .
@tonyx22036 жыл бұрын
Nice video
@shameenabegum81023 жыл бұрын
How to build an app that analyze data from these iot devices..please share link for this if any...thank you..Nice and Informative Video
@duntyou83 жыл бұрын
In the video, I show how to set up Blynk to display data from the ESP-01 module. Blynk has dozens of tools (widgets) that allow you to manipulate, analyze and display the data. If you want to produce a true stand-alone app, Blynk has a commercial business unit that will convert your Blynk project to an app. Check out the Blynk website. blynk.io/
@joshuavarela56475 жыл бұрын
i dont have the "#include " ive included the library getting an error
@AfzalRaza545 жыл бұрын
where is the link for the firmware sir..?? EDIT- no problem i just typed it in the URL
@basejumper13796 жыл бұрын
FYI, I have 2 different chinese chips that I bought this year, one blue one black. They came with AT version 1.2.0.0, SDK version 1.5.4.1. I needed to set the baud rate to 9600 for the black one and 74880 for the blue one in order to communicate with them.
@duntyou86 жыл бұрын
Interesting. I guess 115200 isn't as universal as I thought it was.