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
13 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
17 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
21 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
1answer
4k views

Compilation Error in nodeMCU along with oneWire temperature sensor ds18b20, and 2x16 LCD display (not I2C)

I am using nodeMCU along with oneWire temperature sensor ds18b20, and 2x16 LCD display (not I2C). I am using Arduino IDE to program nodeMCU. I am getting a compilation error: C:\Program Files (x86)\...
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
21 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
2answers
55 views

How to fix memory-leak code in ESP8266/NodeMCU caused by string concenation?

I have following code in loop() in NodeMCU. This part is before setup(): String serial_data_read = ""; // for incoming serial string data String serial_data = ""; // for incoming serial string ...
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
1answer
640 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 ...
1
vote
1answer
32 views

Vin & VU pins of NodeMCU V3

Can we use the vin pin of the lolin v3 nodeMCU as a 5V supply. If yes, i checked mine with a multimeter. At max, it gives a voltage of 2V. Is my pin blown out? Also, can use the VU pin as a 5V supply? ...
0
votes
1answer
34 views

Print connection password typed by user on NodeMCU Lua ESP8266 ESP-12E

I want to make a WiFi Access point created with the ESP8266. Let's say that the SSID is 'net_work' and the password is '12345678'. When a client tries to connect with a wrong password, I want to ...
0
votes
1answer
307 views

ESP8266 spend 10mA, even though It is in the deep sleep mode

I am using Nodemcu ESP8266. I want to know how much my ESP board consume the battery during sleep mode. as the Mannual said it spend about micro-ampere, but my multi meter said it spend 10 mili-ampere,...
-1
votes
0answers
22 views

Nodemcu Deep Sleep can´t reach low compsumation (not less than 9 mA)

I'm trying to achieve the 20uA compsumation using deep sleep in "Amica" Nodemcu, but when I measure with the Multimeter I get 9 mA. What can be the issue? Diagram: power suply with 3,7 LiPo Baterry ...
0
votes
1answer
28 views

How to connect multiple NodeMCUs and 1 PC over wifi and have PC control NodeMCUs? [duplicate]

I am trying to design a laser tag system using multiple NodeMCUs in the guns. I am trying to figure out how to connect and control them over WiFi. I also need a computer connected that will control ...
0
votes
0answers
16 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
2answers
2k views

NodeMCU stops responding after several hours

I'm controlling some devices through a relay and a NodeMCU, it works fine and reconnects without problem in the meantime I'm testing it, but after I leave it like for 3 or more hours, it stops ...
0
votes
1answer
23 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
2answers
872 views

PIR motion sensor (HC-SR501) false results with NodeMCU

I have a PIR sensor which I use to detect the motion and turn ON and OFF the lights on the basis of it. I have PIR connected with NodeMCU (ESP8266) based board. I find that sometimes it trigger ...
0
votes
1answer
54 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
2answers
45 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
1answer
49 views

NodeMCU v2 with MH-Z19B CO2 sensor UART read problem

I'm trying to read data from MH-Z19B sensor to NodeMCU v2 board with a simple circuit like this. Some key points, which could be not that obvious from picture: - sensor has separate power supply of ...
-1
votes
1answer
44 views

Can I connect 220V AC supply to Node MCU (or any arduino)pin D1 and D3 while node MCDU is power off?

Can I connect 220V AC supply to node MCU pin D1 and D3 while node MCDU is power off?
0
votes
1answer
946 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
15 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
1answer
35 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 ...
-1
votes
1answer
48 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
4k views

Which input pins can I use on the ESP8266 NodeMCU

On the ESP8266 NodeMCU I have GPIO2 , GPIO3 , GPIO1 , GPIO9 free but when I assign them to a button they do not work. I assume it is because those pins have other function behind them. When I look at ...
0
votes
1answer
22 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 ...
2
votes
1answer
3k views

ESP.deepSleep() - over and over?

Important note: the esp.deepsleep function uses microseconds, not milliseconds. I posted another question here asking for clarification on how an RTC can be used to put a NodeMCU 12 to sleep for a ...
0
votes
2answers
1k views

Error running FirebaseDemo on nodeMCU

So I followed the guide on GitHub to run this demo which compiles and runs. It does warn of some deprecations and such in the firebase libraries : In member function 'const String& ...
0
votes
1answer
22 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
1answer
33 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
1answer
40 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 ...
0
votes
1answer
174 views

How to upload sketch from flash memory of nodemcu-V1.0?

I'm working with esp8266 nodemcu-v1.0 .Now we are using OTA but the module may be disconnected from wifi so we need to use 2G by GSM Module(using beside nodemcu) to receive our new sketch to be ...
0
votes
1answer
25 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
21 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 ...
1
vote
1answer
227 views

ESP - Nodemcu amica - attachInterrupt crash program

I get new boards from the shop but they are little different from the previous version. I got software what works ok on Nodemcu lolin v3 now I get Nodemcu Amica what is almost same board but if I got ...
0
votes
1answer
68 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-...
-1
votes
1answer
41 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 ...
2
votes
1answer
934 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 ...
0
votes
0answers
45 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
votes
1answer
54 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
1answer
37 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 ...
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
2answers
31 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
1answer
103 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:-...
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
2answers
329 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
1answer
98 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/...
1
vote
1answer
24k views

How to post HTTP POST requests on my website?

I am working on a NodeMCU board to post sensor data on my website service. Basically my project is about POST and GET requests both in single code. I am succeeding in sending GET requests from my ...

1
2 3 4 5
10