Questions tagged [esp32]
For questions about the ESP32 series of microcontrollers. Use in conjunction with the "microcontroller" tag.
491
questions
0
votes
1
answer
53
views
Long rise time on UART RX line
I'm attempting to replace a controller unit (based on an STM32F1) with my own design (based on ESP32), but I'm stuck at the UART RX (seen from the controller side). The rise time of the signal is too ...
0
votes
0
answers
56
views
ESP32 with CP2102 - PC does not recognize the controller
The controller that I made does not show up in the device manager when connected to PC. I checked the drivers and the problem is not there. I already found (and corrected on the schematic) one mistake ...
1
vote
2
answers
60
views
ESP32 - FreeRTOS conflict with tasks and interrupt
I have an ESP32 using an 8 bit I2C multiplexer TCA9548 IC. TCA9548 IC is connected to my ESP32 SCL and SCA pins.
I have the following I2C devices connected to the I2C TCA9548 expander so I can choose ...
1
vote
1
answer
111
views
First PCB layout but can't validate yet [closed]
I'm learning some basic circuitry with an ESP32 Dev Kit and copied some schematics online to connect the ESP32 to external power, a relay and an input reed switch sensor. My problem is I'm still ...
1
vote
1
answer
43
views
Why my ESP32-CAM won't power up with 5 volts?
I'm new into electronics and I decided to power up my ESP32-CAM with a 9V battery instead FTDI programmer (I measured it, it gives 5V to ESP32-CAM). I thought if I reduce voltage to 5V with mini ...
0
votes
4
answers
88
views
How to get multiple voltages from a single battery?
I have a 12V battery.
I want to take 3.3V from it for my ESP32 Microcontroller. I also want to take the remaining voltage (say 8.7V) for my motor driver to drive motors.
How can I achieve that ...
0
votes
3
answers
111
views
Generate a signal with 8 fixed-width pulse with varying interval
I am working on an ultrasound device. We want to generate a particular signal to drive the 1 MHz piezoelectric transducer at various resonance frequencies point.
The goal is to write a code using ...
0
votes
0
answers
58
views
Why does ESP-prog need JTAG connection to program an ESP32?
I recently bought an ESP-prog module, and use it to debug/program esp32 chips, using vscode and platformio. I am connecting the JTAG cable and the program cable. Debugging works well, and programming ...
1
vote
0
answers
43
views
ESP32 PWM: How far can it go and how many things can I control per pin?
I am designing lights lights for my fish tank and came up with the idea of using modular pucks of LEDs on small custom PCBs. This modular design would be easily scalable and reusable for future ...
0
votes
2
answers
73
views
How to prevent LED strip from flashing at full brightness when the ESP32 boots
I have a QtPy ESP32-S2 powered by USB, running CircuitPython. It hosts a single web page that allows setting the red, green, blue, and white values for a 12V RGBW strip. The pins A0 - A3 send PWM ...
6
votes
1
answer
78
views
Weird PWM signal if powered by AC/DC source
I've developed a PWM LED strip dimmer equipped with a 230VAC to 5VDC converter and an ESP32 board (schematics below). If I hook up the oscilloscope to the input of the LED, the PWM signal shows weird ...
0
votes
2
answers
96
views
How to switch a SIM800L modem on/off with an ESP32-CAM, without a relay?
I would like to turn a SIM800L modem on/off (to save battery), controlled with GPIO 16 on an ESP32-CAM, without a relay.
It was working OK with an electromagnetic relay, but I'd like to avoid the ...
2
votes
0
answers
67
views
Reading 2 digit 7 segments with ESP32 using TM1650 maybe?
I have been trying to contact a forum member that has done a modification to his pool equipment in order to control it remotely instead of having to go to the box every time and check on the codes. ...
1
vote
4
answers
87
views
How to regulate 5V 3A to 3.3V for ESP32 and level up 3.3V to 5V on a PCB?
I'm making my first custom PCB with an ESP32-WROOM-32E. I am following this tutorial for the ESP32 part. My project requires a 5V 3A power supply but the ESP32 only takes 3.3V.
The tutorial uses an ...
1
vote
2
answers
58
views
Ai Thinker ESP32-CAM max input voltage
What is the maximum input voltage on the Ai-Thinker ESP32-CAM?
I'm asking because the official docs specify a max input voltage of 5.25V, however it has an AMS1117 power regulator which has a maximum ...
0
votes
0
answers
33
views
Set brightness of flash lamp/LED with an ESP32
This sketch is to turn on and turn off an LED flash (torch) on board ESP32S camera periodically
...
-2
votes
3
answers
245
views
The ESP32 how use internal INPUT_PULLDOWN
The ESP32 devkit recognizes inputs 1,3 and 5 as high state when they shouldn't
the code
...
1
vote
1
answer
37
views
Looking for advice on a 12V relay circuit with ESP32
I've made the below circuit on a custom PCB and it doesn't appear to work as intended. For whatever reason, I'm seeing only ~3.8-4V on the coil pins of the relay rather than the expected 12V needed to ...
0
votes
0
answers
48
views
How does this timing diagram work
I am trying to control this DAC using an ESP32 via SPI. In the datasheet, I found this timing diagram in order to send an 8-bit serial word.
\
I have implemented this using the below code. However, ...
1
vote
1
answer
58
views
Audio noise when transmitting radio packets using the ESP32
I am building a sort of walkie-talkie using an ESP32 WROOM chip. I use the internal ADC to sample the microphone and the internal DAC to power small headphones. This all works OK, not the highest ...
-1
votes
1
answer
44
views
Serial2.write not working on ESP32
well I using topway brand HMI display it is very easy to use with Arduino nano or UNO with rs232 converter. this my converter:
. for example this code is writing "63" number on display. it ...
1
vote
0
answers
40
views
Problem with updating ESP32 firmware through external web server
I tried to implement OTA programming by making a web server and connecting to it and loading the bin file using my phone. It worked, so now I'm trying to do the OTA programming for my ESP32 using an ...
1
vote
2
answers
127
views
Get more current
I would like the ESP-WROOM-32 to supply more current than a single pin provides. For example, about 100mA. I have seen in its datasheet that the current a pin supplies when it is HIGH is 40mA. If I ...
0
votes
1
answer
87
views
Is it better if each integrated circuit has a dedicated voltage regulator?
I have a circuit consisting of an ESP32 microcontroller and some integrated circuits. Is it better if each integrated circuit has its own voltage regulator?
Example:
Full circuit after modification :...
0
votes
2
answers
64
views
Do I need RTC while I'm using NTP?
We know computer and another device like microcontroller is not accurate in ticking clock comparing to wall clock that using cesium atom.
I heard RTC module is purpose to making accurate the ticking.
...
1
vote
2
answers
64
views
strange behavior of 3x4 keypad [closed]
hi i tried to use the keypad.h library for sending a pressed key to serial port of esp32 by Arduino platform but it didn't work and it only detected rows. so i tried to write a function for running ...
0
votes
2
answers
47
views
ESP32-WROVER-E CE certification is needed on a new PCB?
We are making a new PCB that integrates a ESP32-WROVER-E chip. Indeed, ESP32 is welded to a new pcb.
As ESP32 module is already CE certified and we are not modifying anything of this module, do we ...
2
votes
1
answer
59
views
Powering esp32 via v5 influences ds18b20 working (which is powered with 3.3v)
I'm running a wire of 12 ds18b20 sensors on a esp32. The wire (utp5 cable) is 1m to the first sensor, and then 15cm between every sesnor. Power via 3.3v pin of the esp32 (wroom32 dev board) a resister ...
1
vote
0
answers
28
views
VL53L3CX XSHUT PIN PROBLEM IN DEEP SLEEP
I have project using a VL53L3CX distance sensor. Also , I control it by ESP32. In normally, I can command to XSHUT pin. And I can read xshut pin of ESP32 that is 3V3 or 0V.
But, When ESP32 enters deep-...
1
vote
0
answers
50
views
ESP32 High Sample Rate I2S
Recently, I've been working on a project that involves receiving a high sample rate I2S signal and writing it to an SD card with an ESP32. At the moment, however, I believe I'm struggling to even ...
0
votes
0
answers
50
views
Blocking Task when calling vTaskDelay
I'm running some tasks in esp32, my problem is when im calling vTaskDelay() from a task, an other task start executing, wich is something i dont want, so how to make vTaskDelay() a blocking function ...
0
votes
1
answer
77
views
ESP32 sourcing 20 times 5 mA?
I want to drive 20 optotriacs (MOC3063, each requiring 5 mA from the control side for the diodes in the optos).
I want a 3.3 V ESP32 nodemcu board (wifi enabled as acces point) to control them.
These ...
0
votes
0
answers
33
views
Circuit to enable/disable ESP32 GPIO pins during bootstrap
I am developing an ESP32 board and I need to use all the GPIO pins of the ESP32. But I have some problems during bootstrap, since:
some GPIOs emit a PWM signal which can affect the connected circuits;...
1
vote
1
answer
81
views
MAX31865 and MAX31855 Completely not Working
I am beginner in Electronics.
While working with MAX31865 and MAX31855 Modules it was working perfectly, but after designing custom PCB based on modules its not working.
RTD shows -242C and 982C ...
1
vote
0
answers
66
views
Send data to MQTT broker using SIM800 and ESP32
I'm working on a project in which I need to send data to an MQTT broker installed on a Raspberry Pi.
I refer to the tinyGSM library and this tutorial along with this example.
The ESP32 remains in ...
1
vote
0
answers
66
views
Why is ESP32 BLE so power hungry?
The ESP32 consumes around 100-130mA when BLE is active and transmitting, while other BLE chips like nRF8001 only consume around 13mA when BLE is active and transmitting.
Am I missing something, or ...
0
votes
0
answers
38
views
Audio noise on output of PCM1789
I am developing a Bluetooth adapter to be able to listen to music from my phone in my car. I am doing that with ESP32, from which the audio data is sent to PCM1789 which converts it to the analog ...
0
votes
1
answer
50
views
ESP32-S2 JTAG programing problems
A bit of introduction:
I am using ESP32-S2 module with custom PCB and I want to use J-TAG for programming and debugging with ESP-PROG. I am using Eclipse with ESP-IDF plugin (version 4.4) installed, ...
1
vote
0
answers
40
views
Can i use ESP32 3.3V pwm on MG90D Servo
Ok so, im building the eletronical part of a sumo robot for my university team, and i came to a barrier, on past researchs we came to the conclusion that using MG90D servo is the best option for us (...
1
vote
1
answer
63
views
ESP32-S3 Mini OTG not recognized serial port
I am working on a new iteration of a project I have been working on for awhile and recently upgraded to the ESP32-S3-MINI from ESP32-S2-WROVER-N4R2. For the esp32-s2-wrover I was able to simply put ...
0
votes
2
answers
82
views
Connect 3-wire SPI to ESP32
I have an "SPI" 4 channels with the below pinouts, datasheet is here:
They say this is an SPI DAC, but from what I remember SPI is the following:
CLK
MOSI
MISO
CS
However the above IC does ...
0
votes
0
answers
35
views
How to make ESP32 Camera module capture a photo triggered by Arduino?
as the title says, is it possible to trigger the ESP32 cam module via Arduino Uno? If so, how? Any response shall be very much appreciated. ❤️
1
vote
0
answers
52
views
Unable to flash ESP32 WROVER
I designed a PCB with a ESP32-WROVER-E(16MB). I am unable to flash it. The PCB and schematics are given in the following link.
https://oshwlab.com/gadisureshkumar/2021-12-28-iot-now-motor_copy
I had ...
1
vote
1
answer
45
views
H-bridge gate driver for an ESP32
I used an H-bridge for 12V 10A brushless DC motor. The motor must run in both directions.
ESP32 ----- Multiplexer Circuit ---- Gate Driver ---- H Bridge ---- Motor
I have a few questions.
Am I using ...
1
vote
1
answer
78
views
COM Port not Detected on Windows for CP2102 on Custom PCB
I am using CP2102N-A02-GQFN24 on my custom PCB to program my ESP32 board. I am not able to see any COM port on my Windows 10 PC. I can connect to an off the shelf CP2102N-A02-GQFN28 USB UART bridge ...
11
votes
1
answer
578
views
ESP-WROOM-32 unable to flash with auto-program UART
I just made a custom schematic and PCB with an ESP-WROOM-32 module. The board has a USB-UART chip (CP2102) and an auto-program circuitry to flash firmware without pressing buttons, but it doesn't work:...
-3
votes
1
answer
56
views
Low Cost andd Urgent H Bridge Need?
I am Creating a H Bridge for 4 x 12V 5A BDC Motor with driving ESP32 Digital Output.
Do I need any Components? because I Must be Small PCB design.
(Maybe I can place 1k Resistor to N Channel MOSFET ...
0
votes
1
answer
144
views
Max485 Overheat
All - I know variations of this have been asked, but I couldn't find one that seemed to address my application or situation and apologize in advance for any overlap
I have a board design used to ...
0
votes
1
answer
86
views
Nixie anode transistor dimmer
I'm working on my nixie clock (IN-14) and I am stucked on one problem.
When I tried to dim my nixie tube through transistor on cathode, everything works fine.
simulate this circuit – Schematic ...
0
votes
1
answer
33
views
Troubleshooting WiFi connection of my custom PCB - adding antenna to an ESP32 WROVER
My custom PCB sports an ESP32-WROVER-E.
I have noticed that it suffers from weak WiFi connection to the contrary of the WROVER and WROOM dev kits I have (see below for the test I wrote).
I suspect ...