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
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 ...
1
vote
0answers
26 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 ...
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
56 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
85 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
151 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 ...
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 ...
1
vote
1answer
66 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
46 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
vote
0answers
46 views

How to get sound from analog pin of arduino play it through other pin using speaker [closed]

I am working on a small project on sound detection of lungs. I want to get the sound using a sound sensor and play it on a speaker in real-time using Arduino. Please suggest to me a good sound sensor ...
2
votes
1answer
35 views

ESP send string to Arduino

I'm trying to send a string from an ESP32 to an Arduino. I'm using a level shifter, where the Uno is now the Mega (since I couldn't get the Uno to work). RX0 is now RX1, connected to UART2 of ESP32. /...
1
vote
1answer
63 views

Is there a 3.3V and 12V 18650 circuit?

Is there an all in one circuit which regulates charging, protects and steps up/down an 18650 battery to 12V and 3.3V at the same time, so I can power a sensor and my ESP32?
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
1answer
53 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
32 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
94 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
78 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
28 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
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
0answers
22 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
1answer
66 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
95 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
104 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
82 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
76 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
1answer
63 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
27 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
88 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
224 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
385 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
101 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
75 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
30 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
88 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
57 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
76 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
68 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 <...
0
votes
1answer
221 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 ...
0
votes
0answers
70 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 ...
1
vote
2answers
72 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
238 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
36 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
32 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
118 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
111 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
75 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
98 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
38 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
185 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
271 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
2
3 4 5
11