Smart appliances with NodeMCU

How Can I control my home appliances remotely using NodeMCU connection with appliances

Asked by micprashant 7 months ago

Ouput from NodeMCU pin as input to Arduino Nano Answered

I have a NodeMCU ESP-12E with D7 (output) connected in series with 220R resister to pin 12 (input) on Arduino Nano. Looks something like the image (fritzing doesn't seem to have my exact device) Is this a safe circuit? If not - what would make it safe? It seems to work but I don't want to fry anything. What I am doing is using the 5V output on the Nano to operate a relay. The NodeMCU only seems to have 3v output which does not seem to be enough to operate my relay. Maybe there's a better way to get this done? 

Asked by RussellM37 4 months ago

NodeMCU with Extra Code Libraries and Cloud Services? Answered

I am using a NodeMCU board, can I use all these libraries mentioned with my board?Does and work with a NodeMCU as well?

Asked by giuliofcc 10 months ago

Need coding to handle multiple relays with multiple touch sensor (TTP223), IR remote and from web for nodemcu ESP12E?

Hey friends! Can anyone help me in designing a switch board which can be operated with touch sensors (TTP223), IR Remote and also with web application (like android / ios app) or with http:// . Coding for the same is my basic requirement. Basically i am looking for the coding. The things which i am having with me : 1) 5v - 8 ch Relay, 2) TTP 223 Touch sensor (6 nos) 3) V1.0 NodeMcu LUA WiFi Networking ESP8266 Development Board and  4) DS3231 AT24C32 IIC Precision RTC Real Time Clock Memory Module any comments are welcome!!!

Asked by KrishnaV35 1 year ago


I attached it to 3v based on web search but the LED blinks and then the on-board LED blinks and back and forth.

Asked by bmohnsen 8 months ago

direct nodeMCU control?

Hi guys this is my first attempt on automation using the nodeMCU lua ESP8266  My goal is to control the gpio via wifi without connecting the node to my home network it should dependent  I have found e bunch of code but it has to be joined to my homework thanks

Asked by Conwyn' 11 months ago

Setting up NODEMCU? Answered

Should I be seeing something other then com 5 in the ports menu. I ordered the Adafruit wifi board today, but I am trying to get this NODEMCU board to work in the meantime. Any help would be greatly appreciated.

Asked by Kid3471 11 months ago

NodeMCU Issues? Answered

I tried this out with a NodeMCU by changing the LED pin to D4 and Button Pin to D3 (I changed it in the code as well). But when I upload my code, nothing happens; not in the Feed, the LED doesn't light up, but I stuck with the schematics just to stay safe. I tried to see if it was a problem with my NodeMCU, but it had no problem with any of the other sketches I had written. What can I do to correct this?

Asked by Vivek VenkatS 8 months ago

12V one 1 Channel Relay Module With optocoupler ?

Hello, I bought this 12V one 1 Channel Relay Module With optocoupler by mistake. And I can't figure out how to use it : I was supposed to buy a 5v relay to use it with a nodemcu. But on this one I can't understand the pins. Can someone help ? Thanks.

Asked by RobinT15 1 year ago

send mq7 or other sensors data to mysql of local website via NodeMcu-esp8266

Hi guys im doing a project about uploading sensors data to database of my local site in the internet (via NodeMcu) i install nodemcu libraries to my arduino IDE & can upload easily arduino examples and running well, but don't know how can read sensors data and send it to my website host in .txt format or sql to access it in host & show it on my website. I try this process with one mq7 gas sensor to know what should i do and after success that example continue it, but i stuck in first step. please help me MASTER guys:(((

Posted by hadi95126 6 months ago

ESP8266WIFI? Answered

Hi, can i use NodeMcu Lua CH340G ESP8266WIFI Internet Development Board Module for this class?

Asked by chenboly 7 months ago

How to call an api with nodemcu from this wesite:http: (//

Http:// The website above offers free Timezone APIs. I have been trying to request the API with my esp8266 NodeMCU, but still, i get no response. Can anyone please demonstrate to me with a code sample how it's supposed to be done? I will be posting my code soon. The following is my code (In arduino IDE) for my NodeMCU #include String result; char host[]=""; WiFiClient client; void setup() { // put your setup code here, to run once: Serial.begin(9600); WiFi.begin("Faiz", "hautepackard"); while(WiFi.status() != WL_CONNECTED){ Serial.print("."); delay(500); } Serial.println("Connected!"); Serial.println(WiFi.localIP()); } void loop() { Time(); delay(3000); } String url = "/macros/s/AKfycbyd5AcbAnWi2Yn0xhFRbyzS4qMq1VucMVgVvhul5XqS9HkAyJY/exec"; void Time(){ if (client.connect(host, 443)) { //starts client connection, checks for connection client.print(String("GET ") + url + " HTTP/1.1\r\n" + "Host: " + host + "\r\n" + "Connection: close\r\n\r\n"); Serial.println("Server is accessible"); } else { Serial.println("connection failed"); //error message if no client connect Serial.println(); } result = ""; while (client.available()) { //connected or data available char c =; //gets byte from ethernet buffer result = result+c; } Serial.println(result); client.stop(); //stop client Serial.println("end of function"); } And this is what i get in the Serial monitor: ........Connected! Server is accessible end of function Am i going wrong anywhere in the code? Please help this burning question.

Asked by Techovator0819 11 months ago

Pin Differences, NodeMcu ESP8266? Answered

Hi Becky, the digital pins i.e. D0, D1, D2... on my device do not match the pin numbers on the PCB of the published diagram of the NodeMcu ESP8266. This caused me to think I had made a bad mistake or had a faulty board until I probed the pins with an LED and found that Arduino's D0 was labelled D3 and my actual D3 was labelled RX. I can see that this issue could put people off, if you are unable to blink an LED then how are you going to deal with wifi protocols!? I see that someone else had the same issue so here is a link I found that explains the differences , maybe you could check this out and and include it in your teaching material?

Asked by JonathanH237 10 months ago

An Internet of Things based Home Automation Using Android Appliction?

Any one have homeautomation using temparature sensor,pir sensor,soil sensor,IRsensor,air quality sensor,rain sensor ,nodemcu or arduino uno (add all sensor will be one circuit & one program)?????

Asked by somnathpanjaproject2018 3 months ago

While compiling I get this error message from Arduino, does anyone know how to fix it?

Arduino: 1.8.2 (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)" C:\Users\super\AppData\Local\Temp\Temp1_Wifi-Jammer-master (1).zip\Wifi-Jammer-master\WIFI Jammer\wifi jammer\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:11:18: fatal error: data.h: No such file or directory #include "data.h"                   ^ compilation terminated. exit status 1 Error compiling for board NodeMCU 0.9 (ESP-12 Module). This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. I have my esp-2966 connected through a cable.

Asked by mo.nicholas 1 year ago

Great Class, Becky. I learned a lot!? Answered

Bellow, one of my IoT instructables, written for NodeMCU:, the project inside another box installed in my kitchen.Saludos from the south of the world!Marcelo(Please do not forget to ask tech people to fix lesson 1. It is never appears as 100% and the course is not complete)

Asked by mjrovai 10 months ago

What should be result of updating host variable? Answered

Hi Becky, in the WiFiClientBasic example, after changing the code from to a Google site, I would just see in Serial monitor : 'connecting to' and on the next line 'closing connection' and 'wait 5 sec...'.Should there be an opened Google web site or some message in Serial monitor? What should be expected on display?The first part of software was OK. Wifi connected and IP address detected.I am using NodeMcu ESP8266

Asked by kamil47 9 months ago

WiFi Radio / MP3 Player with ESP8266

Hello everyone, I'd like to make a new project: Reading in an usb stick with .mp3 files, and playing them. Moreover to swtich from mp3 playing to a wifi radio station. Basically I'd like to use a nodemcu ESP8266 for this project. This was my idea (s. Attachment) My questions: Does it work? Is the controller of the ESP8266 powerful enought to fit these requirements? Do you have improvements for this project? Best regards, Julian

Posted by julianpe 5 months ago

What If My LED Doesn't Blink? Answered

If you're using an ESP8266 12E with NodeMCU, then 0 corresponds to GPIO0, which is pin D3. You can bridge an LED to ground to verify blinking. The on-board LED's on some versions (I'm using a 12e) are connected to the TX/RX UART pins, so if you program them to drive the LED, you'll not be able to upload your sketches without holding down the flash button, which is slightly inconvenient. If you get advanced and need the pin, it's there for you, though.

Asked by Man Up 11 months ago

Proper USB cable? Answered

I am making a real mess of this, but I received my feather HUZZAH board today, and I hooked it up again I was able to get the LED to blink and get the internet connection to work, but I am unable to get the button_input_led_output to work. I am reading over and noticed something about the USB cable. I am using just a standard USB to micro USB cable, Could my problems be coming from I am not using the USB programming cable? There is where I stand now, could not get the NodeMCU to work so I went and purchased the Feather HUZZAH and can't get that to work, but I get the simple blink when button is pushed on both, Please HELP.

Asked by Kid3471 11 months ago