Questions tagged [nodemcu]
For questions about NodeMCU, an open source IoT platform which includes firmware for running on the ESP8266.
563 questions
2
votes
1
answer
478
views
Receiving garbage value when sending a Json object from Arduino Uno to NodeMCU using SoftwareSerial
I am trying to send a Json Object from Arduino UNO to NodeMCU using SoftwareSerial. I am using Arduino IDE. I am getting garbage value on Serial monitor of NodeMCU. Tried it with different garbage ...
0
votes
1
answer
331
views
NodeMCU V2 ESP8266 - Use 5VIN as power for heater of a MQ-9 Sensor
Right now I'm trying to understand how I could (easily) power the heater of my MQ-9 carbon monoxid and gas sensor.
Here is the datasheet: http://www.haoyuelectronics.com/Attachment/MQ-9/MQ9.pdf
It ...
0
votes
1
answer
701
views
nodemcu doesnt response in at command mode
I want to sent AT command into node mcu esp8266 module with arduino IDE through serial monitor.
I connect the node mcu to arduino uno board in following sequence:
RX to pin 2 of arduino
TX to pin 3 ...
0
votes
1
answer
62
views
How does code typed in Arduino IDE runs on a nodemcu?
I actually have a series of questions regarding Nodemcu and esp8266.
How does code typed in Arduino IDE run on Nodemcu?
What firmware is present on the nodemcu?
How do I upload the above firmware on ...
2
votes
1
answer
2k
views
Can stack size be determined by free heap?
i have NodeMCU with es8266 onboard on it. I read heap and stack memory are facing each other and if heap or stack gets full and reachs another strange things happen. So i am wondering if can we use ...
0
votes
1
answer
129
views
How to add a yield before else if?
So I am running my project on a NodeMCU, but I don't know how to let it add a yield in front of an else if. It will give me an error like this:
Arduino:1.8.12 (Windows 10), 開發板:"NodeMCU 1.0 (ESP-12E ...
1
vote
0
answers
441
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 ...
1
vote
1
answer
3k
views
What is the difference betwen “ESP8266Wifi.h” and “WiFiEsp.h” libraries?
I'll start a project using NodeMCU V3 WiFi Module, which uses esp8266 chip. However, I am undecided as to which library to use. I don't want use a serial bridge with an arduino, I think it is better ...
-1
votes
1
answer
144
views
How to respond dynamically by using File Containing Templates?
We are developing a Web Console and REST API for the NodeMCU V3 ESP8266, using ESPAsyncWebServer. We are facing some difficulties to serve dynamic pages using File Containing Templates! We're unable ...
-1
votes
1
answer
160
views
NodeMCU Server side cannot send things to client side - multiple clients attached
I technically need your help, when I am working on my project, I found out that my server-side cannot send data to the client-side, my server-side is made with WiFiServer(80) so it is when my client-...
1
vote
0
answers
570
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:
- ...
1
vote
0
answers
63
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>
#...
-1
votes
1
answer
1k
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
1
answer
400
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
1
answer
81
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 "..............." ...
2
votes
1
answer
604
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 ...
1
vote
0
answers
201
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
2
answers
4k
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
3
answers
2k
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 ...
1
vote
0
answers
37
views
How many output pins do NodeMCU have? [duplicate]
I am trying to build a Smarthome system with NodeMCU.
NodeMCU would wire up with relays.
How many replays can one NodeMCU control?
1
vote
0
answers
1k
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 ...
1
vote
1
answer
1k
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 as ...
-1
votes
1
answer
138
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 ...
1
vote
0
answers
934
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 ...
1
vote
0
answers
13k
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 ...
-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 ...
-1
votes
1
answer
65
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 ...
1
vote
0
answers
83
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
1
answer
828
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 ...
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. ...
0
votes
3
answers
9k
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
2
answers
3k
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.
...
1
vote
0
answers
401
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 ...
-1
votes
3
answers
685
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 ...
1
vote
0
answers
64
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 (...
9
votes
2
answers
20k
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
1
answer
676
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 ...
2
votes
1
answer
5k
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.
...
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
2
answers
297
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 ...
1
vote
0
answers
72
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 ...
1
vote
0
answers
532
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
2
answers
271
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.
...
1
vote
0
answers
292
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
0
answers
1k
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
2
answers
522
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: ...
-1
votes
1
answer
53
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
1
answer
700
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.(...
1
vote
2
answers
518
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....
1
vote
2
answers
108
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....