Questions tagged [nodemcu]

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

186 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
50 views

ESP8266 requires two resets to wake up from deep sleep

I'm working with the following circuit using a NodeMCU: I have the solder jumper bridged between RST and BTN. In addition to what's in the schematic, pins 2, 3, and 4 of J1 are connected to the ...
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
325 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
37 views

ESP8266 + 4x TM1637 == possible?

I'm having trouble getting my NodeMCU connected to 4 x 4 Digit 7 Segment Displays. So far I've been able to connect 2 & get them to display things from the demo repository. However, after trying ...
2
votes
0answers
215 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
149 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 ...
2
votes
2answers
75 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
73 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
0answers
650 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
203 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
65 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
557 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
1k views

Using 2 serial ports on NodeMCU

I am using a NodeMCU ESP 12E board which will be programmed using the Arduino IDE. I intend to use it to send GPS data to the Blynk app server. I also want to interface a Bluetooth module HC-05 to the ...
2
votes
0answers
140 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
1answer
989 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
492 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
470 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
42 views

How to attempt connection to WiFi only once?

I am working on a garden timer project, I connect to WiFi once and if its successful show time from NTPClient or else show time from RTC. I have been done the above, and it works in the sense that if ...
1
vote
0answers
44 views

How to connect Firebase cloud messaging with NodeMCU using httpClient SSL

I use nodeMCU to connect to FCM API to send a push notification to a mobile application. I tested out in postman everything works fine and send a push notification to mobile but the problem when I use ...
1
vote
0answers
26 views

Inconsistent values from NTP client

Hardware- ESP8266 Based NodeMCU I am using NTP Client for time in my alarm project. I am facing an issue where NTP client is not returning proper values, in the sense that it works properly for the ...
1
vote
0answers
53 views

Prevent flicker - Lcd with I2C module?

I have a 16x2 LCD with a I2C interface, and a Esp8266 based NodeMCU. I Have an issue where the second line of the LCD is flickering, but somehow the first line does not flicker. Why does this happen ...
1
vote
0answers
20 views

Let Servo rotate when file has been uploaded to webpage

I'm building an installation with a NODEMCU 1.0 where I want a servo motor (MG90S) to rotate when a file has been uploaded to a webpage. For my first step I have used this tutorial: Build an ESP8266 ...
1
vote
0answers
41 views

Multiple MQTT topics

I have 3 nodemcu's(ESP32) each connected with a sensor, from which I get data and send it to aws IoT-core. How can I send all 3 sensor's data by a single MQTT subscription? The below code is for a ...
1
vote
0answers
27 views

NodeMCU server stops responding after a while

I'm new to NodeMCU and ESP. I've created a basic web server on my NodeMCU. The server works fine for the first few minutes after resetting the board or re-uploading code. But after about half an hour, ...
1
vote
0answers
31 views

Can't connect to internet with Proteus Arduino project

Can any one help me with making a connection to the Internet or localhost using any way to make that possible without any physical components (just virtually by simulator)? I've tried many ways such ...
1
vote
0answers
19 views

Getting garbage values on serial communication between Arduino Uno and ESP8266 NodeMCU

I have created a weather station on ESP8266 NodeMCU which has a web interface with logs. I've connected DHT22 on ESP8266 NodeMCU and a BMP180 on an Arduino Uno. Arduino Uno sends pressure to the ...
1
vote
0answers
26 views

L298N Motor Driver not working

I am using a L298N motor driver to connect a motor with NodeMCU. But i did a few tests since a few tests while learning how to control it now when i connect it the motor doesn't even work. Then i ...
1
vote
0answers
38 views

send nodeMCU data to labview

i am working on my final project in the last semester, i want to move nodeMCU data to labview, nodeMCU has uploaded the wifiscan program to the arduino IDE (this program is available when we install ...
1
vote
0answers
40 views

nodemcu POST request over https return error code -1

I have a nodejs application deployed and have been trying to send data to the api using the following sketch on my nodemcu: #include <ESP8266HTTPClient.h> #include <ESP8266WiFi.h> void ...
1
vote
0answers
54 views

Debouncing interrupt using capacitor

I'm currently working on nodeMCU and need to use interrupt pin. I find out there are bouncing problem when using interrupt thus i use capacitor 100uF to solve this problem. The question is by using ...
1
vote
0answers
33 views

How can I use GPIO pins on an esp12e UART?

I've bought an esp12e UART that unfortunately had some issues, but I was able to fix them. This is how I connected it to the arduino. With this setup, I was able to host a simple web server and it ...
1
vote
0answers
16 views

Deep sleep hangs when used with D0 pin when we connect to reset pin in nodemcu

I am using a nodemcu and running a code using hall effect sensor and ultrasonic sensor with deep sleep except the deep sleep keeps hanging when I use this code. With code taken from online it does not ...
1
vote
0answers
38 views

Deep sleep hangs when used with gpio 16 when we connect to reset pin

I have a node MCU and it hangs when I used a deep sleep, as shown in the image attached. My code looks like this: /* * ESP8266 Deep sleep mode example * Rui Santos * Complete Project Details https:...
1
vote
0answers
32 views

Sending .txt / file transfer from SD card from arduino to server using rest api and MongoDB

I am currently working on a project where I have to read data from sensors and save it on a local MongoDB database using REST API. I am considering an edge case where wifi is not available I have to ...
1
vote
0answers
40 views

Logging exceptions locally - SPIFF filesystem?

I am creating a system of 10 nodemcu(s) communicating and sharing data over painlessmesh. Each of these is powered by 240V to 3.3V power supplies. One of these nodes is designated to collect the data ...
1
vote
0answers
76 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
197 views

MAX31865 & NodeMCU RTD Low Threshold and Exception

I've got a NodeMCU V1 and a MAX31865 with a PT100 attached. When using the example arduino code, it seems to log out the correct values but with an RTD Low Threshold error like so: RTD value: 8068 ...
1
vote
0answers
46 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 ...
1
vote
0answers
139 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
30 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
50 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
34 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
38 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
49 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
91 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
73 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
158 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 ...