Questions tagged [nodemcu]
For questions about NodeMCU, an open source IoT platform which includes firmware for running on the ESP8266.
565
questions
0
votes
0
answers
7
views
How to bypass any on board circuitry when using an external LDO
I am using an ESP8266 NodeMCU (Amica) module. I am powering it with a 3.7v rechargeable Li-Lion battery (18650). I am regulating the voltage using a LDO circuit. https://randomnerdtutorials.com/...
-1
votes
0
answers
8
views
NodeMCU + Telegram + SoftwareSerial = OOM?
I am using ESP8266 NodeMCU to communicate with my SIM900A module. Had UniversalTelegramBot to send some reports via NodeMCU's WiFi. Everything goes well until I decided to use softwareserial so that ...
0
votes
0
answers
43
views
How to communicate with nodemcu from anywhere?
I have nodemcu v3 with esp8266. I have uploaded the below code for turn off and on home appliances and make the react expo app and use axios and making http request to nodemcu ip for on off the ...
0
votes
0
answers
17
views
ow can I send data with GET method NodeMCU?
I have NodeMCU v3 ESP8266 and RFID RC522 card reader. I want to send some data using the insert_status.php API on the server. But it gives an error.
What I want to do is very simple, the php API will ...
2
votes
2
answers
104
views
Can I use SPI-related pins as a Digital Output?
I am trying to use an esp32 (NodeMCU-32s) as a ringlight controller for my camera. All it should do is sense when an input pin goes low (the camera's output connects to ground when the shutter goes ...
3
votes
1
answer
90
views
NodeMCU V3 GOT OVERHEATED AND DIED
My NodeMCU V3 got overheated and died. Please help me figure out what i did wrong.
Brief Desrip: Project is an RC Car on ESPNOW Protocol. Transmitter setup have an Arduino Nano to take values from Two ...
-1
votes
1
answer
106
views
NodeMcu V3 & BMe280 -> Temperature, Humidity, Pressure: value nan
I've just started playing around with a NodeMcu V3 and a BME280 sensor.
wiring
VCC -> 3.3V
GND -> GND
SCL -> D1 (GPIO5)
SDA -> D2 (GPIO4)
I've tried this sketch / I2C scanner: it finds ...
0
votes
1
answer
138
views
LED doesn't completely turn off with digitalWrite(led, LOW);
When I was testing out a program I found a strange behavior of ESP8266.
LEDs don't turn off completely in the first digitalWrite(led, LOW), just the brightness of the LED goes down, but it does turn ...
0
votes
1
answer
153
views
ESP8266 serial monitor spitting out garbage
I am trying to set up a weather station, and I should just have the anemometer left. This code works fine (as far as I know).
// Pin definitions
const int reedSwitchPin = 2;
// Variables
volatile ...
2
votes
1
answer
122
views
ESP8266 seems to be killing a while loop
When i was testing out a program I found a strange behavior of esp8266
It seems to get out of a while loop even when there's no option of getting out on code
I don't know if these are related but here'...
0
votes
1
answer
55
views
NodeMCU code that both display OLED and control WS2812 LED Ring
I'm trying to make a project using NodeMCU that show pictures in small OLED screen and also controlling WS2812 LED Ring.
I manage to do each of them separately but I'm not sure how to mix them ...
1
vote
1
answer
91
views
Powering a NodeMCU as well as a GSM module
I'm trying to connect a GSM module(sim800L) with a NodeMCU to execute remote operations. But the GSM module cannot be powered using the NodeMCU. So, what are the other ways to power the board as well ...
1
vote
0
answers
111
views
ESP8266 + NodeMCU Motor Shield spinning motor only in one direction
I hooked my ESP8266 Wi-Fi module to an ESP-12E Motor Shield and connected it to an RC car. It works fine when connected to my laptop (Goes forward, backward, left, and right. Though the car doesn't ...
1
vote
0
answers
94
views
cant flash my nodemcu esp8266
So i wanted to flash my Nodemcu esp8266 v3.4 with esp8266 deauther code: script-github
i did everything said. First i plugged in my nodemcu. Windows detected it and drivers for ch340 where already ...
1
vote
0
answers
96
views
Connect ESP32 cam to the Nodemcu motor shield
Is it possible to connect ESP32 cam to the Nodemcu motor shield? I already have a ESP8266 chip connected to the Nodemcu motor shield.
In get this error after connecting this ESP32 cam to the Nodemcu ...
2
votes
0
answers
72
views
Static IP configuration failed in NODEMCU
I'm trying to connect NODEMCU to my home network and set static IP address, but the static IP didn't set properly this is the code:
#include <ESP8266WiFi.h>
void setup() {
// put your setup ...
1
vote
1
answer
3k
views
esp_now.h: No such file or directory
Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
esp_now_testing:3:21: fatal error: esp_now.h:...
0
votes
0
answers
68
views
I need help with serial communication between Arduino Uno and NodeMCU [closed]
I want to transfer analog readings i.e. variable values from a NodeMCU to an Arduino Uno so that on the Arduino side I can check those values using an if condition and make a buzzer sound. Please help ...
0
votes
0
answers
271
views
ESP32: Is the networking stack running in separate thread? Can you safely block task executed from loop() for longer time? (>3s)
With ESP8266 there is a requirement to not block the CPU execution for longer than few ms and then yield to networking stack and internal functions that are executed after each iteration of loop(). If ...
1
vote
0
answers
106
views
Deserialization error arduino uno and nodemcu esp8266 to Thingspeak
I am currently sending temperature and humidity readings to a Thingspeak channel via a nodemcu esp8266 wifi module using serial communication between the arduino and esp. I have set the time between ...
1
vote
1
answer
338
views
Code explanation when pH sensor is connected to Arduino
I have to measure the pH value for some experiment. I have checked various codes and all include the average of pH values.
#define SensorPin 0 // the pH meter Analog output is connected with ...
0
votes
1
answer
333
views
ESP8266 web server not responding when running a http request function
I am trying to build something that can control a stepper motor based on weather information from openweathermap. I've set up a ESP8266 webserver to manually control motor movement with buttons and I ...
0
votes
0
answers
406
views
Stream data using Firebase Realtime Database rest api with nodeMCU client
I have data on firebase rtdb, which i want to listen in my nodemcu. I know there are libraries available like this one which provides listeners, but i want to do it using REST API streaming as ...
1
vote
1
answer
381
views
NodeMCU ESP8266 - Which pins can I use? [duplicate]
I'm trying to connect 3 LEDs to a LoLin NodeMCU ESP8266. It seems that several or "all" of the digital pins have some special use that prevents me from using them.
If I connect the LEDs (...
4
votes
1
answer
1k
views
Ubuntu Serial Port Briefly showing on arduino IDE
I am using a NodeMcu with Arduino IDE on Ubuntu.
I have managed to upload the blink script and it work.
Now, when i plug the nodemcu, the serial port /dev/ttyUSB0 is briefly available in the IDE.
...
2
votes
1
answer
479
views
Node MCU Esp12-E does not support server accept function
I am trying to get a web server to run on the ESP12E on the Node MCU variant, and following the example from the esp8266 documentation page here. But the code does not compile, throwing the following ...
1
vote
0
answers
2k
views
rst cause:2, boot mode:(3,6) caused by pointer reference
I am experiencing an unusual issue with my code.
I have a LOLIN WEMOS D1 mini Lite and I am using the Arduino IDE to upload the sketch.
The version of the board is 3.0.2 for ESP8266.
The problem is ...
1
vote
1
answer
243
views
MAX30100 and ESP8266 NodeMCU Serial Errors
This is my final year project and for some reason, the max30100 sensor defaults to static values once the HTTP post request has been performed.
#include <ESP8266WiFi.h>
#include <...
1
vote
1
answer
726
views
esp8266 - server.handleClient() fails to call assigned function
I'm trying to get one esp to send integers to a second as a part of a simple remote control, but after multiple days I can't get it to work. The transmitter seems like it's connecting and sending ...
1
vote
0
answers
398
views
Code uploading error on NodeMCU v3 "the selected serial port _ does not exist on your connected board"
when trying to upload code to NodeMCU v3, sometimes I get the error "the selected serial port _ does not exist on your connected board" and sometimes "timed out waiting for packet ...
1
vote
1
answer
295
views
LILYGO TTGO T-Display cannot detect MPU 6050 Accelerometer, Gyroscope and Temperature Sensor
I've been trying to connect a MPU 6050 Accelerometer, Gyroscope and Temperature Sensor to a LILYGO TTGO T-Display to get readings displayed on the serial monitor (for starters). The wiring is pretty ...
1
vote
2
answers
427
views
Stabilize data from four gyros/accelerometer [closed]
I am currently working on a university project. My aim is to get a rough estimate of the posture of a person's back. For this I have built a system that collects the data from 4 MPU6050 at a central ...
1
vote
0
answers
1k
views
When i upload the code to nodeMCU this error comes I have checked libraries ,ports made enviroment for nodemcu but error always come to screen
Arduino: 1.8.7 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use ...
1
vote
1
answer
47
views
Selenoid motor not responding to NodeMCU instructions
I just start a project migrating from Arduino Uno to NodeMCU, basically this projects control some selenoid motors triggered by a website instructions. For example: if website returns 2, the motor #2 ...
2
votes
0
answers
317
views
How to fix this problem of invalid conversion from 'const char*' to 'char' [-fpermissive] [closed]
Im working with node mcu ESP 8266 and trying to make it a webserver but keep encountering this problem.
#include<ESP8266WiFi.h>
WiFiClient client;
WiFiServer server(80);
void ...
1
vote
0
answers
688
views
Nodemcu Lolin v3 Timeout error
I am getting the Arduino console error "the selected serial port serial.serialutil.SerialTimeoutException: Write timeout
does not exist or your board is not connected". I recently upgraded ...
1
vote
0
answers
367
views
ESP8266 NodeMCU Lolin V3 and using Firebase to update its software OTA
I want to update software OTA on multiple of my nodemcu devices that are currently sending data to my firebase database. I found this tutorial (https://medium.com/firebase-developers/over-the-air-...
1
vote
0
answers
2k
views
How to connect Nodemcu ESP-32s and GSM SIM800L
The code that I use:
#include <SoftwareSerial.h>
//Create software serial object to communicate with SIM800L
SoftwareSerial mySerial(16, 17);
void setup()
{
//Begin serial communication ...
1
vote
1
answer
155
views
Why does the send pin influence the receive pin with Arduino Capacitive Sensing Library
I'm trying to figure out how the Arduino Capacitive Sensing Library https://playground.arduino.cc/Main/CapacitiveSensor/ works. It says:
When the send pin changes state, it will eventually change the ...
-1
votes
1
answer
266
views
How to save sensor value in EEPROM? (ESP8266)?
I would like to save the height of a tank in case of power outage with EEPROM and every time I reboot the board. However, I could not do so after using EEPROM.commit() , EEPROM.get and EEPROM.put as ...
0
votes
2
answers
3k
views
How do I find out the maximum current through VIN on a NodeMCU board?
I read this answer https://arduino.stackexchange.com/a/51878 to a different, but related question. It seems like VIN on the NodeMCU is directly or via diode connected to the USB connector.
Image ...
0
votes
1
answer
374
views
NodeMCU with a 5V latching relay - LOW triggers relay
I am going to connect NodeMCU to a latching relay board like tis one (4 channel version): LINK
Both MCU board and relay board will be powered from the same 5V voltage regulator.
Now I have two ...
1
vote
0
answers
140
views
ESP8266 MCU not clearing memory?
I am still new at this.
Using Arduino IDE
My MCU was working as a web server with HTML code on SD card using the Webserver sketch. After trying to include other inputs it stopped working with "...
1
vote
1
answer
131
views
NodeMCU ESP32 as a replacement for my arduino project
I would just like to ask if this microcontroller can power or can manage 2 servos, 2 motors, and 2 hc-sr04 ultrasonic distance sensor combined? Also, does this board come with a bluetooth module?
1
vote
1
answer
151
views
Unwanted Wi-Fi Jamming by ESP8266
I bought an ESP8266-01 module. I attempted to upload following code onto it.
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code ...
1
vote
1
answer
401
views
Why when I try to connect my ESP8266 to my node sever in my localhost it keep getting disconnect and connect?
I think the issue is within the library because I have try to implement this code according to the tutorial that I found in YouTube Youtube. The discussion of this tutorial is the first they implement ...
0
votes
1
answer
142
views
Send Request With NODEMCU When A Key Press
Hi there I want to send a request to the server with get method with URL parameters, when a key is pressed with nodemcu. But I Can't Do This Work, I Got the Below Error From Serial Monitor:
I Get This ...
2
votes
1
answer
6k
views
How to get current WiFi signal strength?
I have a LCD display where in I'm displaying a WiFi signal logo. I want to reduce the number of bars on the logo, indicating that the signal strength is dropping. I got the reducing bars on the LCD ...
0
votes
1
answer
587
views
does EEPROM reset itself when a new code is uploaded?
I have a Nodemcu with which i'm doing a project. So whenever there is a power loss i want values of some of the variables to not be reset, because of that im trying to store the values in EEPROM of ...
0
votes
1
answer
241
views
How to program and arduino UNO via NodeMCU ESP8266?
I don't have my USB type A cable to program my UNO, I would like to program it via a NodeMCU ESP8266.
Maybe with the TX and Rx pins, I've seen people program certain versions of ESP with a UNO board.
...