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
0
votes
0answers
14 views

Why does the ESP32 have such crappy wifi connections compared to ESP8266?

I've built quite a few wifi IOT devices with both ESP8266 and ESP32 boards (brands like Adafruit and Heltec). In every case, the wifi connection has always been spotty with the ESP32 and especially ...
1
vote
1answer
22 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. ...
0
votes
1answer
16 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 ...
1
vote
0answers
28 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 ...
3
votes
2answers
42 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 ...
1
vote
0answers
520 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" ...
3
votes
0answers
38 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 ...
1
vote
1answer
40 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 ...
0
votes
0answers
49 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 ...
2
votes
0answers
253 views

ESP32-CAM Camera init failure, SCCB write failure

I can successfully flash my ESP32-CAM to do the blink demo but when I try to run the code below I get the following error (b/t the asterisks/bar.) It seems the "Serial Camera Control Bus" (SCCB) is ...
2
votes
0answers
35 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,...
1
vote
1answer
41 views

Testing range for WLAN IEEE 802 11b/g/n

Are there any standardised test standards to test the Wifi Range of my ESP32 inside of my products enclosure. I want to know what range(s) it can operate so I can provide recommendations to users of ...
0
votes
1answer
47 views

Way to connect to connected objects from outside without configure internet box [duplicate]

I don't really understand the way the things works: How connected plugs can be switch from an external device (not in the local framework)? I understand that a way is to configure personnal internet ...
1
vote
1answer
109 views

What is the difference between Texas Instruments CC3235sf and ESP32?

I have used esp32 in my projects and its easy to use. But I want to try using CC3235SF. But how does it work exactly? It has on-board RAM and 1MB Flash, so does it mean I can program it directly like ...
1
vote
0answers
66 views

Can I use ESP32 as a proxy to connect BLE device to AWS IoT cloud? [closed]

Reading AWS IoT documentation I see that the proxy could only be an Android or iOS device. To be more precise I’d like to publish from BLE (nRF52840) To AWS IoT using MQTT, but this device doesn’t ...
1
vote
0answers
27 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 ...
5
votes
1answer
1k views

How to transfer data over bluetooth between ESP32 and Android?

I have trying to find examples for codes to exchange data over bluetooth between esp32 devkit module and an Android device. I want to use SDP to broadcast a service and then make my Android app ...
1
vote
1answer
40 views

How to use Grove Connectors with the ESP-WROVER-KIT-VB development board?

I am plug & play, non-soldering type. As such, I love Grove Connectors. Does anyone know of a non-soldering, preferably non-breadboard, way to use them with the ESP-WROVER-KIT-VB development ...
1
vote
3answers
460 views

Is barcode scanning with an ESP32 possible?

Is barcode scanning with an ESP32 possible? Is there an existing project, of a library that I could use? Any idea how to go about it? If not feasible, would it make sense to stream video from the ...
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
1answer
72 views

ESP-WROVER-KIT-VB - seeking code example to write to display

Does anyone have a simple "hello world" example of writing text to the display of a ESP-WROVER-KIT-VB ? My search skills are failing me today.
-2
votes
2answers
178 views

Can I use Arduino shields with ESP32?

Does any one know - can I use Arduino shields with ESP32?
3
votes
0answers
36 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 ...
0
votes
1answer
32 views

Can I compile Python on my PC, load it to an ESP32 and run it?

As a follow-up from Can I retrieve a Python program from an ESP32?, I would like to make things a little more difficult for those who would steal my code (I do realize that I cannot prevent it). Can ...
0
votes
0answers
11 views

How to give an Alexa device wifi credentials on the fly [duplicate]

I have created an alexa controlled smart switch using esp8266 and fauxmo library and it works fine .However I need to set the wifi credentials as well as device name within the code which is not ...
0
votes
1answer
31 views

Can I retrieve a Python program from an ESP32?

As per the title. If I have an ESP32 with some Python loaded, and have lost the source, can I retrieve it from the ESP32?
2
votes
0answers
26 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 ...
0
votes
0answers
35 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 ...
2
votes
1answer
65 views

Stream ADC values from ESP32 over http

I have an ESP32 recording values from an ADC at a rate of 1 sample/second. I need the ESP32 to send new values to a device (let's say a smartphone app for now, eventually via a server), as they are ...
1
vote
1answer
1k views

ESP32 Cam send picture to cloud AWS [closed]

I am trying to figure out how to convert an image to base64 on the ESP32 Cam board so I could then send it to AWS s3 bucket. Could someone please give me some insight?
0
votes
1answer
31 views

Heltec WiFi Kit 32 and PlaftormIO configuration (baud rate?)

I am just getting started with PlatformIO and have chosen a Heltec WiFi Kit 32. I loaded the PlatformIO demo espidf-http-request, built it and loaded it, but the serial terminal shows �␄@�␀␙␔␄␔␀�...
2
votes
0answers
81 views

Can somebody explain why some pins on Olimex ESP32-EVB cannot be used?

I am in need to configure two UART connections from Olimex ESP32-EVB to a scanner and to a card reader. I was exploring the GPIO pins that could have helped to establish those connections, but ...
2
votes
0answers
62 views

What are the sensors available to measure liquid levels? [closed]

What is the best sensor which can be integrated with esp32 and can be used to measure liquid level in a tank. I used HCSR04 and JSN but both of them were not good. Are there any other recommendations ...
0
votes
2answers
63 views

Seeking ESP32 with display which is supported by the PlatformIO debugger

I am switching to Platform IO as my ESP32 IDE. Alas, none of my boards are supported by the debugger. See https://docs.platformio.org/en/latest/plus/debugging.html#piodebug To save me along time ...
1
vote
2answers
53 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 ...
4
votes
1answer
59 views

How do you debug your ESP32 applications?

So, I asked a question on Hardware Recommendations, looking for a Windows USB dongle for LoRa/LoRaWan and BT5/BLE I want to develop on ESP32 and to use my Windows laptop as a server to the ESP32's ...
3
votes
0answers
220 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 ...
4
votes
1answer
858 views

How can I list the partition table of a currently running esp32 devboard?

I am developing on an ESP32 devboard (esp8266, wroom). I need to get the partition table of the currently running device. This document contains a quite good documentation of its partition table. I ...
1
vote
2answers
207 views

How to send WIFI credentials to ESP32?

I would like to know what are the available ways one can send wifi creds to esp32 other than using wifimanager.
1
vote
1answer
135 views

ESP32: Timestamp cannot be sent by MQTT

for one week I am searching for a solution at my ESP32 project (development over Arduino IDE): In my project I execute the following step: Read Temperature via BME280 Ask time at NTP server (via time....
1
vote
1answer
137 views

How to detect current flow in a live wire running at 220V AC, using Esp32

I have a project planned which is related to home automation. I want to be able to control the lights using an app on phone while also maintaining full manual switch control in case the relay or ...
2
votes
1answer
186 views

Manually initiate time sync in PainlessMesh

I'm using Expressif ESP32 dev boards and the PainlessMesh library. My nodes do an initial time sync, but after a while I've seen odd behavior where the calculated offset is negative... implying that ...
1
vote
2answers
585 views

How to test internet connectivity of network to which esp32 is connected?

I want to know if the network to which esp connected has internet connectivity or not. How can I send a ping request using esp32?
2
votes
0answers
83 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 ...
2
votes
1answer
452 views

Connecting ESP to USB Port

I have a question about connection from board ESP to USB Port. I can not connect to this port although I setup driver. I use ESP-WROVER-KI. Run on MacOS 10.14 Serial port /dev/ttyUSB0 Traceback (...
7
votes
4answers
1k views

Which IoT platform to visualize real-time and historical sensor data?

In order to prepare some tutorials for my students, I am working on a few DIY electronics projects in the field of IoT. I want to use ESP32, ESP8266, Arduino Uno, and Raspberry Pi. I am more deep on ...
3
votes
1answer
269 views

Which certificate to embed into ESP32?

I'm reading very different things about certificates in IoT. I'm struggling to make a choice on how to manage this. Here's the situation: I'm using ESP32 I don't have much storage available I need ...
1
vote
0answers
511 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
2k 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 ...
3
votes
1answer
175 views

Can I log serial output from ESP32 using Sparkfun's OpenLog?

I am working on a project that largely revolves around the ESP32 WROVER. The device is going to be at a remote location for testing, but I'll need to be able to get the serial output. I think that the ...