Questions tagged [esp32]
For questions regarding the programming and use of the ESP32 range of microcontrollers from Expressif Systems.
135 questions
2
votes
1
answer
44
views
What protocol should I use to download large files?
I have an ESP32-based device connected to the Internet using WiFi.
Sometimes it needs to download a "large" file (200-300 MB) but it does not need to store it. Instead, it needs to send it ...
0
votes
0
answers
26
views
DS3231 set time compiling to wrong date and time
I am working on a project where I need to set the alarm on a DS3231 to wake an ESP32 at a specified time. In my workflow, I upload three scripts: one to set the time on the DS3231, one to set the ...
1
vote
0
answers
19
views
Provide free or pay updates
I developed a simple IoT device. It has a built-in HTTP webserver to set the general options of the system. Now the customer asks for "in-app" updates, that might be delivered free of charge ...
1
vote
1
answer
134
views
Nodemcu ESP32s and SPI ST7789V2 display not working
I have been trying to get a display from waveshare working with NodeMCU ESP32S. The display says 1.69inch LCD, 240 x 280 pixels, ST778V2. Searching on the internet results with article leading to ...
1
vote
1
answer
175
views
Where is BLE Current Time Service Data format?
I find https://www.bluetooth.com/specifications/specs/current-time-service-1-1/ but can not get data format.
Where give me those info?
0
votes
0
answers
87
views
ESP32 SPP Congestion after sniff mode
I'm trying to use an ESP32 to stream position data over SPP, but I keep running into congestion issues - even when I remove debug logs etc.
Essentially I get a mode change event..
...
2
votes
0
answers
108
views
Where is the partition table on ESP8285 (Tasmota)?
Background
I'd like to replace the Tasmota firmware of a WiFi Socket with my own firwmare.
The TTL port of the ESP8285H16 (=ESP8266 + 2MB flash) is not accessible without braking the case and I need ...
3
votes
0
answers
297
views
Esp32-c3 not able to connect to home router
I have bought 2 ESP32-C3 from Waveshare and tried many tutorials on how to connect them to the home router.
None of the code I used worked including the micropython example, Arduino example and not ...
1
vote
0
answers
38
views
How can I mitigate my energy monitor losing its accumulated totals?
I recently added a power monitor to our homelab, flashed it with ESPHome and configured some mini-graph-cards to visualise power and energy use. Everything looked good, until I started to see frequent,...
1
vote
0
answers
174
views
Malformed Packet on Mosquitto
I am trying to connect to my mosquitto broker on esp32 with GSM using pubsubclient but sometimes it disconnects to broker with detail malformed packet.
2023-08-30T13:43:14: Client client_id ...
1
vote
2
answers
233
views
MQTT not connecting to local broker
I am really new to IoT and MQTT. For my project I want ESP32 to send data to node-red as a part of visualization requirement. I am running a broker (mosquitto) locally on my PC (Windows 11), I ...
2
votes
0
answers
65
views
Query regarding setting ESP32 eFuses for restricting USB firmware access
I am currently working on a project where I need to restrict the ability to read and write firmware through the USB interface on the ESP32. To achieve this, I have attempted to set the following ...
1
vote
0
answers
105
views
Multi-admins/fabrics in Matter protocol
I am a newbie Matter protocol developer.
I am trying multi-admins/fabrics features. Could you please tell me how many ways to add a new admin into a node? Is the way to add without re-open the ...
0
votes
1
answer
374
views
Can't Connect to ESP32 in AP Mode
I'm trying to connect to an ESP32-WROOM-32 in AP mode, using the following micropython code:
import network
ssidAP = 'WiFi_ESP32' #Enter the router name
passwordAP = '12345678' #Enter ...
0
votes
0
answers
38
views
Universal control of ESP32
I need a help that, if exists a code, library, software which can control my ESP32 GPIO pins. ie, 1 code, connect to google home, alexa, home kit, home assistant, samsung smartthings, etc....(MATTER)
2
votes
2
answers
381
views
Unable to run micropython on ESP32-WROOM
I just took delivery of a trio of ESP32-WROOM-32 dev boards and am unable to get micropython to run on them. I've successfully flashed sketches from the Arduino IDE, but after I flash the latest ...
1
vote
1
answer
375
views
Unable to flash LilyGo 4.7 using PlatformIO
I'm trying to flash any of the official examples using PlatformIO on LilyGo-EPD47, which is ESP32-WROVER-E with eInk display.
The sketch builds, but when it starts uploading I get the following error
...
1
vote
1
answer
327
views
Failed to connect to TCP server on ESP32
I wrote a TCP client in C and a TCP server in Python. The client runs on a ESP32S2 board while the server runs on my PC (virtual Linux OS) and both the board and PC are connected to the same Wi-Fi. ...
0
votes
0
answers
421
views
LILYGO T-Display-S3 doesn't allow to upload Arduino's sketch
I was developing my code at the LILYGO T-Display-S3 on my MacBook Air, when suddenly after I pressed the 'Upload' button, the console showed an error as below:
A fatal error occurred: Failed to ...
1
vote
1
answer
281
views
How to control the state of GPIO pins on ESP32 Camera from an external python script?
I am currently working on a project that detects specific objects in a video stream. If a particular object is detected, an alarm of some sort will be rung. An HTML page will display the object ...
1
vote
0
answers
168
views
ESP8266 bin files and memory layout - why multiple bin files in ESP MCU development process
I see that as per the link https://github.com/esp8266/esp8266-wiki/wiki/Memory-Map, in SPI flash ROM layout table (without OTA) there are 5 bin files that are flashed to esp8266. Though there are ...
0
votes
0
answers
736
views
Input 24v Button with esp32 (or esp8266) with esphome
I'm trying to create a panel for my pool.
I've searched for electronic valves, LEDs (for valves status) and buttons (for run an automation with HomeAssistant)
For the valves and LEDs I think that ...
1
vote
1
answer
583
views
decoding data sent from an esp32 using esp-idf over serial in nodejs
I have an esp32 board loaded with this software which is logging values about the number of detected wifi and bluetooth devices detected via LoraWAN. In senddata.cpp it seems to be logging out the ...
0
votes
0
answers
527
views
Connect esp32 hardware to mobile app (Xamarin.Forms)
I'm designing some SmartLED controller (hardware/server) which can turn on/off some LED strips and do some nice effects etc. and it works on ESP32 chip.
Now, I was starting to write Xamarin.Forms ...
-2
votes
1
answer
700
views
Is it possible to connect an esp32 (or similar) to a "guest" WiFi network that requires logging in via a splash page?
I would like to connect an IoT device (esp32, etc.) to the guest WiFi network at the office. When I connect my own personal laptop to the guest network, it requires checking a box on a splash/welcome ...
1
vote
0
answers
597
views
ESP32-CAM DMA PROBLEM with upython
I'm running micropython_camera_feeeb5ea3_esp32_idf4_4.bin & the camera won't initialise if I've previously used https via urequests
E (14790) cam_hal: cam_dma_config(296): DMA buffer 32768 Byte ...
2
votes
1
answer
3k
views
How to import libraries with ESP-IDF for visual studio code?
What I am trying to do
I have an ESP32-CAM, and I want to use Visual Studio Code, I already used the Arduino IDE at first, and it worked fine.
To work with the ESP32 on VS Code I installed the ...
1
vote
1
answer
486
views
Heltec WiFi Lora32 - Can i received LoraWAN packets?
I bought this shield and trying to receive LoraWAN packets in my surrounding.
ESP32 Heltec Lora
Within their SDK there is examples of receiving data for Lora, joining LoraWAN, however i am interested ...
4
votes
3
answers
3k
views
ESP32 CAM unable to use micropython and connect to the esp
I am trying to install micropython on my esp32 cam.
I tried 3 differents ways to do it.
First one command and putty
I installed python and esptool with pip install esptool.
Then I looked wich COM was ...
-6
votes
2
answers
656
views
Hardware to wire ESP32 directly to 110VAC? [closed]
I'd like to fit an ESP32 directly into a single gang (North American) electrical box with enough room left over to fit a typical light switch over the top of it (these are usually pretty shallow, and ...
0
votes
0
answers
73
views
Using ESP32 as a web server and Arduino
This is my first project and I'm getting my way around this.
I wanted to make a simple project using Arduino creating a web server, in order to turn on and off the AC.
I think I made a mistake buying ...
0
votes
0
answers
24
views
How to minimize the calls to server to update the nodemcu pins
I have created an api which fetchs data from sql server.
My Android app has buttons, on click it calls that api and posts status of pin.
My node mcu hit that api for the current status of the pins.
I ...
1
vote
0
answers
84
views
Is it possible to run a 12v Nema17 Stepper motor remotely with ESP32 over LORA P2P?
I'm new to this, but I have 2x ESP32 LoRa modules that I want to setup. I want to be able transmit a signal from one ESP32 LoRa module to the other ESP32 LoRa module over LoRa to run a stepper motor ...
2
votes
2
answers
873
views
ESP32 UART reads garbage
Well, I have no experience with ESP32 UART, tried it and failed. In brief: I need to implement a data exchange between ESP32 and external module via UART. And at some point I need to read the data ...
0
votes
0
answers
122
views
Why multiple ESP32 custom PCB on the same RS485 bus are mutually exclusive?
I have a 12V LiFP battery BMS (battery management system) connected via a RS485 RTU.
I also designed box (a custom PCB which embed a ESP32 as the main CPU) that report the battery SoC (State of charge)...
5
votes
2
answers
12k
views
How to use the onboard LED on the ESP32-C3-DevKitC-02
I just bought an ESP32-C3-DevKitC-02 from Espressif, which features an onboard color LED. I'm a bit of a newbie in this space, so I thought I'd start by trying to get a simple "blink" ...
2
votes
1
answer
2k
views
ESP32 or ESP8266 220v button as input
As per title I'm, looking a way to detect the press of a button powered at 220v ac through a gpio pin of the ESP32.
The simplest solution found seems to be an octocoupler, but are there devices that ...
2
votes
2
answers
286
views
How to connect several sensor boxes (ESP32) via WIFI/webserver/...?
I'm intending to create some (like 5-10) boxes with sensors and/or relays inside using ESP32's.
For connection to a laptop and mobile phone I found a tutorial at
ESP32 WebSocket Server: Control ...
1
vote
0
answers
139
views
Internet radio buffering question
(hopefully I'm addressing the proper community)
I'm building a KaRadio32 internet radio variant.
Every now and then I'm experiencing some annoying hiccups from my radio (due to my flaky internet ...
1
vote
1
answer
695
views
Getting no value from Gravity TDS sensor (analog pin)
I'm using this ESP32 model (picture)
with Expressif's DOIT ESP32 Dev 1 library for esp32. And I was trying to use Gravity TDS sensor with DFRobot Gravity library.
I set my Analog pin from A1 (Arduino) ...
-1
votes
2
answers
3k
views
Building a string (or char) array - newbie
I pretty new to this and have only been doing it for a few week. Although I have programmed in other languages my understanding of declaring the types, converting types and pointers is still pretty ...
2
votes
1
answer
256
views
MQTT disconnects from AWS when publishing a message
Please look at this sketch for ESP32. It does nothing but:
connects to WiFi
connects to AWS MQTT
subscribes to the /get/accepted topic
every 5 s publish an empty message to the /get topic to retrieve ...
3
votes
1
answer
1k
views
LoRa point-to-point communication
I would like to create a point-to-point connection between a LoRa temperature sensor and a M5 Stack (ESP32) with LoRa module. However, I am a beginner with LoRa, so I have a few questions:
Are all ...
3
votes
1
answer
686
views
ESP32 MQTT error
I have been trying to connect my ESP32 board to my laptop via MQTT. I have installed Mosquitto MQTT broker on my laptop but I fail to connect my ESP32 every time. This is the test code I am using to ...
1
vote
0
answers
468
views
Alternative for ESP23-WROOM-32D
A couple of months ago I designed a board with an ESP32-WROOM-32D (M113DH3200PS3Q0).
Now on the Espressif product selector page they say it's not recommended for new designs!
Questions:
What is the ...
1
vote
0
answers
151
views
ESP32-S2 CircuitPython 5x OLED displays (I2C)
I want to use the ESP32-S2 with CircuitPython and 5x 0.96inch OLED I2C displays.
It's working fine, but only with 2 displays.
When I assign "i2c3" or more, I'm getting an error. When I keep ...
2
votes
1
answer
454
views
Google Assistant, custom command with a custom response
I'm looking for a way to reply on a custom command with a custom text in Google Assistant.
E.g. "Hey Google, what's the temperature in my Living Room?" - "In your living Room you have ...
0
votes
0
answers
888
views
ESP32-CAM and I2C bus connection issue
I'm trying to add I2C sensors to my esp cam but it doesn't work in either way.
I followed some tutorials about it and have working code but scanning the bus shows no devices.
Here is the sketch:
#...
0
votes
0
answers
380
views
ESP32 or Other as DHCP AP / Router
I have a number of IoT devices that need to be able to connect to a central device. The ideal solution would be a sort-of homegrown router that uses an ESP32 or other solution that can operate as an ...
2
votes
1
answer
774
views
ESP32 Real Time Data Plot in TCP client
I am implementing a oscilloscope GUI to visualize the data coming from the I2S mic connected to ESP32. The data is transmitted to ESP32 over WiFi through TCP socket connection to PC client where the ...