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

Counting to 1000 In Both cores execution time problem in esp32?

I am trying to count to 1000 with single core and dual core with esp32 but the output(run time) dose not make sense, the time which takes a single core should be doubled compared to dual core in ...
0
votes
1answer
45 views

How to use I2S in ESP boards?

I have researched this a lot, but haven't found anything on which I can trust. I want to use a particular ESP board to play audio. To play audio, I2S support is required. But, I know that not every ...
0
votes
1answer
17 views

Which board to select in PlatformIO for ESP Wroom 32?

I'm quite new in this microcontroller topic and my next step is to make use of a wlan module, which is a ESP WROOM 32. As IDE I'm using Visual Studio + PlatformIO and I can't figure out how to access ...
0
votes
0answers
25 views

Temp Sensor not working on ESP32

I am using SHT21 temp sensor with ESP32 using I2C. The sensor only reports temp of -273 and 0 for RH. The sensor is not faulty as I have tried this on an Arduino UNO with the same sketch and it works ...
0
votes
2answers
206 views

Increasing ESP32 AP max connections

It has already been asked how many clients can connect to an ESP32 AP, but the answer is far from clear; the best one is from a year and half ago (ESP32 AP max connections: 4 or 10?) : The answer ...
0
votes
0answers
8 views

ESP-NOW and WIFI and OTA at the same time on Sender and Receiver

I am trying to set up two ESP32s so that they can be updated via OTA and at the same time send sensor readings using ESP-NOW, from Sender Board to Receiver Board. For this to work both boards must ...
0
votes
0answers
14 views

ESP32 UART FIFO memory size [closed]

From ESP32 Technical Reference Manual: 1024 × 8-bit RAM shared by three UART transmit-FIFOs and receive-FIFOs None UART has own physical memory, they are just sharing virtual memory blocks in RAM, ...
0
votes
0answers
25 views

ESP32-POE/ISO unstable after 10 days of power up

i have one ESP32-POE and ESP32-POE and i'm using the Olimex RS485 module to read a power meter that is placed near the ESP32 (5 meters of CAT5 cable - 9600 8N1). My device has this workflow (it's ...
0
votes
1answer
70 views

How to display CAN BUS information on EPS32 web server?

I try to display the transmitted information from CAN bus on ESP32 web server. I saved the CAN.read() in a buffer receivedChars[i] and try to display the data by client.println(receivedChars[i]);}. ...
1
vote
1answer
48 views

How to post image using Arduino HTTPClient

I am using arduino HTTPClient to do the post request in ESP32. Can anyone help me with the part where I will be able to post an image file along with some data. The below code works perfectly fine ...
0
votes
0answers
29 views

Reduce time between two consecutive SPI transfers on ESP32

I'm trying to drive an external DAC via SPI interface using ESP32 chip. But I cannot achieve the desired speed (>1M transfers/sec, each transfer consists of 16bits). The reason is not the SPI speed ...
-1
votes
1answer
25 views

Optical Quadrature encoder skipping steps correction in software [closed]

I am currently working a project where I use a rotary optical encoder to control the position of a dc motor (linear position along a fixed axis) . While testing the setup I found that I don't have ...
0
votes
0answers
15 views

How to download a large text file using Https on an esp32

Trying to create an esp32 access to a public apple calendar, but after connecting to the server and saving to SPIFFS it fails at the same point each time. I end up with a file around 220KB, when the ...
1
vote
1answer
34 views

Anyone have example code for ESP32 as media controller for Android/iPhone Media Apps

There's actually another post with this very same topic but no answers on that post. Back in January of 2020, the last commenter said he had sample code and then he went dark without posting the ...
0
votes
1answer
224 views

Function pointer call results in InstrFetchProhibited (ESP32)

I have the following issue which I'm unable to resolve by myself. Perhaps one of you could point me to issues in my code which I don't see. There is a class called communicator which handles an MQTT ...
0
votes
0answers
46 views

invalid conversion from 'char' to 'const char*' [-fpermissive]

Hi I'm new to coding arduino and I'm trying to check if a get request has the a paramater that is the string '1', but it gives me the error D:\hforr10\My Documents\Arduino\wifi_control_test\...
0
votes
1answer
321 views

Connect arduino nano and ESP32 with I2C on the GPIO7 and GPIO8?

I made a mistake connecting SD0 (GPIO7) and SD1 (GPIO8) with the SDA and SCL on my arduino nano. I got confused with GPIO21 and pin21 and GPIO22 and pin 22! Since I made a PCB prototype, I would ...
0
votes
1answer
22 views

I2C comunication, ESP->Nano on endTransmission no ACK fron nano

i am trying to communicate between ESP(master) and arduino nano(slave). This is only a prototype and all works fine. But i want to add multiple arduinos and therefor i need to detect if the arduino ...
0
votes
1answer
22 views

How to Set RTC in ES32 using NTP server?

I am working on ESP32 And want to set RTC from the NTP server. How can I get epoch value I have done this thing on CC3200 launchpad and used an NTP server library to obtain epoch value.
0
votes
1answer
27 views

Esp32: is OTA compatible with FREERTOS

Can I use OTA along with FreeRTOS tasks on ESP32. I ask this because in the following example OTA seems to be enabled if FreeRTOS is disabled. Can for example upload firmware that runs on both cores ...
0
votes
1answer
96 views

Why doesn't pin 19 work when powering the EzSBC Esp32 board from batteries?

I recently got an ESP32-01 Breakout and Development Board from EzSBC.com. It is advertised as a board specifically designed for use with batteries because of it's low current draw when in sleep. As ...
0
votes
0answers
26 views

I need an example of how to send AT COMMANDS to SIm7000E GPS+LTE module from ESP32 and reading those response in Serial monitor

Actually I need to make HTTPS post request using SIM7000 and ESP32 but the available libraries don't have a function for HTTPS post request, I wanna make this request using AT Commands. I need a ...
0
votes
0answers
24 views

How to convert 13 digit EPOCH time into time and date? [duplicate]

Here is my sketch, where the time is in the JSON document: #include <HTTPClient.h> #include <Time.h> #include <TimeLib.h> #include <Wire.h> #include <WiFi.h> #include <...
2
votes
1answer
590 views

WindowsError(31, 'A device attached to the system is not functioning.') in arduino

Having board esp32 devkit v1, to get started with arduino ide (installed recommended boards for esp32) I marked board asDOIT ESP32 DEVKIT V1 (as no other options as like ESP32 DEVKIT V1 ) so upload ...
0
votes
0answers
28 views

esp32 pico kit - actual clock speed vs crystal vs max_speed etc

I am trying to understand how the clock speed in the esp32 works. I am running arduino ide 1.8.12 with 1.04 board definition - on a pico kit 4 module . The device datasheet says it has a 40mhz crystal....
0
votes
0answers
35 views

esp32 board crashes

I try to connect sensors to esp32 board. when connecting a sensor, for example, DHT11, but it happens with others as well the board enter into a loop of boots with the following error 19:36:37.440 -&...
0
votes
0answers
37 views

library problem ? how to solve this?

Arduino: 1.8.11 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None" Multiple libraries ...
0
votes
2answers
46 views

Antenna for ESP32-pico-d4

I am currently playing a bit around with the esp32-pico-4d, it does not have an onboard antenna, so an external antenna is needed, tho I don't know a lot about it so a little help would be appreciated....
0
votes
0answers
12 views

ESP32 - use std::bind to use Ticker library inside a custom library

My goal is to use Ticker inside a custom library. When originally asked by me in Error in defining Ticker in ESP32 library, I did not manage to fully comprehend the use of helper function. Appreciate ...
0
votes
1answer
2k views

Wiring parallel TFT with ESP32

I have this Parallel LCD TFT. I want to connect it with an ESP32 (NodeMCU). I am using the TFT_eSPI library. In the TFT_eSPI documentation, it says that the connection should be as following: // The ...
0
votes
1answer
44 views

ESP32 - DeepSleep loop or not?

I'm trying to create a battery & solarpowered ESP32 for future use with sensors. It connects to Wifi, MQTT, publishes some readings and status messages and go back to sleep. From time to time (can ...
0
votes
1answer
265 views

SIM800L LED is not blinking

I am using a SIM800L Module with esp32. I am using a 3.7V 2800mAh lipo battery to power the sim800L but the LED is not blinking. I am lookng for answers in web but evryone seems to have a different ...
-2
votes
0answers
44 views

Error acquiring data on esp32 for geiger counter

I bought the same boards used in this video on Youtube (the componts are THIS geiger counter (that I am pretty sure its working, the tiks on the speacker are coerent) and THIS esp (I don't know if is ...
2
votes
4answers
3k views

Convert String to IPAddress

How can i convert a String to IPAddress on arduino / esp ? etc. "192.168.1.2" -> IPAddress(192, 168, 1, 2) Tried this void setup() { Serial.begin(115200); IPAddress apip; const char *...
0
votes
1answer
28 views

esp32 http client response only 200 didn't receive the data after that

i am using esp32 as a client and using following example. So here i am getting header response only that is 200. I am not getting any response after that. here is the example #include <WiFi.h> #...
0
votes
0answers
22 views

esp32-pico-4d not working

My power supply is feeding the esp32-pico with 5v tho it says that there is 0 amps power drain, already there I know something isn't working since the power drain should be around 0.080amps, (it can ...
1
vote
1answer
52 views

ESP32: How to run two independent PID controllers, one per core?

I want to control 2 independent processes with 2 PID controllers. Is it possible to run each controller on a separate core? I'm using this PID library. According to its documentation, the PID::Compute(...
0
votes
1answer
49 views

How do i fix the “A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header”

I have an AI Thinker ESP32-CAM and I've had issues uploading the CameraWebServer sketch, every time I hit upload it says "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for ...
0
votes
1answer
27 views

ESP32 using PubSub, creating an error when implemted inside a library

I wish to combine into a single library Wifi + MQTT, for a multi devices project. right after boot, getting Wifi - I get an error the moment MQTT server is trying to connect: mqttClient.connect(...
0
votes
1answer
51 views

ESP32 - `Brownout detector was triggered ` upon Wifi begin

I'm Using an ESP32 - NodeMCU. One of the MCU's is acting weird upon boot, while at start I thought it was something to do with its sleep cycle. But, it seems that even on a minimal code as shown below,...
2
votes
3answers
1k views

ESP32 CAM failed to get frame in time

So I think the title says it all. I recently purchased an ESP32 CAM in India for a pretty cheap price. It looks like an AI Thinker but doesn’t have the tag on the chip itself. Nonetheless, to get it ...
0
votes
1answer
59 views

3.3V to 5V PWM level shift

I need to shift a PWM signal from a ESP32 (3.3V) to receiver that supports 5V. The signal is at maximum of 400Hz. Can this shifter do the job ?
0
votes
1answer
33 views

Is it possible to send data from internet server to ESP8266 behind proxy or regular requests from ESP8266 are required?

It would be kind of push notification or something like that probably. I can first connect to server and send it any data for "registration"... I found many examples with websockets but all ...
0
votes
0answers
31 views

Is it possible to implement old AVR library onto arduino (specifically, NodeMCU esp8266)

I am a Computer Engineering Undergrad, currently in a cryptography(computer security) course, and I was assigned to do projects about implementing µNaCl library onto Arduino. I currently own a nodemcu ...
0
votes
1answer
517 views

ESP32 Alexa Integration; Cannot correctly control more than one device

I created a garage door opener recently that is controllable through Alexa, using this library: https://github.com/Aircoookie/Espalexa Everything is operating as expected, meaning I was able to ...
0
votes
0answers
32 views

esp32 e-paper driver not working

I am trying to setup waveshare 7.5 display (Waveshare_7_5) with esp32 e-paper driver using ESP32-e-Paper-Weather-Display My code is here https://pastebin.com/raw/2zQDe9a9, have corresponding ...
0
votes
1answer
82 views

LED and MOTOR “ON” when A BLE DEVICE APPROACH ESP32 MICROCONTROLLER DFR0575

I have this code that is working perfectly but I want my device to start vibrating too (right now only the led is working) On a Wemos Battery Module I have simply connected the vibration motor on the ...
0
votes
1answer
48 views

Arduino exercise that i have no idea how to do

The messages received by the Arduino take the form: $ Ba, Pb, Rc # Where $ represents the beginning of the message, # represents m, and B, P, and R are characters representing B button, P period and R ...
0
votes
0answers
37 views

ESP 8266/32 - How to avoid immediately turning Off the device with RST pin conencted?

I would like to ask how to avoid the turn of the ESP8266/32 in case the door switch will be in the state closed? I am solving the situation when the doors are opened, the device is booted from the ...
0
votes
1answer
34 views

Fail to convert time_T from past to tm struct

Continuing a Question asked few days ago, answered by Edgar, a new question has rised: My goal was using a past time_t value, and convert it into a struct tm variable in order to use it, part as a ...

1
2 3 4 5
8