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 ...
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 ...
-2 votes
1 answer
7k views

Connect NodeMCU with USB camera

I am trying to connect a USB camera to my NodeMCU v0.9. VCC Red +5V D- White Data D+ Green Data GND Black Ground I dismantled the USB cable ...
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 ...
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 ...
0 votes
2 answers
3k views

NodeMCU ESP8266 Ver 0.1 not powering on with VIN

I'm trying to power on my NodeMCU ESP8266 Ver 0.1 (thats what is written in board), via VIN and Ground with my phone charger. I'm 100% sure that the USB charger is working, providing 5V, and that the ...
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/...
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 ...
0 votes
1 answer
693 views

Powering NodeMCU with battery and LDO; what if battery is empty?

I want to battery-power my NodeMCU. It will be mostly deep sleeping and waking up every 1-2 minutes. I've seen the best way to power it with the least wasting of power is through a lithium battery. So ...
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 ...
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 ...
3 votes
1 answer
132 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
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 ...
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 ...
0 votes
1 answer
215 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
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 ...
2 votes
1 answer
202 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'...
1 vote
1 answer
2k views

Secure HTTPS request fails 90% of the time

I'm using a NodeMCU, which is connected to an enterprise network at a school. The information given in the GET requests that the ESP8266 sends is sensitive, so naturally we want to make it secure and ...
-1 votes
2 answers
4k views

Nodemcu powering with 5.2v and 2A?

I bought a this voltage regulator . DC-DC 5v 8A voltage regulator. ıts supported 8-35V input voltage . And i want to use this with 12v power supply. But i searched on the internet . Nodemcu max amp is ...
0 votes
2 answers
2k views

ESP32 start BLE after deep sleep

I'm new to using the esp32 as a microcontroller. I'm currently working on a so-to-say remote control. Since I want to use the esp32 with an external battery I need to put it in deep-sleep after I ...
0 votes
1 answer
444 views

NodeMCU V3 and MPU6050 strange values

I am new to this platform, so please if I do something against the regular rules please let me know so I can learn. Now my problem: I have a nodeMCU V3 connected to a MPU6050. Using my Arduino Uno I ...
1 vote
1 answer
1k views

Detect power interruption on NodeMCU

Im using a 5v 1A power supply and connected to VIN pin on the NodeMCU. I also use 18650 battery to keep NodeMCU running in case the power supply shuts off due to power interruption. I'm planning to ...
1 vote
0 answers
180 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
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 ...
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 ...
1 vote
1 answer
2k views

Wemos D1 won't work with MH-Z19B (CO2 sensor)

I would like to connect a CO2 sensor to the Wemos D1. I would like it to work via UART (RX, TX) and not the PWM pin. I've encountered numerous libraries on Github, but I can't seem to get it working. ...
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 ...
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 ...
1 vote
1 answer
9k views

NodeMCU capable of key injection?

Short version: Is the NodeMCU capable of key injection in the same way that an Arduino Teensy can be programmed with Duckuino script to function as a HID? Long version: Recently, my 7+ year old iMac ...
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. ...
5 votes
2 answers
6k views

NodeMCU wiring for Serial1?

I'm trying to get telemetry data to be sent out Serial1 on the NodeMCU board. I read that TX is (by default) mapped to pin D4. Ultimately, there will be a Raspberry that will be listening for ...
0 votes
1 answer
3k views

Bridging the wifi networks on nodemcu: how to set the esp8266 as wifi extender, simplest case

It seems to me that humidity is getting high in one room in the basement in my house. To monitor the situation temporarily, I would like to build a very small wifi-mesh network to exchange these ...
4 votes
3 answers
23k views

WebSocketsServer.h: No such file or directory

I'm trying use the NodeMCU WebSocket. I downloaded the required libraries from: https://github.com/Links2004/arduinoWebSockets and pasted them in my Arduino libraries folder. I uploaded my code but ...
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:...
-1 votes
1 answer
3k views

NodeMCU stops responding after several hours

I'm controlling some devices through a relay and a NodeMCU, it works fine and reconnects without problem in the meantime I'm testing it, but after I leave it like for 3 or more hours, it stops ...
0 votes
2 answers
1k views

Will Nodemcu support 4AAA

Will Nodemcu support 4AAA batteries which is 6v approx, or should i go with 3AAA batteries which is 4.5V approx. And one more question , is it ok to use AA instead of AAA ?
-1 votes
1 answer
418 views

Trying to send .wav files between NodeMCU

Im trying yo send wav files between two nodeMCU. My setup is like this uSD Card Module -> Arduino Mega -> Node MCU So this is my setup, where I have 4 devices like this. One will serve as the ...
3 votes
1 answer
5k views

How to flash pre-compiled bin files into NodeMCU using Ardunio IDE

How to flash pre-compiled binary into NodeMCU using Ardunio IDE. Since every time it require to compile and flash it. Is there way to flash binary alone to nodeMCU via Arduino IDE ? One can export ...
2 votes
1 answer
1k views

I need to Get my changed SSID and Password in my Serial monitor

I have this(Wifi Manager - Autoconnect IP) program run in my arduino IDE. And I get the output in serial monitor as this Can Anyone help me in displaying my SSID and PASS in this serial monitor ...
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 ...
1 vote
1 answer
5k views

How to power Nodemcu using 12 volt AC to DC adapter?

I am trying to make a small project using Nodemcu. My project is WiFi controlled LED, 2 LED's will blink at the same time. I have successfully uploaded the code and it works fine using USB connection. ...
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 <...
2 votes
2 answers
317 views

Is it possible to have long wire connections from an NodeMCU to a servo motor or button?

For my proyect, I need to conect my NodeMCU to a servo motor as well as a push button, the thing is, the distance from the NodeMCU and both components has to have a distance of around 6.10 meters (or ...
2 votes
1 answer
1k views

Use external power - nodemcu 0.9

I'd like to deploy my project so I'm looking for a way to power the nodemcu. I'd like to know if there's a way to power it with a 9V battery without any other external circuit. Until now I've found ...
1 vote
1 answer
452 views

Serial communication between nodemcu and Arduino Uno

For the last days, I am trying to establish serial communication between nodemcu and Arduino Uno but I failed to do this. Currently, I am working on a Home Automation project. I receive data from ...
0 votes
0 answers
331 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 ...
2 votes
1 answer
2k views

Why do ESP boards break out the SPI flash pins?

I have an ESP32 development board and a NodeMCU board here. Both breaking out the pins for the SPI flash of the ESP. These pins are mentioned in standard pinout descriptions as must/should not connect....
2 votes
1 answer
246 views

Latency in Websocket

I am using Websocket, for a communication from my mobile phone to a NodeMCU, and transmitting 4 channel, data, through 4 different Websocket Ports. the NodeMCU control code is here: // ============ By ...
1 vote
2 answers
3k views

Read both battery voltage and analog sensor value with NodeMCU ESP8266

I have a soil sensor that reports value once every 5 minutes, deepsleep in between. Is there a way to also report battery voltage (with ESP.getVcc())? To get the battery voltage reading to work I ...
1 vote
0 answers
110 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
2 3 4 5
12