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
2answers
39 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
34 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
35 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
33 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
50 views

i am getting error in my home automation project(Control Relay Module Using Node MCU ) can any genius help me out

So Here is my Coding #include <ESP8266WiFi.h> #include<FirebaseArduino.h> #define FIREBASE_HOST "" //my Firebase Project URL goes here without "http:" , "\" and "/" #...
0
votes
0answers
14 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 ...
-1
votes
0answers
41 views

Is it possible connect esp8266-12E and Bluetooth on arduino to turn on my project

I work on to build electronic project contain many component device to control in Arduino-uno by WiFi module (ESP8266-12E) & Bluetooth module (HC-05) and many Switches ( buttons ) to send data in ...
0
votes
0answers
22 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 (...
3
votes
2answers
70 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
56 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
138 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
29 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
33 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
23 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
27 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
63 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
52 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
23 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
59 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
36 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
17 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
21 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
42 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
45 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
61 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
25 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
31 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 ...
0
votes
1answer
53 views

ESP12E motorshield analogWrite issue when powering DC motor

I am relatively new to adruino and this whole space. I am currently trying to power a DC motor using an ESP12E motor shield and an ESP8266 Module Motor Shield - https://www.amazon.com/gp/product/...
0
votes
0answers
37 views

Not able to interface BME280 with Nodemcu v3

I am not able to read bme280 sensor values and have tried many codes online. Please have a look below- code:- #include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_BME280....
0
votes
0answers
24 views

WS2812B not fully working with NodeMCUv2 [ESP8266]

I have a problem with my NodeMCU v2 board and my WS2812B led matrix with 256 (32x8) LEDs. The Board cannot be able to turn on the 191th led and stops working after the 190th without changing the ...
0
votes
2answers
43 views

SoftwareSerial interfers with TVout

I'm using an Arduino uno and a Nodemcu for making a game with the phone as a WiFi controller. The Nodemcu is the server that receives inputs from the phone connected via WiFi and sends to the Arduino ...
0
votes
0answers
26 views

NodeMcu does not connect to my wifi

this is the code , and it never connects to the wifi ,i dont know what to do , the code is an example in the blynk library
0
votes
1answer
127 views

Error when compiling code NODE MCU ESP8266-12E module in Arduino ide

Here is my sketch: #include<ESP8266WiFi.h> char* ssid = "xxxxxxxx"; char* pass = "xxxxxxx"; void setup() { WiFi.begin(ssid,pass); Serial.begin(9600); while(WiFi.status()!=WL_CONNECTED) { ...
0
votes
1answer
110 views

Relay board not working with nodemcu

This is the relay board I am using nodemcu to make a home automation project which is controlled by google assistant. This is the code i am using is this one #include <ESP8266WiFi.h> #include "...
0
votes
0answers
41 views

Arduino How to Concat Strings

am stuck with something simple which is concating string not sure what am doing wrong , am getting exception (3 ) error due to it 3 LoadStoreErrorCause Processor internal physical address or data ...
0
votes
2answers
161 views

Nodemcu is connected to 5v relay with logic converter but still not working

I am using a bi-directional 3.3-5V logic converter to control 5V relay with 3.3V D5 pin of nodemcu. link of logic converter is here However, I expected to control the relay but it didn't work. I don'...
0
votes
0answers
22 views

NodeMCU current consumption in all modes

I am using NodeMCU for my project.I wanted to know how much current it takes in its all modes like sleep mode,deep sleep mode and also in its wifi modes like station and access point mode. Thanks in ...
0
votes
0answers
47 views

HX711 with NodeMcu

I am trying to make a scale that measuring weight. In internet i did some researches so i got some questions. I have this module as a HX711 And square 3 wired loadcells( Red,White,Black Wired). My ...
0
votes
0answers
16 views

3 wired loadcell with HX711 Arduino Uno, Nodemcu

I am trying interact with a loadcell that is 3 wired. I am using arduino uno or nodemcu adafruit huzzah and sparkfund hx711 module.But i cant take scales. I only getting 0.0 grams and when i applied ...
-1
votes
1answer
45 views

NodeMCU max draw

1) what is the max draw I can draw from NodeMCU V3 logic and 5v pins? 2) Also, I heard i draw with it more than 500mA, the PC USB port stops working. Is that information actual? Because USB 3 port has ...
0
votes
2answers
41 views

nodemcu GPIO6 clock

is there a way that i can declare gpio6 (CLK) as an input without getting a wdt reset? I'm somewhat new to circuitry, but my boss wants to use it(GPIO6) to talk with external devices. I have more ...
-1
votes
1answer
57 views

MQTT with OLED realy :- display not coming properly

I am very new to Arduino/ESP and I am writing a code to activate 2 relays using MQTT. Also like to display status on OLED here is my code #include <ESP8266WiFi.h> #include <ESP8266WebServer....
0
votes
1answer
177 views

How to get current Date [closed]

How to get Current date, month and year. I have used RTC, NTPClient, but it didn't work. This gives default output of 1970. What can I do for fixing it. time_t now = time(nullptr); struct tm* newtime ...
-1
votes
1answer
47 views

NodeMCU MQTT getting topic but not calling IF loop

I am very new to Arduino/ESP and I am writing a code to activate 2 relays using MQTT. My connection is successful and I am able to receive message/topic printed out on serial console. Here is my code: ...
0
votes
0answers
150 views

Programming OMRON - D6T MEMS Thermal Sensor with NodeMCU

Hi I need some help here, I'm currently doing a school project that requires us to replace Arduino Uno to NodeMCU, I understand the hardware pin configuration is different, and I also found a code ...
0
votes
0answers
91 views

Connect NODEMCU with SIM800L

How should I connect nodemcu with sim800l? Will the code be similar to the one used for interfacing sim800l with arduino uno? I tried to use the GPIO pins 1 and 3. #include <SoftwareSerial.h> ...
0
votes
0answers
137 views

Nodemcu single server with 2 clients

I am trying to connect my nodemcu server with 2 nodemcu clients. One client is connected and it works perfectly. I am unable to configure what to do for the other client to be connected and share data ...
0
votes
3answers
59 views

How can one reset Arduino Nano from NodeMCU?

If one connects the RESET pin on an Arduino Nano to a digital pin on a NodeMCU, will the NodeMCU be able to reset the Nano by setting said pin to LOW?
-1
votes
2answers
50 views

Do comments occupy space in compiled C++ sketch? Arduino / NodeMCU

I tend to leave old code around as comments until I am sure that my current version is stable. Just the way I like working. I am concerned that I may be unnecessarily bloating up my sketches. Do ...