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
15 views

ESP32 with TMC2130 and Nema23 on 24V slower than expected, how do I correct the settings/code to speed it up?

My stepper motor has a lot of torque but is moving quite slow. If I increase the maximum speed in the code it accelerates but gets to a point where it just stops moving and hums loudly. I have an ...
1
vote
1answer
73 views

How to reset ESP32 after a certain duration?

I would like to reset my ESP32 from the software, how do I do it and how to make it do this at regular intervals.
1
vote
0answers
37 views

CT Sensors with Arduino and ESP32

there. I am following this tutorial to build an energy monitor system. The link is https://learn.openenergymonitor.org/electricity-monitoring/ct-sensors/interface-with-arduino Everything works fine ...
0
votes
0answers
9 views

Mosfet REALLY slow closing speed [migrated]

I'm making a 400v adjustable buck converter, controlling it I'm using an ESP32, for some reason if I set the PWM frequency to higher than just 200Hz and a bit rate of 4, the MOSFET doesn't close in ...
1
vote
1answer
49 views

ESP32 and SQLite - ALTER TABLE problem

I'm using an ESP32 and SQLite3 from https://github.com/siara-cc/esp32_arduino_sqlite3_lib Everything is OK except the ALTER TABLE command. When I try ALTER TABLE TAB_JOUEUR RENAME TO ...
1
vote
0answers
46 views

when programs starts running the buzzer continusly ringing any one help me plz

#include <LiquidCrystal.h> LiquidCrystal lcd(7,6,5,4,3,2); // lcd(RS,E,D4,D5,D6,D7) int buzzer = 1; int sen1 = 10; int sen2 = 11; unsigned long t1; unsigned long t2; float t; float speed; int ...
0
votes
0answers
35 views

MIDI in/out via ESP32

I'm trying to do MIDI in and out on an ESP32 (Wemos mini esp32, with the Arduino SDK). This fails: I'm not receiving any data and also transmitted data is not accepted by any MIDI device (it won't ...
0
votes
1answer
30 views

ESP 32 unable to connect to https website and return the data using GET

I have created a ThingHTTP below: https://api.thingspeak.com/apps/thinghttp/send_request?api_key=BVLJ7A6KNK9VVAYK In my browser I could see the reply. But I am unable to make this work in my ESP32. I ...
0
votes
1answer
50 views

30v DC to 3.3V DC for Powering an ESP32

I'm trying to figure out the best way to convert 30v into 3.3v to power an ESP32, I have an outdoor light chain that runs on a 30v power supply, what would be the best way to step the voltage down ...
1
vote
1answer
38 views

How does the FireBeetle ESP32 regulate to 3.3v? (schematic provided) [closed]

The FireBeetle ESP32 advertises an input voltage of 3.3v-5v, with an operating voltage of 3.3v. I tested this with an 18650 lithium-ion battery and can confirm this is true. For 3.3V < Vbat < 4....
1
vote
0answers
21 views

Set Value for a characteristic fails using BLE ESP32

I'm working on a project that uses a Raspberry pi to trigger a microcontroller to read data from an accelerometer for some amount time then have that data available for the RPi to read it over BLE. I ...
0
votes
1answer
38 views

ESP32 WROOM32 SPI EMF issues

I'm trying to run Waveshare SSD1327 128x128 screen via SPI on ESP32 WROOM32 board. On ESP8266 (D1R1?) it works flawlessly while using HW SPI but when I run it on esp32, anything connected to mains ...
1
vote
2answers
55 views

Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1)

Heres my code: #include <WiFi.h> #include <HTTPClient.h> #include <ArduinoJson.h> const char* ssid = "wifiSSID"; const char* password = "wifiPassword"; int ...
1
vote
0answers
50 views

ESP32 + Attiny85 AC Dimmer

I am working on an AC Dimmer project using ESP32 and Attiny85. Note : I know ATtiny85 is overkill for this project, And it can be done without Attiny85, I have already done this using ESP32 alone. ...
1
vote
2answers
38 views

Error compiling ESP32 Wrover Module in Linux Virtual Machine

SO i have been getting this error window when i compile a simple code to run different LED lights on the ESP32-S2-SOLA (Wrovere) module Code: int LED_BUILTIN = 2; void setup() { pinMode (...
1
vote
0answers
26 views

How to get the value of a measurement transmitted by a BLE device?

I would like to use a BLE temperature sensor (such as the Inkbird IBS-TH1 Mini BLE Sensor), however, I want to be able to display the temperature measurements in my own website. To do this I am ...
0
votes
1answer
56 views

Safe to power LED strip via ESP32 GPIO

I want to rewire a battery powered LED strip (as shown in the picture below) to power via an ESP32's GPIO pin. I have a ESP32 NodeMCU Development Board, powered via USB. The LED strip has specified 3,...
0
votes
1answer
41 views

Analog read not working while using WiFi

I have an ESP32, the current program running on it uses WiFi but, if I use WiFi and Analog read at the same time, Analog read does not work. Why does this happen and what's the way around it? Hardware ...
1
vote
0answers
15 views

How to correctly measure the duty from an interrupt that is used for counting

Trying to get the duty cycle % from an input (pin27) on my ESP32 that is currently used for analog input to read out the voltage provided by a GM driver. Anybody has an idea on how could I achieve ...
2
votes
1answer
48 views

ESP32 send data while blinking LED

Can I program my ESP32 to send a string MQTT data while also blinking the InBuilt LED? If yes, then how to do so Thanks in advance
0
votes
1answer
27 views

How to set 16x2 LCD I2C display backlight?

I have 16x2 LCD display with a I2C backpack. This is the library I am using https://drive.google.com/drive/folders/16_UqfwFm4VKWcdeJfDmHRV2Hj_IoaTai?usp=sharing So as given in the code below, by ...
1
vote
1answer
19 views

How can the SAMD21 chip knows when the on-board NINA W102 restarts

I am building a project that requires the SAMD21 microcontroller to send a resetToFactory signal to the NINA W102 on Arduino Nano 33 IoT. My plan is that, once the W102 receives the signal will do NVS ...
1
vote
0answers
49 views

Maximum distance for sensor

I'm creating a project with some ESP32's running off PoE and I need to add some temperature/humidity sensors up to 5m away from the ESP chip I assume there is a maximum cable distance? What is the ...
1
vote
0answers
22 views

ESP32 sending data of type uint16_t(or anything except for uint8_t and char*) over bluetooth(classic) serial

I'm making a custom gamepad with an ESP32 and the joystick output is read by an ADC using uint16_t analogRead(uint8_t pin);. Now that I want to send the data and receive and parse it, I ran into a ...
1
vote
0answers
65 views

ESP32 doesn't connect to Arduino. | could not open port 'COM2': WindowsError(5, 'Access is denied.')

ERROR: serial.serialutil.SerialException: could not open port 'COM2': WindowsError(5, 'Access is denied.') I've tried literally everything. Drives checks out! | Silicon Labs CP210x USB to UART ...
1
vote
1answer
77 views

Encrypting the code using AES . ESP32

I am trying to figure it out. Why are my encryption and decryption not correct? The used library for AES: https://github.com/DanielVukelich/Arduino-AES This is for testing encrypt and decrypt. //https:...
0
votes
1answer
42 views

Get time as 24 hour format from RTC

I have a DS3231 RTC module. I would like to get the time from the RTC as 24 hour format not 12 hour. The library that I'm using requires that I pass in 2 Boolean values into Clock.getHour(), however ...
1
vote
0answers
28 views

ESP32 Partition size and maximum program size

From an ESP32 example code, I extracted the following part, that just prints the flash partition list to the console. #include <string.h> #include <assert.h> #include "esp_partition.h&...
1
vote
1answer
39 views

Pulsing 3v into a capacitor to create custom Voltages

I was wondering if it is possible to create diffrent voltages by just pulsing power into a capacitor, Im using an esp32 which can only output 3v or nothing on its GPIO pins, and i need to make it ...
1
vote
0answers
26 views

ESP32 Espressif ESP32_DevKitC_V4 in platformio: flash issues

I am using the Espressif ESP32_DevKitC_V4 with platformio, and i cannot flash the board. I read about the various "button dance" procedures, and the ES32-WROVER and the ESP32-WROVER-B seem ...
2
votes
1answer
91 views

Error trying to simulate temperature dynamically

I'm trying to simulate dynamic temperature using a small set of data with ESP32. I've just realized that the relay doesn't change the status if there is some variation of the temperature upper or ...
1
vote
0answers
26 views

Error Performing HTTP GET request on google sheets (Apps Script) using TTGO T-CALL

I've tried using several libraries such as TinyGSM, SoftwareSerial, AT commands but I'm guessing the problem to be with my GET request url is https://script.google.com/macros/s/GAS_ID/exec?tag=1234&...
1
vote
0answers
81 views

esp32-cam mjpg stream to be recorded in an NVR

I recently purchased an ESP32-CAM. This board is a "AI Thinker Model". I loaded the code as described here: randomnerdtutorials I have set it up with static ip and everything works well, ...
1
vote
0answers
39 views

Why would a serial device not be sending the correct start code?

I am unable to get any reading from a PMS5003 connected to an ESP32. In trying to debug this problem, I have a very minimal setup. Only the PMS5003 is connected to the ESP32, and using the following ...
1
vote
1answer
54 views

HTTPS GET request working on esp32 but not on esp8266

I'm trying to port my esp32 program to esp8266, and i've come across a problem where i can't get a response from a HTTPS GET request on esp8266, but on my esp32 the same code works fine. The function ...
2
votes
1answer
235 views

Can't enable face detection on esp32 cam : CORRUPT HEAP: Bad head at 0x3ffe2eb4. Expected 0xabba1234 got 0x00000008 abort()

I was trying to make esp32 face recognition using the esp32 camera web server example in arduino , and everything works fine untill i press on face detection the frame is frozen , module restarted and ...
3
votes
2answers
106 views

Code for ESP32 without Development Board

I'm very new to microcontrollers. I'd like to start developing for the esp32, as it has integrated wifi & bluetooth for quite cheap. This being said, i don't have a board yet. Is there a way i can ...
1
vote
0answers
35 views

ESP32 can't enter interrupt anymore after interrupt appears during delayMicrosecond function

I have a strange problem with my ESP32 project. I use an ADPS-9960 for gesture control which triggers an external interrupt. In the interrupt handler itself I only set a variable that causes the ...
1
vote
0answers
50 views

ESP32-DEV is connected to Wifi but not working properly

Hardware: Board ESP32 Dev Module Version/Date today's master IDE name Arduino IDE Flash Frequency 80Mhz PSRAM enabled no Upload Speed 115200 Computer OS Windows 10 Description: I am doing a project ...
1
vote
0answers
20 views

Connect 8pin SPI Screen to esp32 dev board with low profile

I'm trying to integrate a 2.9in Waveshare epaper screen into a case with an esp32 dev board. The screen is driven by an 8 pin SPI interface. I'm hoping to get them as close to back to back as possible ...
1
vote
0answers
25 views

Problem with ESP32 bluetooth

I am trying to connect ESP32 via bluetooth classic to my PC to transfer some data from a sensor. As a first step, I am simply trying to send some random data over bluetooth serial. The code is at ...
1
vote
0answers
48 views

Delay function not working with ESP32

For whatever reason the delay function is not working (it is not delaying at all) with my ESP32 development board. Has anyone come across a similar issue before? It's not working with other sketches, ...
0
votes
3answers
62 views

Inaccurate voltage readings on an esp32 as opposed to multimeter

I am working on detecting the amplitude of a signal coming from a guitar pickup. I am using an esp32 and an LM386 module for amplifying the signal. I get quite stable readings with a multimeter, but ...
0
votes
1answer
85 views

Multiple variable shared between threads?

I got 4 threads running on ESP32 (dual core): 1 thread running on 1st core which is related to the WiFi. 1 thread running on 2nd core which is related to the touchscreen. 1 thread running on 2nd core ...
1
vote
0answers
23 views

Adafruit soundboard with esp32

Board: ESP32 Development Board I am trying to get the adafruit soundboard code to work on my ESP32. I have installed espSoftwareSerial but I keep getting errors with their sample code. I receive ...
1
vote
0answers
45 views

Can I add my Wi-Fi credentials to ESP module remotely?

I am working on Home automation project and I am stuck somewhere on connecting my smart switch board to internet through my home WIFI. Actually I want to connect my ESP module with my home Wi-Fi ...
1
vote
1answer
36 views

Converting ESP32 SPI code to Arduino for MAX6921 IV-18 driver board

I purchased a IV-18 VFD tube driver module, which came with some example code for an ESP32 board. The driver module has a 20 output MAX6921 serial chip to drive the vacuum tube. I want to use this ...
1
vote
0answers
51 views

Multiple MQTT topics

I have 3 nodemcu's(ESP32) each connected with a sensor, from which I get data and send it to aws IoT-core. How can I send all 3 sensor's data by a single MQTT subscription? The below code is for a ...
0
votes
1answer
54 views

Decode rf remote signals with ESP32 or node MCU?

I'm trying to decide my rf remote signals using ESP32 or node MCU. I have tried with Arduino and was successful but for some reason it is not working on either ESP32 or node MCU even using the same ...
1
vote
1answer
46 views

StoreProhibited error while trying to read file to PROGMEM

I'm trying to read a file from micro SD on an ESP32-cam board and upload to an FTP server, but when I try to read data from the opened file to an unsigned char, it gives me the following error: Guru ...

1
2 3 4 5
12