Questions tagged [arduino-esp32]

491 questions
0
votes
0 answers

ESP8266 How to work with firestore getDocument?

Summary: I want to turn the LED light ON and OFF from firestore through the userID so the work in code has been done by createDocument and getDocument, and it works fine, but the issue here the LED light wont turn ON or OFF. I might be mistaken with…
0
votes
1 answer

upload to Espressif modules not working on one machine, OK on other

I cannot upload to various Wemos D1 mini or ESP32CAM boards from my desktop. Tried different USB ports, cables and upload speeds. I can upload without issue to Arduino Uno, and Lolin D32 Pro. All boards upload fine using my laptop. Both machines are…
Bil
  • 1
  • 2
0
votes
1 answer

ESP32 was connecting earlier but is not connecting to WiFi now with the same code

I'm doing a project where I have to connect to a WiFi network. So, I've used this code for ESP32 to connect to a WiFi network - #include #include void setup() { Serial.begin(115200); WiFi.begin("XYZXYZ", "asdfghjkl"); //…
Joyanta J. Mondal
  • 888
  • 1
  • 8
  • 20
0
votes
0 answers

Create a lookup table for array of classes in C++/Arduino

I have multiple types of classes. Each type has an array and an index in the array. If an outside function knows only a string ID of a class and wants to use it's public function, it must search for that particular class by ID in it's array. This is…
Dr.Random
  • 430
  • 3
  • 16
0
votes
1 answer

Can't set individual PWM frequencies on ESP32 with Arduino framework (on Platformio)

I'm trying to setup 4 different PWMs (on GPIOs 4, 25, 26, 27) on a ESP32 using Arduino framework. I can't setup the frequencies on GPIOs 25 and 26, those end up receiving the same frequencies as the other 2 (i.e. GPIO 25 oscillates at the same…
0
votes
1 answer

ESP32 WiFi initialization disrupting GPIO analog reading

I'm programming an ESP32 through Arduino IDE, and I'm having a strange issue with Arduino's WiFi library. When I connect to my WiFi network, it forces reading of a particular pin (Pin 2) to 4095. With the line of code connecting to WiFi commented…
k_evan_a
  • 13
  • 2
0
votes
1 answer

How to disable specific compilation warnings from CPP compiler in VSCode? (preferably using build options)

I am using VSCode and ESP-IDF to program Arduino. Some of the Arduino library files are generating warnings such as below. 988/1135] Building CXX object…
ChicagoSky
  • 1,290
  • 3
  • 22
  • 50
0
votes
2 answers

Problem ESP32 send data to Google Sheet through Google App Script

At first, my question is from my little project IoT. Purpose, using ESP32 send data to Google Sheet through Google App Script. The ESP32 task is to take two random numbers and pass them to Google Sheet through Google App Script (Web App) by http. My…
0
votes
2 answers

EEPROM with ESP32-WROOM-32

I bought an ESP32-WROOM-32 and I realize that there are some things which are not the same compared to Arduino Nano, Arduino Uno or Arduino Mega 2560. One of the things that I realized which is different is how to store and read data from the…
Carlos Costa
  • 123
  • 3
  • 11
0
votes
0 answers

LWIP MQTT client in esp32

I have to implement LWIP in esp32 to be used as MQTT client. I tried searching for procedure but no result. Till now, esp is sending data to mosquitto broker running on local PC. Is there anyway around to not use MCUX presso SDK? I have to use…
habib
  • 1
  • 1
0
votes
0 answers

Uploading firmware via Bluetooth is not working in iOS

We were DFU-Library to upload firmware to our BLE accessory earlier. But our new set of accessories doesn't support DFU library and we need to upload the firmware to an OTA service in its respective characteristics and we does the same using…
Bharath
  • 2,064
  • 1
  • 14
  • 39
0
votes
0 answers

ESP32 Host Receiving Post requests

I'm attempting to use an ESP32 board as an access point, and then communicate between my laptop and the board to give it the correct credentials for a wifi network to join. I'm using python requests library to send a post request to the ESP32, which…
0
votes
0 answers

Cannot change transistor State in peer to peer communication of ESP32 boards

I have connected my ESP32 board to a 12V LED using a MOSFET transistor and is operated using a touchPin. The idea is to have 2 identical boards and when I turn on the lamp on one board it should also light up on the other using Wifi (as the boards…
CatiaV5
  • 168
  • 1
  • 1
  • 10
0
votes
1 answer

ESP32 Retrieve embedded binary files from the firmware .bin file

I'm using the ESP32 aWOT library to setup a webserver and I'd like to embed a bunch of binary files into the firmware .bin image (for OTA update purposes). Using PlatformIO we can use the: board_build.embed_txtfiles = src/file.ext command to embed…
0
votes
1 answer

ESP-MDF vs PainlessMesh in order to create a mesh network using esp32

I want to build a mesh network using esp32 in order to create a smart-home. Do you recommend using the official espressif solution (ESP-MDF)? Or should I use the PainlessMesh library that is compatible with Arduino Framework? Reading the…
Tono Nam
  • 34,064
  • 78
  • 298
  • 470