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

SdFat.h pin selection ESP8266

This super simple code, that saves data to a csv file, works perfectly fine on my Arduino Uno (I am using the default SPI pins). However, for my project I need to use an ESP8266. Does the library ...
NE555's user avatar
  • 11
0 votes
1 answer
46 views

Updating multiple Arduino Nanos with same INO file

BTW - I have, unsuccessfully, searched for an answer before posting. I have an NodeMCU connected to a bunch of Arduino Nanos over the I2C bus. The WiFi-enabled NodeMCU has the capability to do OTA ...
tk007b's user avatar
  • 9
0 votes
1 answer
41 views

Can Vin of ESP handle many voltage sensors and relays?

My project is Charging Battery via Solar and Piezoelectric sensor while also getting the Realtime Voltage of the Battery, Capacitor, and Solar. I want to use Vin as the source to get 5V because ...
walter's user avatar
  • 1
1 vote
1 answer
71 views

OLED and Wifi not working together on ESP8266 Heltec NodeMCU

I have this ESP8266 Heltec NodeMCU board with OLED. The pins are described here. I have the following problem. The both OLED (with u8g2) and Wifi work fine individually. There is a problem getting ...
Fabian's user avatar
  • 151
0 votes
0 answers
20 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/...
Eoin Byrne's user avatar
2 votes
2 answers
131 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
131 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
161 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
214 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
  • 73
0 votes
1 answer
192 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
200 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
  • 73
0 votes
1 answer
61 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
119 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
179 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
114 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
107 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
83 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
4k 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
329 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
109 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
412 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
395 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
429 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
479 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
505 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
259 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
831 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
415 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
344 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
  • 103
1 vote
2 answers
490 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
54 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
366 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
729 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
378 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
3k 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
165 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
289 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
437 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
149 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
134 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
167 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
422 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
156 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
7k 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
681 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
324 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

1
2 3 4 5
12