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
0
votes
1answer
24 views

HTTP_GET not clarified in scope

I'm trying to do an async webserver with access point using an ESP32. It's a little bit of a mix between This tutorial for AP and async and this tutorial since it's also with an async webserver and it ...
0
votes
1answer
17 views

Play audio on an ESP32 or an Arduino

I am in the process of making a talking robot and I have linked my ESP32 to a Google text-to-speech service. The service returns me a base64 8-bit audio response. I need to play this audio and I can't ...
1
vote
0answers
27 views

ESP32: interrupt error (The following tasks did not reset the watchdog in time)

My system includes 2 ESP32 devices, communicating over ESPnow protocol. The slave device (connected to a Joystick) is transmitting only when a changes occur, yet there can be several changes in a ...
1
vote
1answer
40 views

What is the best way to power the ESP32 from a battery?

I am making a temperature sensor that can go in a freezer and I am trying to figure out what the best method is. My research has taken me all over the place an I can't seem to find a straight answer. ...
0
votes
1answer
19 views

Is this class declaration wrong? “ Declaration has no storage class or type specifier” error

While trying to setup an ESP32 as mqtt publisher I am getting strange errors. Here is my code: #include "mqttSetup.h" #include <WiFi.h> #include <PubSubClient.h> static byte ...
0
votes
1answer
37 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
0answers
9 views

Problem with sending sound sensor data to app using ESP32 over BLE_UART

I was working on Adafruit Electret Microphone Amplifier - MAX4466 with Adjustable Gain and ESP32. I want to send data to an app using BLE UART I have printed data to the serial monitor or serial ...
1
vote
0answers
29 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 ...
0
votes
1answer
76 views

Connecting the cathode of a diode to the output of a multiplexer

From the image, the diodes share the same anode which is driven by 'Do Something'. My question is: through using Arduino IDE, what code should I write that connects the output of the multiplexer (Z) ...
1
vote
1answer
25 views

How to implement brown out detector arduino ESP32?

We are using ESP32 with arduino sdk for developing our application. In our application we need to implement BOD to detect with specific voltage level. Basically we want to set specific voltage level ...
0
votes
1answer
27 views

esp32-cam stuck in repeat boot

I am trying to bring the esp32 example code live. I am able to upload the image error free but when I remove the jumper and then press the reset switch, instead of seeing it logon to my network via ...
0
votes
1answer
37 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
14 views

problems with reading the data of BN-180 GPS

I'm trying to read the data of a GPS BN-180 with a Heltec ESP32 board. The code I'm using is shown next: #include "types.h" #include "TinyGPS++.h"; #include "HardwareSerial.h&...
0
votes
1answer
21 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 ...
1
vote
0answers
23 views

Help with ESP32-CAM “AI THINKER” module

I'm trying to make a RC car (with a surveillance camera if possible, using the web-cam code that comes with the ESP library) using a ESP-32 CAM as a wifi module to control the car using my computer. ...
1
vote
0answers
37 views

How to connect a thermal printer to an ESP32?

I want to attach my GOOJPRT Thermal Printer (I believe model QR701, communication RS232) to my ESP32 but I cannot seem to get them working. I tried all the Adafruit Thermal Printer library examples ...
1
vote
0answers
50 views

how to clear heap memory in esp32?

I am using Free RTOS on esp32 in my program. However at some point of time when I execute xTaskCreate() it returns -1 , which error is could_not_allocate_required_memory. In my program, each time i ...
1
vote
1answer
62 views

esp32 Stack canary watchpoint triggered

I am writing a program for esp32 on Arduino IDE. On some point of execution of code for File reading I am facing this exception, Guru Meditation Error: Core 1 panic'ed (Unhandled debug exception) ...
3
votes
1answer
74 views

How to restart ESP32 on any exception?

While developing a lot of projects (In Arduino IDE) for ESP32 one common issue I am facing is termination of program execution on unhandled exceptions. There are various exception I get. For example: ...
1
vote
1answer
48 views

delete[] crashes ESP32 (Bad tail error)

Because I wanted to support both ESP32 and AVR based boards, I had to change from the things like std::string to an alternate method. I wanted to avoid the String class because I've heard that's a bit ...
1
vote
1answer
22 views

Host a webserver on esp32d that has a hyperlink that triggers an ardiuno song through a buzzer

I would like to use my ESP32D to create a wireless access point and host an html page that has a hyperlink and a few other things on it that triggers an arduino song (rickroll), and plays it through a ...
1
vote
0answers
51 views

ESP32 - Social distance detector - code

I recently got an ESP32-CAM for a project of mine. I was planning to attach an ultrasonic sensor to it, and when the ESP32 CAM detects a face, it would send a signal to the ultrasonic sensor to start ...
1
vote
2answers
54 views

Best Data model/Concept to Store Multi-Day Alarm for clock?

I'm writing a multiday day alarm program for a project. I'm not sure how I want to store the format of each of 10 alarms....I need to store it...in SPIFFS retrieve it(at boot) and then compare it to ...
1
vote
1answer
22 views

MFRC522 Communication Failure

I'm using TTGO ESP32 and I've got an MFRC522 from AliExpress. I've soldered connector pins to the board itself (both for ESP32 and MFRC522) and I'm using jumper wires female-to-female to connect ...
1
vote
0answers
22 views

ESP32 Compile Error - Face tracking Pan and tilt camera Arduino

I have been working on a code for a project of mine. I am making an face tracking Pan and tilt camera using the ESP32, but I am getting some errors that I do not know how to solve. #include <...
1
vote
1answer
60 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 ...
1
vote
0answers
28 views

Trouble using 1.8" TFT with esp32 dev module and adafruit GTX lib

I am trying to set up an esp32 dev module with a 1.8" TFT display using the adafruit GTX ST7735 arduino library. So far i've not had anything other than a white screen. I know the screen itself ...
2
votes
2answers
45 views

Can i store a SqlLite DB into an (old) ESP32? (not using SD card)

I would like to know if it is possible to store a (little, basic) SqlLite DataBase (or of any other type) into the (old) ESP32. I don't want to use an SD card for that (for which I already know it is ...
0
votes
1answer
48 views

ESP32 USB HID/MIDI library (not the BLE one)

I couldn't find any library to use an "old" ESP32 (not the new ESP32-S2) as an HID connected physicaly to the Usb port (not over BLE pairing) to send keystrokes to the PC ... Is there any solution? ...
1
vote
0answers
33 views

Mosquitto doesn't work after reboot [closed]

When i restart my raspberry pi 4 and check for mosquitto status it brings to me active: failed it seems to be it works for just the first time when i setup it all i need is to communicate esp32 with ...
1
vote
1answer
30 views

3v3 ESP one way communication with 5 V Arduino?

Perhaps I'm not fully understanding a difference between logic level and the function of the TX and RX pins? I'm just wondering if an ESP can send, one-way, data to an Arduino. (I found that two-way ...
1
vote
0answers
42 views

Getting Trouble in multiple ST7789 SPI LCDs (without CS) with ESP32

I am developing a product in which i have to use 5 LCDs. The LCD i am using does not contain CS pin. SO i had to use MUX for muxing of complete SPI bus from one LCD to other. But the issue i am facing ...
0
votes
0answers
105 views

How to take a CHAR change it into a int increment and then back to a Char for a clock display

So I'm using the NTP on the arduino. I'm going to only ping the NTP once a day to truth up the clock. however the rest of the time I want just to use incrementing the minute and hour via ints. I'm ...
0
votes
0answers
36 views

Max. external ADC speed with ESP32 (SPI or I2C)?

What is the maximum speed for external ADC I can expect to get with ESP32? I'm planning to have 16-bit ADC connected to I2C or SPI whichever gives more speed. How that information is calculated from ...
0
votes
1answer
49 views

ESP32 light strips showing incorrect colours

I bought some individually addressable LED strips (a large reel). To keep the cost down they are WS2811 and it's one chip per 6 leds. I don't know the cheapness or LED styl makes any difference to the ...
0
votes
0answers
32 views

Extremely bad analog read on ESP32 while using 433MHz module

I'm currently trying to transmit data from one ESP32 to another with 433MHz modules. I also need to read some sensor readings from an Hall sensor. When the ESP32 that sends is not connected the values ...
0
votes
0answers
60 views

Initiating 2nd I2C bus on ESP32 with CCS811 sensor

I want to connect two CCS811 sensors with ESP32 dev board. Since the sensors have fixed address, I am unable to use them simultaneously. I have read that on ESP32 multiple I2C buses can be created. ...
1
vote
0answers
143 views

esp32 serial print garbage [SOLVED] [closed]

My esp32 program is working ok, well there's some bugs i'm trying to solve, so i connected my project to a standalone serial monitor, and i've tried a few (now i'm using coolTerm). They all works for ...
1
vote
1answer
42 views

Question about button circuit

I'm quite a beginner at electronics, but thought I would try venture into it. Currently I'm working on a project where I need to reuse a button module salvaged from some old hardware, but I can't ...
3
votes
1answer
84 views

I2C communication between Arduino Uno and Nodemcu32-s (ESP32)

I want to send data between an ESP-32 (NODEMCU-32S) and an Arduino Uno but I haven't found any source on how to do that, so I tried this code: ESP-32 code: #include <Wire.h> void setup() { ...
1
vote
0answers
123 views

Use of HC05 and ESP32 [closed]

My project is to receive data from Bluetooth (HC-05) sensor and storing it in the database. I have successfully received data from Bluetooth sensor and stored it in a String variable. Now i have to ...
1
vote
0answers
108 views

ESP32-IDF Simple BLE Server Example [closed]

I am trying to use esp32 iot development framework. It is bit complicated for me especially BLE examples. I am try to understand gatts_service_table example but it has huge code inside and too hard ...
2
votes
3answers
52 views

How can I have different routines fire off at different intervals

So i'm making an interface that will have a digital clock....once a secondd.. i'd like to do other things at different intervals but if I delay(1000) then I have to wait that second which is now the ...
2
votes
1answer
49 views

How to read an analog value on ESP32-CAM with the SD card reader enabled?

I use an ESP32-Cam module for a project for which I need both the SD card and the cam. According to this page, the only pins that are not in use by either the camera or the SD card reader are GPIO0, ...
2
votes
1answer
113 views

Changing address of MPU 9250 connected to ESP32

Can I change the I2C address of a device (MPU9250) connected to ESP 32 using int pin. I understand that in arduino board if we connect the int pin to A0 the default I2C address of MPU 9250 changes ...
0
votes
0answers
123 views

Can I extend esp32 bluetooth range with wifi antenna

My Arduino ESP32 D1 R32 only has a Bluetooth range of about 2-3m and the signal can't pass through any obstacles. Will fitting a wifi antenna to it like this extend my Bluetooth range and create a ...
1
vote
0answers
30 views

ESPTOOL not recognizing ESP32-S2 chip for SPIFFs transfer

I have a spiff file that uploads fine using a regular esp32, but when I try on the esp32-32, with a fresh installation, I get: esptool.py v3.0-dev Serial port COM3 Connecting.... A fatal error ...
2
votes
1answer
39 views

MQTT connection not being recognised in void loop()

I am trying to publish MPU 9250 readings in the Adafruit IO sending the data from ESP32. The WiFi connection is being established, but the code is not going inside the if(mqtt.connected()) inside the ...
0
votes
0answers
39 views

trouble finding peaks from pitch using IMU BNO080, 'array' was not declared in this scope not displayed

{ if (myIMU1.dataAvailable() == true) { float x1 = myIMU1.getGyroX(); float y1 = myIMU1.getGyroY(); float z1 = myIMU1.getGyroZ(); Serial.print(x1, 2); Serial.print(F(" &...
2
votes
1answer
63 views

Reading Multiple MPU 9250 Sensors using TCA9548A Multiplexer

I am trying to read multiple MPU 9250 sensors using TCA9548A multiplexer in ESP 32 and Arduino IDE. Has anyone done that successfully? I am new to the area of Arduino coding. I am trying to edit the ...

1
2 3 4 5
10