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
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 ...
theoyuncu13's user avatar
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 ...
Zach's user avatar
  • 21
3 votes
1 answer
89 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 ...
NonTechGuyinTech's user avatar
-1 votes
1 answer
102 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 ...
Massimo Variolo's user avatar
0 votes
1 answer
136 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 ...
tatu101's user avatar
  • 63
0 votes
1 answer
150 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 ...
Iliketurtles's user avatar
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'...
tatu101's user avatar
  • 63
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 ...
Ido Ran's user avatar
  • 149
1 vote
1 answer
88 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 ...
vasantha raj's user avatar
1 vote
0 answers
109 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 ...
Hamaad Fahim's user avatar
1 vote
0 answers
93 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 ...
Jakob's user avatar
  • 11
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 ...
Hamaad Fahim's user avatar
2 votes
0 answers
68 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 ...
m0rbot's user avatar
  • 21
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:...
JOSEPH BINIL's user avatar
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 ...
Tanishq C's user avatar
0 votes
0 answers
270 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 ...
Petr's user avatar
  • 109
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 ...
Adriaan Bergh's user avatar
1 vote
1 answer
328 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 ...
Jashanjot Kaur's user avatar
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 ...
user2201584's user avatar
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 ...
aryan's user avatar
  • 11
1 vote
1 answer
378 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 (...
Berit Larsen's user avatar
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. ...
Justin Mayer's user avatar
2 votes
1 answer
476 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 ...
StealthyPanda's user avatar
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 ...
Dame Lyngdoh's user avatar
1 vote
1 answer
242 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 <...
Roschlynn Dsouza's user avatar
1 vote
1 answer
724 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 ...
Eric Ardis's user avatar
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 ...
Wraithdev2's user avatar
1 vote
1 answer
291 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 ...
C Vith's user avatar
  • 93
1 vote
2 answers
425 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 ...
Trojan's user avatar
  • 123
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 ...
Syed Asaad's user avatar
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 ...
semasad's user avatar
  • 13
2 votes
0 answers
316 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 ...
Stars and planet's user avatar
1 vote
0 answers
686 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 ...
mac11's user avatar
  • 21
1 vote
0 answers
366 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-...
mac11's user avatar
  • 21
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 ...
Joseph Lee's user avatar
1 vote
1 answer
154 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 ...
rattlesnake's user avatar
-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 ...
clement01's user avatar
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 ...
rattlesnake's user avatar
0 votes
1 answer
372 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 ...
michal's user avatar
  • 103
1 vote
0 answers
138 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 "...
IanO's user avatar
  • 11
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?
Thomas Raymond Santos's user avatar
1 vote
1 answer
150 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 ...
Ali Hakim Taşkıran's user avatar
1 vote
1 answer
399 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 ...
Ly Bunvath's user avatar
0 votes
1 answer
141 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 ...
Alirezaarabi's user avatar
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 ...
Coder9390's user avatar
  • 472
0 votes
1 answer
584 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 ...
rohithrathod banoth's user avatar
0 votes
1 answer
234 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. ...
Coder9390's user avatar
  • 472
0 votes
2 answers
592 views

2 way switch with Arduino?

Hey I'm working on a home automation system where I can replace one of my 2 way switches to an Arduino Or node MCU controlled one but I want to avoid normal relays because as of what I know they can ...
rohithrathod banoth's user avatar
2 votes
1 answer
223 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 ...
Coder9390's user avatar
  • 472
1 vote
0 answers
146 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 ...
Coder9390's user avatar
  • 472

1
2 3 4 5
12