Questions tagged [nodemcu]

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

180 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
49 views

Nodemcu OTA - no response issue

I was trying to use nodemcu for a project. No issues when uploading the OTA sample code. Added led blink to test. But when trying to upload the second sketch via OTA getting an error no response from ...
3
votes
0answers
4k views

How to flash pre-compiled bin files into NodeMCU using Ardunio IDE

How to flash pre-compiled binary into NodeMCU using Ardunio IDE. Since every time it require to compile and flash it. Is there way to flash binary alone to nodeMCU via Arduino IDE ? One can export ...
3
votes
0answers
323 views

Program nodeMCU Over the Air (OTA)

I have a Lolin NodeMCU V3 with a broken USB port: no power, no data. It does show up on WIFI as AI-thinker_xxx, I can connect, but what can I do next? Is there a way to program the NodeMCU Over the ...
2
votes
0answers
27 views

Node MCU code is stuck in while (WiFi.status() != WL_CONNECTED)

I am using the Node MCu V3 board ESP8266MOD Board Manager Version: 2.7.4 Arduino IDE: 1.8.12 My code is stuck in the while (WiFi.status() != WL_CONNECTED) Here is code: #include <ESP8266WiFi.h> ...
2
votes
0answers
33 views

Converting Arduino code to Node MCU code

I'm doing a project on controlling my house appliances with Blynk app and a ir receiver.So basically i can control my lights and fans with The Blynk app and an IR remote as the one used for TV. So i ...
2
votes
0answers
33 views

I2C protocol doesn't work properly

I am trying to make I2C Communication between NodeMCU and arduino Uno boards. However it is not working properly. It makes communication for once time when i uploaded code. Master Device Code(NodeMCU ...
2
votes
2answers
56 views

Is it possible to have long wire connections from an NodeMCU to a servo motor or button?

For my proyect, I need to conect my NodeMCU to a servo motor as well as a push button, the thing is, the distance from the NodeMCU and both components has to have a distance of around 6.10 meters (or ...
2
votes
0answers
48 views

Hijack analogue doorbell chime to trigger nodemcu

I have an oldskool doorbell chime. What i would like to do is whenever there's a voltage flowing through the doorbell also trigger an HTTP call, which will trigger some smart home automations. I have ...
2
votes
1answer
135 views

NodeMCU V3 and MPU6050 strange values

I am new to this platform, so please if I do something against the regular rules please let me know so I can learn. Now my problem: I have a nodeMCU V3 connected to a MPU6050. Using my Arduino Uno I ...
2
votes
0answers
633 views

error compiling for board node MCU 1.0

Arduino: 1.8.9 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)" In file included from C:\Users\Priyaranjan Tiwari\Documents\Arduino\007mcu_php\007mcu_php....
2
votes
0answers
180 views

Serial Communication between arduino and nodeMCU

I am trying to connect a nodeMCU to arduino mega using serial communication so that i can read data from firebase. I have put the following code on the NODEMCU. #include<SoftwareSerial.h> //...
2
votes
0answers
62 views

Can't get fastled.h and remoteme.h to work together

I'm trying to make a Google Assistant controlled LED strip, but I'm stuck. I can control the on board LED of the nodemcu with Google Assistant, and I can control a LED strip too, but I can't combine ...
2
votes
0answers
393 views

Cannot POST to server. HTTP code -1. NodeMCU

I am trying to make a POST request with NodeMCU, but I get a HTTP status code -1. Code: #include <ESP8266HTTPClient.h> #include <ESP8266WiFi.h> #ifndef STASSID #define STASSID "Wifi" #...
2
votes
0answers
115 views

Storing an array of objects

I followed the instructions of this post: Storing an array of function pointers. To show my problem I shorted my code extremely but the problem is still there. My classes are defined as followes: ...
2
votes
0answers
199 views

Correct wiring?

I'm doing some Home automation and am currently trying to automate my intercom system. My overall aim is to be able to detect when someone has pressed the buzzer and then to be able to open the door ...
2
votes
0answers
105 views

Arduino loses communication with bluetooth when sending commands to nodemcu esp8266

i've been working on a project using an Arduino UNO, Bluetooth Module HC-06 and NodeMCU esp8266, the project consists on turning leds on via bluetooth and telling the esp8266 that the leds were turned ...
2
votes
1answer
973 views

Use external power - nodemcu 0.9

I'd like to deploy my project so I'm looking for a way to power the nodemcu. I'd like to know if there's a way to power it with a 9V battery without any other external circuit. Until now I've found ...
2
votes
0answers
2k views

Digital Vibration sensor on NodeMCU ESP8266

First Post. I'm using a NodeMCU esp8266 connected to a digital vibration sensor. My project is to detect when a pager vibrates to then trigger through the maker channel of ifttt an outcome. I'm ...
2
votes
0answers
468 views

Send .wav file from SD card to NodeMCU via serial port

I was able to send a text file in the SD card to NodeMCU using the serial port of an Arduino Mega using this code: if (readSerial1 == "Okay I'm ready") { myFile = sdf.open("uid.txt", FILE_READ); ...
2
votes
0answers
2k views

How to define SoftwareSerial pins on ESP8266

I'am new to arduino yun and ESP. In fact, i have an arduino yun which has a sim808 dfrobot shield on it which uploads GPS data online at a regular time interval. I want to connect the dfrobot sim808 ...
2
votes
0answers
9k views

UART from Arduino to NodeMCU

I'm trying to connect an Arduino nano to a NodeMCU 1.0 via the hardware UART, in order to send information one way from the Arduino to the NodeMCU (and from there to the network). I'm connecting the ...
2
votes
0answers
446 views

Rotary Encoder on LoLin NodeMcu increases value when rotating right/left

I have a test program running on my LoLin NodeMcu board, with a Rotary Encoder connected. I use Task.h and RotaryEncoderTask.h from this library: https://github.com/Makuna/Task (though my issue is ...
1
vote
0answers
43 views

Problem with ESP8266 Get Request and DMD2 Library

I am using ESP8266 to download information from server using simple get Request and DMD2 library to draw them on display. Problem I have is, that when I call dmd.begin() after some time ESP8266 will ...
1
vote
0answers
37 views

Wemos d1 mini code not uploading

I have a wemos d1 mini. I uploaded a code in wemos d1 mini and after that my wemos mini not working. I tried to upload another code in it even the led blink sketch and even a blank sketch but whenever ...
1
vote
0answers
15 views

using esp8266 to fetch specific data from firebase

I want to fetch specific data from firebase using Node Mcu ESP 8266. I can fetch the num value, but I failed to fetch the id value. The serial monitor kept displaying 0 when I try to fetch the id ...
1
vote
0answers
42 views

Looking to interface height and weight sensor based on I2C Protocol

I have interfaced a height sensor and a weight sensor. The I2C address of the height and weight sensors are 0x29 and 0x2A respectively. I have merged the example of both the sensors. This is the first ...
1
vote
1answer
25 views

Serial communication between nodemcu and Arduino Uno

For the last days, I am trying to establish serial communication between nodemcu and Arduino Uno but I failed to do this. Currently, I am working on a Home Automation project. I receive data from ...
1
vote
0answers
22 views

GET data from influxdb database on LED matrix via NodeMCU

I can find tons of tutorials of how to POST data to an influxdb database from a sensor connected to a ESP8266 for example. But I would like to find out how to build it the other way around, for ...
1
vote
0answers
33 views

How to combine a RFID attendance system and proximity sensor alarm system

I am currently working on my final year project that involves a basic rfid attendance system and a proximity alarm system. The project intends to prevent ManOverboard situations by warning people who ...
1
vote
0answers
38 views

Error compiling for board NodeMCU 1.0

i tried compiling a program to upload sensor readings that i connected with my ESP8266 to cloud (in my case, Antares) but i keep getting this error message. Can anyone tell me where the problem is, ...
1
vote
0answers
50 views

NodeMCU unable to communicate with MFRC522 RFID reader even though the nodeMCU is successfully connected to a mobile hotspot

I am replicating a project that will read the RFID card or tag data, store that into a mysql database and display the data via PHP. I am using NodeMCU, RC522 RFID reader and Ardunio IDE to do that. ...
1
vote
0answers
73 views

My nodemcu esp8266 is heating a lot and the on board LED of gpio16 is On continuously. What's the Reason of heating?

How it happened Recently I was working on a device with Blynk application in which my device will burn crackers using Blynk. I wanted to create a safe environment for burning crackers. There was a ...
1
vote
0answers
85 views

Can't upload sketches or flash Nodemcu 1.0 12E (CP2102) but have drivers and responds to RST on Serial monitor

I've been trying to get my nodemcu working for months and tried countless online references but none worked. I'm using the Arduino IDE to upload sketches and always get the error "Timed out ...
1
vote
0answers
80 views

Multi tasking alternative on NodeMCU ESP8266

I'm trying to make an RGB LED strip controlled via Wi-Fi and IR. Until now, I just have made the Wi-Fi server, and It worked just fine. But I wanted to be able to turn the LED strip on and off via IR, ...
1
vote
0answers
24 views

Can't send Twilio SMS using Nodemcu esp8266

I am using Twilio for sending SMS in my project. I am measuring temperatures and if the temperature is too high, an SMS is sent. In my code I also have a read and a push to Firebase Realtime Database. ...
1
vote
0answers
30 views

RS232 server client connection over nodeMCU

I have two devices that communicate between them over UHF radio, the radio is hocked up to the serial port, the device use RS232 protocol. I would like to use a couple of NodeMCU to connect the two ...
1
vote
0answers
47 views

ESP8266 NodeMCU running out of heap

I'm trying to create SMS alarm using Twilio, Firebase and Arduino IDE. Using sensors I am measuring the temperature. If the temperature is higher than a specified value (ESP reads that value from ...
1
vote
0answers
63 views

Unable to allocate memory

I'm trying to send a SMS and read data from Firebase with my NodeMCU Amica V2. The code works fine when I either only send a SMS or only read data from Firebase. However, when I combine this two ...
1
vote
1answer
56 views

wdt reset cause:4, boot mode:(3,6)

I'm working on Python and nodeMCU with websocket connection. So, I send a string from Python to nodeMCU and nodeMCU collects the string and decodes to set values to a stepper motor. Initial code ...
1
vote
1answer
85 views

ESP8266 NodeMCU 3v3 current for fingerprint sensor

From what i see that 3.3Vpin provide 3.3V and 400mA. The fingerprint module i use is AS608. Connecting the fingerprint module power pin to 3.3V of the nodemcu. From the datasheet it only can handle 3....
1
vote
0answers
21 views

NodeMCU is not working. Only a little orange LED is turning on

Some time ago, i powered a NodeMCU with a 9 volt battery, it worked but the next time i tried to use the board, only a little orange led near the usb connector and reset button turned on. I can't ...
1
vote
1answer
119 views

What current is safe for Wemos d1?

I've got 12V / 400mA power supply for my Wemos D1 R1, and I'm using VIN output(I need 12V for led strip). I need to change this power supply because of color, and I can't find similiar with the same ...
1
vote
1answer
176 views

power nodemcu with battery and LDO, what if battery is empty?

I've read a lot but im still confused.. i want to battery power my nodemcu while it will be mostly deep sleeping and waking up every 1-2 minutes. i've seen the best way to power it with the least ...
1
vote
0answers
166 views

WS2811 strip not working on NodeMCU, works fine on Nano

Sorry if this is something simple, but im scratching my head over this for a while and there are a few things that have me super confused. I have two WS2811 strips lighting up my outdoor stairs Both ...
1
vote
0answers
125 views

ESP8266 - Garbled output when using serial Swap

I want to use two serial ports Serial1 - for debugging - No RX needed Serial - to read from a different device I receive garbled output instead of valid characters Here is code for NodeMCU #...
1
vote
0answers
106 views

Problem with NodeMcu interrupt

I am Using Arduino IDE to program NODEMCU. I am expecting LED should remain ON for 4 sec. But it turns OFF in less than 2 sec. Please can anyone explain me why this happening? Also I noticed that if ...
1
vote
0answers
40 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
1
vote
0answers
65 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
vote
0answers
38 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 ...
1
vote
0answers
230 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 ...