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
0answers
16 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
7 views

Cannot connect to NodeMCU IP address

I wanted to build a simple browser-controlled NodeMCU page but I cannot connect to the IP address. I am a beginner in NodeMCU so try to answer this question... #include <ESP8266WiFi.h> const ...
0
votes
1answer
39 views

NodeMCU unable to connect to mobile hotspot when I include codes for reading the temperature sensor

Good day. The NodeMCu successfully connected to mobile hotspot when i didn't put any others codes except the Wifibegin etc. Howveer when I include some codes for temparature sensor, it keeps on ...
0
votes
1answer
13 views

Http request in interrupt esp8266 not working

So i have this code that whenever i click a button a interrupt starts. In this interrupt i want to do a get request to a webserver. The thing is seperate the code, the interrupt code works and ...
0
votes
1answer
42 views

not able to figure out what is wrong with my nodemcu code

#include <ESP8266WiFi.h> #include <FirebaseArduino.h> //Firebase settings #define FIREBASE_HOST "..........firebaseio.com/" //cant share #define FIREBASE_AUTH "..............." ...
0
votes
1answer
30 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
23 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
58 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
2answers
69 views

NodeMCU ESP8266 disconnected from WiFi after several hours running

I tried to test NodeMCU ESP8266 with this code from here #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h&...
0
votes
3answers
70 views

Getting wdt reset + reboots every 5 seconds on simple button/relay code that has worked previously, now it does not and I changed nothing

I have some arduino code I adapted from a simple 2 button 2 relay code I found online. I just multiplied everything so I could have 5 buttons/5relays. I am using a NodeMCU (ESP-12E) for this. I have ...
0
votes
0answers
29 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
28 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
13 views

Home Security System - Arduino [duplicate]

I wanted to connect 3 sensors for my security system. First, I'll be using PIR sensor in detecting motion for plausible burglars. Second, DHT-22 for monitoring temperature and humidity level. Lastly, ...
1
vote
1answer
59 views

Does flashing ESP8266/ESP-01 firmware mean uploading a new 'sketch' and why different firmware?

Hi I am new to IOT and I am now in love with this. However I'm a little confused right now with the jargon. My question is similar to this. But I do have some extra questions though. When using ESP ...
-1
votes
1answer
23 views

Wire multiple SW-420 Vibration sensors to a single pin

I am working on installing an alarm system using Konnected IO on a NodeMCU esp8266. I have multiple bay widows which will use 4 SW-420 vibration sensors. I would like to wire all 4 of the SW-420 ...
0
votes
0answers
28 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
76 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
2answers
45 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 ...
-1
votes
1answer
23 views

i want to make Node Mcu a bride for other devices but its self connected with home wifi not providing internet to others

i there! i have Node Mcu which i want to connected with my home wifi after it it made it own station mode then i want to make it access point for other but now problem is that it is now in both mode ...
0
votes
0answers
31 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);...
1
vote
0answers
180 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 ...
0
votes
0answers
21 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
41 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
44 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
2answers
95 views

Voltage divider and NodeMCU inputs

Some sensors give as output a voltage between 0 and 5V. The analog inputs of the NodeMCU require voltages between 0 and 3.3V. I plan to make a voltage divider with two resistors like in this link for ...
2
votes
1answer
63 views

Lolin NodeMCU V3 and 5V sensors

I am new to Arduino and electronics so please correct me if I made a mistake. Many sensors and actuators require 5V. The Lolin NodeMCU V3 has outputs of 3.3V. I want to have them working together. ...
0
votes
0answers
43 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
72 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
53 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 (...
4
votes
2answers
298 views

What is difference between NodeMCU and esp8266?

Since I have no previous experience in electronics I'm getting quite confused while coming across these two terms ..I'd like to know whether they're the same or different.
-1
votes
1answer
106 views

NodeMCU V3 Serial input results in Fatal exception 9 (LoadStoreAlignmentCause)

I am building a simple telnet style interface for experimental settings on my project. I am getting all the serial output sent to serial (and USB to PC). The code works fine, but if I try to read from ...
0
votes
1answer
255 views

NodeMCU second HARDWARE serial TX as a debug port

I'm using a NodeMCU board to send commands to my home electricity switching box - using RS485 communication. For that, I've connected MAX485 TTL-to-RS485 converter module to my TX and RX pins. ...
0
votes
0answers
62 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
1answer
34 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
29 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 ...
0
votes
0answers
47 views

ESP8266 - Garbled output when using serial Swap

I want to use two serial ports Serial1 - for debugging - No RX needed Serial - to read from a different device I receive garbled output instead of valid characters Here is code for NodeMCU #...
0
votes
2answers
86 views

Uno to NodeMCU Serial Connection Problem

This is my first project with any sort of development board and it has been a blast so far. I am running into some issues, however, while trying to send serial data from my Uno to a NodeMCU board. ...
0
votes
0answers
100 views

ESP8266 Loop cycle frequency gets decreased after WiFi got disabled

In a traditional scenario, after the setup() method we go to the loop() method of our sketch. You know, usually it gets executed probably 5-10 times in a second (or even more). I am now playing ...
1
vote
0answers
48 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 ...
0
votes
0answers
120 views

(Firebase and NodeMCU) How to reduce the delay time when control led?

My project consists of NodeMCU controlling led from Firebase's RealTime Database (Using Esp8266Firebase library) The problem is that the delayed time is too long ( about 6 seconds from when I change ...
-1
votes
2answers
41 views

Can I use laptop USB port to power Nodemcu if every port used

I wonder if a laptop USB port is enough or I have to use an external power supply if the NodeMCU under heavy load. Here is my list of sensors and port used. 3.3V 3.3V D1 to D7 A0 GND Sensors: ...
0
votes
0answers
20 views

nodemcu nack error bh1750

I am trying to run a simple example of bh1750 on my nodemcu, code is #include <Wire.h> #include <BH1750.h> */ BH1750 lightMeter(0x23); void setup(){ Serial.begin(9600); Wire.begin(...
0
votes
1answer
22 views

command keeps echoing because web page tries refreshing

I want to execute a action only once when I press web page button but as the page tries refreshing the action gets executed in a loop. I am using the wifimanualwebserver example for esp8266. Please ...
0
votes
1answer
47 views

Unable to use DHT11 with NodeMCU(esp8266)

I am trying to use a NodeMCU like an arduino,trying to read Temperature and Humidity using a DHT11,but when ever I check the serial monitor the it outputs : nan, Can anyone help me find the problem.(...
0
votes
0answers
55 views

Need sugestion to improve my arduino sketch

I want my code to blynk friendly by avoiding while condition in loop or flood error as mention by blynk. But , i m unable to do so.whenever i try to call function outside loop , it get stuck in first ...
0
votes
0answers
21 views

how this problem can resolve? i am using esp8266 node mcu [duplicate]

Uploading 295424 bytes from C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_281128/dustbin-local-http.ino.bin to flash at 0x00000000 warning: espcomm_send_command: didn't receive command response ...
1
vote
2answers
81 views

Receive whole string in serial sending data?

I connect my NodeMCU to Arduino Uno. The goal is to receive the whole string for example "12", every 1 sec. This is my code on Arduino Uno side ( the sender) int mock = 0; void setup() { Serial....
0
votes
2answers
28 views

Temperature anomaly on BS18B20 + NodeMCU on Tingspeak

Temperature drops occasionally from 59+C to -13C or to other random values. Used sketch and info from this site: http://internetofthinking.blogspot.com/2016/02/upload-ds18b20-temperature-sensor-data....
0
votes
0answers
60 views

Nodemcu & GSM module & CLIP problem (CLIP line not always appears on the serial connection)

I'm working on phone-controlled car park gate. Trusted employees numbers are saved on SIM card/hard coded in program. So the idea is, if a trusted person calls the "gate number" ; Nodemcu will ...

1
2 3 4 5
9