How To Setup And Connect The NodeMCU ESP8266 12-E Development Board To Your Computer and Wifi

  Переглядів 70,491

BMonster Laboratory

BMonster Laboratory

День тому

Learn how to setup and connect the NodeMCU ESP8266 development board to your computer and wifi. Begin making your ESP8266 WiFi & IoT projects today 👍
++SUBSCRIBE++ to catch up with what we're doing at the BMonster Laboratory
/ @bmonsterlaboratory
Facebook: / bmonster-laboratory-10...
***look for the code to be posted on the Facebook page #setupNodeMCU ***
Twitter: / b_monsterlab
**click file - preferences - then copy and past this under "Additional Boards Manger URLs" : arduino.esp8266.com/stable/pac...
Chapters:
0:00 intro
0:24 intro to the NodeMCU ESP8266 board
2:23 install the CH340G driver
3:03 download ESP8266 file from IDE board manager
4:53 NodeMCU V3 board pinout
4:57 connecting the wires
5:24 simple code to test computer connection
6:57 connect your ESP8266 12-E board to your WiFi
We finally got a new development board, the NodeMCU ESP8266 V3 12-E board. In this video of the NodeMCU v3 tutorial, we see how to set up and connect the NodeMCU board to a computer an home wifi. We explain what ESP8266 is and how it's integrated into this board. We go into the Arduino IDE to install the ESP8266 board catalog. We then test the ESP826 board connection to the computer and see how it reacts to a simple LED blink code. Finally, we use our own SSID and password to get the NodeMCU board connected to wifi. Once we learn to setup up the NodeMCU v3 ESP8266 wifi module, we can explore this board with fun IOT projects. By connecting the ESP8266 12-E Development Board To Your Computer and Wifi, we will be able to access the board remotely.

КОМЕНТАРІ: 53
@avanthikakatari960
@avanthikakatari960 9 місяців тому
thanks a lot , I have been searching for a step by step video that showed me how to connect NodeMCU to Wifi , I finally found yours . thank again .
@BMonsterLaboratory
@BMonsterLaboratory 9 місяців тому
Thanks! I appreciate this comment 👍
@Bianchi77
@Bianchi77 9 місяців тому
Well done, keep it up, thanks for sharing it with us :)
@BMonsterLaboratory
@BMonsterLaboratory 9 місяців тому
Thank you! I appreciate your kind comment.
@radharavichandran3759
@radharavichandran3759 2 роки тому
Awesome best UKposts ever
@BMonsterLaboratory
@BMonsterLaboratory 2 роки тому
Radha, Thanks! 😁 I appreciate your time watching. Have a great day~
@dirktyler3643
@dirktyler3643 Рік тому
I'm new to this kind of stuff. I'm curious if this wifi thing has any practical purpose, other than as a fun thing to tinker with. If I hooked this wifi thing up to my Surface Pro 2 would it give me more powerful internet?
@BMonsterLaboratory
@BMonsterLaboratory Рік тому
Hi Dirk Tyler! Great to hear from you. There are many practical users for this board. The board itself has remained very cheap on ebay. I have only used it for automation when using home appliances or lights. It can also be used for robotics, wifi monitoring, control i/o pins, remote cameras...etc. it would not provide a stronger internet connection when communicating with a surface pro. It allows you to easily build iot controls that can serve a purpose. I fully intend on making many more iot videos in the future since it's a hot topic. Electronics is a hobby for me and I have found that wifi boards are a different animal.
@matthosini9656
@matthosini9656 2 роки тому
Good stuff, I enjoyed watching this. Not sure whereabouts I made mistake in my code. After I compile the code and open up the serial monitor, all I see is dot, which means it is not connected to WiFi. Could you please let me know your thoughts on this?
@BMonsterLaboratory
@BMonsterLaboratory 2 роки тому
Hi Matt. Sorry it took so long to respond. Did you try the code that I posted on the Facebook page? Do a Facebook search for #setupNodeMCU - If that doesn't work, let me know. I post most of the code for videos there because there's a larger character limit on comments. I'm sure it's probably just a simple adjustment. Merry Christmas! 👊👊
@BMonsterLaboratory
@BMonsterLaboratory 2 роки тому
Now that I Think about it...you may have to log into your router and open ports. I think I did this in the video. If you still need help, let me know. It is frustrating to get it up and running first time.
@matthosini9656
@matthosini9656 2 роки тому
Hello ​@@BMonsterLaboratory Merry Christmas! Thank you for your response. Yes, I've used your code on FB, and all I see are dots. No, I haven't logged into my router to open ports, and I'm not sure how I can do that. Could you please elaborate on this. I purchased the same ESP8266 that you are using in the video and it is brand new.
@BMonsterLaboratory
@BMonsterLaboratory 2 роки тому
I show the port forwarding in this video ukposts.info/have/v-deo/caRlgI2vqKSpt4U.html just skip to 5:35 and watch from there. This video is connecting a coffee pot to my wifi. I blot out my person ID numbers along the way but I think you can still follow it. My router is a TP-Link and there's a tutorial video on UKposts. You can probably find instructions for your brand of router on the manufactures web site. let me know what ya think.
@BMonsterLaboratory
@BMonsterLaboratory 2 роки тому
@@matthosini9656 So I finally got a chance to watch that video and go through all the steps and here is what I would check. 1. download the driver - you can see this at 2:25 2. in the video I have a pin at D4 even though this is GPIO2. this one is easy to miss. You can see the pinout at 4:53 3. make sure to include the ESP8266WiFi library in the code. 4. make sure your SSID is correcct. This is the name of your wifi. 5. make sure the password for your wifi matches the password in your code. You have probably done all or most of these. Hopefully you catch a small error in one of these points. I believe the dots keep appearing in the serial monitor because you are not connecting to your wifi. I would probably start with making sure the SSID and Password match. I certainly hope this helps because this stuff really is a lot of fun once you get it working.
@BMonsterLaboratory
@BMonsterLaboratory 2 роки тому
More future videos to come with this board. This video and code is also on Facebook #setupNodeMCU. Thank you for watching.
@lenp00
@lenp00 10 місяців тому
Excellent video, very helpful. Now that my ESP8266 has a valid IP on my WiFi network, when I try to connect to that IP address I get a "The Site Can't Be Reached" message... (IP Address) refused to connect. Any idea what the issue could be?
@BMonsterLaboratory
@BMonsterLaboratory 10 місяців тому
Thanks! I assume you have the right SSID and password in the code. Did you press the reset button once you uploaded the program? Are there are any firewalls or port-blocking configurations on the network that might be preventing connections to the ESP8266?
@jeffreykatz5994
@jeffreykatz5994 Рік тому
I am having problems making the connection from the Arduino IDE to the nodemcu 8266 12-E. In the dropdown, there is no com port choice to select from. I downloaded the ch340G driver twice, rebooted my pc, still no choice in the dropdown to select com port. I get message after compiling "Upload error: Failed Uploading: no upload port provided".
@BMonsterLaboratory
@BMonsterLaboratory Рік тому
hi Jeffrey! try switching USB ports and hopefully the option will drop down. which library are you using?
@BMonsterLaboratory
@BMonsterLaboratory Рік тому
I just plugged mine in and got the same thing. I'm using Arduino IDE 2.0 now so I have to download NTPClient from the library manager. I now get an option to select port. It works now. Make sure you select NodeMCU 1.0(EsP-12E) board as well. I hope that helps. Sorry for the long delay in replying.
@naimaware
@naimaware 2 роки тому
I run the same code but I get this error ; too few arguments to function 'void digitalWrite(uint8_t, uint8_t)'
@BMonsterLaboratory
@BMonsterLaboratory 2 роки тому
The code is exactly what I used? Did you copy and paste or type it out? Can you copy & paste the code with error?
@BMonsterLaboratory
@BMonsterLaboratory 2 роки тому
I its probably too long. You can email it to me as well.
@ghitaghouli9975
@ghitaghouli9975 5 місяців тому
and in a drone. Is it the same way ?
@BMonsterLaboratory
@BMonsterLaboratory 5 місяців тому
Hey there! I wouldn't use this board for a drone. Go with esp32 or teensy 4.1. Better processor speeds. I haven't built a drone yet... maybe one day!
@alvintechtv387
@alvintechtv387 4 місяці тому
Good Day sir. Can I Get the COde Of Wifi?
@BMonsterLaboratory
@BMonsterLaboratory 4 місяці тому
hey there! If you ever want code for these videos, I have posted them all to the Facebook page for posterity. Sometimes they don't fit in the description so I just started posting them there. anyway, this one is short. here ya go and good luck!! If I can be of any help in the future, just ask ~👍💪 #include const char* ssid="xxxxxx"; // Your WiFi ssid const char* password="xxxxx"; // Your Wifi password; int LedPin = 2; void setup() { pinMode(LedPin, OUTPUT); digitalWrite(LedPin, LOW); Serial.begin(115200); Serial.println(); Serial.print("conntecting to WiFi"); Serial.print(ssid); WiFi.begin(ssid, password); Serial.println(); Serial.print("Connecting"); while(WiFi.status() != WL_CONNECTED ){ delay(500); Serial.println("."); } Serial.print("NodeMCU IP Address:"); Serial.print(WiFi.localIP()); } void loop() { digitalWrite(LedPin, HIGH); delay(500); digitalWrite(LedPin, LOW); delay(500); }
@jimpugh6357
@jimpugh6357 6 місяців тому
Why specifically 220 ohm resistor please?
@BMonsterLaboratory
@BMonsterLaboratory 6 місяців тому
The ESP8266 operates at 3.3v which is too high for most leds. The led has a forward voltage of approximately 2v and operates at a current of 10-20ma. To calculate resistance to limit the current through the led, you can use ohms law, R=vsource-vLED/ILED or plainly, (R=V/I). You can use 130 or higher. I happen to have a ton of 220ohm resistor so, that's why I use that specific one... not sure if I have a 130 though. Anyway, great question. Thanks!
@jimpugh6357
@jimpugh6357 6 місяців тому
@@BMonsterLaboratory thank you! I had a 200 on hand
@BMonsterLaboratory
@BMonsterLaboratory 6 місяців тому
@@jimpugh6357 200 will work. Good luck to you 👍
@jimpugh6357
@jimpugh6357 6 місяців тому
@@BMonsterLaboratory most appreciated
@robertjohnatilano5603
@robertjohnatilano5603 Рік тому
why is it need to reset?
@BMonsterLaboratory
@BMonsterLaboratory Рік тому
Hi Robert. The ESP8266 is pulled high by default. When you pull it low by pressing the button it will reset the board and allow you to see data on you serial monitor and connect to wifi. I've always had to reset after IDE upload with the 12E module to get the program started.
@basiliodollie3833
@basiliodollie3833 Рік тому
where's the code sir? i cant see your code sir..
@BMonsterLaboratory
@BMonsterLaboratory Рік тому
Hi there! I post most project code on facebook. Search #setupNodeMCU on Facebook and click on the first comment. 👍 Have a great weekend!
@basiliodollie3833
@basiliodollie3833 Рік тому
thanks sir! have a great day!
@BMonsterLaboratory
@BMonsterLaboratory Рік тому
@@basiliodollie3833 awesome
@user-dn2pp7rz3r
@user-dn2pp7rz3r 11 місяців тому
Hi . I have a prblem to connect this nodemcu esp8266 to arduino IED .. I paste the URL you told us . And when i opend the board manager and find the eso8266 community but it refused to download and gave me a message : Faild to install platform: esp8266. Error: 2 unknown: ) I will be thankful if you help me😊
@BMonsterLaboratory
@BMonsterLaboratory 11 місяців тому
Hey there! Are you stuck in the preferences section of Arduino IDE? Do other boards connect to Arduino IDE? Do you have a firewall or anything else preventing connection? Do you have all the same checked boxes in the preferences page as I do in the video? Your message just means there's an issue during installation of esp8266 platform. Is there any other error code? It's been a while since I had to do this, so I'll check it out on my own board.
@prajitanand4362
@prajitanand4362 2 роки тому
Hi This comment is not for this vedio I just wanted to know the problem in my Arudino. It is showing that: Arduino: 1.8.12 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)" In file included from sketch\Ping.ino.cpp:1:0: C:\Users\Prajit \AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\cores\arduino/Arduino.h:258:10: fatal error: pins_arduino.h: No such file or directory #include "pins_arduino.h" ^~~~~~~~~~~~~~~~ compilation terminated. exit status 1 Error compiling for board Arduino Mega or Mega 2560. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. Could you please help me with this Hope this comment reaches you.
@BMonsterLaboratory
@BMonsterLaboratory 2 роки тому
Hi Prajit! Where is your code? Feel free to email me at bmonsterlab@yahoo.com. Tell me what board you're using, copy/paste the code in the email, and tell me what you're trying to do (ex. LED blink, move a servo arm..etc.). I can see from what you've posted that you're trying to use a library that you don't have installed (#include "pins_arduino.h"). If you need to install a library called pins_arduino on you're IDE, that's an easy fix. Anyway, send me that email and will try to help as much as possible so you can be up and running. Thanks!
@prajitanand4362
@prajitanand4362 2 роки тому
@@BMonsterLaboratory thanks a lot
@mainuser8429
@mainuser8429 2 роки тому
Too bad - linking the code to a social media site.
@BMonsterLaboratory
@BMonsterLaboratory 2 роки тому
Hi there. Not all code fits in the comment section. Thought it would be easier to find that way.
@heed.
@heed. 2 роки тому
@@BMonsterLaboratory Maybe you can link it to GitHub? also why blur a local IP?
@notconcerningyou9487
@notconcerningyou9487 10 місяців тому
​@@heed.Security purpose silly boy
@6k911Channel
@6k911Channel 7 місяців тому
@@heed.@mainuser8429 I put it as a comment above, apparently the character limit is higher then we thought
How to Setup and Program NodeMCU ESP8266-Complete Guide
8:10
BINARYUPDATES
Переглядів 341 тис.
skibidi toilet 73 (part 2)
04:15
DaFuq!?Boom!
Переглядів 26 млн
Godzilla Attacks Brawl Stars!!!
00:39
Brawl Stars
Переглядів 8 млн
Этого От Него Никто Не Ожидал 😂
00:19
Глеб Рандалайнен
Переглядів 8 млн
Introduction to ESP32 - Getting Started
47:57
DroneBot Workshop
Переглядів 1,5 млн
What Is A NodeMCU Anyway? You're About To Find Out!
8:11
TheMakersWorkbench
Переглядів 79 тис.
How to fix errors while uploading the program on the ESP8266 NodeMCU
20:33
Electronics Simplified
Переглядів 74 тис.
Getting started with NodeMCU (ESP8266 tutorial #1)
8:09
DIY GUY Chris
Переглядів 656 тис.
ESP8266 in 5 minutes
5:50
MrDIY
Переглядів 112 тис.
NodeMCU ESP8266 Wifi connect  tutorial
3:15
Maker Tutor
Переглядів 266 тис.
JUANFI PISOWIFI [WIRELESS BASED] BUILD TUTORIAL TO EARN MONEY
43:40
KinglinkS TV
Переглядів 60 тис.
skibidi toilet 73 (part 2)
04:15
DaFuq!?Boom!
Переглядів 26 млн