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
20 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)...
2
votes
1answer
54 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" ...
2
votes
1answer
39 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
1answer
51 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
0answers
31 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
1answer
70 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
2answers
73 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
1answer
44 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 ...
2
votes
1answer
183 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
1answer
64 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
0answers
94 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
0answers
56 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
1answer
123 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
0answers
154 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
0answers
63 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 ...
1
vote
1answer
205 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 ...
1
vote
0answers
157 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 ...
0
votes
3answers
93 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 ...
1
vote
1answer
1k 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 ...
3
votes
1answer
87 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 ...
3
votes
0answers
39 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?
4
votes
0answers
460 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, ...
2
votes
0answers
60 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 ...
0
votes
0answers
63 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 ...
3
votes
1answer
79 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. ...
1
vote
0answers
49 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
343 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 ...
1
vote
2answers
59 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 ...
2
votes
1answer
83 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. ...
3
votes
1answer
140 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> ...
2
votes
1answer
514 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. ...
1
vote
1answer
117 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
132 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
182 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
2k 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
265 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
57 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 ...
6
votes
1answer
2k 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" (...
2
votes
0answers
164 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
53 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
53 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
474 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
242 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
73 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
8k 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
105 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
4k 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
42 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 ...
1
vote
1answer
139 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
616 views

Can I use Arduino shields with ESP32?

Does any one know - can I use Arduino shields with ESP32?