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
0answers
33 views

ESP32-CAM, Failed to connect to ESP32

I am trying my ESP32-CAM for project but I am having problems with uploading script/code to the ESP. I am using CP2102 to connect ESP and my laptop. I tried connecting it to 3.3V and even 5V but none ...
1
vote
0answers
62 views

Store and processing about 30000 values read in 30 seconds

I am reading an accelerometer using an esp32. interval = 30000; (30 sec) offsetx, offsety and offsetz are values calculated on another function which I am using to calibrate it. If I do like this I ...
1
vote
0answers
26 views

My PN532 doesn't detect RFID card when connected with ESP32 in I2C mode while it works perectly with Arduino Uno

I have a Elechouse PN532 module (bought here - https://robu.in/product/pn532-nfc-rfid-read-write-module-v3-kit/). When I try to use to it with I2C and connect it to my ESP32 (DOIT ESP32 DEV KIT V1, 30 ...
1
vote
1answer
21 views

ESP32 programing error (A fatal error occurred: Timed out waiting for packet content )

I am trying to find the proper model of my esp32 MCU and find out the reason for below errors: esptool.py v3.1-dev Serial port /dev/ttyUSB0 Connecting........__ Chip is ESP32-D0WDQ6 (revision 1) ...
1
vote
0answers
47 views

DS3231 RTC not working with ESP32

I am using ESP-32-WROOM-32 with a RTC DS3231 module. I have connected SDA & SCL pins of RTC DS3231 with ESP32 D22 and D23 pins. Also, the VCC of RTC is connected to 3V3 of ESP32 and the GND of RTC ...
2
votes
0answers
38 views

Arduino compatible ESP32 and ESP8266 board power consumption at sleep state

I have data on smaller modules with ESP32 and ESP8266, but can't find anything reliable pertaining to the whole board power consumption (current) with 12V input and microcontroller at low power or ...
1
vote
0answers
72 views

How to understand the ESP32 is working (Error: Arduino unknown board ...) [closed]

I have one esp32 NodeMCU CH340, which was working before but now when I connect to my Ubuntu OS, it doesn't show any LED light at first and its USB OTG pins had been loosened, as you can see below: ...
1
vote
1answer
50 views

Compiler error: final link failed: bad value collect2.exe

I work With VS Code v:1.59.1. With extension vscode-arduino v:0.4.4 befor update of vscode. in version 1.58. all was ok. I can build and upload code for all mucrocontrollers. but after the update, I ...
2
votes
0answers
38 views

Extract Static Acceleration from MPU6050 using Formula

I am trying to implement a research paper for my project and there is a formula which I am failing to interpret: According to the research paper, we extract the static acceleration component for each ...
-1
votes
1answer
46 views

Assign static IP and set host name

Im trying to assign a static IP to my ESP32 and also set the host name. I am able to get one or the other to work, but not get them to work together. Tried moving around WiFi.hostname & WiFi....
1
vote
2answers
109 views

How Much mA dropped in ESP8266-01 Work in LiPo Battery if the WIFI function is continuously on

I working on the system where ESP8266-01 should continuously on because I want to get the Wi-Fi function on. In that case ,I can't use the Sleep mode which is given in the Esp8266-01 . So, My Question ...
1
vote
0answers
26 views

ESP32 cam module SPI and NRF

I'm trying to use nrf2401 as transmitter on ESP32-cam module. I'm programming with Arduino IDE, but I'm not sure how to set the pins. I know that the board has 2 SPI interfaces. The first one is for ...
2
votes
1answer
70 views

ArduinoJson library parsing error

I am trying to retrieve JSON mqtt message I received in ESP32. void mqttMsgCallback(char* topic, byte* payload, unsigned int length) { payload[length] = '\0'; String _message = String((char*)...
1
vote
1answer
27 views

WiFi.h library, Issues with client.print()

I have an esp32 development board that I am trying to use to get Bitcoin price data using the Coinbase api. On the Coinbase developers website, they give this example Curl command to get Bitcoin price ...
0
votes
1answer
57 views

How do I check if my board is connected to the internet?

Let me get this straight, I'm trying to see my ESP32 is connected to the internet or not, not Wi-Fi, as at times the board is able to connect to Wi-Fi, but not able to contact any servers, due to ...
1
vote
2answers
60 views

Writing to a specific I2C register

I am trying to write to a specific register, but value doesn't change. Working with SenseAir Sunrise CO2: Info from i2c guideline from sensor manufacter https://rmtplusstoragesenseair.blob.core....
-1
votes
0answers
28 views

ESP32 S_VP and S_VN

hi my own ESP32S2 Saola and i would like to connect a simple voltage devider to measure the battery voltage. When I watched the YouTube video it was demonstrated on ESP32 and it was said that the ...
1
vote
1answer
72 views

ESP32 OTA update over MQTT using "update.h"

I am trying to do OTA over MQTT using update.h library. I am publishing firmware file over MQTT in a specified chunk size. The file is receiving at ESP32 end. I am supplying the received data to ...
2
votes
1answer
58 views

ESP32 powered for atleast a year

How to power esp32 board this one with soil humidity sensor that sends data to server via wifi every 30 minutes for something around a year on battery? What battery type and capacity should I use for ...
2
votes
2answers
222 views

How to switch 12V with esp32?

Hello i want to switch electric door lock (12V, 170mA) with esp32(3.3V). If is it possible I want use tranzistor. I tried to use IRF520, but it only worked with 5V. My sugestion is use 2 tranzistors ...
1
vote
1answer
49 views

Run esp32 without freeRTOS in order to execute something faster

I am currently running Arduino with this configuration (using atmega328p chip): Basically, my program wakes up every 2 seconds for 10ms each time. If during those 10ms it finds and event of interest ...
1
vote
0answers
16 views

ESP32 SerialBluetooth disconnects within a second after connecting but not BLEDevice/BLEServer

Code using BluetoothSerial api disconnects immediately after establishing connection with my laptop running Ubuntu 18.04. If instead of BluetoothSerial BLEDevice api is used, the connection stays ...
0
votes
0answers
32 views

What can be the maximum legth of data wires of relay which is connect to node mcu? [closed]

I am working on home automation and now I am installing it. I am giving my relay 5v supply separately but my node mcu and relay board are 20m far so my concern is will there be any problem if the data ...
1
vote
1answer
40 views

How do I connect my ESP32 cam to my old modem without using Wi-Fi?

I have an Arduino ESP32 cam that I want to use as a bird cam. I want to use my old Orcon wireless modem to connect with this cam. I will connect with cable from my computer to this modem. As my ...
0
votes
1answer
45 views

esp32 APSTA Multicast defaults to STA not AP [closed]

esp 32 as access point and station. I receive multcast data fine but it defaults writeing to station and I want to write to Access point. How do i change the default.
2
votes
1answer
44 views

NodeMCU ESP32 as a replacement for my arduino project

I would just like to ask if this microcontroller can power or can manage 2 servos, 2 motors, and 2 hc-sr04 ultrasonic distance sensor combined? Also, does this board come with a bluetooth module?
0
votes
0answers
64 views

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

Edit 2: Turning off stealtchop mode by setting driver.en_pwm_mode(1) to 0 fixes the problem but makes the motor noisy. Is there any way to enable it and have the speed still working ok? Edit: Here is ...
2
votes
1answer
92 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.
2
votes
0answers
57 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 ...
2
votes
1answer
83 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 ...
0
votes
1answer
33 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 ...
1
vote
1answer
63 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
29 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
45 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
162 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
76 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
86 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
35 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
69 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
66 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 ...
3
votes
1answer
70 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
1
vote
1answer
52 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 ...
2
votes
1answer
28 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 ...
2
votes
0answers
50 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
44 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
136 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
94 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
106 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
82 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
2 3 4 5
12