Great tutorial. These things are fantastic for little wifi-enabled widgets. I use them a lot as network to IR or RF blasters to control devices that already have built in IR/RF. Also for wifi-enabled buttons.
@charlielowell40772 жыл бұрын
Thanks for the "just the facts" basic tutorial. I've used Aduinos for quite a few years and I've used (years ago) the 8266 as a wifi module for the Arduino. I have up until now not attempted to use the 8266 as a stand alone. I've spent the last several hours watching other videos and Instructables trying to figure out how if I was actually connected to, much less able to write to one. Thanks to you I uploaded the blink sketch to mine! Heck, I didn't even know this thing HAD an LED. Thanks again!!!
@SimpleElectronics2 жыл бұрын
Hey - thanks for the kind words and I am glad I was helpful! Happy prototyping!
@diazaccesscontrols65823 жыл бұрын
Love it it works. You are a genius. I been trying this for 3 days and I just found out that my USB cable was bad.
@SimpleElectronics3 жыл бұрын
Glad I was some help!
@danjunk-DIY Жыл бұрын
Oh My God ! At last I found your video to solve my problems in installing this Wemos D1 UNO board. In fact, earlier I was using Arduino IDE 1.8.18. I tried same procedures to add ESP8266 board. For some reasons still not clear to me, I could not do it. Tried all other versions of Arduino IDEs ....up to 1.8.5 etc. I just purchased the board today from Amazon. All other versions of Arduino IDES s were throwing errors. Having fed up I decided to return the board. First I took break and tried one last time, where in I stumbled on your very nicely narrated video. I installed to Arduino IDE version 1.8.12 afresh, as you suggested. Yes Sir , it worked. I programmed the ESP8266 Blinker successfully. Thanks a lot. I wish to use it for my CNC Plotter so that the plotter could be controlled over my local Wi-Fi network. Is it logical ? Please take time seem my CNC project on KZbin.com/@danjunk-DIY. Thanks !
@DaPanda194 жыл бұрын
Just got super interested in the esp8266 and ordered some d1 mini's (x5) they show up tomorrow and I can't wait!!!
@DennisMurphey10 ай бұрын
We use the Wemos for model train control. We have one in the engine and a second is a handheld controller. We found the base code at Thingiverse from a fellow in Sweden that build a 3D Printed train for his kids. We are installing out kit into a 1950 American Flyer Steam engine and it is nearly done. Amazing to use WiFi to run our 1950 Train, and a OLED in the handheld, and a PWM driver to run the DC converted motor in the steam engine. And I had three I/O left. I want to add some voices and Steam Whistle Sound. We already have the light, forward, reverse, speed and stop. The Little board is great and very cost effective. Commercial train controllers can run $150 to $450. And they are locked up with proprietary code.
@ChrisScottsy4 жыл бұрын
Fantastic, as simple as you showed. We're going to run a workshop with high school students building an IOT light switch using the ESP8266. Thank you!
@peteygnyc Жыл бұрын
Thank you SO MUCH! This video is the best I have found in detailing and explaining how to get started with these. Turns out, I was using a bad MiniUSB cable. Very good tutorial. Great work!
@justin_baker5 ай бұрын
Great tutorial. Easy to follow. Thanks for spending the time to put this together and make it so clear and simple.
@SimpleElectronics5 ай бұрын
Glad you enjoyed it!
@pileofstuff4 жыл бұрын
I agree with you on the IDE. It's a "just works" tool designed for beginners to easily use. I know it's not the most advanced and is limited compared to the more "professional" stuff out there, but in the 3+ years I have been tinkering with various micro-controller boards, I haven't been limited by it.
@stevesfascinations15164 жыл бұрын
I agree pileofstuff....KISS Sometimes it is overwhelming trying to get the best. Use what you know and what works.
@aa2fd3 жыл бұрын
I thought it should be easy. I followed your instructions, and at first, it didn't see my WEMOS (picked wrong COM port). Once I picked the proper COM port, I saw "Connecting...", a few more lines, ending with "esptool.FatalError: Failed to connect to ESP8266: Invalid head of packet (0x00)". Any clue what I did wrong? I purchased several of these things, and they all do the same, making me think it was something I did.
@ilikedeathmetal74582 жыл бұрын
All Blinked and ready to go! Thanks so much for your help!
@SimpleElectronics2 жыл бұрын
I'm glad it worked for you!
@slabs78233 жыл бұрын
Thank you. I have been using NodeMCUs but I was not positive how to set up a Mini D1.
@mrtechsavvy88352 жыл бұрын
I am not able to upload code to my d1 mini. I have tried even by pressing the flash button and connecting D3 to GND. Still it does not work. But i have another d1 mini in whivh the code got uploaded successfully without doing anything. I just pluged it in and hit upload and it worked successfully. What should i do ?
@ih42863 жыл бұрын
I've had this thing for a while now and now I know how to use it so thanks😁
@MrVatierra3 жыл бұрын
I am infinitely grateful, your video helped me too much. thank you very much bro.
@younessid4373 жыл бұрын
so easy so simple, a lot of thanks sir ☺️
@syedabidaliabdi1273 Жыл бұрын
I am facing Issue in uploading code "A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet header" i push reset button before uploadng but issue is same. also installed CH340 Driver and using Arduino IDE 2.0.4.
@HumidGnome3 жыл бұрын
I do not know why, but I am not able to get to the port, since it is grayed out. Not sure why this is. Could I have done something wrong?
@jamest.50014 жыл бұрын
I'm going to try building a diy BMS, although I just heard of arduino about 3 years ago, and never programmed anything, even with everything already done, I do not know if I can accomplish this feat, it is nothing to you, but a enormous task to me, so I bought a few cheap arduino, to play with, and extra wemos for the project, the BMS also uses modules with at tiny 841 chips, that I hope can be sourced from jlcpcb with the pcb's I am hoping to use a opto isolated relay board to trip a shunt trip breaker, if things with the battery deems it necessary to disconnect, with over 20kwh of lithium ion batteries, you must have something watching your back! I don't even know anything about WiFi, so I think you may see why it is such a feat! It's like stelling someone to pick oranges, when they never seen the colour orange, fruit, or trees, so like a two year old I am! I'm hoping KZbin can help me figure this out!
@MopeyFand3 жыл бұрын
This was a great introduction video! Thanks!
@infernious2 жыл бұрын
At 4:31, what did you do to run the program?
@SimpleElectronics2 жыл бұрын
Plugged the USB cable into a charging brick - it runs the program automatically on power up
@infernious2 жыл бұрын
@@SimpleElectronics nice to know. Thanks!
@ChrisD19846 ай бұрын
You were right. Under 5 mins to get it working. Thanks.
@marcosmimenza3 жыл бұрын
Does anybody else buyed a full featured osciloscope just to verify that the led is really blinking?
@TheUKRifter2 жыл бұрын
no - I just turned the room light off
@casondaveАй бұрын
OK, so its Nov of 2024 now and what do you do if the CH340 software that drives the USB-to-Serial CAN'T see the bloody Wemos D1's boards when you plug them in? It's driving me potty !!!
@SimpleElectronicsАй бұрын
no kidding - try a different USB cable - so many of them are ONLY for charging, no data wires at all
@casondave27 күн бұрын
@@SimpleElectronics Yea I've tried 4 cables and 3 PC's ..... No Joy. It’s weird, I last played with them about 4 years ago and remember just plugging in the Wmos Mini to a regular micro USB cable on one end and the other end is a A type end to my computer with no problems at all. (If I remember right? - grin) It saw it as a USB-to-Serial device and I remember being off to the races. There is a chance that the two boards I have here are dead but that seems odd because if I power them up the old programs on them work, they find my Wi-Fi network and I can login to each of them. If I press and hold down the RESET button on the Wemos D1 is that just like a reboot or can press and hold it to factory reset it completely? Thanks for the reply BTW !
@CH3ST3R99 Жыл бұрын
Please help... esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
@typingcat3 жыл бұрын
04:02 How could you get 485.0 kbit/s? I only get (not D1 but other NodeMCU) about 100 kbit/s upload speed. That number makes sense if 1 baud rate means 1 bit/s, because my serial connection baud rate is set to 115200. I just searched Google and it seems that baud rate is confusing. In short, how can I get 500 kbit/s as yours? Have you set some special settings?
@SimpleElectronics3 жыл бұрын
I'm not sure, i just used the default settings
@Maxkour2 жыл бұрын
Thanks for the video! My very first project will be to send a Telegram message when my door bell rings 🙂 Can't wait to receive this thing !
@ahmadprogramming11973 жыл бұрын
You are my savior!
@نمورالشوتوكانبينالماضيوالآن3 ай бұрын
Does that cable provide 5volt or 3.3volt?
@vincejustinecruz93562 жыл бұрын
Hello! I am using wemos d1 mini with a PIR sensor. Can I use a power bank to power it up? Thankyou.
@SimpleElectronics2 жыл бұрын
Yes you can!
@Kai-Made3 жыл бұрын
I think at this point most people who would be using the esp8266 or the esp32 based boards will be slightly more advanced than the simple blink project that comes as an example. What I would like to see is someone make a video of how to put OTA web server on it then add to that code other examples or sensor read code that can then be installed OTA... I will eventually find or figure out how to do this. I have OTA loaded and I am adding code to make a RGB change colors...but there in lies the problem. All ESP 32 based boards lack the analogWrite function so you have to do some fancy extra thing to get the library necessary to do analogWrite when every other microcontroller has it by default. Terribly short-sighted considering the 32 is better in a few ways compared to most other wifi enabled Arduino based boards. So after many hours of tinkering I did discover a extra library that can be added to get that functionality. Got my RGB running, and now I want to add a LED for power, one for battery life, and a camera with SD card for storage. I see cams with built in motion detection and think that would be a wonderful project to build, box up and deploy at my home. It being possible to webserver into it would be wonderful too so to view video. So many wonderful things...just gotta keep drilling.
@Kai-Made3 жыл бұрын
one more thing about the WEMOS and presumably all the esp boards. The pin out is not the same as regular arduino. Some of the shields I have for the regular UNO R3 for instance will work with this but the pin numbers are not the same...and they are not marked clearly on the board I have...also remember that some pins share the flash memory circuit so depending on whether you read from or write to those pins may damage your firmware or worse...
@bryanst.martin71342 жыл бұрын
Check out the ESP 32 CAM. Someone was doing facial recog with it.
@zielonakosa Жыл бұрын
PERFECT! this is first video which help me to flash my board. Thank you very much :)
@nathanlevigraves4 жыл бұрын
I’m relatively new to automation/programming so forgive me in advance. I have a projector that’s remote runs 2.4ghz so a rf/ir blaster (broadlink) will not control it. I only need to turn it off and on. Is this something I could wire into the existing physical on/off button to control that via something like homebridge?
@SimpleElectronics4 жыл бұрын
I can't see why not!
@zahidabbas69064 жыл бұрын
Great video can you tell why i am having an "Driver install Failure"
@SimpleElectronics4 жыл бұрын
hmmm never had that, did you get the correct drivers for your system? (64 bit or 32 bit)
@zahidabbas69064 жыл бұрын
@@SimpleElectronics yes issue was resolved thanks to you Now I want to connect my GSM 800l with this so how can I do this using Arduino ide
@SimpleElectronics4 жыл бұрын
Hmm I don't have one of those personally so I don't think I can help much!
@zahidabbas69064 жыл бұрын
@@SimpleElectronics it's okay thanks btw
@IronyImpact2 жыл бұрын
For anyone having this problem, Plug the device in and then install the drivers.
@gapadad24 жыл бұрын
I would like to know what all I th can do and the IO PINS do. Thanks well explained
@SimpleElectronics4 жыл бұрын
Tune into the next episode of ESP8266...Same wifi time, same Bluetooth channel!
@gapadad24 жыл бұрын
@@SimpleElectronics Your showing your age with that reply.
@dygsyafiranatasha35634 жыл бұрын
I going to use mini d1 for my pet feeder project,it is okay if I use the RTC for the same time?I need your help..
@SimpleElectronics4 жыл бұрын
Ofc you can use a RTC, I think there is an RTC shield for the D1 mini
@dygsyafiranatasha35634 жыл бұрын
@@SimpleElectronics my supervisor want me to develop a Automatic Pet Feeder using wifi and then he want me to use one mobile application to set the time to feed the pet.How can I do for this project?😂 I still confused for what I shoud do?
@winningabe4 жыл бұрын
I'm a teacher but newbie on this whole thing. I'm planning to make rfid attendance system sending data to spreadsheet. Trying to figure out, do I need to work this ESP8266 with arduino uno? Or I just directly connect ESP8266 with rfid reader? Which one do you recommend? Thanks!
@SimpleElectronics4 жыл бұрын
I would recommend going with an ESP32 and you can run the RFID system and the webserver directly on it, no other microcontroller needed. I would warn you though - I am not well versed in coding so I can't help you much more than that!
@winningabe4 жыл бұрын
@@SimpleElectronics I just afforded RFID Reader, Arduino Uno, and Wemos WIFI ESP 8266. We'll consider what you suggested. Thank you for your reply!
@timo446312 күн бұрын
i know 4 years too late but thank you very much im going to use it in a led controlled "Ghost" from destiny those little companion cubes for my cousin
@denissumikaela3 жыл бұрын
Hi. Just want to know if this wifi module can be used in tracking. Thanks a lot in advance!
@SimpleElectronics3 жыл бұрын
What kind of tracking?
@denissumikaela3 жыл бұрын
@@SimpleElectronics Hi, the function I need to add here is to scan all available wifis in the area and then connect to the one with the strongest RSSI. Then send that data to a server. I already discovered how to scan all available wifi in the area. I'm just having a problem with connecting to the strongest one. Do you have any idea for this? Thanks
@tohcp5729 Жыл бұрын
Essential and sharp to the point .Great learning information..thanks
@djrobwilliam16734 жыл бұрын
Enjoyed the video bro!
@simced2 жыл бұрын
I have luxorparts (luxor from my hometown closed down in sweden so I guess chinese?)
@coolsav00743 жыл бұрын
Does it work exactly like the nodemcu esp8226 full size ?
@SimpleElectronics3 жыл бұрын
Pretty sure yes!
@Dancopymus3 жыл бұрын
Hello; is the driver the same as the esp8266 Nodemcu board?
@SimpleElectronics3 жыл бұрын
Yup, seems to be
@Dancopymus3 жыл бұрын
@@SimpleElectronics Another thing: how to power this board + an LED strip (60 LEDs)? Can it be by Micro USB or by 5V pin? Thanks
@SimpleElectronics3 жыл бұрын
I suggest you power the LEDs from a decent power supply and check that the board has a "VIN" or "RAW" pin (I don't have one on front of me) and send the power from your strips to there
@CraftyOldGit Жыл бұрын
Vwery useful tutorial -- thanks. For many projects ESP8266 is enough and also much cheaper than an ESP32.
@nandanbanerji830910 ай бұрын
Truly awesome!!
@eduardogodoi41710 ай бұрын
Just if someone faces the same issue, my ESP8266 was blinking blue when plugged in but nothing appeared on COM ports in my device manager. I have downloaded all the things that I've found in forums, it was just the mini usb cable that didn't worked with data transportation, only energy!
@monticolo33 ай бұрын
Thanks, worked 4 me
@jeremyjansevanrensburg10704 жыл бұрын
Great video thanks!!! I just have one problem, on loading the code I get an error saying "esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header " Please help
@SimpleElectronics4 жыл бұрын
Can you try it with another board? and also uninstall and re-install drivers.
@mlo72384 жыл бұрын
Same issue here. Ive tried everything
@chethiyawijewickrama64252 жыл бұрын
Thanks for your explanation
@GrumpyEddie Жыл бұрын
Thank you for the tutorial. It looks very simple and to some it probably is, but I have been messing around for too long trying to get these things to work with no luck. Your instructions are basically the same as other places. I have followed them, but Arduino just keeps throwing errors. I'm well past frustrated.
@johnpryke4992 Жыл бұрын
Just got mine blinking, thanks!
@mauricerohrer2 жыл бұрын
Very helpful! Thank You!
@justinsookdeo42604 жыл бұрын
Im trying to upload the senric files for alex to controol it and I keep getting errors about the board 😫
@SimpleElectronics4 жыл бұрын
hmmm maybe you have the wrong board selected? which board did you buy?
@justinsookdeo42604 жыл бұрын
@@SimpleElectronics well its working now the tricky part is connecting a relay to it 🤔
@SimpleElectronics4 жыл бұрын
@@justinsookdeo4260 yeah it has to be a 3v relay or use a secondary power supply
@redhytech3 жыл бұрын
thank you for this video.. you saved me a lot of time searching on how to get my wemos d1 mini working with arduino. I hope it will work with the ESP 8266 boards and the esp32 boards as well and as easily. although I think the ESP32 uses prolific drivers and NOT the ch340.
@CoolScienceExperiments3 жыл бұрын
I cannot install the #include library. When I go to intall from the board manager It says no protocol. Can someone help me please and tell me why this is not installing.
@mayham20032 жыл бұрын
Hey man it's me again how do we connect this to a relay a simple one that u use in a arduino board
@August3019894 жыл бұрын
HI! Does anyone experience having D7 pin in D1 mini turning HIGH during upload of sketch? how to prevent this? thank you.
@SimpleElectronics4 жыл бұрын
it's a communication pin, it may need to do that
@August3019894 жыл бұрын
@@SimpleElectronics thanks bro!
@Guddooz4 жыл бұрын
Loved the video - short and to the point with an easy to understand content. Can this Mini help me connect to Google Calendar? And all of it controlled by Arduino Uno?
@SimpleElectronics4 жыл бұрын
The ESP is limitless and it doesn't need an arduino to control it, the arduino code can run directly on the ESP itself!
@aviaryan9925 Жыл бұрын
thanks a lot for such a fantastic and to the point tutorial ☺👍👍
@frankowalker46624 жыл бұрын
It's a lot of fuss just to turn an LED on and off. :)
@furkankcp32553 жыл бұрын
I am getting the error esp8266 a fatal error occurred: timed out waiting for packet content Can someone help me
@abbasthegreat52 жыл бұрын
Thanks man. it worked
@loukxo Жыл бұрын
génial! un grand merci a toi de la part de la communauté francophone !
@jodrafting3 жыл бұрын
thx so much. now onto my automatic door opener. fingers crossed
@SimpleElectronics3 жыл бұрын
You can do it!
@lonpowley Жыл бұрын
Thank you so much. I'll be using mine to monitor a greenhouse.
@EspenShampoo254 жыл бұрын
i got this message when trying to upload a program to my wemos clone: serial.serialutil.SerialException: could not open port 'COM6': PermissionError(13, 'No Access.', None, 5) Anyone who has an idea of why this happens?
@SimpleElectronics4 жыл бұрын
Try a different port and if that doesn't work, try running the ide as administrator
@edma06 Жыл бұрын
mine just doesnt register at all
@emmanueladuwari10043 жыл бұрын
Thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!
@46754675di3 жыл бұрын
Все работает! Спасибо!
@stevesfascinations15164 жыл бұрын
Good video, thanks for sharing.
@jamesdonegal3 жыл бұрын
nice, thanks
@zmarssojourner74358 ай бұрын
After I hit upload, I go this error. collect2.exe: fatal error: CreateProcess: No such file or directory compilation terminated. exit status 1 Compilation error: exit status 1
@jamest.50014 жыл бұрын
And thanks for the video!
@yakacm2 жыл бұрын
anyone managed to install the drive on win11? It keeps failing for me.
@caklutfi53403 жыл бұрын
It doesn’t have Vin?
@SimpleElectronics3 жыл бұрын
It does not!
@MrBobWareham4 жыл бұрын
Thanks for the video but for me its a nop port does not exist or board not plugged in this is my 3 rd try after removing the Arduino IDE and reinstall plus drivers and following your directions to the letter I give up now if I plug my Genuine Arduino Uno in all works fin as all ways have changed the board I have three D1 boards and they worked ok but now no luck
@SimpleElectronics4 жыл бұрын
Interesting and strange problem! Maybe someone has a solution for you
@rahuldevkar14463 жыл бұрын
thank you so much mannn..... great info
@SimpleElectronics3 жыл бұрын
Glad I could help!
@Lebowski90003 жыл бұрын
Nice, thank you,
@AmazonGrow-rm5sc6 ай бұрын
how to reset it?
@anasmatic4 жыл бұрын
yaaaaay ! now what ! how to stop this blinking, I'm dying here aaaaaah
@anaheed88973 жыл бұрын
شكرا جزيلا
@markvk423 жыл бұрын
Really? its not getting started at all its loading a blink sketch, i call getting started hooking it up to my Wifi!
@anefi-uq5fd2 жыл бұрын
My for weather control cleaning and fun time with me or me and my family Security 197 thank you for your vedio
@rexated514810 ай бұрын
❤
@christophermcdonald55784 жыл бұрын
Walking to my computer took more than 5 mins
@lukacek46642 жыл бұрын
good gide
@jloyola3 жыл бұрын
thank you bro eres una ñonga
@ScaryLasers4 ай бұрын
You kept me at 30 seconds
@ScaryLasers4 ай бұрын
Clever man
@SeraphX22 жыл бұрын
how do you code and not know how git works? lol
@SimpleElectronics2 жыл бұрын
Simply. Cobble examples together and make over 100 videos that feature some kind of coding - and never even look into git
3 жыл бұрын
It's great for Deauthering your friends XD
@handdancin2 жыл бұрын
if you "dont know how github works" thats ok, but it certainly calls into question having an opinion on IDEs lol
@Mr_Meowingtons Жыл бұрын
I think mine is broken trying to upload the blink and i get this... serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31) Failed uploading: uploading error: exit status 1