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
31 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
41 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
47 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
60 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
47 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
47 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
20 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
54 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
26 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
43 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
42 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
29 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
35 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
35 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
42 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
31 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
42 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
138 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
41 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
73 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
117 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
105 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
42 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
112 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
121 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
22 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
38 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
57 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
vote
0answers
21 views

How can I rewrite my Bluetooth Classic Arduino code into Bluetooth Low Energy Arduino code (and have everything working the same)

My original code for BT Classic My Work in Progress BLE Code I am trying to take all I did in BT Classic and have it working exacly the same in BLE but the Rssi keeps returning 0's in the BLE code and ...
2
votes
2answers
62 views

Best buffering practice for continuous SD card writing

In a simplified example, I have a microcontroller functioning as a data acquisition device - sensor data is received over UART, and then saved to an SD card. This received data is in the form of a 12 ...
1
vote
1answer
69 views

How to program Arduino manually via STK500?

I am trying to program an Arduino Nano (with an ATmega328P) from an ESP32 that is attached to its UART and the reset pin. I have to do this via the ESP, because the Arduino is supposed to run on its ...
1
vote
1answer
68 views

ESP32 with Lolin 2.4 inch TFT Shield Power control

I am running out of intelligence trying to control a Lolin 2.4 Inch TFT shield. I connected the shield via the official TFT connector to a Lolin D32 Pro. I am using the ILI9341 libary from Adafruit. ...
2
votes
2answers
53 views

Connect 5V relay to ESP32 WROVER B board

I need to use a ESP32 WROVER B based MCU board with a standard (cheap) one-channel 5V relay (e.g. to switch on a mains-power appliance). Attempted removal of excess solder around the headers ...
1
vote
0answers
36 views

Error downloading package_esp32

I've been trying to install esp32 on Arduino IDE for days now but I keep getting 'error downloading package' message. I checked the over and over again, it's correct. I even tried installing it ...
0
votes
2answers
145 views

What is the advantage of a 3MP OV3660 sensor on the ESP32 M5Stack camera if it can only save upto 2MP images?

I am making a self-contained stills camera and the ESP32-based modules seem well-suited to my project due to the easy incorporation of a TFT viewfinder screen and TF card slot in one package. I am not ...
0
votes
0answers
35 views

Error uploading to esp 32 board

I had a problem when installing the esp32 core. I couldn't do it through the board manager procedure because I can't find esp32 for installation in the board manager even though I put the link ...
0
votes
0answers
29 views

ESP32 Ticker Vs ESP8266 Ticker inside a class

I'm trying to create a class including Ticker library when using ESP32. A question asked here, concluded the situation. BUT after answered, I could not understand or even implement the answer. Please ...
0
votes
1answer
37 views

How to override automatic control in Blynk app?

I am a beginner to Blynk, and have successfully built a simple water temperature control project. It consists of ESP32, a plug-in water heater, and an AC relay board. The ESP32 controls the relay ...
0
votes
1answer
59 views

How to assign ESP8266 access point a hostname that can be resolved by the stations?

I want to assign a hostname to a ESP8266 access point, so that the clients can reach a webserver on this access point without caring about the IP address of the AP. How can that be done? I tried using ...
0
votes
1answer
52 views

Detect if MCU is ESP8266 or ESP32

I'm coding a library which handles sleep procedures. Since I'm using both ESP826 and ESP32, which uses different sleep commands ( and WiFi ), I'm looking for a way to detect the MCU, while NOT using a ...
2
votes
1answer
60 views

ESP32 AsyncWebServer SPIFFS problem loading page

I can load spiff docs, but I get a 404. Wireless works, IP addressing works and I can load other examples successfully. This simple image load ino is giving me fits! #include <WiFi.h> #include ...
1
vote
1answer
52 views

trying to connect to WiFi on ESP32 using credentials from SD card

Am trying to connect to Wi-Fi on an ESP32 using credentials i stored on an sd card, am able to read and parse the credential and printing it to the serial monitor shows that the ssid and password is ...
0
votes
2answers
53 views

ESP32 feedback from NTP

The basic example for ESP32 NTP is very rough: void setup() { Serial.begin(115200); //connect to WiFi Serial.printf("Connecting to %s ", ssid); WiFi.begin(ssid, password); while ...

1
2 3 4 5
10