Questions tagged [esp32]

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

29 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
83 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, ...
4
votes
0answers
76 views

Fail executing RSHELL to acess ESP32 using Micropython

An ESP32 was flashed with micropython, using esptool on Linux system ( Ubuntu 18.04 ). When I tried to runrshell after installing it, it seemed as it start executing, but did'nt reach to login part - ...
4
votes
0answers
670 views

Websockets with Mongoose on ESP-IDF

I'm trying to use the websocket_chat_client example on ESP-IDF platform but the value of status on MG_EV_CONNECT event is always -1, which is a Connection error. What I've done so far is I took the ...
3
votes
0answers
17 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?
3
votes
0answers
41 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 ...
3
votes
0answers
118 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 ...
3
votes
0answers
86 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 ...
3
votes
0answers
41 views

Is there any solution to run any RTOS on windows/linux virtual machine?

I am writing firmware for different boards supporting FreeRTOS, Zephyr, ... My problem is when I am developing the firmware, I should run the firmware on the "real" device from the beginning and ...
3
votes
0answers
291 views

Powering an ESP32 used for controlling solenoids remotely

Context I am from a software engineering background, so I don't know too much about electric engineering apart from basic stuff like Ohm's Law (but willing to learn if needed). I'm building a garden ...
3
votes
0answers
103 views

Adding a webserver to eth2wifi example for ESP32

I am interested in using ESP32-EVB from Olimex to run the eth2wifi from esp-iot-solution, using the wifi softap data forwarding demo. If I correctly understand the code, it just moves packets from ...
3
votes
0answers
117 views

Lua for ESP32: How to obtain time from an NTP server or from time.is or?

I'm working with Lua on the ESP32. I see that contrary to the Lua implementation for the ESP8266, there is no NTP module (correct me if I am wrong). I have been looking at the net library, but am too ...
2
votes
0answers
34 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 ...
2
votes
0answers
59 views

SSID and Password Updates OTA ESP32

I am trying to build an application like Wemo App for learning purpose and I am stuck at a place. I am using ESP32 for this learning. In the future, it can be ESP8266 or any other. In the wemo device,...
2
votes
0answers
27 views

Which IDF to choose for ESP32 developent team

I and my friends are getting started with ESP-IDF. We want to get familiar with Embedded C development and ESp32 seemed to be a very good candidate for our later needs. The problem is there are ...
2
votes
0answers
954 views

Simple NAT implementation on ESP32

I have an ESP32 wroom32 that has WiFi internally and an ethernet port. I want to be able to connect my phone to the WiFi and access a webserver running on the ethernet port. Schematically this looks ...
2
votes
0answers
341 views

ESP32 & Bluetooth

I'm currently looking into how to set up a sense network made from ESP32s to track BLE tokens in an area, but I'm stuck at the first step... Getting Bluetooth & device listing to work on the ESP32,...
2
votes
2answers
60 views

Where to find descriptions of the example ESP32 sketches in the Arduino IDE?

I chose this one at random https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WebServer/examples/HelloServer/HelloServer.ino but looked at the code of others & hope that there is ...
1
vote
0answers
33 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 ...
1
vote
0answers
51 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 ...
1
vote
0answers
1k 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" ...
1
vote
0answers
131 views

Connecting ESP32 to Google Cloud IoT Core (using Google Cloud IoT Device SDK and ESP-IDF

I am trying to send data from Google Cloud Firestore (via Google Cloud IoT Core) to an ESP32 device. I have follwed this guide, using the option of using Google approved way of Google Cloud IoT Device ...
1
vote
0answers
32 views

Creating a Non Blocking socket for making GET requests

I am using an ESP32 with a MicroPython Firmware and want to make asynchronous HTTP requests such as GET request. I have tried using usocket but it did kept throwing OSError 128. I have attached my ...
1
vote
0answers
604 views

ESP32 watchdog errors when I need a loop to constantly stream data

My ESP32 is connected to an NRF24L01 chip where by it receives a stream of audio data. I then relay this information via WiFi over to an MQTT broker. Here's a few parts from my arduino IDE sketch ...
1
vote
0answers
3k views

Audio Streaming from ESP32 to Pi

I'm trying to make an audio streamer by using SPH0645 I2S MEMS mic and ESP32 DevKit. I found 2 code, First one is achieved by using MAX9814 Electret mic. The second one is I2S audio streaming but to ...
1
vote
0answers
561 views

Read data from STM32 using UART ESP32 micropython \x00 error?

I am using a LOLIN32 lite (ESP32) to read data sent from a STM32F103 (black pill). The ESP32 is using micropython and the STM32 is programmed using CubeMX + Truestudio. When calling the uart.read() ...
1
vote
0answers
1k views

ESP32 - 5V output to operate a Relay

I'm playing around with a new ESP32 flashed with Micropython from eBay in order to replace a Rpi Zero W. Am I missing the 5v output? I need it to operate a Relay. Can a 5vDC Relay be operated as ...
0
votes
0answers
38 views

Why MCU can connect to WiFi network and computers cannot?

I was testing a system based on some devices connected to a WiFi network. There are 3 devices that make part of the system: A raspberry Pi, an ESP32 and a laptop PC. The raspi acts as a Apache server ...
0
votes
0answers
53 views

How to remotely devleop on an ESP2 using PyCharm Community Edition?

JetBrains PyCharm blog announed a MicroPython plug-in for PyCharm. Alas, its GitHub page says The plugin supports these devices: BBC Micro:bit ESP8266 PyBoard Np ESP32 :-( Can one remotely ...
0
votes
0answers
79 views

ESP32 - using 3.3V Dual relay

I have an issue- which I guess is has some power issue. I'm using ESP32 and a 3.3v Dual relay. My code is simple ( switch up and switch down ), and works fine. The thing is that when all wires are ...