Questions tagged [esp32]

A cheap and low-power microcontroller family using Tensilica Xtensa LX6 CPU cores with integrated WiFi and dual-mode bluetooth.

Filter by
Sorted by
Tagged with
1
vote
0answers
227 views

OTA update for ESP32 in Arduino ide from a different nework

I am trying to use the OTA to update my code in esp32. I have used Web updater so far and it has worked perfectly. But I want to update the code even when I am not connected in the same network with ...
0
votes
0answers
20 views

ESP32 Post Request Not Working

This sample code for the esp32 doesn't work. When contacting the website I get a 301 error and the website acts as if nothing was ever recieved. Note: Been using arduino for 2 years. /* Rui Santos ...
1
vote
1answer
67 views

No “Huge APP partition scheme” (ESP32)

I recently downloaded the expressif ESP32 library and I'm trying to run the CameraWebServer example. Attempting to compile it results in the following error: Sketch uses 2529577 bytes (192%) of ...
1
vote
0answers
33 views

For an ESP, does the RESET or enable (EN) button always need to be pressed to start the Access Point? How to do it without?

Is there a way to start an ESP Access Point (AP) without pushing a button? All these are set up that way: AP circuits4you AP LastMinuteEngineers AP MicrocontrollersLab AP RandomNerdTutorials
0
votes
2answers
367 views

Antenna for ESP32-pico-d4

I am currently playing a bit around with the esp32-pico-4d, it does not have an onboard antenna, so an external antenna is needed, tho I don't know a lot about it so a little help would be appreciated....
0
votes
0answers
30 views

Using MPU6050 with ESP32 Cam- MPU Not Detected

Hi I'm trying to build a self balancing robot using my esp32 cam, but so far I haven't been able to setup my mpu6050 with it.I'm using the adafruit libraries with the given example sketches. The only ...
1
vote
1answer
766 views

How do i fix the “A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header”

I have an AI Thinker ESP32-CAM and I've had issues uploading the CameraWebServer sketch, every time I hit upload it says "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for ...
2
votes
1answer
63 views

Can't Turn Off Internal I2C Pull-Ups on ESP32

I've designed a custom ESP32 board around the WROVER-IE module. To keep power low, I'm using a GPIO-controlled high-side FET to turn off unused peripherals when in deep sleep mode. The issue: I've ...
1
vote
0answers
55 views

How to get the esp32s2 recognized as USB device?

I have an esp32-S2 saola and I am trying to use it as a MIDI usb device. I am trying to use this github repository: https://github.com/chegewara/EspTinyUSB. I am able to run the code on the esp32s2 ...
0
votes
1answer
55 views

5V pin out, 8 pins and micropython/circuitpython support: does such a board exist?

For a project, I am looking for a board to connect eight different neopixel-strips to, on eight different data pins. Because of the great length between the board and the first pixels of these strips, ...
0
votes
0answers
28 views

Can ESP32 used for mobile game controller?

I have a term project: I need to develop a mobile game(Guitar Hero Like rhythm game) probably on Unity and I need to develop a custom controller for this game that works on android device. There will ...
1
vote
0answers
42 views

What does I/O/T stand for in a pinout diagram? (esp32-s2)

I am looking at the pinout of an esp32-s2 board with LCD Display (see picture below) and I am wondering what I/O/T stands for. I am particularly looking at pin IO46 and wondering if it can be used ...
0
votes
1answer
330 views

Reading SNMP V2 OID from ESP8266/ESP32

i need to read from my ESP32/ESP8266 some SNMP V2 OID values from my home printer: it exists a library/method that can do that? I've seen some SNMP agents, but they works only with the devie as server ...
1
vote
1answer
4k views

Synching local clock usign NTP to milliseconds

I am interested in getting a local clock on an ESP32 module synch to a network clock using NTP. I am able to read data and time here. But I am interested in synching to the milli second level. #...
1
vote
2answers
124 views

Why does controlling power with a transistor interfere with MHZ19B's serial communication?

I've been trying to turn off an MHZ19B (datasheet and teardown photos: revspace.nl/MH-Z19B). I've used an Arduino, NPN, PNP transistors and mosfets as well as the diagram below for connecting the ...
1
vote
1answer
276 views

Flow control between ESP32 and RS323 device

I'm trying to communicate an RS232 device with an ESP32 (Heltec Wifi/LoRa 32 v2) my problem is that I don't receive any response from the device, doing some research, I'm thinking that the trouble can ...
1
vote
1answer
819 views

Passing non-static member function using bind

I'm using the GxEPD2 library to communicate with an E-Paper display. I now wanted to use the drawPaged method of this library with an object display. I also have written my own class from which I ...
1
vote
2answers
949 views

SIM800L LED is not blinking

I am using a SIM800L Module with esp32. I am using a 3.7V 2800mAh lipo battery to power the sim800L but the LED is not blinking. I am lookng for answers in web but evryone seems to have a different ...
0
votes
1answer
44 views

Function displaying byte instead of value

I'm not sure I understand everything I do, but here is my issue: I'm using ESP-now between two ESP32s. Here is the code of the first ESP: #include <WiFi.h> #include <esp_wifi.h> #include &...
0
votes
3answers
179 views

How to read incoming HEX values from Serial.read() method?

Brief description about the problem History Communicating with a old VersaStat II used GPIB port but the GPIB ports PCI card stopped working but there was a another port 25 pin rs232 Serial ...
1
vote
1answer
35 views

Explanation of code found online

i found following code online, to read the value of a touch sensor... i am having difficulties understanding how the 2 second timeout on the marked line works.. if ((touch_sensor_value (...
1
vote
0answers
16 views

change variable configuration using bluetooth device in esp32? [closed]

i am working on a small project in which i have to change the configuration using bluetooth device . to illustrates this if i have LED and led in high when we press "a" and low when we press ...
0
votes
1answer
39 views

esp32s: error: 'WDT_TIMEOUT' was not declared in this scope

I am trying to initialize the watchdog timer. I have installed arduino-esp32-master.zip I have #include <esp_task_wdt.h> set but it is not highlighted red indicating the IDE knows about it. ...
0
votes
1answer
44 views

Built-in LED lighs up spontaneously

I'm trying to connect my ESP32 to this CO2 measurement device. I admit I am clueless about connecting devices with independent power sources to one another. I connected ground to ground and CLK to ...
1
vote
1answer
117 views

LED and MOTOR “ON” when A BLE DEVICE APPROACH ESP32 MICROCONTROLLER DFR0575

I have this code that is working perfectly but I want my device to start vibrating too (right now only the led is working) On a Wemos Battery Module I have simply connected the vibration motor on the ...
0
votes
0answers
24 views

ESP32 and the Microsoft Azure Device Provisioning Service

I am currently experimenting the the ESP32. In general connecting to WLAN and also to the Microsoft Azure IoT Hub works fine. But unfortunately i coulnt find any information on using the ESP32 with ...
0
votes
1answer
80 views

ESP32 preferences. One error returned, all others work. SOLVED

I am using the Preferences.h library in my Arduino code. I initialize some values. I save them with the preference library. I then modify all the values, then read back the original saved values. All ...
0
votes
0answers
35 views

Can an ESP read from an micro-SD card module to display pictures via its Access Point?

It seems the normal use of a micro-SD card module with Arduino and ESP MCUs is to log data. Instead, is it possible to read from a micro-SD card module to display pictures from an ESP's Access Point? ...
1
vote
1answer
34 views

Sending wav file on ESP32 to flask server [closed]

I'm just starting to learn about ESP32, and recently I'm trying to send a SPIFFS wav file to a flask server. does anyone know how to do it. I would love to thank and appreciate your every answer.
1
vote
0answers
25 views

ESP-32 Upload Files to SPIFFS via browser

I am using ESPAsyncWebServer Library in a ESP32 DevKit. I want to make a form in the browser in order to upload files in SPIFFS. I have to notice that the whole device works perfectly. I connect to Wi-...
1
vote
0answers
22 views

AT42QT1070 sensor output issues in standalone mode

Also when I am trying to see the data read on pins in serial monitor, it is not reading as required. The code i am using is as follows: const int tuch_Pin0=18; const int tuch_Pin1=19; const int ...
0
votes
1answer
76 views

PubSubClient: Subscription working, but callback never called

I am using an ESP32 (https://heltec.org/project/wifi-kit-32/) with a AM2302 DHT22 and an LDR, talking to mosquitto on a Linux box. Publishing data is working fine, other than the "exceeded ...
2
votes
0answers
1k views

Esp32 sending a wav file to API via POST

I'm trying to send a .wav file to an API with an ESP32 using a HTTP Post request with a multipart/Form-data content type. I can already send the API Key as it is a plain key and get a return from the ...
1
vote
1answer
72 views

Error initializer-string for array of chars is too long using ESP32 Webserver

i tried to use an asynchronic webserver for a new project with friends using this tutorial. We want to run an FFT while also changing some settings via the webserver. Since the tutorial only put code ...
1
vote
0answers
60 views

ESP32 captive portal not working with private IP address for android

For the initial settings of WiFi cerdentials and configuration on a standalone device (ESP32), I try to implement a captive portal using the CaptivePortal example for ESP32 DNSServer (see original ...
0
votes
0answers
39 views

Trying to improve speed of downloading files from server and writing to SPIFFS

update I have updated the code(second code segment) so that the null character is inserted into the array which solves the problem of writing past the end of the array. in order to stop the program ...
0
votes
2answers
156 views

How to modify values inside a file

I am writing a wav file to an SD card on a ESP32 and that requires that every time I append data to the the end of the file I modify the header to set the right size in some fields. I cannot find how ...
1
vote
0answers
21 views

Controlling lights by XBee S1+ ESP32 without bridge

I need some help with my ideas please, I have a smart home system and I am trying to control the Philips hue light but without the bridge. I want to do that by XBee S1 + FURTHER ESP 32. so, who did ...
0
votes
1answer
36 views

ESP32 send UDP packets from both cores

Im using AsyncUDP in an ESP32 project, where I initialize AsyncUDP udpSender and call udpSender.write(sendbuffer, sendbuffer_size) from both cores, with different buffers on each core. One core is ...
1
vote
0answers
28 views

generate and using a precompiled library ESP32

I would like to ask you how I can generate a dot_a file for a given library for ESP32? I want to replace my .cpp file with a precompiled .a in the Arduino IDE. Is that possible? Can you please guide ...
1
vote
1answer
1k views

Simple ESP32 MCP2515 CAN code to VP230

I have a working code that uses MCP2515 CAN module. Wanted to minimize the size of required modules, so I went with VP230 CAN transceiver and I'm having trouble relaying the same data through ...
0
votes
1answer
27 views

RFM95 digital io to control mute on PAM8403 to get rid of hiss while receiving

I am building a solution with an ESP32, a PAM8403 amp, a parallel TFT display, and a RFM95 LoRa module. All works great but I want to get rid of the noise that is generated when Lora is in receive ...
0
votes
0answers
71 views

Adafruit IO and esp32

If you have some time I would need some help. I'm using esp32 wroom and Arduino IDE, and I have a problem with practically all of the examples simply because esp never connects to the IO. At first, a ...
1
vote
1answer
104 views

How to close/end a Wire.begin()?

I have an ESP32 cam, and I attached an i2c light sensor to it. I need to read the light level at startup, then I don't need the i2c connection again. The problem is, the board uses 2 i2c connections I ...
2
votes
1answer
171 views

What are the correct pins for TWAI (CAN) on ESP32?

compared to the microchip's PICs: pic16f's does not have an onboard CAN peripheral. so you need an SPI - CAN controller (like MCP2515). some PIC18f's have an onboard CAN controller, and only need a ...
0
votes
1answer
247 views

couldn't connect to MQTT broker via esp8266/32 and pub/sub client

I want to use hiveMQ public broker in my project that's the same broker as what available in PubSubClient esp8266 examples but when I change WiFi SSID and password in example and upload it I got this ...
2
votes
1answer
39 views

How do I get an HTTP_POST response?

I have a function for HTTP_POST responses but it is never called when I post to it. I get the webpage instead. I call on it with server.on("/",HTTP_POST,response); But I only get the url in ...
3
votes
2answers
3k views

No programmers available for this board - Programming ESP32 Cam with Ardunio IDE

This is my first time working with ESP32 Cam boards. I have followed the instructions as given in this site https://technoreview85.com/how-to-program-esp-32-cam-using-arduino-uno-board/ However my IDE ...
1
vote
1answer
67 views

Using lambdas as callback functions

Using the Ticker library for the ESP32, how can I use a lambda as an argument to the attach method? tickerSystemManager.attach(1000, [&](){ systemManager->sync(); }); Attempting to use the ...
1
vote
0answers
54 views

ESP32 SD writes but doesn't append

I've got a microSD module adapter from the far east, and so far so good, and although it can create files using writeFile, it does not append messages. It returns true, i.e: message appended ...

1
2
3 4 5
11