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
11 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.048amps, when I ...
0
votes
1answer
33 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,...
1
vote
1answer
38 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
47 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
0answers
29 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
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
22 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
46 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
36 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
32 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 ...
0
votes
0answers
19 views

Voltage issue on an esp32 wvroom 32D development board

I have an esp32 wroom 32 dev board. I'm running into power issues and I'm not sure what's going on. When I try to upload sketches the uploads fail if I have any jumpers running to the 5v or 3.3v ...
0
votes
1answer
32 views

Error passing a `time_t` and `struct tm`, ESP32

I need to create a converter from epoch time stored in a time_t variable, to a struct tm variable, in order to check / create a certain task every hour or a day. This function should get also a past ...
0
votes
2answers
36 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
2answers
68 views

ESP32 runtime error in 2d array

I am trying to serial print the value of b[0][0]. Has to be zero but it dose not work! Here is the code void setup() { Serial.begin(115200); byte b[321][241]; Serial.println(b[0][0]); } void ...
0
votes
1answer
37 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
57 views

Error in defining Ticker in ESP32 library

I'm using the exact piece of code in my ESP8266 library (which works OK ), but when used in a ESP32 library- I got an error: This is the relevant code snip: void myIOT32::_feedTheDog() { ...
0
votes
1answer
18 views

ESP32 proper DS18B20 wiring

I want to connect a DS18B20 to my newly bought Heltec ESP32 LoRa (V2). For initial testing I have used some standard code: #include "heltec.h" #include <OneWire.h> #include <...
0
votes
1answer
26 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
20 views

ESP32 Cannot assign value to string. Getting wrong value

Hello I have problems with strings in my sketch. I assingn values to my string (for example tempStrReturn) in the functions setNr1, setNr2. If i pass the value 1 to the function i get "" or "...
3
votes
1answer
52 views

Why do ESP boards break out the SPI flash pins?

I have an ESP32 development board and a NodeMCU board here. Both breaking out the pins for the SPI flash of the ESP. These pins are mentioned in standard pinout descriptions as must/should not connect....
0
votes
1answer
55 views

Esp32 external interrupts sometime is missing

In short. ESP32, two water meters (hot and cold). Booth, hot and cold, some interrupts are missed. When i connect ESP32 to serial monitor and watch then all interrupts are detected (about 5-10 minutes)...
0
votes
0answers
36 views

Periodic noise on ESP32 ADC

I've got an Adafruit HUZZAH32 ESP32 feather board connected to my PC via USB and I'm trying to read from a voltage divider at ADC1 channel 0, powered by the 3V pin. For troubleshooting, I'm using two ...
0
votes
0answers
22 views

Impossibility to open a file for modification in ESP32

Consider the following code: #include "SD.h" #include "Fs.h" void setup() { Serial.begin(115200); while (!Serial) { ; // wait for serial port to connect. Needed for native USB port only } ...
0
votes
0answers
33 views

Can you program an ESP32 with an Arduino?

I've done it with an ESP-8266 but can't find any articles on how to do it with an ESP-32. I'm working with an ESP-32 on my own PCB, not a dev board. I exposed: 3V3 GND EN TX RX IO0 I'm pretty sure I ...
0
votes
2answers
46 views

How to modify values inside a file

I am writing a wav file to an SD card on a ESP32 and that requires that every time I append data to the the end of the file I modify the header to set the right size in some fields. I cannot find how ...
0
votes
2answers
26 views

Does toCharArray prevent a String being created on the heap?

I know it's bad to use Strings due to the memory problems that can occur. I've tried to remove all instances of strings from my code. But I'm not sure about this line: http.getString().toCharArray(...
0
votes
0answers
21 views

conver UUID to string for mqtt publish

I am trying to publish jason to mqtt. Following is just a snippet of a code.When i try to add data["uuid"] to json data doesn't get published to MQTT, if I omit data["uuid"] everything works. UUID is ...
0
votes
0answers
24 views

Is there a way to both read and write on the rising edge of the SPI Clock?

Im trying to use sipo and piso shift registers simultaneously with ESP32 using SPI. However the sipo(SN74AHC) reads data on the rising edge of clock and the piso(SN74HC165) outputs data on the rising ...
0
votes
1answer
32 views

5 arrays or one matrix?

I am working on a project where i need to store as fast I can following : 1 - Acceleration on X 2 - Acceleration on Y 3 - Acceleration on Z 4 - timestamp 5 - A value from some other sensor ...
0
votes
0answers
31 views

eps32 bad adc even with external adc (ADS1115)

Im trying to read an analog value with my esp32 and send it over wifi to another esp32. The wifi part works flawless, however when i try to read an analog value form the esp32 its not useable. It ...
0
votes
0answers
32 views

Edit JSON File on SD Card

I am currently Working on a project, where I save values in a JSON File on an SD Card. The JSON looks something like this: { "ID1":{[[starttime, endtime], [starttime, endtime], [....
0
votes
0answers
33 views

ESP32 Low Power Reconnect Latency Question

I am trying to develop a small 9-button BLE keyboard on the ESP32 with a rotary encoder as a volume knob. My question involves the low power modes and the time it takes for them to wake up. My ...
0
votes
1answer
30 views

Web page using bluetooth?

I have a project where I read 2 sensors using an esp32 and also have an web server. I can connect using mobile phone and display the page where I see info about the sensors (using web sockets to ...
0
votes
1answer
33 views

how to get esp32 ip address ,which is being connected to local network

I need to know the IP address of ESP32 on the local network(without printing ip on serial monitor ). The idea is to do mDNS or UDP broadcast to send the IP to the android application. The app will ...
0
votes
0answers
20 views

how to get live view of esp32cam at remote sever using ssh tunneling?

I have found many projects involving esp32cam, but in all projects video is being seen on local server only.For its of no use.As for a home security project user can view the video at remote location ...
0
votes
2answers
247 views

Why doesn't OTA work with the Ai-Thinker ESP32-CAM board?

I have working code on an Ai-Thinker ESP32-CAM board, programming over serial. I would like to reprogram using OTA, but adding in the functionality from the BasicOTA sketch (which I have done on ...
0
votes
0answers
16 views

Esp32 NOW having truble exchanging data

So im trying to program a remote which is capable communicationg 2 ways. 1. Im trying to send the Gas data to the reciver (esp32 to esp32) and send data back from Volt and Ampere. I already did that ...
0
votes
0answers
38 views

Which Protocol to use to control WiFi (esp 32) enabled Led Light

I am developing a Wifi based Led light (for learning purpose). I have little knowledge about web server, clients, Web protocols. I will be using ESP32 as Controller cum WiFi module. There are two ...
0
votes
1answer
149 views

HTTP POST from Arduino/ESP8266/ESP32 How to send parameters (x-www-form-urlencoded)

EDIT: Thank you for the answer, also we had figured out how to do it Micropython too - I believe that it is relevant for the Arduino/ESP8266/ESP32 community to share this too. https://github.com/...
0
votes
1answer
74 views

ESP32 on Arduino IDE: Identify the board type in code (preprocessor macro)

I have read the answers on this post, but they do not seem to be providing a solution for ESP32 boards. Is there a way to get the .name that is used from the boards.txt without modifying the platform....
0
votes
1answer
49 views

Sending Variable to IFTTT via ESP32 using Asynchronous Web Server

I have been trying to send three variables to IFTTT from my ESP32 using Asynchronous Web Server. However, I couldn't set the "URL" that was supposed to be the response that will trigger my IFTTT. Here'...
0
votes
1answer
151 views

SCLK pulses not seen when using SPI on ESP32

I am using the following code in my esp32 using arduino IDE for spi communication which is an example code - #include <SPI.h> static const int spiClk = 1000000; // 1 MHz //uninitalised ...
0
votes
0answers
33 views

Adrduino IDE doesn't show port for connected ESP32 module

When I go to select port there's no port for the connected ESP32 module. I am using Mac OS Mojave, mac mini. The port I find is
0
votes
1answer
148 views

AsyncWebServer giving wdt reset

I am using 3 Esp32 modules. One being master and other two being nodes. Nodes are connecting to the master's AP. Master is connected with GSM module to execute the web api. Master esp is having a ...
0
votes
1answer
217 views

Checking size in flash memory Esp32

I recently purchased an Esp32 and am doing some tests using Arduino IDE. In one of the tests, I am recording a lot of .txt files with some text inside them in the flash memory, however, I would like ...
0
votes
1answer
61 views

Serial read SSID and PASSWORD WiFI connection failed in ESP32

Trying to get Wifi SSID and password dynamically from serial monitor and connecting to WiFi, tried the below program, but wifi is always in Connecting state only, it is not getting connected after ...
0
votes
1answer
20 views

Connecting a FireBeetle ESP32 to Arduino

I have a very basic question, because I struggle to upload files to my FireBeetle ESP32 Board. When I try to upload to the board I get an A fatal error occurred: Failed to connect to ESP32: Timed ...
0
votes
0answers
29 views

FTDI Unrecognized USB device

I connected my FTDI (FT232RL) to my PC, windows 8.1. And it gave me a notification saying "USB device not recognized". However, I thought that the problem is from the cable that I am using to connect ...
0
votes
2answers
74 views

Can we use ESP32 to program ESP32-CAM through ESP-IDF

Can we just use an ESP32 NodeMCU for example to program an ESP32-CAM? I saw a lot of people programming ESP32-CAM using an arduino Uno, can we do the same for ESP32 NodeMCU? Of course, in the "Arduino ...
0
votes
1answer
42 views

Soil moisture sensor, weird readings

I'm having a small problem with my soil moisture sensor it gives me weird readings, in the second the smallest connection is made between the legs it just gives me 4096 (which is max possible value),...

1
2 3 4 5
7