Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
1
vote
0answers
2k 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 ...
-1
votes
2answers
1k views

getting “ .error: failed sending 1116 bytes warning: espcomm_send_command: didn't receive command response”

I'm getting error while uploading sketch into nodemcu ch340g as shown below I have tried these things to rectify the error 1) Changed usb cable 2) changed the port 3) flashed the firmware with ...
0
votes
1answer
1k views

I'm getting watchdog timer resets in NodeMCU. How can I permanently disable or stop that?

I'm using NodeMCU for my project. At first it works fine, but after some days it is resetting frequently because of the watchdog timer. I have used the Esp.wdtfeed() method also. But it is not working....
1
vote
3answers
858 views

NodeMCU NeoPixel

I am attempting to control a single NeoPixel with a NodeMCU, but I'm not having any luck. Even just loading the default Adafruit NeoPixel library sketch yields unsuccessful results. I've tested the ...
1
vote
3answers
16k views

Use 5V pH sensor with 3.3V NodeMCU

I'm trying to use a pH probe with NodeMCU, the problem is that NodeMCU is 3.3V and the pH analog sensor requires 5V, at first I thought using the VIN pin but didn't work, then I used the VU pin from ...
0
votes
1answer
214 views

Delay only some function

I have code which control thermometer, OLED and nanoservo via MQTT. I want to refresh temperature every 10s. It works but my servo receive command only when temperature is refreshed. How can I ...
-1
votes
1answer
396 views

Using Thinger.io Wifi together with HX711 library soft resets ESP8266 (NodeMCU)

I'm trying to get my NodeMCU v1.0 board to read from a load cell connected to a HX711 amplifier and send the data through Wifi to Thinger.io. I managed to make the readings from HX711, works perfectly....
0
votes
1answer
1k views

Wire library compatibility Arduino Pro Mini - nodeMCU (I2C/TWI) problem

I'm writing PortExtender, a library to convert an Arduino Pro Mini in a port expander and I ran into what seems to be a compatibility problem between Arduino and nodeMCU: I got different answers ...
0
votes
2answers
4k views

Differences between nodemcu and arduino processer

I have an arduino Uno and nodemcu development board. I have an OV7076 camera and used with arduino UNO. It worked flawlessly with it and the code used is provided in the [Instructables tutorial][2] ...
-1
votes
1answer
558 views

Communicate between NodeMCU ESP8266 gateway and multiple sensor nodes

What is the best wired way to communicate between multiple NodeMCU ESP8266 boards for home automation. Every room should get at least a light, temp, PIR and xx relay modules to switch things on and ...
-1
votes
1answer
603 views

Connecting NodeMCU with OV7076 camera

I am trying to connect an OV7076 camera with a NodeMCU, but there are no pin diagram available for it. As NodeMCU has 4 MB storage and 128 KB memory, is there any possibility to use it? AI thinker ...
1
vote
0answers
400 views

Serial Monitor Stops Working

I am using a DIY colour sensor (RGB LED and LDR) and a servo to make a skittles sorter. I am testing out just the colour detection now and printing the RGB values to serial. It worked fine until I ...
1
vote
2answers
658 views

How to connect a 5V submersible motor to Node MCU?

I connected the D1,D2 pins of the the Node MCU to the positive and negative of a 5V submersible motor. I wrote the following code, its getting uploaded without any errors but the motor is not working. ...
2
votes
1answer
5k views

Can I use NodeMCU 12E (ESP8266) as wifi shield for arduino Nano?

Update: Point 1- I don't want to program ESP, I just want to use it as a wifi shiled. cause I'm not familiar with flashing or writing sketch for ESP, so still feel comfortable with arduino. beside my ...
9
votes
3answers
28k views

Does the Node MCU v3 (LoLin) not have a builtin led?

Trying a simple led blinking program I could not get the builtin led on a LoLin Node MCU v3 working. The LED_BUILTIN constant is set to pin 16 / GPIO16 / D0. Reading several articles and QA I think ...
-1
votes
1answer
12k views

NodeMCU with RFID RC522 and I2C interface LCD module together

I'm newbie in Arduino programming so I hope to get a clear answer. I have NodeMCU v1 12-E, I connected it with RFID RC522 as in attachment picture. Now my question: I need to connect I2C interface ...
-1
votes
1answer
246 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 ...
1
vote
2answers
689 views

WeMOS creating soft access point from old code even when new code doesn't have it

In the past I uploaded the code below: #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #include <DHT.h> #define DHTTYPE DHT22 // DHT 11 #...
1
vote
0answers
419 views

Send .wav file from SD card to NodeMCU via serial port

I was able to send a text file in the SD card to NodeMCU using the serial port of an Arduino Mega using this code: if (readSerial1 == "Okay I'm ready") { myFile = sdf.open("uid.txt", FILE_READ); ...
1
vote
2answers
16k views

NodeMCU power consumption measurement and DeepSleep

I'm working on a project using a nodeMCU using a ICR14500(3.7V and 700mAh) battery and I'm experienced some issues when I try to estimate the total current consumption. Firstly I experienced some ...
0
votes
6answers
9k views

NodeMCU powered with battery and use WiFi

I'm running a project with a nodeMCU DevKit and my project runs smooth if I run it connected through the usb wire to the computer. I need to run my project using battery and I tried with a ICR14500 ...
1
vote
1answer
3k views

NodeMCU does not boot up when GPIO pin is high

I have a NodeMCU board connected to a door and there is a micro switch that makes one GPIO pin (GPIO15 - D8 in this specific case) go high when the door opens. My problem is if I lose power while the ...
2
votes
4answers
14k views

NodeMCU espcomm_sync failed

I have a NodeMCU ESP12E DevKit V2 from Geekcreit. I had it working some months ago, but now I cannot upload to it. I am using the arduino IDE and I've set the "Additional Boards Manager URLs" to: ...
0
votes
1answer
9k views

How to read NodeMCU GPIO pin status? [closed]

I am setting up a page on NodeMCU running as a web server and I want to be able to turn on and off a light based on the url being clicked. I want to know how I can get the status so that I can set ...
1
vote
5answers
53k views

How to make a 5-volt relay work with NodeMCU?

I have hooked up 2 channel 5-volt relays with NodeMCU v1.0 as shown in the fritzing below. Relay are powered with a different power source than NodeMCU. As of now, I am powering the NodeMCU from my ...
0
votes
1answer
368 views

Sending NEC IR signals makes LED strip blink

I'm trying to make my ESP8266 (running NodeMCU meaning Arduino code gets compiled on it). I followed a guide and now I can read the IR codes from my remote using my Arduino UNO, and then send them to ...
0
votes
1answer
642 views

Arduino Control TV over RS232

I have a LG TV(LG 32SL800 ZB), which has a RS232-Port for Control and Service. And I am wondering if I could control this port with my Arduino (NODE-MCU) and a module like this one RS232 Board? How ...
1
vote
2answers
4k views

Can I use NodeMCU with Arduino to connect to wifi or do I need a separate module?

I am just starting out with electronics. I got a Arduino Mega 2560 board and am able to do simple things like blink. Now I want to start a project on IoT and want to connect this board with internet. ...
0
votes
1answer
815 views

NodeMCU Light Sensor

I'm using a -12E with three light sensors and a sketch I've successfully used with an Uno. I cannot get the -12E to print anything but 0 or 1023 for a light level (0 when I connect the grounds, 1023 ...
1
vote
1answer
370 views

esp8266-12e Nodemcu 1.0 board not starting uploaded data sketch from Arduino IDE

I've uploaded a sketch from the Arduino IDE to my (Amica) esp8266-12e board with the sketch data upload tool (ESP8266FS). This goes without any errors or problems. However, the code is never executed, ...
1
vote
1answer
4k views

NodeMCU serial port - use with computer and device at the same time

I'm trying to understand how serial communication for ESP8266 in NodeMCU actually works. I found a quote saying that normal Serial is mapped to ports GPIO 1 (TX) and GPIO 3 (RX). They are even labeled ...
1
vote
0answers
2k views

How to define SoftwareSerial pins on ESP8266

I'am new to arduino yun and ESP. In fact, i have an arduino yun which has a sim808 dfrobot shield on it which uploads GPS data online at a regular time interval. I want to connect the dfrobot sim808 ...
-1
votes
1answer
1k views

Flash Esp-01 and Esp-12 using NodeMCU module

I am building a test IOT architecture. At the moment I do have a NodeMCU "Amica" V1 module (more will come) and some ESP-01. I have not yet tried to flash the ESP-01 because the MCU is just so user ...
-1
votes
1answer
8k views

How To Read Serial Data With NodeMCU

I am trying to change leds status via serial port screen. Here is my code but it's not reading anything from serial port screen. I got leds on D1 and D2 pins. void setup() { pinMode(5,OUTPUT); ...
1
vote
4answers
12k views

EEPROM put and get not working on ESP8266 (NodeMCU)

The Arduino documentation provides two examples to store data in the EEPROM. https://www.arduino.cc/en/Reference/EEPROMPut stores data in the EEPROM and the EEPROMGet example reads the data back and ...
0
votes
1answer
3k views

Following on ESP8266 Board pins, how do they map on the motor shield?

Here is the answer: All pins corresponding to the G row are connected to ground. All Pins corresponding to the V row are connected to NodeMCU's 3V3 pin. D row pins tagged from 0 to 8 correspond to ...
-1
votes
1answer
478 views

Issues with analog microphone readings

I'm having issues with sampling audio with a microphone and NodeMCU v3. I realize this is the Arduino section so if NodeMCU running the Arduino IDE is not meant for this forum, let me know. The ...
-1
votes
1answer
5k views

NodeMCU sensor values to web page [closed]

I post NodeMCU sensor values to a web page. But how can I pass those values to a database using PHP? Here is the code to post sensor values to a web page: #include <ESP8266WiFi.h> const char* ...
2
votes
0answers
8k views

UART from Arduino to NodeMCU

I'm trying to connect an Arduino nano to a NodeMCU 1.0 via the hardware UART, in order to send information one way from the Arduino to the NodeMCU (and from there to the network). I'm connecting the ...
-1
votes
1answer
2k views

Can i power Esp8266-Nodemcu with a solarpanel + usb-powerbank?

I was asking myself wether it's possible to power my nodemcu board (version 3) with a usb powerbank, like a smartphone, but the powerbank should then be recharged by a solar panel. So this is ...
-1
votes
1answer
6k views

How to fix 12V RGB LED Strip connection to NodeMCU?

I am trying to hook 12V RGB Led Strip (LTROP SMD 5050 RGB LED Light Strip) to a NodeMCU unit. I know there are many different tutorials on this and I am very new to wiring and electric circuits. I ...
2
votes
1answer
1k views

ESP8266 Nodemcu create custom PWM with 1.25us resolution

I am trying to control some SMD LEDs WS2812B with the ESP8266-Nodemcu. I am using Arduino environment for coding. Actually I am trying to accomplish a PWM that is precisely able to: Go High for ...
2
votes
3answers
14k views

ESP8266 NodeMCU first WS2812 LED lights up green

I'm trying to power some WS2812 LEDs from my ESP8266 ESP-12E NodeMCU board (circuit here). I'm simply trying to use the NeoPixel Strandtest which works perfectly on my Arduino UNO with the same LED ...
1
vote
0answers
333 views

Rotary Encoder on LoLin NodeMcu increases value when rotating right/left

I have a test program running on my LoLin NodeMcu board, with a Rotary Encoder connected. I use Task.h and RotaryEncoderTask.h from this library: https://github.com/Makuna/Task (though my issue is ...
1
vote
3answers
498 views

DHT11 sensor works on Arduino Uno, not on LoLin NodeMcu

When run this code on an Arduino Uno (clone), everything works. When I run it on my LoLin NodeMcu, I get the following verbose upload output: esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-...
1
vote
3answers
695 views

NodeMCU ESP-12e - Timing errors

I'm using the ESP-12e with Arduino IDE. With that I'm trying to build a clock with a WS2812B LED strip matrix that I've build. When I try to display the seconds on my matrix there are strange timing ...
0
votes
1answer
1k views

Low power wifi temperature sensor [closed]

I want to make a wifi-enabled temperature sensor and place it inside my HVAC system to measure and push the temperature to a central server, every minute or so. I have a LoLin NodeMcu v3 unit laying ...
-1
votes
1answer
555 views

Serial communication between NodeMCU and Arduino doesn't work when I try to use the DC jack or Vin

I have a unidirectional communication from NodeMCU (ESP8266) -> Arduino UNO. The communication works when I power both the devices to my computer. Note that since it is from NodeMCU to Arduino only, I ...
3
votes
1answer
3k views

Uni-directional communication between NodeMCU and Arduino spits out garbage

I am sending data from ESP8266 (NodeMCU) to Arduino using serial and 9600 baud rate on both sides. Since it is uni-directional and from NodeMCU to Arduino, I am not using a voltage regulator and I ...
1
vote
1answer
529 views

Get an additional analog pin?

I have the following board: As far as I can tell, there's only a single analog pin (A0). But I need at least 2 additional (for 3 total). Is there some way to fake analog input on GPIO pins?