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

  Рет қаралды 82,708

BMonster Laboratory

BMonster Laboratory

Күн бұрын

Пікірлер: 65
@avanthikakatari960
@avanthikakatari960 Жыл бұрын
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 Жыл бұрын
Thanks! I appreciate this comment 👍
@BMonsterLaboratory
@BMonsterLaboratory 3 жыл бұрын
More future videos to come with this board. This video and code is also on Facebook #setupNodeMCU. Thank you for watching.
@RixtronixLAB
@RixtronixLAB Жыл бұрын
Well done, keep it up, thanks for sharing it with us :)
@BMonsterLaboratory
@BMonsterLaboratory Жыл бұрын
Thank you! I appreciate your kind comment.
@radharavichandran3759
@radharavichandran3759 3 жыл бұрын
Awesome best KZbin ever
@BMonsterLaboratory
@BMonsterLaboratory 3 жыл бұрын
Radha, Thanks! 😁 I appreciate your time watching. Have a great day~
@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 kzbin.info/www/bejne/b6WXfYquptOrjLM 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 KZbin. 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.
@lenp00
@lenp00 Жыл бұрын
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 Жыл бұрын
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?
@MuddadaBhavani-lf2tt
@MuddadaBhavani-lf2tt 14 күн бұрын
Can you please provide a link(usb link) of that micro usb cable to connect that board 2:58
@BMonsterLaboratory
@BMonsterLaboratory 14 күн бұрын
That is a micro-usb connection www.amazon.com/AINOPE-Android-Charging-Compatible-Material/dp/B0829RYKJ6/ref=sr_1_3?dib=eyJ2IjoiMSJ9.FgxTcB2S6QmrFdi3g7c7reb1VGfd1BSD1GuqqiQdj6B9uslWxVgN_9TY16QEKa_YxpwVeN9-4EbWbkxZo5qLQ-GSrUqaDPxYtIpqC-YyCoKblRcio-sE6b7ytihoqBucqOKzOl_Rq_e4lMpKb3BVkKSggWVhhh1kCjpIIg5KVeWVN1NyjaFnPfx13zl7TSTX5OSM75Auw-moi51M1C1Tf9y0Hsz0QvXiaoRNpQj2xETgLvnupN-x9fhRijhvMoitmPHInx-Z56vAi9IbPkdzKlDZOo0wC2BZtLML_xXBa4I.hFhfk5Tm48Apsn3uY24p74JhCJsq7OzV-xSHO0ylt7Y&dib_tag=se&hvadid=694353893979&hvdev=c&hvexpln=67&hvlocphy=9015754&hvnetw=g&hvocijid=1362188262122011323--&hvqmt=e&hvrand=1362188262122011323&hvtargid=kwd-299835047014&hydadcr=25251_13615217&keywords=micro%2Busb%2Bamazon&qid=1728833366&s=electronics&sr=1-3&th=1
@ishan7b628
@ishan7b628 18 күн бұрын
From where you purchased that, pls tell me bro
@BMonsterLaboratory
@BMonsterLaboratory 18 күн бұрын
I got it from amazon. search NodeMCU ESP8266 12-E you can do a Google search and buy it form many other places as well. 👍
@dirktyler3643
@dirktyler3643 2 жыл бұрын
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 2 жыл бұрын
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.
@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.
@ghitaghouli9975
@ghitaghouli9975 11 ай бұрын
and in a drone. Is it the same way ?
@BMonsterLaboratory
@BMonsterLaboratory 11 ай бұрын
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!
@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.
@alvintechtv387
@alvintechtv387 10 ай бұрын
Good Day sir. Can I Get the COde Of Wifi?
@BMonsterLaboratory
@BMonsterLaboratory 10 ай бұрын
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); }
@lereko9125
@lereko9125 5 ай бұрын
“The driver is successfully pre-installed in advance”. How do I fix this?
@BMonsterLaboratory
@BMonsterLaboratory 5 ай бұрын
hello! I would uninstall and reinstall. Shouldn't have an issue after that. www.wch-ic.com/downloads/CH341SER_ZIP.html you can get it here or on github 👍
@lereko9125
@lereko9125 5 ай бұрын
@@BMonsterLaboratory Thanks for the quick reply but it still didn't work :'(
@marilouaguilar3287
@marilouaguilar3287 5 күн бұрын
same i uninstall and install again but istill
@marilouaguilar3287
@marilouaguilar3287 5 күн бұрын
@@BMonsterLaboratoryi try to do this buy still pre installed
@BMonsterLaboratory
@BMonsterLaboratory 5 күн бұрын
@@marilouaguilar3287 are you using NodeMCU ESP8266 12-E ? where are you trying to install from? what is the exact error you're getting? Maybe I can help 👍
@سامرشنوان
@سامرشنوان Жыл бұрын
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 Жыл бұрын
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.
@muhammadtahirsiddiqui3824
@muhammadtahirsiddiqui3824 3 ай бұрын
How to find Ip address
@BMonsterLaboratory
@BMonsterLaboratory 3 ай бұрын
If you just want to find the IP address for your ESP8266, try this: #include const char* ssid = "YOUR_SSID"; const char* password = "YOUR_PASSWORD"; void setup() { Serial.begin(115200); delay(10); // Connecting to Wi-Fi network Serial.println(); Serial.print("Connecting to "); Serial.println(ssid); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.println("WiFi connected."); Serial.println("IP address: "); Serial.println(WiFi.localIP()); } void loop() { // Put your main code here, to run repeatedly: } 👍
@jimpugh6357
@jimpugh6357 Жыл бұрын
Why specifically 220 ohm resistor please?
@BMonsterLaboratory
@BMonsterLaboratory Жыл бұрын
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 Жыл бұрын
@@BMonsterLaboratory thank you! I had a 200 on hand
@BMonsterLaboratory
@BMonsterLaboratory Жыл бұрын
@@jimpugh6357 200 will work. Good luck to you 👍
@jimpugh6357
@jimpugh6357 Жыл бұрын
@@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 2 жыл бұрын
where's the code sir? i cant see your code sir..
@BMonsterLaboratory
@BMonsterLaboratory 2 жыл бұрын
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 2 жыл бұрын
thanks sir! have a great day!
@BMonsterLaboratory
@BMonsterLaboratory 2 жыл бұрын
@@basiliodollie3833 awesome
@prajitanand4362
@prajitanand4362 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@BMonsterLaboratory thanks a lot
@mainuser8429
@mainuser8429 3 жыл бұрын
Too bad - linking the code to a social media site.
@BMonsterLaboratory
@BMonsterLaboratory 3 жыл бұрын
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 Жыл бұрын
​@@heed.Security purpose silly boy
@6k911Channel
@6k911Channel Жыл бұрын
@@heed.@mainuser8429 I put it as a comment above, apparently the character limit is higher then we thought
What Is A NodeMCU Anyway? You're About To Find Out!
8:11
TheMakersWorkbench
Рет қаралды 83 М.
Wait for it 😂
00:32
ILYA BORZOV
Рет қаралды 7 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 82 МЛН
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 32 МЛН
How to install WLED on ESP8266 and connect to WS2812B strip lights
12:10
Introduction to ESP32 - Getting Started
47:57
DroneBot Workshop
Рет қаралды 1,6 МЛН
Blynk with NodeMCU ESP8266- Web dashboard and Mobile App
24:52
BINARYUPDATES
Рет қаралды 188 М.
The $4 NodeMCU ESP8266 Wi-Fi Jammer Setup! (iOS & Android)
11:28
Tech James
Рет қаралды 233 М.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Programming ESP-12E / ESP-12F / NodeMCU Over Wi-Fi
9:49
Indrek
Рет қаралды 57 М.
Microsoft Makes Windows Worse With AI
9:34
Mental Outlaw
Рет қаралды 165 М.
ESP8266 in 5 minutes
5:50
MrDIY
Рет қаралды 138 М.
Wait for it 😂
00:32
ILYA BORZOV
Рет қаралды 7 МЛН