Questions tagged [arduino-esp8266]

This project brings support for ESP8266 chip to the Arduino environment. It lets you write sketches using familiar Arduino functions and libraries, and run them directly on ESP8266, no external microcontroller required.

This project brings support for ESP8266 chip to the Arduino environment. It lets you write sketches using familiar Arduino functions and libraries, and run them directly on ESP8266, no external microcontroller required. https://github.com/esp8266/Arduino

984 questions
3
votes
2 answers

Load config parameters on Arduino ESP8266

I am using Arduino ESP8266 to store and load configuration settings on SPIFSS. I used this ConfigFile.ino as a reference example. https://github.com/esp8266/Arduino/blob/master/libraries/esp8266/examples/ConfigFile/ConfigFile.ino This function loads…
user6064424
2
votes
0 answers

ESP.deepSleep For Esp8266 for 22 hours

I've got a really cool project where I have a camera trap in the wild monitoring cougars in the mountains. My camera trap is a wifi capable battery powered security camera. I have a wifi router built out of an ESP32 that I want to power up for two…
Tayethin
  • 21
  • 1
2
votes
0 answers

ESP8266 cannot connect to MQTT broker

My ESP8266 cannot connect to AWS IoT MQTT broker via PubSubClient. My broker is definitely working, because my ESP32 can connect to it (I use MQTTClient for ESP32, which is not available on ESP8266). Also, I've tried using same credentials,…
Captain Jacky
  • 888
  • 1
  • 12
  • 26
2
votes
0 answers

Connect Arduino + ESP8266 to Azure IoT Hub Device via X509 certificate

I have hard times finding a solution, or writing my own, where I can connect ESP8266 with Azure IoT Hub Device via X509 certificate. Currently, I can connect using the symmetric key connection to my device, but I have devices that I want to…
2
votes
0 answers

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 sketches. The first one is at my question and the…
Su1010
  • 31
  • 1
  • 5
2
votes
1 answer

unable to arm and use A2212(1000kv) motor with wemos d1 mini and a 30A ESC

#include #include #include #include Servo bldc; double roll,pitch,yaw,thr; char packet[255]; struct __attribute__((packed)) JoyStick { double yaw; double thr; double pitch; double roll; …
2
votes
2 answers

How would I use Arduino-CLI in WSL?

I recently started playing with an ESP8266 and wanted to try uploading to it using WSL. I found the Arduino-CLI command and followed some tutorials but couldn't figure out how to upload to the board. The command I tried running is arduino-cli upload…
2
votes
2 answers

Why is the EEPROM of my ESP8266 not working?

I need to get some values saved into eeprom on my esp 8266, but it's not working. I get the Error "ERROR! EEPROM commit failed" when i try to EEPROM.commit() some writes. I tested it with my own code, but it also doesn't even work with the examples…
Bastibrot
  • 45
  • 6
2
votes
1 answer

Problem with access to multidimensional std::array element

I have a class like this : class Actuator { public : enum class Action { disable, turn_on, turn_off, toggle }; private: …
2
votes
0 answers

How can one make an ESP8266 connect to WPA2-Enterprise using PEAP instead of EAP-TTLS?

I want to connect an ESP8266 to a WPA2-Enterprise Wifi. When debugging, I see it trying to connect using EAP-TTLS and MSCHAPv2, but it needs to connect using PEAP and MSCHAPv2 (or EAP-TTLS and PAP). From what I have found, PEAP and MSCHAPv2 are…
McLP
  • 140
  • 14
2
votes
1 answer

How to post bin file for OTA in ESP32 without manually opening the page in the browser hosted in the webserver

I am trying to trigger OTA update on a webserver hosted on ESP32 externally and without opening the browser address of the webserver. I have seen some examples where the OTA update action can be achieved if the ESP is connected as client, but I am…
Shariq Azim
  • 136
  • 16
2
votes
1 answer

SPIFFS Upload Failed(ESP8266 sketch Data)

Traceback (most recent call last): File "/home/apurv/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial/serial/serialposix.py", line 265, in open self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY |…
Apurv
  • 21
  • 1
2
votes
1 answer

WeMos D1 Mini (ESP8266) I2C Slave Mode does not receive any incoming data

I have spent hours trying to figure out how I can get the "WeMos D1 Mini" to be in slave mode. For some reason it does not acknowledge any incoming data. From all the forums I read, everyone needs to make their own "special interrupt based I2C" code…
S To
  • 73
  • 6
2
votes
0 answers

ESP8266-12F trouble

Some time ago, I was using my Esp8266-12F module (concretely I was using a Wemos D1 mini). At that time, everything was running perfectly, but when I try it again, both of my modules were not working as expected. Then, I remembered that I had…
19Miquel
  • 21
  • 5
2
votes
1 answer

How to send HTTPS GET request using NODEMCU

How do you send a HTTPS - GET/POST request using Nodemcu - Arduino code. I've ben searching days for a working example that sends a GET request using HTTPS protocol to a website and all examples that I've found were unsuccessful. I hope it will help…
Lepy
  • 152
  • 1
  • 12