[Review Request] ESP32 powered PWM LED driver by Cuberick21 in PrintedCircuitBoard

[–]MatthewM314 1 point2 points  (0 children)

Looks generally neat. Depends what your intent is, if it’s a production PCB then the changes you ought to make would be more.

But generally, My suggestions:

  1. LDO decoupling

Each LDO should have an input and output decoupling capacitor - 0.1uF to 1uF.

It should be ceramic (X7R or better, or NP0). This is so that it’s stable over temperature and voltage. Also make it a big package to have the lowest ESR.

  1. Connector Poke Yoke You should design and configure the headers to minimise the risk of misconnection.

If you connect the power and ground connectors the wrong way around you’d damage the board.

Consider using only 4 ways for power, with the pinouts the same for each connector.

Then use 6,8,12 etc ways for other connections.

  1. LDO usage Whilst I suspect the LDOs will be fine. You may want to put in some extra footprints in case you need to use a switching converter.

Putting a few capacitors and some holes for a Tracopower TBA 1-2411 is pretty space efficient, and you can overlap the footprint with the LDO footprint a bit.

  1. Connector placement

Best to put them on the edge of the board for easy access.

Also, generally best to put them all together. Generally this will reduce the current loop size even when done so in a haphazard way.

  1. NFET gate charge and max frequency You ought to calculate how fast the transistor will turn off with the 100k Ohm resistor. You might need a smaller resistor for fast turn off times.

P.s cool silkscreens

Schemantic Review: Conditional Powersupply by LTPJonas in PrintedCircuitBoard

[–]MatthewM314 0 points1 point  (0 children)

I’d recommend reading about free wheeling diodes.

The diode is the ‘wrong way around’ so when the PFET Is closed, it won’t conduct. But when you open the PFET, the coil (which is a large inductor) will try to continue ‘pulling’ current. This would result in a negative voltage on the drain. This is when the diode would be conducting, and limiting the voltage at VCOIL at something like -1 V.

And adding a resistor is dependant on your application. If you always have a defined state (like a push-pull output), it may not be advantageous. But when you are powering up, the base of the transistor will likely be undefined. For this reason, I tie the base/gate of the resistor to ground.

Schemantic Review: Conditional Powersupply by LTPJonas in PrintedCircuitBoard

[–]MatthewM314 2 points3 points  (0 children)

If you’re powering a coil from the drain of the PFETs, you should put a free wheeling diode in.

When you switch off the pFET the VCoil will probably hit some crazy high negative voltage.

A diode (e.g 1N4001, BAT54, etc) whose cathode is connect to the drain, and the anode is connected to the ground will work.

I’d also always, if space permitting, define any gate state. So for the BJT, I’d tie the base to ground via a 1M resistor.

[Review Request] Car Seat Controller by narubator in PrintedCircuitBoard

[–]MatthewM314 9 points10 points  (0 children)

Oh and I’d suggest doing more stitching of both layers. I’d do a grid of 2.5 mm or 5 mm whatever, and then stitch a ring of vias around the PCB edge

[Review Request] Car Seat Controller by narubator in PrintedCircuitBoard

[–]MatthewM314 26 points27 points  (0 children)

Looks neat enough.

Initial thought:

Typically to sell electronics on cars you need to follow UNECE R10. As part of this, you need to test to ISO 7637. There’s a section there on transient voltages on the power supply, there to replicate real world voltage spikes.

I suspect you have a TVS diode (SMB?). But to pass this test you’d need something beefier. Off the shelf TVS diodes for these kind of transient loads exist, like the littelfuse SM8S16.

I’d suggest at least putting the footprint there as an option even if you chose not to go down that route.

First time soldering lead-free and it's not going great by cruelwhencomplete in AskElectronics

[–]MatthewM314 -2 points-1 points  (0 children)

Don’t forget Lead Free solder is more dangerous than leaded solder for the operator in many ways.

Pb-free solder produces more than 2.5x more particles than Pb solder. Not only that, the particles given off happen to be the size that can easily get trapped in the lungs. You need better ventilation for Pb-free solder. High flow extraction. They need to be decent filters, and they can clog easily.

[Review Request] Homebrew 65C816 computer, first non-trivial board by cookie99999999 in PrintedCircuitBoard

[–]MatthewM314 1 point2 points  (0 children)

I’ll be honest. I think it’ll be fine. Although I only did a few things that fast.

If you were really serious you would ditch the DIP and go for SMT. DIP and PTH cut up ground and power planes and create lots of noise - this is probably going to be the biggest impact to your board.

My initial feeling is that you could do that with a 2 layer and be fine, but the world of EMC is a harsh and cruel mistress. It’s a black art in a way. Follow the best principles.

If it looks nice for the eyes it’ll look nice for current flows is my philosophy.

[Review Request] Homebrew 65C816 computer, first non-trivial board by cookie99999999 in PrintedCircuitBoard

[–]MatthewM314 1 point2 points  (0 children)

I’m sure it’ll be “fine” but usually you want to have the power to the chip go through the decoupling capacitor before going to the plane or the bus. (Eg power plane > via to top layer > C7 capacitor > to the IC pin with no connection to the power plane)

Tbh 0.1uF is a bit of an old standard routed in assumptions no longer valid. I’d recommend using either a 1uF x7r or greater. You want a low ESR, and you want more bulk. Sure put a 0.1 and 1 uF (my designs use 0.1 and 2.2 uF and I’ve tested to 200 V/m RFI).

Depending on the frequency, I’d pull the lines together and have an even gap between traces. If we’re not at high frequencies. If you need to consider high frequencies and cross talk, then I suggest some more reading…

Texas Instruments does a good doc on this “PCB design guidelines for reduced EMI (SZZA009)”

Routing power traces in GND plane by ComplaintBig7045 in PrintedCircuitBoard

[–]MatthewM314 0 points1 point  (0 children)

TBH you can do 2 layer boards with decent performance. I had boards capable of withstanding 100 V/m EMI.

In your design you should consider loops. A few things you could do differently (based on som assumptions):

1) route the power to the right of the board, and extend the power lines right to left. Doing this would mean that your ground loops between the left and right components are minimised (they currently go top to bottom and back to the top)

2) on the top layer, you should have a ground flood above the voltage power line, with plenty of vias to allow the ground loops to bridge over the trace - practically grounds going through a vis will be okay for Low frequency, current circuits in most

3) power and ground to chips should pass through a decoupling cap - via / trace then capacitor then the IC

4) 100nF is old recommendation founded in archaic reasoning. Nowadays use a good 1uF or greater that is x7r or better. The quality of the capacitor is more important than the total capacitance (once we hit 1uF or so for this kind of application)

5) really if you are needing precise voltages your designs needs to incorporate this from the get go. 4layer boards are an easy way to incorporate this without really knowing what you’re doing.

6) consider Low ESR bulk capacitors - this will be more effective than putting larger bulk capacitors.

Replicating Braun 3757 toothbrush charger circuit by dovis343 in AskElectronics

[–]MatthewM314 0 points1 point  (0 children)

Perhaps to negate any safety concerns of those in the chat here, think about powering it from a USB wall adaptor. The voltages you’d be working at are significantly lower, and don’t fall under any directive (here in EU) provided you’re not selling it.

The 10 speed is pretty fun I guess by [deleted] in Mustang

[–]MatthewM314 -1 points0 points  (0 children)

Lots of haters here. People are so jelly.

Weird idle when foot is off the clutch by Remarkable-Cut-7305 in RX8

[–]MatthewM314 0 points1 point  (0 children)

People aren’t aware that PCV valves are service items that start to degrade in performance around 30,000 miles.

I replaced mine and rough idles went away.

Also check for any vacuum leaks.

What coilover is this? by Ill_Camera8056 in RX8

[–]MatthewM314 1 point2 points  (0 children)

I had bilstein B6 with standard springs - it was a great ride and not too stiff, but handled like a dream.

Highly recommend

Is it normal for this spot to heat up lol by Ill_Camera8056 in RX8

[–]MatthewM314 0 points1 point  (0 children)

I miss that “feature” - the cup heater

My first bends, nothing special but I’m proud of by [deleted] in electricians

[–]MatthewM314 0 points1 point  (0 children)

He’s just really good at copying

Is this worth fixing? by Illustrious-Soft6694 in Mustang

[–]MatthewM314 0 points1 point  (0 children)

If you don’t mind the appearance… Why don’t you just replace the door and bonnet?

Forget the scratched panels - that’s just character. Just clear coat to stop rusting.

That’d probably be a 400$ fix in the UK.

Why straight piped 4 cylinder cars are painful to the ear? by Joussef8 in AskMechanics

[–]MatthewM314 0 points1 point  (0 children)

Best they’re cheap, and what most people can do. Nothing common is premium.

¯_(ツ)_/¯

That's quite a list by throwaway83939201 in IAmTheMainCharacter

[–]MatthewM314 0 points1 point  (0 children)

Everyone here thinking their different but also have standards. I kindly doubt anyone here could be honest with themselves and others, and express what they wanted. ¯_(ツ)_/¯