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

ESP32 using APSTA mode and LR simultaneously

I'm currently playing around with the LR mode for the ESP32. This lowers the data rate and increases the range apparently. But according to the sketch I use: void init_wifi(wifi_mode_t mode) { ...
0
votes
0answers
25 views

esp32, brownout on 3.3v?

I'm using a powerbump, input: 3.7v-6v Outputs: 3.3v, to provide the power I'm using 2 CR2025 coin cell batteries(3v each), meaning the powerbump gets 6v, the esp gets the exact 3.27v(I've measured ...
0
votes
0answers
10 views

connection to ESP using pyVisa

I'm building a small LXI device using a the OLIMEX ESP32 POE Board. Sending commands to the device using pyVisa works fine, but queries don't. Only the IDN? query works. From the ESP I get the ...
0
votes
1answer
27 views

Esp32: upload eeprom file

I'd like to flash the eeprom sector with content so that the eeprom already holds data when it boots the first time. How do I upload such an eeprom file like I would do with avrdude on an atmega? Is ...
0
votes
1answer
50 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
1answer
25 views

ESP32 + Fastled + WS2801

I'm using the ESP32 DevkitC board with Fastlib and a WS2801 LED strip. The LED strips works fine, i connected it properly (sometimes all LEDs are on, no flickering). I Connected the light strip's ...
-2
votes
0answers
22 views

how to stop and start the timer in timerlib.h library

Anybody have an idea how I can simply start and stop the timer in the timerlib.h library. Everything else works well I just need to stop the minutes and seconds timing and then start it up. Any help ...
0
votes
1answer
51 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 ...
1
vote
0answers
27 views

ESP32: Share I2C bus among multiple freeRTOS tasks - do I have to expect synchronization issues?

I recently inherited some firmware with weird problems in regards to the duration of reading sensor values. The board is based on the ESP32 Wrover MCU and has multiple sensors connected via the I2C ...
0
votes
0answers
30 views

Error while receiving large amount bytes on loop using esp32 ( 541 bytes )

I am using an ESP32 (without arduino board and using arduino IDE ) with bluetooth and communicating with other hardware via serial communication. Serial communication speed is high (1382400) but it ...
0
votes
0answers
35 views

esp32-cam reading bme280 with Arduino IDE

I am trying to interface BME280 with ESP32-CAM (Yes because later I need to take pictures also). Was following this tutorial. The BME280 board I have it has VCC, GND, SCL, SDA pins for hardware I2C. ...
0
votes
0answers
26 views

ESP32 WebSocketsServer - stream pots data to web browser

I would like to stream pots data to a web browser using websockets. I'm using WebSocketsServer on a Huzzah but sendTXT isn't working, but does for Connected WStype. Is there a way to do this? ...
0
votes
1answer
32 views

What image formats are accepted for displays?

Sorry if there is information missing, im new to the topic. I have an ESP32 connected to a Waveshare 7,5" RWB display, and i can display images by converting them to .xbm and including the hex code ...
0
votes
0answers
40 views

Simple ESP32 MCP2515 CAN code to VP230

I have a working code that uses MCP2515 CAN module. Wanted to minimize the size of required modules, so I went with VP230 CAN transceiver and I'm having trouble relaying the same data through ...
0
votes
1answer
31 views

test for wrong wifi password?

maybe this is a dumb question, but is there a way to test for wrong wifi password, I know you can do WL_CONNECT to check if the password works, but is there a command for checking if the password is ...
-1
votes
0answers
17 views

Indoor positioning using WiFi signal strength - How to get the original signal strength of WiFi APs on ESP32?

How can I get the 1-meter RSSI of WiFi APs, so that I can measure the relative distance from the AP and the ESP32 board? WiFi.getRSSI() will give me the received signal strength. However, I should ...
0
votes
3answers
40 views

3v to 3.5v step up?

I would like to run my esp32 on coin cell batteries, tho it needs at minimum 3v, that means if there just is too much resistance in the vires or anything else, stuff like Bluetooth will make it ...
0
votes
1answer
39 views

Brownout detector triggered

I'm running a pretty basic setup. When I run a small program just doing some serial.println, it works fine, when I try to do operations that needs more power, the brownout detector gets triggered. I'm ...
0
votes
1answer
64 views

Can I connect esp32 to a phone USB charger?

I have a USB charger. Is it ok to connect it as a power supply for esp32? Edit: i have a dev board esp32
0
votes
1answer
29 views

ESP32 access point code not compiling

I'm trying to use the ESP32 board to control an LED, buzzer, and motor (ABA) through an access point. I got some code from this page: https://lastminuteengineers.com/creating-esp32-web-server-arduino-...
0
votes
0answers
22 views

Lg g6 can't find Esp32 bluetooth

My lg g6 cant find esp32's bluetooth. Lg g6 bluetooth is fine as i can connect other devices Esp32's bluetooth is fine as i can connec from my samsung s9 to the esp32. Tried reseting and clearing ...
0
votes
0answers
37 views

ESP32 playing wav sounds distorted or too fast (but not all wav's)

I am building a sound project on an ESP 32 via I2S using an example from: https://github.com/nhatuan84/esp32-i2s-sdcard-wav-player It works fine with the example wav file t.wav posted in the ...
1
vote
0answers
48 views

ESP32 HCI command for setting BLE TX Power

Does anyone know if there's an HCI command for setting the TX and the advertising power for BLE on an ESP32? I have a Nano 33 IoT and a MKR 1010, and it has its power set annoyingly low for ...
0
votes
0answers
23 views

Trouble GETing over HTTPS on the ESP32

I am having some trouble doing a GET request over HTTPS on the ESP32. I am using the BasicHttpsClinet example from the ArduenoIDE. Here is the code. /** BasicHTTPSClient.ino Created on: 14.10....
0
votes
1answer
27 views

esp_partition_get_sha256() mismatches PHP's hash() function in HTTPUpdate

Disclaimer: It may be that this question belongs to a PHP forum instead of this one. However, this question is also very ESP32/Arduino related. Please correct me if this is the case. The scenario: ...
0
votes
1answer
32 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
0answers
57 views

Reading Data from Google Sheets using Nodemcu

I want to read and writ data on Google sheets using ESP8266 WIfi Nodemcu and I'm able to do it but the time interval between two writing row is 3 seconds which is too much. I can read data but I am ...
1
vote
1answer
33 views

ESP32 WiFiClient request missing response

I am facing problem with ESP32. I use basic example for WiFiClient and making request to my server. The problem is that the response should be 15000 bytes long, but very often I got only 2750 or less. ...
0
votes
0answers
44 views

pulseIn on ESP32 return 0 regularly

I'm using pulseIn on an ESP23 for measuring a frequency between 500 Hz and 10 KHz. I measure both the HIGH and the LOW time, as all simple examples suggest. 95% of the time the result is correct, but ...
0
votes
0answers
33 views

how to get text box values from webserver of esp32 and print them in to serial monitor by using <webserver.h> library

Actually I'm trying to get the values from esp32 server webpage. Suppose there is a web page containing some text box fields, user has to enter some details in it and this details I want to be print ...
0
votes
0answers
35 views

How to implement server.on() without any libraries?

I was trying to setup a web server with Arduino and ESP32, without using the ESP32 libraries. Currently I'm able to display a webpage(a form with single submit button) from the server, with only using ...
0
votes
0answers
32 views

Arduino error in code Stack smashing protect failure!

I get the error when I compiled my code below. I am making an application to read temperature on board ttgo esp32 oled lora stack smashing protect failure! abort() was called at PC 0x400da3e8 on ...
1
vote
1answer
20 views

EEPROM: managing address mapping between firmware versions

Is there a common way to handle changes in the mapping between eeprom addresses and variables between firmware versions? It's not about the eeprom memory to survive the update, but to be(come) ...
0
votes
2answers
190 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
55 views

Can't Compile .ino using ArduinoJson Library

I am using an ESP32 NodeMCU for which I wrote working software before. This also occurs when I just try to compile without uploading, so no hardware problem. I am using the newest version of ...
1
vote
1answer
93 views

Impossible to connect ESP32 with Mosquitto on Raspberry using certificates

I installed Mosquitto broker in Raspberry in my local network. I generated certificates in Raspberry as follows: sudo openssl genrsa -out ca.key 2048 sudo openssl req -new -x509 -days 3600 -key ca....
0
votes
1answer
31 views

Help with function template syntax

I am trying to understand the following code snippet from the Espressif OTABasic example for the ESP32 wireless/BT module (see this repository for the full code). ArduinoOTA .onStart([]() { String ...
0
votes
0answers
26 views

ESP32 + ArtNet stops responding

This is less of a FastLED specific issue and more ArtNet + ESP32, but I figure that this community has done enough of these types of things to be able to help. I have a simple sketch gluing together ...
0
votes
0answers
20 views

ESP32 PH probe analogRead Value Alternating

i got an ESP32 WROOM32-OLED with a PH-Probe hooked up to it (PIN39). When i short the probe interfcace to get a PH07 reading (connecting the middle of the probe interface to ground) i get really ...
0
votes
0answers
113 views

Data logging from ESP32 through UDP socket to PC

The idea is to send raw sensor data from ESP32 to PC through WIFI UDP socket and store it into CSV file using Python. As you can see from the code I am chopping 8 bytes of data into single bytes and ...
0
votes
0answers
331 views

Using ESP32-CAM (with ov2640 camera image sensor) to send image via USB

I was trying to obtain image from ESP32-CAM (with ov2640 camera image sensor). I obtained the image through camera web server by connecting the ESP32-CAM and PC to same wifi network. A USB to TTL ...
0
votes
0answers
79 views

SPI receive register size of ESP32

ESP32 has 64 byte SPI FIFO size, but I could not find what is the largest bit size it can receive over SPI? P.S. I need to interface a sensor, which returns 32 bit response. EDIT to clarify why I am ...
0
votes
1answer
113 views

MQTT PubSubClient connection problem with ESP32

I am experiencing some problems with string in Arduino application with ESP32. I don't understand why this code works: mqtt.setServer ("m20.cloudmqtt.com", port); //is OK and this does not work ...
-1
votes
1answer
43 views

How to power and switch on / off multiple boards at the same time?

I have many nodes. Each node consists of an MPU9250 and ESP32. Each node functions independently. They don't interact with each other. How can I power all of them at the same time, and switch them ...
1
vote
1answer
92 views

ESP32 Pins won't fit in solderless breadboard

I bought an Adafrut Huzzah32 ESP32 for an IoT project. When the ESP32 arrived, I attempted to fit it into my existing breadboard, but I immediately noticed that no matter how hard I pushed, the pins ...
0
votes
1answer
41 views

Serial connection two devices two power supplies

I'm trying to connect an ESP32-CAM to a 3d printer using a serial connection. When powering the ESP from the 5V rail on the 3D printer(and using 3.3V zener diodes between tx, rx & gnd), everything ...
1
vote
1answer
39 views

Programming ESP32 MCUs for production

Before committing to learning about the ESP32 and how to program it, I would like to know if the ESP can be programme the same way for production as it can on évaluation boards (with the Arduino IDE). ...
0
votes
0answers
55 views

What is the format specifier for string in arduino

I have a string formattedDate. When I am trying to give sprintf(payload,"{\"timestamp\":\"%s\",\"temperature\":%f,\"humidity\":%f}",formattedDate,t,h); Its not printing the date and time.
-1
votes
1answer
322 views

power consumption of esp32

I'm currently working on an IOT project with my esp32, ill need it to run on batteries, I will only be needing "active mode" with wifi once per hour to upload some data to a database and then go back ...
0
votes
0answers
324 views

ESP-NOW: Master and Slave at the same time

I am interested to use ESP-NOW as a means to transmit data between two ESP32's back and forth, - each ESP receives and sends data, taking turns. The example library provides an example sketch for ...