Questions tagged [nodemcu]
For questions about NodeMCU, an open source IoT platform which includes firmware for running on the ESP8266.
563 questions
-1
votes
1
answer
69
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 ...
1
vote
1
answer
178
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
132
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 ...
2
votes
2
answers
403
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 ...
-1
votes
1
answer
450
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
352
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 ...
0
votes
1
answer
101
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
0
answers
411
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
137
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
1
answer
7k
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
vote
0
answers
155
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 ...
0
votes
1
answer
606
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 ...
1
vote
1
answer
835
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 (...
2
votes
1
answer
764
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
1
answer
357
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
0
answers
460
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
2
answers
761
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
1
answer
87
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 ...
1
vote
0
answers
817
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
4k
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
votes
1
answer
377
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
1
answer
617
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
1
answer
159
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
490
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
905
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 ...