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
1answer
23 views

NodeMCU backup sketch

Is it possible to extract a backup of the sketch uploaded to a NodeMCU (as I know that it is possible to backup the firmware). If so, using which tools?
0
votes
0answers
14 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....
0
votes
1answer
36 views

ESP - Nodemcu amica - attachInterrupt crash program

I get new boards from the shop but they are little different from the previous version. I got software what works ok on Nodemcu lolin v3 now I get Nodemcu Amica what is almost same board but if I got ...
0
votes
0answers
21 views

Can too much power consumption cause NodeMCU to trip?

I made a home automation setup that involves a NodeMCU and a 5v relay module. Now, this setup automatically disconnects from the WiFi randomly. It sometimes connects immediately, sometimes it takes ...
0
votes
1answer
29 views

NodeMCU keeps disconnecting

I have made a home automation system consisting of a NodeMCU, 4 channel relay board running on Blynk and IFTTT. At the moment I'm only controlling a string of fairy lights and two LED strips from it, ...
0
votes
1answer
22 views

How to acheive fast and reliable communication between NodeMCUs?

I have two NodeMCU which have to send data to a server (also a NodeMCU). I want to acheive speed of atleast 10Hz because the sensor sends it at that rate. I have tried websockets and couldn't get ...
0
votes
0answers
17 views

Same software on single ESP-12f slower than on NodeMCU

I have programmed a small software to control an LED strip using an esp. I've written a web app which sends a request to the esp which then applies the color. So far everything works, but I've got a ...
1
vote
1answer
130 views

Arduino IDE doesn't pick up serial ports

I am fairly new to Arduinos and I recently bought a nodeMCU Amica esp2866 for this tutorial. I have my board connected to my MacBook Air (10.14.5 with Mojave) and only the "/dev/cu.Bluetooth-Incoming-...
0
votes
0answers
22 views

NodeMCU v3 Serial Communication Issues

I am trying to communicate using XBee chips to a NodeMCU and for the NodeMCU to read that data and perform a function but I am having trouble with the NodeMCU not reading data from Serial. I have the ...
0
votes
1answer
27 views

http.POST is not sending data to local web page

I am using a nodeMCU to send data to my local web page developed using Spring boot but when I run the code I don't get an error the esp8266 connects to WiFi but I don't get anything on my spring boot ...
0
votes
0answers
104 views

Multiple libraries were found for “WiFiClient.h” using nodemcu

I am trying to send HTTP requests from nodemcu so I started by uploading the esp8266 library but when I run the following code #include <ESP8266HTTPClient.h> #include <ESP8266WiFi.h> ...
1
vote
0answers
41 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> //...
0
votes
1answer
36 views

What is the use of reserved pins and SDD2, SDD3 pins of the NodeMCU?

How to use the reserved pins on the NODEMCU? What is their use? Also what is the use of SDD pins? Thanks.
0
votes
1answer
59 views

Get 5V output from NodeMCU [duplicate]

I have a sensor that requires used of 5V as input to Vcc. But I dont see any 5V output pins on the NodeMCU 1.0(12E). Is there a way I could get 5V output pins? Its not a duplicate question. I want a ...
1
vote
0answers
31 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 ...
0
votes
0answers
25 views

invalid conversion from 'byte {aka unsigned char}' to 'void (*)()' [-fpermissive]

char auth [ ] = "8439"; // Wi-Fi credentials . char ssid [ ] = ""; char pass [ ] = "chan"; const int SENSOR_PIN = A0; const int RS = 0.5; const int VOLTAGE_REF = 32; const byte ButtonPress = 2; const ...
0
votes
0answers
27 views

Arduino and NodeMCU problem with wifi conecction

Hello guys I am beginner with micro controllers but I am trying to make a simple IoT with Arduino and NodeMCU as WiFi. I was using this tutorial and code https://www.electronicshub.org/wifi-controlled-...
0
votes
2answers
49 views

How to upgrade ESP8266 NodeMCU SDK from V2.5.2 to V3?

ESP.getFullVersion() output: SDK:2.2.1(cfd48f3)/Core:2.5.2=20502000/lwIP:STABLE-2_1_2_RELEASE/glue:1.1-7-g82abda3/BearSSL:a143020Connecting to DO_231455 I upload sketches from the Arduino IDE. How ...
0
votes
0answers
40 views

Waking up a NodeMCU when force load is applied to device

I am currently designing a device that will take measurements from a load cell that is in tension. I am using a v1.0 NodeMCU device that features an HX711 load cell amplifier and is running off of ...
-1
votes
1answer
33 views

Nodemcu web server for arduino RC Tank, key listeners dont work anymore!

Hi thanks for looking at my post. Basically I have built a WiFi controlled tank out of Arduino and a Nodemcu board. You access the webpage from a computer and can press the forward, back, left, and ...
0
votes
1answer
31 views

Nodemcu does not connect to phone wifi

All welcome. I'm trying to connect nodemcu to the phone's wifi. And nodemcu can't do it. But sometimes after several reboots she does it. Also if i use my old phone - nodemcu connects perfectly! ...
1
vote
0answers
26 views

Running a motorcycle horn with a NodeMCU [closed]

I'm currently working on a Project that uses a NodeMCU to activate a motorcycle horn. However, I've run into Problems with operating the Mosfet. As a Mosfet, I use the IRLZ44N (Datasheet: http://www....
0
votes
1answer
22 views

Changing ESP-12E NodeMCU to ESP-01S - how to trigger sketch?

I had my sketch up and running with a NodeMCU and a Leonardo Pro Micro and decided I wanted to minimize the footprint of the project and use the smaller ESP-01S board instead. The ESP-01S is ...
0
votes
0answers
19 views

NodeMCU Modbus with Dotech DPX200

I've been trying to interface between a NodeMCU and a Dotech DPX200 Pressure Multi-Switch over Modbus RS485 using a MAX485 Module and after a few suggestions I managed to communicate with the Simply ...
1
vote
1answer
43 views

NodeMCU Modbus interfacing with Pressure Multi-Switch

I've been trying to interface between a NodeMCU and a Dotech DPX200 Pressure Multi-Switch over Modbus RS485 using a MAX485 Module for the past few weeks, going through nearly every Modbus post on this ...
0
votes
2answers
29 views

OTA push sketch to NodeMCU

Similar questions regarding Arduinos mention the existence of tools that would enable the pushing of sketch updates to NodeMCU via WiFi / OTA (Over The Air). Does this proceed? If so, please ...
1
vote
1answer
53 views

ARDUINO IDE debug level for stack trace only (nodeMCU 1.0)

What is the minimum debug level (TOOLS tab) which will display the stack trace on crash? I would like to reduce information clutter in the serial monitor. I understand that debug port must point to ...
0
votes
2answers
59 views

Difference between these two relays (D1 Mini Relay Shield and Single 5V Relay)

I've setup my NodeMCU v3 with this relay and I got this: When using 3V to power the relay, I can hear coil when I turn on the board and I can only turn it on once. Then I can no longer hear the coil, ...
0
votes
2answers
65 views

Use Arduino to turn fan on / off

I have a simple fan. When I plug it to GND and Vin it spins. I'd like to have the ability to turn it on / off with code. Any example will do, as long as it gets it to spin. I have a NodeMCU board, if ...
2
votes
0answers
51 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" #...
1
vote
0answers
36 views

Arduino IDE - debugging Exception 29

I installed the ESP EXCEPTION DECODER along with my Arduino IDE. When my sketch crashes with Exception 29, I take the stack trace and input it, but I can't understand its line references (they dont ...
0
votes
0answers
18 views

error: stray '\357' in program [duplicate]

#include <ESP8266WiFi.h> const char* ssid = "Moto G"; const char* password = "12341234"; int ledPin = 2;// D4 in NodeMcu WiFiServer server(80); void setup() { Serial.begin(115200); delay(...
0
votes
0answers
64 views

Basic communication with nrf24l01 between nodemcu and arduino nano

I spent the last two days to find a way to set up a basic communication between a nodemcu amica and an arduino nano with a nrf24l01 module; all of this without success.. Here the code uploaded on my ...
2
votes
3answers
136 views

I2C interference SENSOR(SCL+SDA) and MasterSlave comm

I am building a weather station with an Arduino slave (dedicated to a rain gauge - depicted below as a reed switch) and a NodeMCU master with some additional sensors. One such sensor, a BMP280 uses ...
0
votes
0answers
25 views

Software Serial blocking Wifi Connection

I'm trying to connect my NodeMCU to wifi. It isn't finishing because software serial is interrupting it. Sort of like Software serial conflict with WiFi on ESP8266. Here's my code: #include <...
1
vote
1answer
33 views

How Programing the nodeMCU Through OTA using GPRS?

How Programming the nodeMCU Through OTA using GPRS? Hi Everyone I need big help. Actually, I m using NodemCU one of my project. the setup in Remote location, that place dont have a wifi option so I ...
1
vote
1answer
19 views

HTTP myphp request error RFID

This program is a program which readings of rfid are saved to myphp database. I have a problem when running the code The wifi is connected but when the code doesn't save im assuming that the problem ...
0
votes
0answers
19 views

Nodemcu don't wake up after deep sleep

I have a problem with the awakening of the NODEMCU after a deep sleep The software worked fine on older NODEMCU V2, but did not work for me on new ones I ordered, they did not wake up Can anybody ...
0
votes
0answers
14 views

Not able to receive data on node mcu from pubnub

I am trying to send data from one node mcu to another using the same wifi for now. I can publish the data since I can see it from my pubnub analytics but not able to receive the data. When I used 2 ...
0
votes
0answers
33 views

Using Arduino Motor Shield

I'm looking to create a blind controller and have set up the hardware and software as I think it should be. I had the software working fine using an IC motor driver, but as I am no great at soldering,...
0
votes
0answers
48 views

Serial monitor error message

I connected my ArduCam mini to es8266 board and opened serial monitor. Then this message appeared. It started to appear continuously. I used the code in examples "functions of ov2640". What does it ...
0
votes
1answer
46 views

Motor isnt spinning when using L298N motor controller

I have a L298 motor controller connected to a motor with a 6 volt power sources. the motor however isn't spinning any ideas I'm using a esp 8266 node mcu board. I would like to use pwm but for right ...
0
votes
1answer
51 views

PIR motion sensor (HC-SR501) false results with NodeMCU

I have a PIR sensor which I use to detect the motion and turn ON and OFF the lights on the basis of it. I have PIR connected with NodeMCU (ESP8266) based board. I find that sometimes it trigger ...
0
votes
2answers
60 views

How to get a list of IPs in a LAN using NodeMcu?

I'm going to create an IoT system. I use a Raspberry Pi as a MQTT broker and as a webserver. Every day, the Pi gets a new IP address, so I need to find its new IP address via ESP8266 to use this ...
0
votes
2answers
137 views

Convert byte* to int in Arduino

I am trying to convert byte* value to int here is how I have it. void mqttCallback(char* topic, byte* payload, unsigned int length) { String topicStr = topic; int* payload_value; int ...
0
votes
1answer
30 views

SR505 PIR sensor Time Delay Using Ticker Library NodeMCU

I am trying to make the value of PIR sensor value HIGH for certain time using code. SR505 have a default time delay of 8 seconds. But I want to increase it to 20 seconds. I am thinking of increasing ...
1
vote
1answer
48 views

NodeMCU (ESP8266) board controlled over shared hosting database

I have a NodeMCU (ESP8266) board that I want to control over the internet. I am trying to find a solution where I don't have to set up any configurations on my router like port forwarding. I came up ...
0
votes
1answer
31 views

NodeMCU run sensor code while listening for wifi input?

Is it possible to have code running while also listening for local inputs via ip address? I thought it would go in the 'while' portion but I presume that only responses when the ip is loaded. void ...
1
vote
0answers
24 views

NodeMCU can't communicate with BM019 NFC via SPI

When I upload this code to UNO it works well but when I use this code with NodeMCU it does not show anything on the serial monitor. I don't have much knowledge to rectify this problem so please help. ...
0
votes
1answer
126 views

Sending data from Arduino Mega to nodeMCU using serial (Multiple sensor data) & upload to firebase

Im working in a project where i have to deal with multiple sensor data. BME 280 WindSpeed Sensor Water level Sensor x 10 Soil moisture x 5 Soil pH sensor x 2 i have found this code for both arduino ...