Questions tagged [esp32]

For questions regarding the programming and use of the ESP32 range of microcontrollers from Expressif Systems.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
18 views

How to use native_ota_example esp32?

I read documentation about OTA Guide in official github but they just explaining about esp_https_ota OTA Example. I can't figure out how to use native ota example and its guide. I want native ota ...
user avatar
0 votes
0 answers
45 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 ...
user avatar
  • 111
0 votes
0 answers
99 views

Connect esp32 hardware to mobile app (Xamarin.Forms)

Im designing some SmartLED controller (hardware/server) which can turn on/off some ledstrips and do some nice effects etc. and it works on esp32 chip. Now, I was starting to write Xamarin.Forms mobile ...
user avatar
-2 votes
1 answer
54 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 ...
user avatar
1 vote
0 answers
64 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 ...
user avatar
1 vote
0 answers
461 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 ...
user avatar
1 vote
1 answer
110 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 ...
user avatar
  • 113
4 votes
2 answers
593 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 ...
user avatar
-5 votes
2 answers
148 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 ...
user avatar
  • 91
0 votes
0 answers
56 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 ...
user avatar
0 votes
0 answers
21 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 ...
user avatar
  • 1
1 vote
0 answers
35 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 ...
user avatar
2 votes
2 answers
220 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 ...
user avatar
  • 161
0 votes
0 answers
55 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)...
user avatar
3 votes
1 answer
829 views

How to use the onboard LED on the ESP32-C3-DevKitC2

I just bought an ESP32-C3-DevKitC2 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" ...
user avatar
2 votes
1 answer
160 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 ...
user avatar
  • 23
2 votes
2 answers
123 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 ...
user avatar
1 vote
0 answers
39 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 ...
user avatar
  • 11
1 vote
1 answer
205 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) ...
user avatar
-1 votes
2 answers
199 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 ...
user avatar
2 votes
1 answer
79 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 ...
user avatar
  • 635
2 votes
1 answer
380 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 ...
user avatar
  • 135
3 votes
1 answer
282 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 ...
user avatar
  • 33
1 vote
0 answers
190 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 ...
user avatar
  • 635
1 vote
0 answers
93 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 ...
user avatar
2 votes
1 answer
229 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 ...
user avatar
0 votes
0 answers
333 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: #...
user avatar
  • 101
0 votes
0 answers
118 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 ...
user avatar
  • 101
1 vote
1 answer
388 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 ...
user avatar
1 vote
0 answers
206 views

Nest box monitoring with ESP32: suitable camera module?

I'm working on a remote (off grid) nest box monitoring project, which should be both low-cost (volunteer-funded) and low-power. No video streaming required, only a snapshot over mobile network every ...
user avatar
  • 111
0 votes
3 answers
101 views

Noob looking for platform [closed]

Long time web programmer now getting into electronics as hobby projects and perhaps small custom productions. I'm partial to using microcontrollers instead of Pi's, because I'm thinking I don't need ...
user avatar
1 vote
1 answer
2k views

ESP32 proximity detection - how near, far and how accurate can it be?

I did some brief search on the matter, but it doesn't really help. I want to detect when people approach each other too closely, and - possibly, in the future - leave too great a distance between one ...
user avatar
3 votes
1 answer
118 views

Best way to set up a portable local IoT network?

I'm working on a project that requires multiple ESP32s to be able to receive a signal from a smartphone in order to close/open a set of doors. The catch is that this will be happening in a remote area ...
user avatar
3 votes
0 answers
74 views

Digital read from ADC2 pins when wifi enabled in ESP32

Is it possible to get a digital input from ADC2 (GPIO - 0, 2, 4, 12, 13, 14, 15, 25, 26, 27) when wifi is enabled in ESP32?
user avatar
4 votes
0 answers
778 views

How could I use ESP32 for realtime wifi voice streaming?

I have an ESP32 with OV2640 camera and a GY-MAX4466 amplified electret microphone module and I would be able to connect it to ESP32 to stream voice and video in realtime when I connect to its IP, ...
user avatar
  • 141
2 votes
0 answers
77 views

ESP32 transmit data over BLE VS Wifi

I am working on a project where I have got an ESP32 device (Wifi & Bluetooth), which reads data from some sensors, such as temperature and soil moisture (outdoor environment). The data is then ...
user avatar
  • 121
0 votes
0 answers
83 views

Does the LilyGo TTGO T-Camera Plus ESP32 dev board have a speaker?

Related question : (Dev) board to develop my own Amazon Ring(tm) -like doorbell. I am unable to find out if the TTGO T-Camera Plus has a speaker, though which I could play audio which the ESP32 ...
user avatar
3 votes
1 answer
84 views

Board to act as a hotspot and connect to Internet

Please excuse the very vague title, I had no idea how to condense my question into a title. Unit A - ESP32 Unit B - what I am looking for HOME_WIFI - The wifi network broadcasted within my home. ...
user avatar
1 vote
0 answers
53 views

Using more than one channel Relay with ESP boards starts fluctuations after 4-5 minutes

I'm new to IoT. I'm trying to connect more than one device to relay and control via ESP board(tested with esp8266 and esp32), I'm using mqtt connecton for signaling. So here's whats happening If I ...
user avatar
3 votes
1 answer
561 views

Connect an esp32 with AWS MQTT with SIM800L

I am are trying to use a sim800L module to connect an esp32 running Arduino to AWS MQTT. I need to connect and publish and subscribe to topics. I am doing this successfully via WiFi. Not via the ...
user avatar
1 vote
2 answers
76 views

How to control an ESP8266 via the Wi-Fi?

Summary I would like to build (ideally based on ESPHome) a device with a buzzer I can trigger remotely via the network. Context I have several systems built around my home automation system: Home ...
user avatar
  • 783
2 votes
1 answer
107 views

IoT Dashboard for customers (data comes from Arduino)

I push my sensor readings from product A, B, C, D to an online cloud provider. Then my customer (call him E) needs to access all these sensor readings and make a dashboard for his customer X, Y Z. ...
user avatar
3 votes
1 answer
258 views

How to save more than one line in SD card memory

I am trying to store certain text in SC Card memory, but the SD Card save the last line or it does not work at all I'm working with ESP32 microcontroller this is my code #include <SPI.h> ...
user avatar
2 votes
1 answer
636 views

ESP OTA from Github

I want to be able to program my ESP32 (same for ESP8266) remotely, I have used ArduinoOTA without problems, and I can upload the file into the ESP selecting the local file that I want to flash. ...
user avatar
1 vote
1 answer
188 views

How can I increase the size of the receiving sms Buffer in GSM

Recently I am working on programming IoT Project, to receive messages from the phone. That part worked, but the problem that I am currently facing is that the message does not arrive fully because of ...
user avatar
1 vote
0 answers
200 views

Securing wifi SSID and password during provisioning

This is yet another provisioning BLE/Wifi question. We are looking to secure the initial communication between our mobile application and smart device (esp32, ble and wifi). We want to make this as ...
user avatar
  • 111
3 votes
2 answers
352 views

ESP32 always high pins screwing analog measure

TL;DR When trying to use some pins of my ESP32 to read analog signals, it turns out those pins have a non-zero voltage, messing up the measurements. Why? I got myself an Olimex ESP32-POE-ISO (see ...
user avatar
  • 133
1 vote
0 answers
3k views

esp-idf - mqtt ssl example certificate error

I'm having some trouble with mqtt ssl example on esp-idf ESP32. Example: mqtt_ssl If I test it with the default broker "mqtts://mqtt.eclipse.org:8883" and default certificate "mqtt_eclipse_org.pem" ...
user avatar
  • 33
3 votes
0 answers
368 views

ESP IDF Data backup to NVS when power goes off

I am using esp-IDF library and esp32 for smart lighting. I want to maintain the state of the lights when power goes off as it can be written somewhere in NVS. Such implementation is available for ...
user avatar
  • 131
1 vote
1 answer
79 views

MQTT Client as "Server"

I´m currently working on a project where I have some clients (ESP32) which should communicate over MQTT with my broker. It should be also possible to change some parameters with an app. The easiest ...
user avatar