New answers tagged

1 vote

Interface Parallel display - ESP32

In this case, the LCD, Controller, Backlight and Digitizer need to be thought of as separate items that are bundled together into a module. Somewhat generic controllers are often placed onto the flex ...
Attie's user avatar
  • 727
0 votes

Make mechanical switch panel smart (or how to electronically push buttons)

For pulling 3V3 to gnd you don’t need and extra transistor, just pull with mcu pin. If you want to use an external transistor anyway use this: For switching 12V use this circuit:
Michal Podmanický's user avatar
2 votes

Problem with connecting an ESP32 with a DSLR camera

According to this page on shutter release cables, there are only three pins involved in the shutter release of the Nikon D5500. Double check which wire is connected to which pin using an ohmmeter, ...
JRE's user avatar
  • 71k
1 vote

Replicating ESP32-CAM

You definitely need more than 10 pins, as far as I can tell: 8 parallel data lanes, which you will have to connect to pounds of the same gpio bank if you want anything like working dma transfers 1 ...
sina bala's user avatar
  • 560
0 votes

How do I troubleshoot the ESP32 USB JTAG/UART interface on a new PCB design?

It turns out our D+ pin didn't have enough solder to the ESP32. In case it helps someone else, this is how we troubleshot the issue: First, get a USB-C breakout passthrough board (passthrough is ...
KJ7LNW's user avatar
  • 1,912
1 vote

Can an ESP32 be fed an audio signal and then output that audio to a Bluetooth speaker?

According to the A2DP Source (Music Sender), yes it is possible. You need to set the Bluetooth device name (sink) that you want to connect to and a callback that can supply PCM audio data to be sent. ...
user85471's user avatar
  • 271
0 votes

PCM to decibel conversion in ESP-IDF using PDM microphone

If the logarithm of your RMS is -inf, the RMS was 0. So, make sure you're really averaging the right things, correctly. Also, don't average, just sum; division is expensive, and integer division might ...
sina bala's user avatar
  • 560
2 votes

PCM to decibel conversion in ESP-IDF using PDM microphone

"dB" is always relative to a reference, and 0 dB is equal to the reference. For digital data, "dBFS" (decibel full scale) use the largest possible digital values as the reference, ...
Simon Richter's user avatar
1 vote

BME280 temperature sensor gives wrong readings when RGB leds are on/off

TL;DR: The sensor should be thermally decoupled from where the LEDs are, that's about it. It gets warmer when the LEDs are on, whether by conduction, convection, or a mix of both. It quacks like a ...
Kuba hasn't forgotten Monica's user avatar
1 vote

BME280 temperature sensor gives wrong readings when RGB leds are on/off

I don't think the effect is related to the LEDs at all! In 2 of the 4 light transitions you illustrated (where the effect grows) the temperature deviation starts before the light actually transitions. ...
Sim Son's user avatar
  • 2,753
0 votes

Custom PCB using ESP32 is rebooting infinitely after upload

Beside tons of software related stuff that could cause bootloops (broken firmware, wrong partitioning, corrupted bootloader), the one apparent thing in your circuits are the missing pullup resistors ...
Sim Son's user avatar
  • 2,753
0 votes

ESP32 S3 OTG not recognized by pc

The ESP32-S3 chip needs to be in bootloader mode before it can be detected as a DFU device and flash. This can be achieved by pulling GPIO0 down (e.g., pressing the BOOT button), pulling RESET down ...
3 votes

BME280 temperature sensor gives wrong readings when RGB leds are on/off

Just by looking at the pictures, the following is quite hard to believe: The BME280 is in the open air, next to the Sonoff and away from the LEDS so it's not affected by their heat The wires to the ...
Justme's user avatar
  • 144k
2 votes

BME280 temperature sensor gives wrong readings when RGB leds are on/off

Your graph is showing gradual convergence / divergence between the sensors over a period of 10-20 minutes; this points towards a thermal effect not electrical. Out of the top of my head, I see three ...
DamienD's user avatar
  • 3,223
4 votes

BME280 temperature sensor gives wrong readings when RGB leds are on/off

By the current information from the post and comment, I still not able to conclude the mechanism and solution for this problem. As it might take a lot of time and effort to fully understand everything,...
M lab's user avatar
  • 1,392
1 vote
Accepted

Switching a 12 V pump with an N-channel MOSFET burned out my ESP32

You should have a flyback diode across the load, otherwise the MOSFET will likely avalanche and die eventually due to pump motor and wiring inductance. You should be using a logic level MOSFET with ...
Spehro Pefhany's user avatar
0 votes
Accepted

ESP32-CAM flash via UART

The TXD pin on Arduino is MCU TXD out to RXD of PC. You need to connect the TXD output of ESP32 to TXD pin of Arduino in order for the PC to receive data. So connect TXD to TXD and RXD to RXD. The UNO ...
Justme's user avatar
  • 144k
1 vote

What improvement can I make to this circuit?

The 5V addressable LEDs generally do not work with 3.3V data bus from MCU. You need a level shifter to convert a 3.3V high speed data signal to 5V.
Justme's user avatar
  • 144k
1 vote

What improvement can I make to this circuit?

You have made good improvements based on your questions. My suggestion is to take a step back and look at simplifying your architecture. Try to solve 1 problem at each iteration. Having multiple non-...
JkingNH's user avatar
  • 56
1 vote

Force-sensitive resistors to measure impact

It's more likely that the Arduino is just missing a very short-lived event. My easiest recommendation would be to pare your code down to bare minimum, as @jsotola recommends in his comment. The best ...
Scott Seidman's user avatar
0 votes

Relay circuit for DC LED strips switch

Yeah, the relay can handle the input voltage by a factor of 10x Usually the flyback diode is drawn across the terminals. You may want to use a FET instead of a BJT to avoid the voltage drop of the BJT ...
Voltage Spike's user avatar
  • 81.3k
1 vote

Design review request : First AC design - Is this dangerous?

If it has to fit inside a junction box it will be very tight so I don't understand why you want to use two cheapo power supplies while it would be cheaper and smaller to use one from a known reputable ...
bobflux's user avatar
  • 75.8k
1 vote
Accepted

I2C issues with ESP32-S3 and 3 separate sensors

The ADC is missing power supplies. You can fix the schematics and order new PCBs. Or fix the PCB with hobby knife and jumper wires. Or replace the incorrectly connected caps with short circuits for a ...
Justme's user avatar
  • 144k
0 votes

ESP32-C3 USB not working with Android

Here's what happens. When you connect the ESP32-C3 to the phone, the power light comes on and the terminal app reports that a USB device is available. You tell the app to connect to the device, then ...
JavaLatte's user avatar
  • 245
1 vote

Design review request : First AC design - Is this dangerous?

If you are determined to use your design and components: The circuit schematic needs some improvement, as in Kuba's answer, I'd add some diodes to ensure there is no possible way for the power ...
Justin White's user avatar
6 votes

Design review request : First AC design - Is this dangerous?

Kuba beat me to commenting on the direct-paralleled outputs, so on to other things. Overall, you have relatively fat traces for the low current AC input, and thin traces for the higher current DC ...
AnalogKid's user avatar
  • 19.6k
15 votes

Design review request : First AC design - Is this dangerous?

The idea is that even if one of the two HiLink units fail, the other one will keep working. Power supplies do fail catastrophically by blowing the input fuse. So you'll need a fuse per each supply. ...
Kuba hasn't forgotten Monica's user avatar
2 votes

Capacitive soil moisture sensor value drift over time

Are you sure there's really a problem at all? Soil moisture isn't a fixed value - it does vary over the course of the day. I have an on-going project that monitors the soil moisture in the flower ...
JRE's user avatar
  • 71k
0 votes

Reading a negative voltage with ESP32

Since you did not mention what is the impedance of input signal when is at -1V5 rather use high base resitor like 100k. If the input inpedance is low enough you can use lower base resistor. You have ...
Michal Podmanický's user avatar
0 votes
Accepted

ESP32 Dev board NPN Circuit

To make it easier to understand, redraw the circuit as follows and include two pull-up resistors from the right corner of the picture. Now you can see, that when DTR is high, EN pin will be the same ...
Maple's user avatar
  • 12.4k

Top 50 recent answers are included