Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nodemcu]

For questions about NodeMCU, an open source IoT platform which includes firmware for running on the ESP8266.

0
votes
1answer
29 views

Running 2 channel 5V relay with nodmcu esp8266 [on hold]

I am cry for help & search many articles with no solution.pls anyone guide me. I connect my relay with nodmcu in 2 ways 1st one a) Vcc = 3.3v from nodmcu b) in1 = D4 of nodmcu c) in2 = D5 of nod ...
0
votes
1answer
44 views

Deep Sleep NodeMCU with Door Sensor

I have a very simple code of door sensor (magnetic) which gives results in 1 & 0 format. But I want to run the NodeMCU only when a door is open or close. Rest of time I want to keep it in deep ...
0
votes
1answer
56 views

5V 10A 4 channel relay to 2 lights15W light in series in 220V AC supply

I am trying to setup my first relay module with live environment. I have attached the relay module image below. Which I am using to control 4 devices in my switch board as follows: Fan (working ...
-1
votes
1answer
46 views

The code is working fine with Arduino Uno but not with NodeMCU

I uploaded program MPU6050_DMP6_Multiple.ino (https://github.com/eadf/MPU6050_DMP6_Multiple/blob/master/MPU6050_DMP6_Multiple.ino) to Arduino Uno and it works fine. When I upload the very same code to ...
0
votes
1answer
44 views

Detect power interruption on NodeMCU

Im using a 5v 1A power supply and connected to VIN pin on the NodeMCU. I also use 18650 battery to keep NodeMCU running in case the power supply shuts off due to power interruption. I'm planning to ...
0
votes
0answers
27 views

Garbage output/ not running at start up nodemcu

I have a nodemcu acting as a thermostat home office. The wall heating element is controlled with a solid state relay on D2. If i have it connected, I cannot program the board from the arduino ide. I ...
0
votes
0answers
26 views

NodeMCU with digital sound sensor - Can't find examples or good documentation

I'm very new to this world, and trying to hack one of my first projects have proven hard without solid documentation or examples to copy like I usually do. I've got a https://www.gearbest.com/...
0
votes
1answer
20 views

Help to delimit and read specific contents of incoming HTTP string

I am sending strings to an Esp8266 via web browser. The below code returns the following in serial monitor if I send in browser: Send from browser to esp8266 - http://192.168.1.220/s1s2s3s4s5d1 ...
0
votes
1answer
24 views

Why is this failing after 3 iterations?

I simply cannot figure this out, why is this failing after 3 iterations? Other than that, what better way is there to do this? Thanks! #define rotary_encoder_topic "/rotary/encoder" #define ...
0
votes
1answer
33 views

Can't extract basic data using ThingspeakHTTP

I don't know anything about HTML, but I want to extract the % probability of the Northern lights being visible from this webpage http://aurorawatch.ca/. I entered this into the URL field, and selected ...
0
votes
1answer
32 views

Taking String Input from NodeMCU Webpage and Printing it on Serial Monitor

I've started working with NodeMCU recently. I've very little knowledge about this device and how a website works. I'm trying to take a long string input from a website hosted by NodeMCU, store it on a ...
-1
votes
0answers
31 views

sending dht11 sensor data to webserver(MySql db) via ESP8266 12E Module

Below i have attached my .ino program and php (add.txt)program. my sensor value is not going to websrever(db) . but individual programs are working properly. even i checked in browser url (http://iot....
-1
votes
0answers
34 views

How do I get .hex file from Arduino IDE

I am getting a .bin file from instead of a .hex file when I follow the methods given in this question: How to get the firmware (hex) file from a .ino file containing the code. I have tried changing ...
0
votes
1answer
32 views

Addressable RGB LED Strip

I am looking to create an addressable RGB LED strip circuit with my NodeMCU v3 Wi-Fi. I am looking at a strip of 150 RGB LEDs, 5 meters long, so 30 LED/m. But I am only going to use about 50 LEDs for ...
0
votes
0answers
33 views

Breadboard power supply voltage changes on restart

I bought this Arduino starter kit from Amazon. The problem I have now is that the voltage supplied by the breadboard adapter seems to change every time I turn it off and on. And not by small amounts ...
0
votes
1answer
32 views

Does NodeMCU have some protection against wrong connections that could kill a computer USB?

I know some computer USB could handle some bad connection (by blocking the port, which need to reboot the computer). But I wonder if a NodeMCU 8266 offers some protection.
0
votes
0answers
28 views

MHZ19 + Debug via Putty: Network error: Connection timed out "

I am combining this library to read my mhz19 with RemoteDebug over Putty but I am not getting any output in Putty. I don't know if the problems comes from the way I upload the file or from my sketch....
-1
votes
1answer
39 views

How to build a wireless pump controller using arduino and esps? [closed]

I want to have automatic control for my pump, wirelessly. A transmitter unit fitted in the water tank would sense the water level and transmit the data to a receiver unit attached to the pump ...
3
votes
1answer
68 views

Flashing an ATtiny85 with a NodeMCU?

I recently purchased a Digispark for some of my smaller electronics projects. After it initially being a great little board, I soon found myself unable to flash the board in the same way I had done ...
0
votes
1answer
65 views

FastLED: Can't address led individually

I'm unable to access the first led in my strip with this code: void loop() { leds[0] = CRGB::White; FastLED.show(); delay(100); leds[0] = CRGB::Black; FastLED.show(); delay(100); } Instead, it ...
0
votes
1answer
53 views

How to / is it possible to change Vendor Name in ESP8266-12E?

I am aware of that it is possible to change hostname for ESP8266 but I want to change vendor name also so that it lists my company/product name in routers/firewalls. Is it possible?
-2
votes
1answer
50 views

GPRS Based OTA to the NODEMCU [closed]

I need the OTA firmware update. I have the only option in my hand GSM(GPRS SIM800), with the help of this is it possible OTA, plz help me for this how I Do OTA via GPRS, FYI, I completed OTA Via WIFI.
0
votes
3answers
128 views

Passive buzzer works with analogWrite(), but not with digitalWrite(). It also has constant static noise

I have a YL-44/MH-FMD passive piezo buzzer hooked up to an ESP8266/NodeMCU. It's connected like this: Buzzer ---> NodeMCU - GND ---> G - VCC ---> 3V - I/O ---> D2 This code makes a clear beep. ...
0
votes
1answer
49 views

Communicating with a 12V device?

I'd like to connect a 12V access control device to the Arduino, but I lack the understanding. How can the signals from and to the device be done when they have different voltages? I am afraid ...
0
votes
2answers
40 views

NodeMCU ESP8266 12E loses code after power is reconnected

I have uploaded a simple code to control a 8 channel relay by turning individual relays on and off When I upload the code it works properly, the code works properly and the relays turn on and off in ...
0
votes
1answer
273 views

How to connect NodeMCU to NRF24L01

I need to connect NodeMCU and NRF24L01. where I'm receiving data from another NRF24L01 Transmission. I managed to connect to a WiFi network but the data receiving is not taking place as expected. Here ...
0
votes
0answers
12 views

controll intigers from webserver on nodeMCU esp8266

I would like to controll neopixel leds from over wifi with my nodeMCU but i dont know how to controll values over wifi, through a web interface would be perferable over url, but that also works. usinf ...
0
votes
1answer
51 views

Unable to get output on Arduino serial communication with ESP8266 and M6E RFID reader

I am unable to get the output on NODEMCU serial. NODEMCU is connected with Arduino Uno, and Uno is connected with M6E Nano RFID reader. Currently I am unable to understand that am i doing any mistake. ...
1
vote
1answer
75 views

How can I update a sketch to a NodeMCU “over the air” with the Arduino IDE?

I’m trying to use a sketch from this repository which uses MQTT to send a notification to Home-Assistant that acts a “presence sensor”. When the NodeMCU comes into range of the specified SSID, the ...
0
votes
1answer
65 views

How to convert byte array into a single variable

In this code i am taking the TID data(20bytes of 160bits) in the form of array according documentation and and its working correctly and getting the output of RFID tags. Now I just need your guidance ...
0
votes
2answers
221 views

NodeMCU does not connect to wifi

I'm trying to connect my nodeMCU to my WiFi network but it keeps printing ........ which means is not connecting to the network. Here is my code used to connect to WiFi. Any reason why it isn't ...
0
votes
1answer
62 views

ESP8266 Peer to Peer with AP and STA - Cache AP Clients, Flush Their Requests?

I'm fairly inexperienced with Arduino and entirely new to networking, so bear with me. I've programmed a couple of NodeMCU devices to communicate the use of an instrument via activation of an LED. I ...
0
votes
1answer
55 views

How to know which event fired first?

I want to automate the chicken coop of my grandmother. To do so, I want to use Arduinos and NodeMCUs, respectively. I want to check if all chickens are in the coop at night and then close a little ...
0
votes
1answer
59 views

NODEMCU 1.0 HX711 Load cell reading weird text

Hi Guys! i have a problem with the reading with my NODEMCU where i tried this code on an arduino UNO it is working perfectly fine but until i tried to switch it to NODEMCU 1.0 which have a wifi ...
0
votes
1answer
46 views

Serial monitor doesn't work with piezo buzzer

So I can't see the distance of the proximity sensor anymore as soon as I type the code for the piezo buzzer. I've tried many things but it doesn't work.. Can anybody help me fixing this? int trigPin =...
0
votes
1answer
53 views

How can I connect nodemcu with laptop wifi

Question is odd, but I want to know that how I connect nodmcu with a laptop wifi without using any router. Is it possible if yes then how?
0
votes
1answer
162 views

How to connect Sparkfun M6E Nano UHF Rfid reader and ESP8266 NodeMCU 0.1

I am using an ESP8266 NodeMCU v0.1 and Sparkfun M6E Nano UHF Rfid reader. How to connect NodeMCU to M6E Nano UHF Rfid reader?
-1
votes
2answers
195 views

Circuit diagram for ACS712 and ZMPT101B with ESP8266 using ADS1115

This is probably a cry for help for a circuit diagram which involves connecting ESP8266 with ADS1115 with ACS712 and ZMPT101B(voltage sensor). Since both of them uses analog pins, and using a diode ...
1
vote
3answers
180 views

How to integrate nRF24L01 to esp8266 nodeMCU? [closed]

I can't seem to integrate an nRF module to my nodeMCU. I just want to verify my code but an error message keeps popping up Below is the sketch: #include <SPI_Class.h> #include <nRF24L01.h&...
0
votes
1answer
79 views

Bridging the wifi networks on nodemcu: how to set the esp8266 as wifi extender, simplest case

It seems to me that humidity is getting high in one room in the basement in my house. To monitor the situation temporarily, I would like to build a very small wifi-mesh network to exchange these ...
-1
votes
0answers
30 views

DIY Light Switch Trouble Shooting Help

Goal of the Project: DIY method of a smart light switch Process Used: Implement using IFTTP with: BLYNK Google Assistant NodeMCU (ESP8266 WiFi) High Voltage Relay Samsung Wall Wart for NodeMCU ...
0
votes
1answer
27 views

Accessing raspberrypi.local from Nodemcu

Currently I am trying to access a rest API from NodeMCU. The API is hosted on my local LAN on a Raspberry pi 3 b. The Raspberry pi is accessible on LAN using the raspberrypi.local domain address. But ...
0
votes
1answer
57 views

ESP8266 too many argument to function

My project uses ESP8226 to allow: 1) user to set an alarm. 2) after 20 sec of the alarm ringing, it will notify to phone via blynk app using motion sensor. 3) after 40 sec it will turn off ...
0
votes
2answers
56 views

Is there an open source compiler for Arduino Sketch codes?

I am working on a web app to program some nodeMCU devices that were flashed with the arduinoOTA library. http://esp8266.github.io/Arduino/versions/2.0.0/doc/ota_updates/ota_updates.html I tried the ...
0
votes
1answer
30 views

Stop and continue loop by using boolean flag for traffic light

By using boolean and flag, I can now control the green light but the program cannot repeat or loop the sequence for traffic light from red to yellow to green. If I don't use flag, the sequence red-...
0
votes
1answer
61 views

Shift register with relay board behaving erratically

I have a nodemcu connected to a shift register(https://www.amazon.de/gp/product/B07CHBYR7Z) to control an 8 channel relay board (https://www.amazon.de/Elegoo-Relaismodul-Optokoppler-Arduino-Raspberry/...
0
votes
3answers
270 views

How to post data to database using nodeMCU?

We created a website hosted by 000webhost and we're trying to post data from our nodeMCU to the database using the sketch below, but the database doesn't seem to show any received data. How do you fix ...
2
votes
1answer
197 views

nodeMCU - Millis() - Simple Counter - How long is LED on?

PROGRESS, now I have this (WITH GREAT HELP): void setup() { Serial.begin(9600); // initialize digital pin 13 as an output. } uint32_t timer_start = 0; int timer_running = false; void loop() { // ...
0
votes
1answer
94 views

how to increase the delay factor of DHT11?

There is no compiler error but output is showing timeout error. as per as the instruction given in https://github.com/RobTillaart/Arduino/issues/61 it says to increase the timeout factor but i did ...
0
votes
2answers
160 views

NodeMcu pins and an RGB LED

I'm using a NodeMcu for my project and am running out of pins to use. I have a MFRC522 Module, IR Receiver, Buzzer and RGB LED connected. I am facing the problem that whenever I start scanning for ...