Powering ESP32 with 7.4V battery. PCB Design review

Thread Starter

statieva

Joined Nov 27, 2024
40
Do you have a meter do get some test readings?
Something is definitely defective or wired incorrectly.
Yes, I have a multimeter. By the way, I just uploaded a simple sketch to control the relay, and it works with the flyback diode. I’m thinking of step by step adding functions to see when it starts failing.
 

Thread Starter

statieva

Joined Nov 27, 2024
40
A meter is a faster way to do this.
What's a sketch?
Is this a sim or an actual constructed circuit we are talking about?
It's quite bulky, I’m not sure it will be easy to read. Do you have something specific in mind?
What readings with a multimeter do you suggest to take?
 

sghioto

Joined Dec 31, 2017
8,729
Code or software issue possibly.
Can you disconnect that IO16 pin from resistor R15.
Then read the voltage again on IO16.
 
Last edited:

Thread Starter

statieva

Joined Nov 27, 2024
40
Should work see what it reads.
Suspect the problem is in the code.
I tried measuring the frequency, but it shows nothing. Alright, I guess I need to check my code again. Thank you very much for your pieces of advice! I will post an update if I find a solution.
 

Thread Starter

statieva

Joined Nov 27, 2024
40
I tried measuring the frequency, but it shows nothing. Alright, I guess I need to check my code again. Thank you very much for your pieces of advice! I will post an update if I find a solution.
It was a software issue and now it's resolved. The pin stays at 0V when LOW, and the diode functions correctly. After several days of testing, the problem seems to have disappeared, and the PCB is working reliably.
 
Top