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
1 vote
1 answer
39 views

Failed to connect to TCP server on ESP32 board

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
44 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 ...
0 votes
0 answers
38 views

Where should I start on IoT architecture design?

I've built Arduino based sensors/modules that send readings to an RF Receiver on RaspPi, but I ultimately want to POST this to a REST api service, and possibly preprocess or cache the data on a local ...
0 votes
1 answer
74 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
57 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 ...
  • 21
0 votes
0 answers
191 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 ...
0 votes
0 answers
187 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 ...
  • 111
0 votes
0 answers
307 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 ...
-2 votes
1 answer
162 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
218 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 ...
1 vote
0 answers
1k 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
198 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 ...
  • 113
4 votes
2 answers
1k 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 ...
-5 votes
2 answers
219 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 ...
  • 91
0 votes
0 answers
65 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
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 ...
  • 1
1 vote
0 answers
46 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
352 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 ...
  • 161
0 votes
0 answers
73 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)...
3 votes
1 answer
2k 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
504 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 ...
  • 23
2 votes
2 answers
148 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
53 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 ...
  • 11
1 vote
1 answer
302 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
568 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
134 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 ...
  • 635
3 votes
1 answer
524 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 ...
  • 145
3 votes
1 answer
488 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 ...
  • 33
1 vote
0 answers
253 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 ...
  • 635
1 vote
0 answers
110 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
292 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
479 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: #...
  • 101
0 votes
0 answers
178 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 ...
  • 101
1 vote
1 answer
490 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
0 answers
235 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 ...
  • 111
0 votes
3 answers
110 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
1 answer
3k 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
1 answer
137 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
0 answers
103 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
0 answers
988 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, ...
  • 141
2 votes
0 answers
109 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 ...
  • 121
0 votes
0 answers
104 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
1 answer
90 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
0 answers
59 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 ...
3 votes
1 answer
774 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
2 answers
83 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 ...
  • 783
2 votes
1 answer
116 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
1 answer
326 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
1 answer
717 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
1 answer
225 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 ...