We’re rewarding the question askers & reputations are being recalculated! Read more.

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
1answer
205 views

ESP 32 Cam (diymore brand) and adafruit programmer FTPI friend “timed out waiting for packet header”

I am having trouble getting my recently purchased esp32 cam working. I am new to using a programmer board and really to Arduino in general. Could someone help me? Things I have done: installed the ...
0
votes
0answers
10 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
27 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
28 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 ...
0
votes
1answer
28 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
57 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 ...
-1
votes
1answer
84 views

ESP 32 changing frequency instead of duty cycle

Using this code on an esp32 allow to vary duty cycle of the PWM with a fixed 5000Hz frequency and is working fine. My question is how to vary frequency and keep duty cycle on a fixed value? // the ...
0
votes
2answers
219 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 ...
-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 ...
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 ...
1
vote
1answer
133 views

Can't connect to my ESP32 board via serial

I'm completely new to electronics work. Today I've received the ESP32 board that I ordered. (It's a WROOM-32.) I followed the instructions here. I connected the board to my computer via USB and I ...
1
vote
0answers
28 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
37 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
27 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
41 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> ...
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 ...
0
votes
0answers
44 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
150 views

bh1750 lightsesor won't work

ok, im having problems with my bh1750, here is all info i got: board: esp32s nodeMCU v. 1.1 Pins: Wiring: (the 2 reds go to pin 21 and 22) code: #include <BH1750.h> #include <Wire.h> ...
-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 ...
1
vote
0answers
156 views

HC-05 Bluetooth fails AT+LINK

I'm trying to get a HC-05 connected as master to a Bluetooth ELM327 OBD scanner. The HC-05 is accepting AT commands, no problem. This is the sequence I use: AT+RMAAD (Clear any paired devices) AT+...
0
votes
2answers
203 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
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 ...
-1
votes
2answers
470 views

ESP32 cam board and waking from deep sleep

I am getting an error that the sd card cant be mounted when the ESP32 comes out of deep sleep. The board is coded to wake up on a timer from deep sleep and mount the sd card and take a picture. My ...
0
votes
1answer
65 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
41 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
154 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
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
38 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 ...
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 ...
2
votes
2answers
108 views

Connecting to MQTT causes DHT11 Sensor to stop working?

I have a project I am working on, based on an ESP32 from NodeMCU. I have a bunch of sensors connected to said ESP32 - they all work and the code itself "works" with a minor quirk. The issue in ...
1
vote
0answers
51 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
2k views

Speed controller for Ceiling Fan 220V AC 100W

I would like to use ESP32 to speed control my AC ceiling fan which is 220V AC 100 W. Will the below AC dimmer work with ESP32 to speed control the ceiling fan which is 220V AC 100 W? If not, kindly ...
0
votes
0answers
66 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
97 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
0answers
51 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 ...
1
vote
1answer
35 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
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
2answers
2k views

WiFiClient::connected() not working

I use an ESP32 to open an access point and listen for TCP connections over a WiFiServer object. When I get a client on the server I want to know when it has disconnected. Currently I have a simple ...
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 ...
1
vote
0answers
254 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
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
21 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
1answer
116 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 ...
0
votes
1answer
58 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 ...