The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [nodemcu]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Not able to interface BME280 with Nodemcu v3

I am not able to read bme280 sensor values and have tried many codes online. Please have a look below- code:- #include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_BME280....
0
votes
0answers
14 views

WS2812B not fully working with NodeMCUv2 [ESP8266]

I have a problem with my NodeMCU v2 board and my WS2812B led matrix with 256 (32x8) LEDs. The Board cannot be able to turn on the 191th led and stops working after the 190th without changing the ...
0
votes
2answers
30 views

SoftwareSerial interfers with TVout

I'm using an Arduino uno and a Nodemcu for making a game with the phone as a WiFi controller. The Nodemcu is the server that receives inputs from the phone connected via WiFi and sends to the Arduino ...
0
votes
0answers
20 views

NodeMcu does not connect to my wifi

this is the code , and it never connects to the wifi ,i dont know what to do , the code is an example in the blynk library
0
votes
1answer
36 views

Error when compiling code NODE MCU ESP8266-12E module in Arduino ide

Here is my sketch: #include<ESP8266WiFi.h> char* ssid = "xxxxxxxx"; char* pass = "xxxxxxx"; void setup() { WiFi.begin(ssid,pass); Serial.begin(9600); while(WiFi.status()!=WL_CONNECTED) { ...
0
votes
1answer
54 views

Relay board not working with nodemcu

This is the relay board I am using nodemcu to make a home automation project which is controlled by google assistant. This is the code i am using is this one #include <ESP8266WiFi.h> #include "...
0
votes
0answers
28 views

Arduino How to Concat Strings

am stuck with something simple which is concating string not sure what am doing wrong , am getting exception (3 ) error due to it 3 LoadStoreErrorCause Processor internal physical address or data ...
-1
votes
0answers
32 views

RFID-MFRC522 with NodeMCU is not working

I am workig with an RFID reader. So I got a RC522 wired up to the NodeMCU 1.0 like this: SDA > D2 (GPIO04), SCK > D5 (GPIO14), MOSI > D7 (GPIO13), MISO > D6 (GPIO12), GND > GND, RST > D8 (GPIO15), 3....
0
votes
1answer
30 views

Nodemcu is connected to 5v relay with logic converter but still not working

I am using a bi-directional 3.3-5V logic converter to control 5V relay with 3.3V D5 pin of nodemcu. link of logic converter is here However, I expected to control the relay but it didn't work. I don'...
0
votes
0answers
21 views

NodeMCU current consumption in all modes

I am using NodeMCU for my project.I wanted to know how much current it takes in its all modes like sleep mode,deep sleep mode and also in its wifi modes like station and access point mode. Thanks in ...
0
votes
0answers
19 views

HX711 with NodeMcu

I am trying to make a scale that measuring weight. In internet i did some researches so i got some questions. I have this module as a HX711 And square 3 wired loadcells( Red,White,Black Wired). My ...
0
votes
0answers
12 views

3 wired loadcell with HX711 Arduino Uno, Nodemcu

I am trying interact with a loadcell that is 3 wired. I am using arduino uno or nodemcu adafruit huzzah and sparkfund hx711 module.But i cant take scales. I only getting 0.0 grams and when i applied ...
0
votes
1answer
27 views

NodeMCU max draw

1) what is the max draw I can draw from NodeMCU V3 logic and 5v pins? 2) Also, I heard i draw with it more than 500mA, the PC USB port stops working. Is that information actual? Because USB 3 port has ...
0
votes
2answers
35 views

nodemcu GPIO6 clock

is there a way that i can declare gpio6 (CLK) as an input without getting a wdt reset? I'm somewhat new to circuitry, but my boss wants to use it(GPIO6) to talk with external devices. I have more ...
0
votes
1answer
31 views

MQTT with OLED realy :- display not coming properly

I am very new to Arduino/ESP and I am writing a code to activate 2 relays using MQTT. Also like to display status on OLED here is my code #include <ESP8266WiFi.h> #include <ESP8266WebServer....
0
votes
1answer
63 views

How to get current Date [closed]

How to get Current date, month and year. I have used RTC, NTPClient, but it didn't work. This gives default output of 1970. What can I do for fixing it. time_t now = time(nullptr); struct tm* newtime ...
0
votes
1answer
27 views

NodeMCU MQTT getting topic but not calling IF loop

I am very new to Arduino/ESP and I am writing a code to activate 2 relays using MQTT. My connection is successful and I am able to receive message/topic printed out on serial console. Here is my code: ...
0
votes
0answers
75 views

Programming OMRON - D6T MEMS Thermal Sensor with NodeMCU

Hi I need some help here, I'm currently doing a school project that requires us to replace Arduino Uno to NodeMCU, I understand the hardware pin configuration is different, and I also found a code ...
0
votes
0answers
13 views

Connect NODEMCU with SIM800L

How should I connect nodemcu with sim800l? Will the code be similar to the one used for interfacing sim800l with arduino uno? I tried to use the GPIO pins 1 and 3. #include <SoftwareSerial.h> ...
0
votes
0answers
21 views

Nodemcu single server with 2 clients

I am trying to connect my nodemcu server with 2 nodemcu clients. One client is connected and it works perfectly. I am unable to configure what to do for the other client to be connected and share data ...
0
votes
3answers
45 views

How can one reset Arduino Nano from NodeMCU?

If one connects the RESET pin on an Arduino Nano to a digital pin on a NodeMCU, will the NodeMCU be able to reset the Nano by setting said pin to LOW?
-1
votes
2answers
48 views

Do comments occupy space in compiled C++ sketch? Arduino / NodeMCU

I tend to leave old code around as comments until I am sure that my current version is stable. Just the way I like working. I am concerned that I may be unnecessarily bloating up my sketches. Do ...
0
votes
1answer
23 views

Communication between three NodeMCUs such that one in in AP mode, second one in AP+STA mode and the third NodeMCU in STA mode

I am able to establish a connection between first and second NodeMCU, but unable to do so for the third nodeMCU. I used the IP address to establish connection. Should I assign a different IP to each ...
0
votes
1answer
45 views

Nodemcu Server with multiple sensors

I am trying to connect my nodemcu client with nodemcu server, while my client is connected with two sensors (DHT11 and Soil Moisture) and it is workign perfectly, but on the server side I am unable to ...
0
votes
1answer
37 views

Soft wdt reset error on NodeMCU (ESP8266)

I am getting error on Serial monitor Soft WDT reset. I decoded the error code also and found the following stacktrace. I am using SIM808 module and DFRobot_sim808 as the library. 0x4010030d: ...
0
votes
0answers
35 views

ESP8266 do not 'reset' when I connected D0-RST for deepSleep

I connected like this status(D0 ~ RST) on my ESP8266 NODEMCU board for making deepSleep & wakeup automatically. after I set like this, ESP.deepSleep(5e6); // 5second for entering deepSleep mode ...
0
votes
0answers
25 views

How to make watchdog and automatically reset on esp8266

When my system is confronting at logical & hardwaretical problem, I want to make system know It has some problem and reset automatically because my esp8266(nodeMCU) is on the place where people ...
0
votes
0answers
18 views

Nodemcu POST Response “-1”

Nodemcu device is returning HTTP response -1 for a POST request on django rest api. I tried the below http request to Postman, and it works perfectly fine. http://localhost:8000/api/datalogs/?plant=...
-2
votes
1answer
38 views

Communicate between 3 nodeMCU

How should I verify the communication between three node MCUs where one behaves as server and the other two as clients such that data of each node mcu is obtained on all three?
0
votes
0answers
26 views

NodeMCU v2 - Current when powering from VIN

I am working on a project and I want to directly power my NodeMCU from VIN. I have found lots of articles and questions talking about different voltages on the VIN pin of the NodeMCU, but almost none ...
0
votes
0answers
151 views

WebSocketsServer.h: No such file or directory

I'm trying use the NodeMCU WebSocket. I downloaded the required libraries from: https://github.com/Links2004/arduinoWebSockets and pasted them in my Arduino libraries folder. I uploaded my code but ...
-1
votes
1answer
23 views

External power supply to 4 channel 5 volt relay

i am from india. I have a question. can i power up a 5 volt 4 channel relay module with a 5 volt 0.7-0.8 mAh wall type charger, which is basically use for charge the simple mobiles. If yes, then how i ...
0
votes
0answers
18 views

Adafruit MQTT Library Error Connection failed

Adafruit_MQTT library is awesome but i have got a problem with it. I use it in Arduino with NodeMCU (ESP8266). Everything is okey with example code. (TLS connection - WiFiClientSecure). With my way ...
0
votes
0answers
32 views

DHT11 sensor reporting all null values

I am using a DHT11 sensor attached to a NodeMCU ESP8266 to have a web server reporting the local humidity and temperature values. I don't have a resistor attached in the circuit, the DHT11 is directly ...
0
votes
1answer
34 views

Running out of GPIO & looking for suggestions

I'm working on a project using a NodeMCU and am quickly running out of GPIO pins. I'm trying to decide which way to go to complete it. Right now, I have the MCU connected to a MAX31856 PT100 ...
0
votes
1answer
24 views

SD Card store struct: force big-endian / little-endian?

Following MAJENKO's tutorial on sd card file optimization and data integrity, can I force the SDCard to read and write in either big-endian or little-endian? I need this in order to maintain backup ...
0
votes
0answers
25 views

Can I use an RF Receiver to any pin on an Arduino?

I have a project that uses a nodemcu and it includes an rf receiver, I created the pcb board already etc etc... so I've already chosen D7 (GPI013) before reading on connecting the rf receiver and ...
0
votes
0answers
76 views

Wemos D1 won't work with MH-Z19B (CO2 sensor)

I would like to connect a CO2 sensor to the Wemos D1. I would like it to work via UART (RX, TX) and not the PWM pin. I've encountered numerous libraries on Github, but I can't seem to get it working. ...
0
votes
0answers
40 views

Why am I getting an 'invalid conversion' error on compile?

I have one of these NodeMCU ESP8266 OLED Arduino Wifi Modules which I am trying to load with SpaceHuhn's deauther software from Github I am trying to compile the source code using Arduino IDE with ...
0
votes
0answers
21 views

About split string

Sorry my English is poor. I use nodemcu to get a json data. By this String alldata = client.readString(); But it turn this: HTTP/1.1 200 OK Server: nginx Date: Sat, 10 Aug 2019 04:53:16 GMT ...
0
votes
0answers
21 views

Node mcu does not connect

im trying to connect to my wifi with mit Nodemcu, i recently got a new router and since then i can't connect anymore. I use simple example sketches from esp library but it will not connect. Instead i ...
0
votes
1answer
33 views

I2C master/slave maximum requestEvent message size

Using a NodeMCU master and an Arduino slave (Wire.h on both sides), is there a maximum message size (32 bytes?) for the answer that the slave sends from requestEvent()? If so, is there any solution ...
1
vote
1answer
34 views

Programming ESP32 MCUs for production

Before committing to learning about the ESP32 and how to program it, I would like to know if the ESP can be programme the same way for production as it can on évaluation boards (with the Arduino IDE). ...
0
votes
0answers
83 views

ESP8266 spend 10mA, even though It is in the deep sleep mode

I am using Nodemcu ESP8266. I want to know how much my ESP board consume the battery during sleep mode. as the Mannual said it spend about micro-ampere, but my multi meter said it spend 10 mili-ampere,...
0
votes
0answers
71 views

Exception(28) when calling `WiFi.status()`

Exception(28) intermitent, apparently caused by low quality connection, when connecting to WiFi. Seems like it has something to do with WiFi.status(). Is this caused by a problem with WiFi,status() ?...
0
votes
0answers
36 views

AT Commands with NodeMCU

I have an NodeMCU with an ESP8266 32Mbit, I am trying to flash the AT Firmware as described in Non-OS AT Instruction Set with NONOS-SDK-3.0 but I dont get any responses. I have the MCU connected by ...
0
votes
0answers
187 views

input from push button

I have connected three push buttons to node mcu which are working properly, but display of output on COM port is very slow. It works properly when two buttons are connected, but not when three are ...
2
votes
1answer
123 views

How to send UDP data packet between two access point?

I am new to arduino programming and nodeMcu boards.I have two ESP8266 bards as access points and one board get some data form WiFi stations and resend that data to other access point. but the problem ...
0
votes
1answer
80 views

NodeMCU: Wiegand not working for one device, while working for another

I'm using a NodeMCU, and a working code for reading Wiegand data, with this library. I managed to successfully read the Wiegand signal from this device. However, I also have this new AR-721H device, ...
0
votes
2answers
69 views

Lipo Battery level display using nodemcu

I'm designing a connected collar for pets for a project, for this I am using a nodemcu on ESP8266 powered by a Lipo battery I'm guessing around 1000mAh of capacity is enough for a respectable autonomy ...