Skip to main content

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
-2 votes
0 answers
36 views

Using NodeMCU as a programmer [closed]

I want to program an Atmel 8a but I only have access to a NodeMCU. I tried many things but seem to get the same error unable to connect with programmer. Adding a capacitor between the reset , using ...
Deep Shankar Halder's user avatar
0 votes
1 answer
36 views

Urgent help/advice needed for a fish autofeeding device using NodeMCU

I have been assigned to set up these fish autofeeders that have been assembled . The goal is to have the autofeeders installed on top of the fish tank and dispensing food at chosen times (so somehow ...
user103753's user avatar
0 votes
0 answers
26 views

Unable to upload code to ESP32

I have a nodeMCU(ESP32) clone. I am unable to upload code on it. When I try to upload code on it without pressing any buttons with upload speed of 115200 it shows the following error: A fatal error ...
Aditya Shekhar Das's user avatar
1 vote
1 answer
87 views

NodeMCU 1.0 - Port D3, relay and pump does not boot

I'm trying to create a watering system using a NodeMCU 1.0, a relay and some pumps. Currently I've port D0, D1, D2, D5, D6, D7, D8 already in use. I'm trying to use the port D3 (GPIO0) as follows, but ...
Timmy's user avatar
  • 195
1 vote
1 answer
63 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 ...
LMJ's user avatar
  • 25
0 votes
1 answer
56 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
86 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
149 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
29 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
226 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
231 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
319 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
345 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
266 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
368 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
86 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
150 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
274 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
2 votes
0 answers
166 views

Can't flash my nodemcu esp8266

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
  • 21
1 vote
0 answers
115 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
98 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
6k 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
398 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
114 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
562 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
471 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
500 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
730 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
2k 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
598 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
322 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
961 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
433 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
441 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
  • 123
1 vote
2 answers
592 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
2k 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
63 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
463 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
776 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
407 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
183 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
334 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
4k 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
524 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
181 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
136 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
178 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
458 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

1
2 3 4 5
12