All Questions
23 questions
4
votes
10
answers
30k
views
PermissionError(13, 'A device attached to the system is not functioning.', None, 31)Serial port COM4
I'm very new to using ESP8266,I tried to upload this simple script
void setup() {
pinMode(D4, OUTPUT);
}
void loop() {
digitalWrite(D4, HIGH);
delay(1000);
digitalWrite(D4, LOW);
delay(...
0
votes
0
answers
295
views
NodeMCU keeps running the previous program
After countless days and hours, I finally can upload my sketch into my NodeMCU successfully. But, just after that, I've got another problem.
If you've checked my previous post, you'll see I have two ...
0
votes
0
answers
116
views
how i can use string as a pinname (nodemcu board)
String sw1 = serv.arg("sw1"); //provide true or false
String w = serv.arg("id"); //provide pin name which i have to operate
if(sw1 == "true")
...
0
votes
1
answer
156
views
Switch state not changing according to physical changes nodeMCU float switches
I am using float switches(3 Nos) as depicted below and a NodeMCU esp8266,
all three switches have been defined in the same way(input_pullup)
2 of these switches change state as the switch movement ...
1
vote
1
answer
273
views
Compile error on ESP8266 of working Arduino UNO Code - no matching function for
Kindly help to solve this kind of error whenever I compile this error is shown - no matching function for call to 'IRsend::sendRaw(unsigned int [149], unsigned int, int&)'.I have tried the same ...
0
votes
3
answers
9k
views
MQTT failed with state -2
I have set WiFi credentials and connect over TCP data. WiFi is connecting by MQTT showing failed to connect with failed state -2 means no internet by there is one, which is connected. Also creating ...
0
votes
1
answer
2k
views
Send data from NodeMcu(ESP266) to ESP32 using esp now?
I am trying to send some data from a Nodemcu(esp8266) to ESP32. I am trying to use espnow for that purpose, but I am really stuck, I cant merge the Master and Slave for both the boards, I find the ...
0
votes
0
answers
939
views
Sending an array from one Nodemcu to another Nodemcu?
I am working on a gesture control car project and I find everyone on the internet using RF modules or Bluetooth modules to do it, I had two NodeMCU lying around so I thought why not use them and bring ...
1
vote
1
answer
2k
views
ESP8266 WiFi isn't working without WiFiMulti
I did a project for IoT attendance system using ESP8266 and RDM6300. However, I can connect to wifi using WiFiMulti.addAP() function for my home WiFi but can't connect using WiFi.begin().
I tried ...
0
votes
1
answer
2k
views
Can't display anything on 16x2 display(I2C Board) with nodemcu?
I'm trying to display text on 16x2 display using a Nodemcu board. I have connected the display using a serial connector to board like below.
Vcc => 3v Pin
GND => G pin
SCL => D1 pin
SDA => D2 pin
This ...
1
vote
1
answer
2k
views
I've connected servo and PIR with NodeMCU and Servo isn't working
I've connected NodeMCU with Pir Sensor and Servo Motor and the code is for rotating the servo whenever motion is detected so I've put to rotate it once I void setup() and that works fine but later in ...
0
votes
1
answer
2k
views
NodeMCU (ESP8266) Exception 28 when a client disconnect
I have a websocket server on nodemcu v3(ESP8266) and a websocket client made in Qt. When a client disconnect, the server give exception 28 and i dont know why.
Here is the stack decoded with ESP ...
1
vote
1
answer
2k
views
ESP8266 won't wake up from deep sleep
Here is my code from of a project where I can to control a servo motor. I have tried to use deep sleep because I'll use a battery. But looking at my serial monitor, I have this message, and i can't ...
-1
votes
1
answer
2k
views
Can not get NodeMCU webserver to work
So I have brought a NodeMCU and I am just trying to get a basic project to work over wifi. Well this project here:
https://randomnerdtutorials.com/esp8266-web-server-with-arduino-ide
Now I have it ...
1
vote
0
answers
384
views
SSID won't take hold on ESP8826 Server
In advance... sorry this question is so long. The essence of my question is to understand Client/Server communication between two ESP8266's. The IDE at the moment is Arduino, but I prefer working in ...