Questions tagged [nodemcu]

For questions about NodeMCU, an open source IoT platform which includes firmware for running on the ESP8266.

163 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
243 views

Cannot POST to server. HTTP code -1. NodeMCU

I am trying to make a POST request with NodeMCU, but I get a HTTP status code -1. Code: #include <ESP8266HTTPClient.h> #include <ESP8266WiFi.h> #ifndef STASSID #define STASSID "Wifi" #...
2
votes
1answer
936 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 ...
2
votes
0answers
3k 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
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
vote
0answers
394 views

Why i'm i getting “Error compiling for board NodeMCU 1.0 (ESP-12E Module)” with AzureIoT libraries

Hey guys am sure you are tired of seeing this question on many posts, truth is until now I have not come close to a solution and am just a beginner/intern trying to send some temp/humidity data to the ...
1
vote
0answers
65 views

Problem with NodeMcu interrupt

I am Using Arduino IDE to program NODEMCU. I am expecting LED should remain ON for 4 sec. But it turns OFF in less than 2 sec. Please can anyone explain me why this happening? Also I noticed that if ...
1
vote
0answers
579 views

error compiling for board node MCU 1.0

Arduino: 1.8.9 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)" In file included from C:\Users\Priyaranjan Tiwari\Documents\Arduino\007mcu_php\007mcu_php....
1
vote
0answers
145 views

Serial Communication between arduino and nodeMCU

I am trying to connect a nodeMCU to arduino mega using serial communication so that i can read data from firebase. I have put the following code on the NODEMCU. #include<SoftwareSerial.h> //...
1
vote
0answers
52 views

Can't get fastled.h and remoteme.h to work together

I'm trying to make a Google Assistant controlled LED strip, but I'm stuck. I can control the on board LED of the nodemcu with Google Assistant, and I can control a LED strip too, but I can't combine ...
1
vote
0answers
251 views

Arduino IDE - debugging Exception 29

I installed the ESP EXCEPTION DECODER along with my Arduino IDE. When my sketch crashes with Exception 29, I take the stack trace and input it, but I can't understand its line references (they dont ...
1
vote
0answers
95 views

Storing an array of objects

I followed the instructions of this post: Storing an array of function pointers. To show my problem I shorted my code extremely but the problem is still there. My classes are defined as followes: ...
1
vote
0answers
134 views

Correct wiring?

I'm doing some Home automation and am currently trying to automate my intercom system. My overall aim is to be able to detect when someone has pressed the buzzer and then to be able to open the door ...
1
vote
0answers
2k views

Digital Vibration sensor on NodeMCU ESP8266

First Post. I'm using a NodeMCU esp8266 connected to a digital vibration sensor. My project is to detect when a pager vibrates to then trigger through the maker channel of ifttt an outcome. I'm ...
1
vote
0answers
430 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
0answers
449 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
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
vote
0answers
420 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
0answers
317 views

Program nodeMCU Over the Air (OTA)

I have a Lolin NodeMCU V3 with a broken USB port: no power, no data. It does show up on WIFI as AI-thinker_xxx, I can connect, but what can I do next? Is there a way to program the NodeMCU Over the ...
0
votes
0answers
31 views

Blink doesn't work on pin D3,D4 and D0 but works on D7

I am facing a strange issue. I am trying to blink an external LED using Wemos D1 mini V2 board. But it is not working. My sketch is as below. int LED = D3; void setup() { pinMode(LED, OUTPUT); } ...
0
votes
0answers
23 views

How can i send data to phpmyadmin database? using esp8266 nodemcu and max30100

i want to send data from my sensor to database phpmyadmin. but i only get zero values. please help me thank you. void loop() { pox.update(); BPM = pox.getHeartRate(); SpO2 = pox.getSpO2(); // ...
0
votes
0answers
21 views

LED goes off in nodemcu If I turn on other LED

I developed an android app to control a robot using nodemcu. I have added some buttons to on/off or blink some LEDs. It works fine but, if I on the one LED or drive the robot, the other LEDs goes off. ...
0
votes
0answers
24 views

Unable to initialize SD card

I am not able to initialize the SD card. Can't find figure out what the issue is. It fails at the condition if (!SD.begin(D8)) { Serial.println("initialization failed!"); return; } I am using D1 ...
0
votes
0answers
17 views

General help with running 2 motors simultaneously using NodeMCU, on IMU sensor data

IMU Sensor - rotation data Transmitting NodeMCU - Sending rotation data to Console NodeMCU over WiFi Console NodeMCU - controlling motors 2 motors - X axis motor, Y axis motor Motor driver module(...
0
votes
0answers
22 views

NodeMCU Power Draw and charging Circuitry

I am planning to build a small wireless keyboard, around 5 buttons and 1 rotary encoder, that will connect via WiFi to my Spotify account. For this project, I was looking at the Node MCU for the board....
0
votes
1answer
22 views

HTU21 on GY-21 breakout board I2C problem

I am interfacing the HTU21D sensor with my nodeMCU v3. All good! I managed to get some readings etc. But when I re-upload my code the device does not respond. If I remove the power supply from the pin ...
0
votes
0answers
17 views

NodeMCU is not working. Only a little orange LED is turning on

Some time ago, i powered a NodeMCU with a 9 volt battery, it worked but the next time i tried to use the board, only a little orange led near the usb connector and reset button turned on. I can't ...
0
votes
1answer
27 views

What current is safe for Wemos d1?

I've got 12V / 400mA power supply for my Wemos D1 R1, and I'm using VIN output(I need 12V for led strip). I need to change this power supply because of color, and I can't find similiar with the same ...
0
votes
1answer
58 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 ...
0
votes
0answers
17 views

how to get live view of esp32cam at remote sever using ssh tunneling?

I have found many projects involving esp32cam, but in all projects video is being seen on local server only.For its of no use.As for a home security project user can view the video at remote location ...
0
votes
0answers
47 views

Freezing ESP8266 after 4-8h

Build my own 'Artnet to WS2812b Neopixel' boxes for lighting in a club. Working fine. I have 20 stripes with 50 pxls each. One ESP8266(NodeMCU) is feeding 6 stripes, so it gets 2 DMX universes via ...
0
votes
0answers
54 views

node mcu disconnect from mqtt server

/* Basic ESP8266 MQTT example This sketch demonstrates the capabilities of the pubsub library in combination with the ESP8266 board/library. It connects to an MQTT server then: - ...
0
votes
0answers
28 views

why this unexpected behaviour shows when i use the following code to send the data from the ultrasonic distance sensor to firebase

I am using nodeMCU esp8266 wifi module to send the data received by the ultrasonic distance sensor to the firebase. here is my code: #include <ArduinoJson.h> #include <ESP8266WiFi.h> #...
0
votes
1answer
35 views

I am facing a problem of firing multiple interrupts on nodemcu 1.0 on single rising edge pulse.what is problem and what are the solutions?

I am working on a project which involves counting the drops falling in a drip chamber of a IV fluid gravity based therapy bottle(saline bottle).I am using IR trans-receiver at the drip chamber to ...
0
votes
0answers
31 views

Fingerprint not detected

I'm currently trying to integrate my ESP32 Module (as in https://cdn.instructables.com/FOL/YWLI/JEOILQ5U/FOLYWLIJEOILQ5U.LARGE.jpg) with Fingerprint Sensor(R307) using the Adafruit Fingerprint Library....
0
votes
0answers
70 views

Send data from UNO to MQTT through NodeMCU 12E - problem

i am trying to send data from ACS712 sensor which is connected to UNO (3 sensors). Everything works fine on UNO, but when I send only one value from UNO through NodeMCU 12E to MQTT server, it shows ...
0
votes
0answers
30 views

How many output pins do NodeMCU have?

I am trying to build a Smarthome system with NodeMCU. NodeMCU would wire up with relays. How many replays can one NodeMCU control?
0
votes
0answers
67 views

How to send NEO6M gps data to firebase?

I'm using nodemcu and neo6m gps module. I can't send data to firebase. As a library using tinygps++. Can anyone please help me how can i pass data to firebase. #include <ESP8266WiFi.h> #include ...
0
votes
0answers
48 views

Generate & Display QR using Nodemcu on TFT Display ST7789 240*240

I have NodeMCU & ST7789 TFT display. I want to generate QR Code of any dynamic input and display it on my TFT display. Not able to find any suitable reference. All Standard QR code libraries only ...
0
votes
0answers
326 views

NodeMcu Communication to RS485 Device using TTL to RS485 converter

Good day everyone,        I am facing a problem when trying to use nodemcu (Nodemcu ESP8266 Lolin V3) to communicate with an RS485 device. I sent an enquiry ...
0
votes
0answers
33 views

NodeMCU hc05 Connection

I am using a NodeMCU from Amica. I tried interfacing the HC-05 module to the NodeMCU. The following code works fine without any errors #include<SoftwareSerial.h> SoftwareSerial btport(D2, D3);...
0
votes
0answers
23 views

Interrupt for custom Serial receive loop

I have a 300 led neopixle strip that I would like to directly drive from my computer at around 60fps. This involves about 900 bytes per frame, or 54000 bytes a second. I am using FastLED to output the ...
0
votes
1answer
47 views

power nodemcu with battery and LDO, what if battery is empty?

I've read a lot but im still confused.. i want to battery power my nodemcu while 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 ...
0
votes
1answer
53 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. ...
0
votes
0answers
52 views

WS2811 strip not working on NodeMCU, works fine on Nano

Sorry if this is something simple, but im scratching my head over this for a while and there are a few things that have me super confused. I have two WS2811 strips lighting up my outdoor stairs Both ...
0
votes
2answers
106 views

USING HX711 ( WITH LOADCELL) WITH PCF8574 IN NODEMCU

I have used hx711 and loadcell with nodemcu (esp8266) in its D1 and D2 pins ( here I have used Logic level shifter and a 5v supply to power hx711).It worked perfectly fine. Due to the lack of enough ...
0
votes
0answers
271 views

Doing simulation using NodeMCU

Can anyone tell me if I want to do simulation for NodeMCU Program then wich simulation software is the best??? because I was trying to do it in proteus butt hex file was not created by Arduino IDE ...
0
votes
0answers
25 views

Improper functioning of Node mcu when connected to source other than PC

I connected EM18 rfid reader to NodeMCU to read rfid card data. It showed card number very quickly and consistently till it was connected to my PC's USB. But when I connected it to 5v power source (...
0
votes
0answers
103 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 ...
0
votes
2answers
47 views

Receive socket when in loop arduino (Interupt a while loop with a socket)

I'm currently working on an arduino project. Were the arduino is communicating with a NodeJS server via web sockets. The socket connection is working fine and has no problems. But the problem I ...
0
votes
0answers
30 views

Use esp-01 relay with Nodemcu possible?

I'm building a simple mobile controlled relay switch. however, I'm out of relay modules, but I do have these esp-01 relays: https://ae01.alicdn.com/kf/HTB1VIKLeJLO8KJjSZFxq6yGEVXaW.jpg I'm wondering ...