The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
23 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
23 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
25 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
18 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
26 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
15 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
34 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
32 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
43 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
27 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
19 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
30 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
35 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
17 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
23 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
27 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
26 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 ...
0
votes
1answer
22 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
24 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
27 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
34 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
27 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 ...
0
votes
1answer
19 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
114 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
45 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
78 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
28 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
19 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
18 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
64 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
172 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
74 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
96 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
72 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
38 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
34 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
52 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
162 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
211 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 ...
0
votes
0answers
44 views

ESP32 OTAWebUpdater only works on mobile

I'm experiencing something strange. I opened the default ESP32 example "OTAWebUpdater" in the ArduinoIDE and modified just the network part (I created a soft AP instead). The problem is, when I ...
0
votes
2answers
115 views

flash read err, 1000

I know this question has been asked multiple times but solutions giving there hasn't been working, I've got an esp32 soldered to my own designed PCB board with a UART to USB converter all that is ...
0
votes
2answers
33 views

serial port through Rx and Tx want work

my serial connection prints rubbish, but it systematic, so it's not just random as you see on image 1, any help would be appreciated other info: the first image of the serial monitor of COM6 is my ...
0
votes
1answer
124 views

Is it possible to use WiFi and Bluetooth / BLE in the same ESP32 project?

@Majenko's answer works like a charm. I did have to make some changes as follows: Per Majenko, you need to change the Tools > Partition scheme. I used "No OTA (Large APP) as he suggested and it is ...
0
votes
2answers
153 views

how to use hx-53 (IR Transmitter Infrared Sensor Module) with ESP32?

ESP32 tx2 (pin17) and rx2 (pin16) uses 3.3v based signals. HX-53 data connect to tx2, gnd to gnd and vcc to vin(5v). But as i can understand HX-53 data input should be 5v based. How can i solve ...
-1
votes
1answer
136 views

How to control 220V RGB Led Strip with Arduino/ESP32 [closed]

I need to control 220V RGB Led strip with Arduino/ESP32-wroom over internet. Single color led is easy (just with a relay), 12V RGB can be done with PWM and maybe external power source. But how can I ...
0
votes
1answer
62 views

Which Arduino microcontrollers are able to drive a parallel 8-bit ILI9341 display at 320x240@60fps with DMA or extra CPU core or both and how?

I've always wanted to make my own game console. I don't know why the existing Arduino game consoles have this issue with framerate when a 2006's Sony handheld PC had 1GB of RAM and an Intel CPU ...
0
votes
0answers
103 views

How to get the value of an Arduino/ESP32 variable and use it in a Javascript file?

I have a variable in my ESP32 code. I also have a webserver that displays a HTML page, and in this page I can type a value in a form and send it to that variable via HTTP GET request. The HTML of ...
0
votes
0answers
76 views

Choosing between ESP32 and Arduino Pro Mini

This is probably a fundamental question but I am hoping to get some pointers on how to chose between Arduino Pro Mini and ESP 32. I am hoping to make a wrist based wearable like fitbit. Three ...
0
votes
0answers
38 views

error cannot convert string TO uint_8t

this is the code i am working on for controlling leds #include <WiFi.h> // esp32 library #include <IOXhop_FirebaseESP32.h> ...