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
1answer
661 views

How to Connect TFT LCD display with NodeMCU?

I am doing this project wherein I want to display some image on the LCD screen. I am having a problem with the connecting nodemcu with my TFT LCD screen. I cannot find any references. Does a TFT ...
0
votes
0answers
63 views

Setting up WiFi on NodeMCU with wrong password drops ESP8266WebServer connection [duplicate]

I am trying to build a simple demo with NodeMCU module: NodeMCU opens AP and sets up web server Client connects to this AP, sends payload to web server to setup WiFI on the module and receives ...
-1
votes
1answer
555 views

How to control DC motor speed with L298N and Node MCU?

I want to control an RC car with a joystick in mobile. Currently, I can only make the motor move forward and backward but not able to control the speed. Node mcu is used as a processor to receive the ...
0
votes
0answers
50 views

Rfid module on nodemcu

I am trying to connect a mfrc522 module with nodemcu. I have tried all tutorials available in youtube. Everytime it shows firmware version: 0x89 (unknown}.
0
votes
3answers
78 views

Not able to split string into 2 char

I am trying to split an incoming string into 2 integer values since I have to control 2 dc motors with it. The processor is node MCU and I get following error:- Com Port Reading:- WiFi connected ...
0
votes
0answers
95 views

Getting the error calibrate' was not declared in this scope

#include <LiquidCrystal_I2C.h> #include <Wire.h> #include <ESP8266WiFi.h> LiquidCrystal_I2C lcd(0x27, 16, 2); #define DT D2 #define SCK D1 #define sw 9 long sample=0; float val=0; ...
-1
votes
1answer
208 views

NodeMCU with HC-SR04 ultrasonic sensor

How can I interface an ultrasonic sensor with a MCU with 3.3 V GPIO like the NodeMCU? I tried powering the sensor with both 5 V and 3.3 V from the MCU. Both failed to show any results as the distance ...
0
votes
2answers
868 views

Using NodeMCU D8 (GPIO15), D4 (GPIO2) and D3 (GPIO0) pins

I am using a NodeMCU board and have already used 6 digital pins as output for interfacing with the LCD. I intend to use 2 more digital pins, one as input and other as output for interfacing an ...
0
votes
1answer
431 views

Using a water sensor with a NodeMCU make it less sensitive?

I'm trying to digitalRead from a water sensor (the one in the picture) using NodeMCU v3,when I try the sensor with an Arduino board it works fine, but when I try it with an ESP8266 NodeMCU v3 it ...
0
votes
1answer
330 views

WS2812B only works while I measure the voltage

I'm going crazy, there is clearly something I'm missing here. I have a NodeMCU V3.0 and a 5V LED strip WS2812B with 10 diodes. I tested this first with a 5V 0.3A power supply, only powering 3 diodes, ...
0
votes
0answers
61 views

NodeMCU with JHD162A LCD issue

I have uploaded a program to NodeMCU , to print "hello, world" on JHD162A 16x2 LCD module. But the text doesn't appear on the lcd display. Instead just black blocks appear on the first row on the LCD. ...
0
votes
1answer
258 views

Possible to connect 3 MPU9250 to Node MCU without multiplixer?

Is the idea of connecting AD0 pins of MPU9250 is still valid like the 2nd answer of this question? - How to change i2c address for mpu9250? I have connected 2 sensor as test. SCL & SDA of both ...
0
votes
1answer
159 views

Arduino program to scan two different rfid cards in same program ? Im using nodemcu- esp8266 , rc522 reader and Firebase

/*My project is a Library management system using rfid cards. Im trying to generate a code wherein User first scan a book and then the record will be pushed in Issued_Books table in Firebase . Then ...
0
votes
2answers
872 views

How to connect MPU9250 with NodeMCU using SPI or I2C Slave?

I want to connect 3 MPU9250 sensors, but since there is just one I2C bus, so there are another 2 sensors I want to connect through SPI. Library used - https://github.com/bolderflight/MPU9250/blob/...
0
votes
0answers
74 views

How to connect 3 MPU9250 to Node Mcu together?

I don't know how to connect 3 MPU9250 together on Node Mcu. There is not much information available. I am using bolder flight library for imu sensor - https://github.com/bolderflight/MPU9250 Can ...
0
votes
1answer
68 views

Not able to convert String to Integer when receiving data from pubnub?

I did managed to upload mpu9250 sensor data on PubNub and nodeMcu but not able to use the received data to control servo Look at the Port reading and see that servo angle is still showing '0' Code:-...
-1
votes
1answer
122 views

How to upload sensor data on pubnub IOT with JSON Format?

I am trying to send MPU9250 sensor data to Pubnub IOT platform using node mcu, but not able to do it since the sensor data is not in JSON format. I know about publishing string but don't know about ...
0
votes
1answer
703 views

How to interface MPU9250 and NodeMcu?

I am trying to send MPU sensor data to Pubnub IOT platform but not able to do it since there is some unknown problem. There is no error in code but following issue pops up in com port:- It looks like ...
3
votes
1answer
723 views

Why Smart Plugs don't require setting port forwarding on router and how to accomplish this with NodeMCU (ESP8266)

I have a NodeMCU (ESP8266) board that I use to control some devices over the internet. To be able to access it I have to enable port forwarding on my router and set the port manually like in the image ...
0
votes
1answer
796 views

Can't flash ESP8266 anymore (NodeMCU)

So I've been happily making away with these nodeMCU boards now for a while but I came across a strange issue when updating some code on my board.The problem was that I couldn't flash anymore with ...
0
votes
0answers
119 views

Why is this Code not working with Esp8266 when it worked perfectly with Arduino Uno?

I'm making an attendance System using an RFID scanner, scanning RFID Card & saving Data in Excel. When I used this code with Arduino Uno (by changing #define SS_PIN 12 and#define RST_PIN 9) it ...
0
votes
0answers
92 views

NodeMCU V3 - Troubleshooting basic TMP36 circuit

If I follow this example using my Arduino Uno https://learn.adafruit.com/tmp36-temperature-sensor/using-a-temp-sensor (using the 3.3V code example at the bottom of the page), I get reasonable ...
0
votes
0answers
103 views

Understanding flashing with bash in Ubuntu

I am following the instruction from this DIY tutorial to set up the firmware for my dust sensor on Arduino board (NodeMCU): https://luftdaten.info/en/construction-manual/#feinstaubsensor-konfiguration ...
0
votes
0answers
59 views

Serial communication problem NodeMCU

this is my first post here. Before I ask you my problem, I'm sorry if I'm wrong to write but my English is bad. So, my problem is this: I'm developing a "client-server" system with serial ...
-1
votes
1answer
353 views

NodeMCU display temperature and control LED from an autorefresh web page

I'm totaly new to Arduino, I'm using ESP2866 NodeMCU and dht22 to display temperature and humidity in a web page, it is autorefresh (using AJAX) and it works perfectly, I wanted to add 2 buttons to it ...
0
votes
0answers
22 views

Voltage to keep my board safe

I have recently made a home automation system using node mcu and relay module and i am powering both together using my 5V ,2A dc adapter and i am scared that if I'll keep using it for very long hours ...
0
votes
1answer
912 views

Transmit/Receive data Nodemcu(V3) + Bluetooth Module HC-05

I am trying to communicate with the HC-05 Bluetooth module for quite long time now, but with no success. I am using the Nodemcu(V3) ESP8266 module. I connect the HC-05 to Nodemcu in following ...
0
votes
0answers
33 views

RF Rx with NodeMCU error

I am using RF Tx with Arduino Uno and Rx with NodeMCU. I use RF switch library. At the recipient side if I use an Arduino Uno MCU. I can receive the output, but with NodeMCU I have a blank serial ...
1
vote
1answer
45 views

Connecting NodeMCU through internet [closed]

I have a NodeMCU and a website (free website domain provided by http://www.hpage.com) and I have to send and receive some data (suppose a 8bit number) from the website to the NodeMCU via internet. The ...
-1
votes
1answer
345 views

NodeMCU Ping working on one but not another

Update 2: Have tested by pinging various devices on different subnets / vlans and did a pcap on the wifi AP I can see the icmp requests going through for each request except for ones on the 4.x subnet,...
1
vote
2answers
1k views

What is the voltage between Vin & GND?

I have NodeMCU ESP8266N Lolin V3, my 5V relay is powered from Vin of the NodeMCU. The NodeMCU is powered from 5V USB. My difficulty is when I measure voltage between Vin & GND, it is of 1.9V, but ...
0
votes
1answer
52 views

Power Arduino Mega ESP85266

Is it possible to Power a Arduino Mega 2560 and a NodeMCU V2 ESP8266 ESP-12E from a single 9V Block? What would be the best solution? Can i power the ESP8266 directly via the Arduino Mega 5V output? ...
1
vote
1answer
111 views

How to trigger NodeMCU sketch from Arduino Leonardo Micro Pro?

So this is probably a very simple question. I have my NodeMCU set up and working where it connects to wifi and sends a push notification. Currently it does that automatically when connected to power. ...
0
votes
2answers
504 views

NodeMCU burned, did I something fundamental wrong?

I have a NodeMCU where I connected a LED strip (WS2812b, which operates at 5V). NodeMCU is powered via USB 5V. The used power adapter can supply 2.5A max. I don't have a separate power supply for ...
0
votes
0answers
470 views

HTTP PUT method on NodeMCU/ESP8266

I've been trying to send a put request from my esp8266 for a while not but I can't figure out why it doesn't work and there are barely any posts about put requests online I keep getting errors around ...
0
votes
1answer
339 views

Error - invalid conversion from 'char' to 'const char*', Not able to connect on pubnub server using node mcu [duplicate]

I have node mcu with ESP8266 wifi module. When i am trying to upload an example code then its not working. This is the Error:- inline PubSubClient* PubNub::subscribe(const char* channel, int ...
0
votes
0answers
247 views

Nodemcu + GSM IOT-GA6

I've connected my NodeMCU to GSM module using GND, RX and TX. I use At Comand Tester. When I try to get sim status or something I get error for example: Unable to get Sim status. Only AT comand ...
1
vote
1answer
130 views

How to publish on Pubnub with node mcu?

I have node mcu and i am trying to use the example code on github and pubnub blog to send a msg as an experiment but can't figure how to do it. I used 2 example as the reference - https://github.com/...
0
votes
0answers
167 views

I want to connect my NodeMcu v3 to gsm

I have a problem with connecting my NodeMcu to gsm. I have bought GSM module but I have sim code on card which I can't and that is the problem because I've found some libraries but there are no ...
0
votes
1answer
439 views

How to find the MAC address using NodeMCU when connecting to WiFi?

I am new to using NodeMCU and IOT. I am testing the NodeMCU (ESP8266) so that I can connect with pubnub server. Have taken code from github but there is error saying 'mac was not declared in this ...
0
votes
2answers
2k views

Deep Sleep NodeMCU with Door Sensor

I have a very simple code of door sensor (magnetic) which gives results in 1 & 0 format. But I want to run the NodeMCU only when a door is open or close. Rest of time I want to keep it in deep ...
0
votes
1answer
257 views

5V 10A 4 channel relay to 2 lights15W light in series in 220V AC supply

I am trying to setup my first relay module with live environment. I have attached the relay module image below. Which I am using to control 4 devices in my switch board as follows: Fan (working ...
-1
votes
1answer
176 views

The code is working fine with Arduino Uno but not with NodeMCU

I uploaded program MPU6050_DMP6_Multiple.ino (https://github.com/eadf/MPU6050_DMP6_Multiple/blob/master/MPU6050_DMP6_Multiple.ino) to Arduino Uno and it works fine. When I upload the very same code to ...
0
votes
1answer
328 views

Detect power interruption on NodeMCU

Im using a 5v 1A power supply and connected to VIN pin on the NodeMCU. I also use 18650 battery to keep NodeMCU running in case the power supply shuts off due to power interruption. I'm planning to ...
0
votes
0answers
71 views

Garbage output/ not running at start up nodemcu

I have a nodemcu acting as a thermostat home office. The wall heating element is controlled with a solid state relay on D2. If i have it connected, I cannot program the board from the arduino ide. I ...
0
votes
0answers
314 views

NodeMCU with digital sound sensor - Can't find examples or good documentation

I'm very new to this world, and trying to hack one of my first projects have proven hard without solid documentation or examples to copy like I usually do. I've got a https://www.gearbest.com/...
1
vote
2answers
67 views

Help to delimit and read specific contents of incoming HTTP string

I am sending strings to an Esp8266 via web browser. The below code returns the following in serial monitor if I send in browser: Send from browser to esp8266 - http://192.168.1.220/s1s2s3s4s5d1 ...
0
votes
1answer
29 views

Why is this failing after 3 iterations?

I simply cannot figure this out, why is this failing after 3 iterations? Other than that, what better way is there to do this? Thanks! #define rotary_encoder_topic "/rotary/encoder" #define ...
0
votes
1answer
253 views

Can't extract basic data using ThingspeakHTTP

I don't know anything about HTML, but I want to extract the % probability of the Northern lights being visible from this webpage http://aurorawatch.ca/. I entered this into the URL field, and selected ...
0
votes
1answer
1k views

Taking String Input from NodeMCU Webpage and Printing it on Serial Monitor

I've started working with NodeMCU recently. I've very little knowledge about this device and how a website works. I'm trying to take a long string input from a website hosted by NodeMCU, store it on a ...

1 2 3 4 5 9