Questions tagged [esp32]

For questions about the ESP32 series of microcontrollers. Use in conjunction with the "microcontroller" tag.

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

problem with switching from arduino mega to ESP32

I bought an ESP32 to try instead of an Arduino Mega. But I ran into a problem with my program. The program has the function of controlling the stepper motor through the LCD display and it runs without ...
Kabl62's user avatar
  • 1
0 votes
1 answer
29 views

MAX3362 RS485 IC connection with ESP32

I am using MAX3362 RS485 serial data transfer IC with ESP32. Marked pins 1, 2 and 3 are connected to GPIOs of ESP32. Do I need to add any additional pull-up resistors or some termination resistors or ...
Zunuran Nasrullah's user avatar
0 votes
0 answers
16 views

How to setup a configuration file for an ESP32 firmware?

Background story I am working on a data logging application with an ESP32-based PCB retrieving data from multiple sensors and sending it to the cloud. Nothing too fancy here. We have a lot of ...
Buddyshot's user avatar
  • 177
3 votes
0 answers
30 views

Problem with ESP32 and Wifi when powered by LiPo battery

I built a circuit around a ESP32 powered by a LiPo battery (I tested with 1800mAh and 4400mAh batteries), a MCP73871 to charge it and a TPRT9080 to regulate voltage. When I use the ESP32 without Wifi, ...
Azalgo's user avatar
  • 31
1 vote
1 answer
42 views

Getting current leakage with BS170 MOSFET when switching LED strip

I am trying to make a simple circuit to control an IKEA LED strip (VATTENSTEN, 1.5W @ 5V) with an ESP32 (for use with ESPHome). For this, I am using a BS170 MOSFET to control the circuit, and it works ...
pta2002's user avatar
  • 11
0 votes
1 answer
44 views

Relay + RC Snubber to switch contactor - parasitic voltage?

I have designed yet another custom PCB with an ESP32 and some relays that I will use for some IoT projects. I am using one of these relays to switch a 230 V AC contactor which then switches a 230V AC ...
mrcsrplln's user avatar
0 votes
1 answer
67 views

What's the meaning of RF power consumption given in mA, not in mAh?

I'm trying to understand the power consumption of an esp32 with BLE enabled and transmitting. Its datasheet provides the following table: As you can see, it provides the power consumtions in mA. I ...
user avatar
0 votes
0 answers
21 views

XBee XR 868 not responding on SPI requests

I am trying to control Digi XBee module (XB-8XR-DMRM-001) by ESP32-S3 chip via SPI interface (I'm using ESP IDF). Example of my code is below; also an oscillogram of MOSI, MISO, CLK and nCS data lines,...
Ihor's user avatar
  • 1
1 vote
1 answer
20 views

ST7735 driver IC connection with TFT DISPLAY

I am a noob to electronics and thinking of using this 128x160 1.8 inch Color TFT LCD Display with ST7735 Controller SPI in my project. So, does the TFT Display come with a pre-programmed ST7735 ...
Sukhdarshan Vinayak's user avatar
0 votes
0 answers
23 views

Can't flash esp32 using esp-prog on PlatformIO

I am using esp-prog JTAG programmer to flash my esp32-s3-wroom-1 module on PlatformIO. I'm using Serial communication to upload the code, not the JTAG one, I can see two active COMPORTS on device ...
Dominykas's user avatar
  • 317
0 votes
0 answers
33 views

Firing TRIAC / AC Light DIMMER module

I am currently testing the AC light dimmer with a blower fan output that has a specification of 220V 0.45A. When the trigger angle is set to 0, why does the output of the AC light dimmer allow a ...
Angga Amalul Ahli's user avatar
1 vote
1 answer
105 views

Powering ESP32-WROOM-32E using LM1117S-3.3 LDO voltage regulator

I want to power my ESP32-WROOM-32E module with an 3.7V Li-Po battery. To reduce the voltage to 3.3V I'd like to use LM1117S-3.3 LDO. As far as I know, the most ESP32 developing boards use AM1117 ...
Anton Tsvayer's user avatar
0 votes
0 answers
23 views

Overvoltage protection for ESP32 (3v3)

I am trying to desing a switching regulator power supply for esp32 s3 (3v3). this is my schematic, I am using PAM2310 for switch regulator. I have tested it works fine. But sometimes I am thinking, ...
mehmet's user avatar
  • 1,049
0 votes
1 answer
34 views

Cannot make ESP32 communicate with ThinkerAI A9G board via UART

I want to use ThinkerAI A9G module via it AT commands, but i cannot make my ESP32 communicate with it. I have connected them but all i get is some strange random symbols. As i understand i could be ...
in search of the nickname's user avatar
1 vote
0 answers
66 views

Why is my voltage disapearing from esp32 to RJ45 connector?

I am working on a project where I am sending data from an ESP32 through an RJ45 cable to a DMX decoder. As far as I can tell my wiring is correct, however, I do not appear to be getting the signal to ...
Paul Carlson's user avatar
0 votes
0 answers
21 views

ESP32-C3 wakes from deep sleep on GPIO. Can't determine GPIO Pin pressed

I'm using an ESP32-C3. Here's the button part of my circuit: I want it to wake from deep sleep on a GPIO button press. It does wake successfully, but when I ask for the reason for waking, I get ...
legoblocks's user avatar
0 votes
0 answers
34 views

ESP32 Restarting

We see that there are problems with our microcontroller, an ESP323-S3, power supply. The module starts correctly from 4.2 V to 3.3 V. However, when the voltage drops from this value, the ...
Asier Mintegia's user avatar
1 vote
1 answer
68 views

Right dimensioning of zero cross detection circuit

I need to detect the zero cross of AC main (220V - 50Hz) with an ESP32 to make a phase shift control of a resistive load. Searching the web I found this circuit but I have some doubts on how to ...
Angel0ne's user avatar
1 vote
1 answer
69 views

How to use a Bzx55c zener diode with PTH resistor to protect analog inputs of the ADS1115 module?

I've been trying for a long time to build a circuit that serves as protection against voltage surges on the ESP32's analog ports or an analog port expansion module. I'm developing a personal ...
Gustavo Quirino's user avatar
0 votes
1 answer
42 views

Control (0 - 10 V) fan from LM358

I want to generate output of (0 - 10 V) from ESP32 GPIO (0 - 3.3 V). Basically fan is connected to the output. I am attaching a circuit of it. Do I need any changes in the design or it will work? Will ...
Zunuran Nasrullah's user avatar
0 votes
1 answer
58 views

ESP32-S3-MINI issues

This is my design of a simple ESP32-S3-MINI USB and BLE HID device. If I connect it to the PC it is only momentarily recognized and then disappears to show up again one second later. It is on and off ...
Markus Immig's user avatar
0 votes
1 answer
64 views

Does the ESP32 WROOM-32 have an internal RTC?

I am working on an ESP32 WROOM-32 now. My purpose is to have it read some data every 15 minutes, in between the ESP32 goes to sleep mode. Does the ESP32 have an internal RTC or timer? I searched on ...
Kuralmozhi's user avatar
1 vote
2 answers
79 views

LED indicator for PWM signal

I want to make a PCB that has an ESP32 on it, and the ESP sends a PWM signal to the motor driver. I want to indicate if the PWM signal is being sent or not by LED, without interfering with the PWM ...
Piyush Daigavhane's user avatar
0 votes
1 answer
48 views

Monitoring external battery voltage with ESP32

I'm trying to monitor a battery that is unrelated to my ESP32. The battery powers my gate and the ESP32 is powered by POE. The battery is a 12v battery. I am using a voltage divider and the ADC to ...
Paul B's user avatar
  • 1
0 votes
1 answer
69 views

Problems controlling the Roman Black regulator using ESP32

This is post is related to my previous post about buck converters.(DC-DC voltage regulator circuit (LTSpice)). Basically, I was suggested to make roman black regulator that could be controlled using ...
kauselis3000's user avatar
1 vote
0 answers
27 views

ESP32-S3: High (>500µA) deep sleep current with peripherals and GPIOs isolated

I'm debugging an ESP32-S3 module at the moment with a very high deep sleep current. That device is not running much more than a Bluedroid BLE GATT server and is built onto a custom PCB. I've isolated ...
Alex Turner's user avatar
0 votes
1 answer
63 views

What happens to ESP32 when VIN is connected, GND is not connected and an input pin is connected to the ground?

I have a box where we expose 3 pins, VIN, GND and an input pullup pin. In the input pin I have a diode to avoid positive input. In the ground is another diode to avoid positive input, too. What ...
Tico Fortes's user avatar
1 vote
0 answers
63 views

Circuit Design Explanation

Can anyone tell me how this circuit will work? I have a AI (analog input) 0-10 V / 4-20 mA and a AO (Analog Output) 0-10 V. I only have one IO pin from ESP32 from which I will use to get AI from a ...
Zunuran Nasrullah's user avatar
2 votes
1 answer
83 views

FAT32 file system corruption on internal flash of ESP32-S3

I am using an ESP32-S3 chip with 8 MB internal flash. Out of which 4 MB is for the FAT32 file system. I read and write files every 30 min into the file system. I am also using the wear leveling ...
cyber122010's user avatar
1 vote
2 answers
81 views

What is used to determine the length of a Wi-Fi SSID and password for the 802.11 standard?

I am finding a lot of conflicting information with regards to the data that can be contained in the SSID and passwords of a WiFi network. I would like to conform to the 802.11 standard and not only ...
Binder's user avatar
  • 120
2 votes
1 answer
50 views

Unbalanced vocals and instruments in audio output of Bluetooth sink example (A2DP)

I have an issue with I2s config in the context of a Bluetooth speaker project based on ESP32 and PCM5100A (along with PAM8909 as amplifier). This is my config: ...
Mohammed BENHADINE's user avatar
1 vote
2 answers
69 views

How do I best protect a PLC and power supplies from voltage and current spikes coming from actuated components?

Problem My PLC is getting voltage spikes in the onboard ADC readings when I turn on actuated components elsewhere in my electrical system. I need to protect my PLC from these spikes because they ...
Jman's user avatar
  • 53
1 vote
1 answer
44 views

PCB design around HTU21D and HTU31D temperature sensors

I'm currently designing a IoT device based on an ESP32. This one comes on a mainboard where HAT could be plugged in (nothing new here). The current HAT I'm working on is a temperature and humidity ...
Thibaut Delguste's user avatar
0 votes
0 answers
37 views

ESP32 simulate a current transformer

I currently have a current transformer that generate a 0 to 0.7 V AC voltage (in my case) when reading. It is actually an SCT013A current transformer. I would need to simulate it using ESP32, so ...
mapomapo's user avatar
0 votes
1 answer
57 views

Esp32-s2 does not respond to entering download mode!

Hello smarter than me people, Cannot seem to enter Boot mode using the esptool! PlatformIO IDE I have built a custom board with an ES32-S2 chip, I am trying to upload a test sketch to it using the ...
Rami Mehyar's user avatar
0 votes
0 answers
44 views

Turn off level shifter

I'm designing an LED controller with ESP for SK6812 and there are many of them connected so I need an extra power supply. The ESP uses 3.3 V but the LED's 5 V so I need a level shifter. There is not ...
4Source's user avatar
0 votes
1 answer
76 views

KiCad Schematic Check

I just want to make sure that the schematic I had made was done so correctly, specifically the button configuration. I want a 10 kohm pull-down for each button so I want to make sure that I had routed ...
Abhi's user avatar
  • 15
0 votes
1 answer
49 views

ESP32-C3 RF pin design question

I have a question regarding the ESP32-C3. I would like to have a transmission and receiver antenna in my system. The transmission antenna needs to be close to isotropic and the receiver must be very ...
Dimitar Zhekov's user avatar
0 votes
1 answer
86 views

ESP32-S3 bricked when using UART communication

I've just assembled a PCB with a ESP32-S3 on it. It has the buttons for reset and boot, but when connected by UART it gives the following output in a loop when reading serial. ...
Jaime Fernandez's user avatar
0 votes
0 answers
84 views

SPI Control of TMC5160-BOB using ESP32-S2 Feather

I am unable to drive a motor with the TMC5160-BOB using SPI commands. Anybody understand why? Block Diagram: Arduino C Code: ...
someguy67's user avatar
1 vote
1 answer
46 views

Issue when performing auto-flash on ESP32-S3 with CH340G

I'm designing a PCB with ESP32 and CH340G. When attempting to perform autoflash, I encounter an error: "A fatal error has occurred - Failed to connect to ESP32: No serial data received".The ...
Alex villey's user avatar
1 vote
1 answer
60 views

ESP32-WROOM-32E Custom PCB. Code gets uploaded succesfully but doesn't work

We designed a custom PCB which has ESP32-WROOM-32E. We first pushed our code onto a normal ESP32 DevKit commercial board to validate our code. There is no issue with the code. But when we push it to ...
Ajay R Warrier's user avatar
0 votes
0 answers
50 views

PWM is not controlling the fan, voltage drops | ESP32 4-pin fan driver

I'm know only a little about electronics but I had a try to create a driver for 2 120 mm fans (3 W*2). I have PNP, NPN BJTs and N-channel MOSFET IRF3205 which requires 4 V at the gate to be triggered. ...
Cranwell's user avatar
0 votes
0 answers
77 views

Mid-way level shift in RS485 tranmission

I have two similar devices that communicate using the RS-485 protocol with my ESP32 (through a MAX485 IC). One of them seems to have an issue midway through. Here is the scope image that shows the ...
Adarsh TS's user avatar
0 votes
1 answer
50 views

ESP32 Stepper Driver Library Issue

I have been having a wired Issue which I couldn't solve during the last two days :( I'm building a winding machine using a stepper. The Stepper runs fine with basic Arduino code but the stepper only ...
Phil's user avatar
  • 1
0 votes
1 answer
61 views

ESP32-C3 Deep Sleep Wake-Up

I am having trouble with getting the ESP32-C3-DevKit-M1 to wake up from deep sleep. I have reached out on other forums and have been told that the code works for them, but unfortunately, it does not ...
Abhi's user avatar
  • 15
0 votes
1 answer
46 views

Programmer for ESP32-C3-MINI-1 [closed]

I would like to know if it is possible to use the dev kit with the esp32-c3-mini-1 for flashing/programming the module. If not, are there any recommendations for programmers to use? I am very size ...
Abhi's user avatar
  • 15
0 votes
0 answers
28 views

Running Arduino IDE on ESP32-C3-MINI-1

I want to configure the software for the ESP32-C3-MINI-1 module but am unsure how to do so. Would this be done through the ESP32-C3-DEVKITM-1 or would there by a different RF testing board? Any help ...
Abhi's user avatar
  • 15
1 vote
1 answer
81 views

ESP32-C3 WiFi Not Working on Custom PCB

I recently created a prototype PCB for ESP32-C3 WiFi-connected LED earrings. These were just quick proof-of-concept boards, and peak efficiency was not the goal. The issue is, I am unable to get WiFi ...
Vera Fodor's user avatar
0 votes
0 answers
29 views

Using TSOP53456 IR receiver module to detect the presence of IR light

I'm doing a project using two ESP32-C3 microcontrollers and some IR LEDs and IR receivers to make a solution that would let me measure the time it takes someone to run some X distance. It works by ...
f0dor's user avatar
  • 1

1
2 3 4 5
18