Questions tagged [esp32]
For questions about the ESP32 series of microcontrollers. Use in conjunction with the "microcontroller" tag.
485
questions
1
vote
0
answers
37
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
70
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 ...
5
votes
1
answer
64
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 ...
-1
votes
0
answers
24
views
Generate PWM signal with ESP-32
I need help on the code to generate a signal with eight pulses at various frequencies and various duty cycles using ESP 32. The frequency varies from 200KHz to 1MHz. (There is a table for the various ...
0
votes
1
answer
67
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
65
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
74
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
55
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
30
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
223
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
35
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
46
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
56
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
31
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
36
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
125
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
63
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
45
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
53
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
45
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
48
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
76
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
31
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
73
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
52
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
46
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
35
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
56
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
67
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
30
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
43
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
38
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
68
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
560
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
124
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
83
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
31
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 ...
1
vote
0
answers
40
views
Does the external hardware interrupt affect both cores in ESP32?
I am working on a project, where I am implementing FreeRTOS on an ESP32 DEVKIT-V1 module. One core is specifically dedicated to reading high precision rotary encoders. I am reading the number of ...
6
votes
2
answers
2k
views
Can ESP32 be used in a commercial application?
I am currently choosing a processor for my embedded robotics project. I have just completed a prototype with the ESP32 DEVKIT-V1 module.
I hope to commercialize my product in the future, however, when ...
0
votes
2
answers
87
views
Dimmable LED strip from 3.3V
I want to control a 5A maximum 12V LED strip from a 3.3V ESP32.
I want do all of this with THT components ideally. I've been struggling to find the best way to drive the N FET so settled with an NPN ...
0
votes
0
answers
33
views
Error after flashing the example on my esp32-c3 board
I am currently trying to develop software for a board I created a short time ago with the esp32c3 as microprocessor.
I followed all the steps of the espressif 'get started'.
I firstly set the ...
0
votes
1
answer
76
views
How do I check compatibility of MCUs? I want to connect an ESP32 and an MSP430 together
I want to connect an MSP430FR6989 and ESP32 together in order to give the MSP430 WiFi functionality for a project I am working on. I am still new to working with MCUs so I was wondering if it is ...
1
vote
1
answer
60
views
Is ESP32's GPIO25 Pin adc1 or adc2?
I am trying to design a PCB with ESP32 and a Lora module I want to use serial1 for Lora RX/TX communications. I saw a board which is using GPI35 to Lora RX and GPIO25 to Lora TX. But in same time ...
0
votes
0
answers
46
views
LED matrix power and multiplexing
I am trying to build a 7 character LED matrix (so 5x7 x 7 LEDs). I need it to be controllable from an ESP32 with Arduino code. So far what I've learned is that I need shift registers in order to ...