Skip to main content

New answers tagged

1 vote
Accepted

Using external power with CP2104

That schematics will not work. Please refer to CP2104 data sheet for a reference design which tells how to make a self-powered CP2104 design correctly. You need to supply it with the 3.3V from the ...
Justme's user avatar
  • 164k
1 vote

Can ESP32 be used in a commercial application?

Well, in my opinion, based only on my 2 years experience working with both, first with STM32 and then with ESP32, I think it it's a matter of IDE and tools, the STM32 ones being much more comfortable ...
Pablo Carvelli Vargas's user avatar
0 votes
Accepted

Powering an ESP32 from a 1s LiPO

The LTC2954-1 has an open drain EN output and the TPS63802 has a high impedance EN input. So you need a pullup resistor at the EN signal. The current through this resistor will drain the battery, so a ...
Jens's user avatar
  • 7,865
0 votes

Purpose of VDD_SPI pin for ESP32-S3-MINI

Assuming the C3 is the same as the S3, that pin is the power supply pin for internal AND external flash. If you use the chip with ONLY external flash AND it has power supplied externally then you can ...
Spehro 'speff' Pefhany's user avatar
1 vote
Accepted

Purpose of VDD_SPI pin for ESP32-S3-MINI

This might be something you need to ask from the manufacturer to get a specific answer. But in general, it's a voltage output that has selectable voltage and controllable to be on or off for sleep ...
Justme's user avatar
  • 164k
1 vote
Accepted

ESP32 ADC attenuation values

Yes. In ESP32 The attenuation does the same as a voltage divider. The attenuation happens on the adc input signal rather than doing anything with the reference. As documentation indicates, for DB_0, ...
Saadat's user avatar
  • 1,938
3 votes

Correct schematic to drive 12 V relay?

Neither one is correct. The coil is pins 1 & 4. The diode is correct so either the collector goes to 1 and Vcc to 4 or the reverse. Based on the diagram in the schematic symbol you have and ...
Spehro 'speff' Pefhany's user avatar
6 votes

Is this schematic ready to be made into a circuit?

In addition to what Kuba has said: your LED connector seems to be used for getting 12 V supply into the system – but where do you connect your power supply's ground? That's equally important, and ...
Marcus Müller's user avatar
5 votes
Accepted

How can I connect 8 I2C modules with entirely different addresses on ESP32?

For using multiple modules on the same I2C bus, you need to check: that no module tries to pull the voltage higher than the maximum allowed voltage for any other module (nb: some modules might allow ...
Sandro's user avatar
  • 7,938
4 votes

Is this schematic ready to be made into a circuit?

There may be other problems, but let’s start with the basics: Power supply input connector is missing - where 12V is fed into the circuit. Missing is the bulk decoupling capacitor for the 12V supply....
Kuba hasn't forgotten Monica's user avatar
2 votes

Hardware debouncing of 3.3V high signal for an ESP32 turned on via optocoupler

The circuit you show does not do proper hardware debouncing since the GPIO of the ESP32 do not have Schmitt triggers. It will reduce the number of transitions and may appear to be correct but there ...
Spehro 'speff' Pefhany's user avatar
3 votes
Accepted

Hardware debouncing of 3.3V high signal for an ESP32 turned on via optocoupler

Look at what happens to supply current if I charge a capacitor directly across a power supply when I close a switch: simulate this circuit – Schematic created using CircuitLab Here's power ...
Simon Fitch's user avatar
  • 42.1k
4 votes

Hardware debouncing of 3.3V high signal for an ESP32 turned on via optocoupler

By switching an optocoupler the cap is directly connected to 3v3 source so a “huge” current will initially flow through cap and opto. (Discharged cap acts as short). Some resistance should be placed ...
Michal Podmanický's user avatar
0 votes
Accepted

PCF8563 not answering ACK, is there something wrong with my circuit?

Good, that you added a layout image. Pin 5 and 6 of the RTC IC are swapped in the layout. Pin 5 is SDA and 6 is SCL. The GND connection of pin 4 is not visible, but this may be because the filler is ...
Jens's user avatar
  • 7,865
1 vote

ESP32 GPIO LED pulldown

That pin is a MTCK pin for JTAG clock. It has a weak pull-up enabled which can be controlled by EFUSE_DIS_PAD_JTAG, as normally you really don't want to have floating JTAG pins. You might not want to ...
Justme's user avatar
  • 164k
1 vote

PCF8563 not answering ACK, is there something wrong with my circuit?

Any suggestions on what I’m doing wrong ? The OSCI input requires a capacitor to ground (usually a trimmer to calibrate the clock precisely) having a value between 5 pF and 25 pF: - You can check ...
Andy aka's user avatar
  • 466k
1 vote
Accepted

ESP32 protoboard wifi not working due to jumper wires?

I think your experiments already confirmed that the proximity of the prototype board near the radio module is the issue. Did you check if there is any uninsulated metal on the bottom of the ESP board ...
BK303's user avatar
  • 781
0 votes

Generating current limited bipolar pulses with MCU and H-bridge?

A while ago I have built a little battery supplied electro acupuncture device. This is a simplified extract of the schematic, that shows the HV output stage. I did not include the HV measurement, ...
Jens's user avatar
  • 7,865
5 votes

How to control digital potentiometer MCP41010 using ESP32? (running into a weird error)

GPIO35 is input only. Choose a different GPIO for your CS.
Kartman's user avatar
  • 6,513
1 vote

Music player via ESP32

You can't put a 10uF capacitor from DAC output to GND. Or from any IO pin for that matter. It will prevent the audio from working and may even damage MCU output. Remove it. Maybe you intended to ...
Justme's user avatar
  • 164k
1 vote

ESP-32 I2S configuration for INMP441 MEMS microphone?

A few common sources of audio noise are: Insufficient sample rate Insufficient buffer size Insufficient and/or irregularly spaced CPU cycles allocated to the sound task Mismatching sample rate and/or ...
pion's user avatar
  • 667
1 vote
Accepted

ESP32: Random restarts, probably due to voltage instabilities

To check for power supply issues, you can use a scope and probe 5V and 3V3 while the ESP32 draws pulsed current. The worst case for supply current is when transmitting over WiFi so you can use that, ...
bobflux's user avatar
  • 80.3k
0 votes
Accepted

ESP32 with CH343 serial timeouts on flash but monitor works

The problem here turned out to be the built-in CH343 driver in OS X Sonoma. I installed the driver here and it resolved the issue: https://github.com/WCHSoftGroup/ch34xser_macos
flimsy's user avatar
  • 362
0 votes

XIAO 24GHz mm wave sensor not working with I2C OLED display

In the future, it will help to write it in C++, not in some weird mix of C preprocessor, C, and C++. This is not the source of your problem, but good habits are best learned early. A lot of the "...
Kuba hasn't forgotten Monica's user avatar
1 vote

XIAO 24GHz mm wave sensor not working with I2C OLED display

The error seems to mean that you have some sort of NULL pointer exception. There is something odd with that statement from your code ...
Blup1980's user avatar
  • 6,651

Top 50 recent answers are included