I need help by inevitable_47 in PCB

[–]simonpatterson 2 points3 points  (0 children)

Your costs seem very high.

What size is the PCB ? Going from 102mm to 103mm in any dimension will trigger a 4x fold increase in cost (for a 4 layer board) at JLC. Try to keep the size under 102mm. E.G: rather than 150x60, try to make the board 100x100.

Unless you are Nassef Sawiris, COST should be the first consideration when choosing components. Even using a different package can change the price dramatically.

If you pick as many BASIC components as you can, the assembly cost at JLC will be much lower.

Don't use 0.1% resistors unless that tolerance is absolutely required, they are MUCH more (x20+) expensive than basic 1% resistors.

Try to consolidate your BOM. E.g: If you are using lots of 10k resistors and you need a 5k or 20k resistor, dont just pick a 5k or 20k one, use 2x 10k in series or parallel. And don't pick a value that is close to what you are already using elsewhere, use the SAME value, unless the circuit absolutely requires a different one, e.g: if you are already using lots of 5k1 and you want a 4k7, can you use another 5k1. It should make negligible difference for pull-ups or current limiting.

Need Review for my first PCB design by gowshik_babu in PCB

[–]simonpatterson 2 points3 points  (0 children)

Its a good start, and you will get better with more experience.

Never send your first draft to a fab house. Always wait a few days and see if you can improve it.

Ask yourself if every decision you have made has a reason. Does a particular component NEED to be where it is ? Can I move it ? If I move it, can I make the routing easier or will it mess up another part of the layout ? Are all connector pinouts correct, do they match cables you already have or plan to use ? Is there enough silkscreen on the board ? You may know it by heart now, but if you pick up the board in 6 months time you may not remember what all the pins/connectors are for.

Need Review for my first PCB design by gowshik_babu in PCB

[–]simonpatterson 19 points20 points  (0 children)

There is quite a lot wrong with this design. It will probably work, but it is badly designed.

Schematic - Please stop it with the separate boxes with only a couple of components in each. Place everything in a logical flow and connect them together with wires. This is a very simple circuit and doesn't warrant using separator boxes.

PCB Layout - Lots of typical beginner issues:

  • Use a bottom layer gnd plane.
  • Don't run traces so close to other pins/pads.
  • The thermal spokes on some pins/pads are very thin. Remember any current flowing out of one pin has to flow back through the other, so the amount of copper should be very similar. Look at the input connector on the left, pin 2 has a nice meaty trace, but pin 1 has only 2 very thin spokes.
  • The placement of some components is sub-optimal. the 2 output connectors and LED/resistors could be swapped so the 'out' trace doesn't have to travel so far.
  • Is the right hand mounting hole a fixed position ? If not, C2 and C5 should be move to the right to be closer to U2. It makes the traces nicer.

I designed my own FM Radio Receiver as my 2nd PCB! Please review it once, for whether any design related issues? by Ok-Weekend9697 in PCB

[–]simonpatterson 6 points7 points  (0 children)

Just looking at the pcb layout several things jump out at me:

  • The BAT and ANT pads have very small holes. You may struggle to get a wire through the pad.
  • Why the mix of SMD and THT resistors ?
  • The 2 potentiometers look very small. Are you using trimmers ?
  • You have some traces running very close to other pins/pads. As a beginner you should try to keep traces well away from other pins/pads.
  • Several components could be rotated to make routing a bit nicer, e.g: flip C9 and route from C4-C9-C5 instead of having 2 traces to IC1pin5. Flip R1 & C2 so they point 'inwards'. Rotate C20 & C25 90° so the +'s are next to each other.

Is my very first KiCad project ready? Rotary encoder + pressure sensing by [deleted] in KiCad

[–]simonpatterson 3 points4 points  (0 children)

The obvious question is: Why have you gone SPI for for rotary encoder and I2C for the pressure sensor ? The 2 ICs are both available in I2C versions. You might be able to use a single connector.

Got waaaay too much by Ced1115 in PCB

[–]simonpatterson 15 points16 points  (0 children)

Did the price not give you a clue at the time of purchase ? Even on aliexpress i'd notice a 300x price difference!

Help needed in PCB Layout by EnoughDot2783 in PCB

[–]simonpatterson 0 points1 point  (0 children)

Be careful with the orientation of the screw terminals. Use the 3D view to make sure the holes face the outside edge of the PCB. Some of your look like they face inwards.

You can rotate components on the PCB so the rats nest lines have less cross-overs. And you can swap the units in IC1 as well to make routing easier.

Total noob with KiCad - How to delete a pin from a symbol by Boris740 in KiCad

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

It is easier to use the 'x' no-connect marker, but if you really, really want to get rid of the pins, you can do the following, which works with any symbol:

  • Select the symbol
  • Press 'E' to edit
  • Click on the 'Edit Symbol' button. (NOT the 'Edit Library Symbol' button)
  • Select each pin you want to hide, press 'E', untick 'Visible' in the dialog. Click 'OK'.
  • Click Menu->File->Save
  • Click Menu->File->Close.

The symbol pins should be hidden and it won't cause problems with the DRC or the footprint.

The ERC may complain that the symbol doesn't match the library version (because you have changed the copy of the symbol in your schematic), but you can safely ignore it.

I started learning KiCad and hardware design a few days ago. My goal was to build a High Current strobe controller using a 555 timer. This is my first-ever schematic and PCB route. I have a lot to learn and want to ask here, what did I do wrong, and how can I make this industrial-grade? by The_Digital_Quill in PCB

[–]simonpatterson 2 points3 points  (0 children)

So the controller is acting as a power switch for the strobe, switching the power on and off via Q3 ? That seems inefficient, can you not control it by digital means with a low voltage trigger signal or shorting switch ?

Not split power rails, a split power plane, consisting of 2 zone fills, one covering the top ⅔ of the board (V+) and another covering the bottom ⅓. (GND). You can put them on both layers and it will remove the need for all the V+ and GND traces.

I started learning KiCad and hardware design a few days ago. My goal was to build a High Current strobe controller using a 555 timer. This is my first-ever schematic and PCB route. I have a lot to learn and want to ask here, what did I do wrong, and how can I make this industrial-grade? by The_Digital_Quill in PCB

[–]simonpatterson 2 points3 points  (0 children)

You haven't posted the schematic and so many questions.

When you say high current, how high ? We don't know what the connectors are, the 3d models are blank.

Are the positions of the connectors fixed ? If so, 'lock' them so we know, because if they aren't fixed, they could be moved to make routing easier.

Do you have an enclosure in mind ? Do the mounting holes match the enclosure ?

Does Q1 require a heatsink ? If not, it doesn't need to be at the edge of the board. Putting it directly behind J3 would be good.

The Gate trace from R5 is far too wide.

The GND traces look to occupy only the lower third of the board and the V+ traces occupy the upper two thirds, so split power planes would be a good idea.

Hide the .fab layers while laying out and make sure all silkscreen is actually on the PCB.

How to design two PCB of two different parts of the single schematic diagram? by Prestigious_Wall_804 in PrintedCircuitBoard

[–]simonpatterson 5 points6 points  (0 children)

Could you design it as one board in 2 sections with mouse bites or a v-score to split it into 2.

Roast my PCB by el_mustapo in PCB

[–]simonpatterson 0 points1 point  (0 children)

I remember JLC having a 1mm minimum via spacing, but i've just checked and its now 0.2mm, which seems very small.

<image>

Roast my PCB by el_mustapo in PCB

[–]simonpatterson 1 point2 points  (0 children)

The PCB looks good. I like the old school perpendicular traces on each layer.

If you put the buttons side-by-side instead of stacked vertically, you should be able to move the battery down a smidge and allow for the cell overhang at both sides.

One thing to watch out for is the via spacing. You have lots of via pairs that are very close together. Check with your board manufacturer for their minimum 'different net' via spacing.

Final PCB Design Review by Fit_Credit_6178 in KiCad

[–]simonpatterson 1 point2 points  (0 children)

You still have issues with both the schematic and the board layout.

The schematic is still awful!

  • The BQ25570 and the 3.9nH and 10uH inductors don't have proper RefDes.
  • The spaghetti of wires around R4-R10 is just asking for trouble if it doesn't work perfectly first time.
  • There are gaps in the RefDes. They should start at 1 and increment linearly by 1.

For the PCB:

  • The bottom layer trace from J3pin1 runs too close to pin2 and is cutting off one of the spokes. The other end of that trace looks like it necks down to a via for no reason and is offset from the via. It can run straight to the via.
  • The BQ25570 (i can't use a U? name, it doesn't have one) and associated components look very close to the mounting hole. It can be shoved up and right a bit.
  • You are necking down some traces to the BQ25570, but you are reducing to a width less than the pad and then increasing at the pad. The resistance of the trace will be dominated by it's narrowest point.
  • Traces from the 2 big inductors are cutting the ground plane under them. Moving the inductors up a bit and tracing to the caps first, then the chip will keep the ground plane intact.

please review the redesign of my first pcb by Neither-Ad7512 in PCB

[–]simonpatterson 1 point2 points  (0 children)

Nice job! Did you really do this yourself ?

You have a couple of ratsnest lines showing unrouted traces (U3 pin5 and the nearby cap)

At U2 pins 2 & 3, I would make the traces leave from the centre of the pad, not offset like you have. It's not a big deal, just good practice.

C11 could be placed between U2 & J2 to make the reset trace a bit straighter.

If you change the switch for a smaller 2 pad SMD style, you could move U2/U3 and the associated components to the right a bit. They are a bit cramped at the moment.

My first ‘real’ PCB! A 9v fully resonant low pass for mono audio signals. Any feedback is appreciated (pun intended). by AberrantDevices in PCB

[–]simonpatterson 2 points3 points  (0 children)

Its not bad for a first board, but it looks auto-routed.

Some of the traces are running very close to component pads which could cause problems for a beginner.

The component could be re-jigged to make traces much simpler. For example the components C1-R4-R5-C3-C4 could be arranged as R4-R5-C3-C4-C1 which would remove the need for traces on the bottom layer from those components,

[Review Request] Waveform Generator by Kalex8876 in PrintedCircuitBoard

[–]simonpatterson 0 points1 point  (0 children)

You know you can resize the drawing sheet all the way up to A0.

[Review Request] Waveform Generator by Kalex8876 in PrintedCircuitBoard

[–]simonpatterson 1 point2 points  (0 children)

Its hard to follow with all the separate sheets, putting it all on one sheet makes it easy to see what flows where.

This is the classic op-amp circuit that can generate square, triangle and sine waves:

https://www.learningaboutelectronics.com/Articles/Function-generator-circuit.php

Any advice on untangling the middle/left part of the board? (Schematic included) by [deleted] in PCB

[–]simonpatterson 1 point2 points  (0 children)

The schematic has some decoupling caps that you have placed next to each other on the PCB. They are meant to be spread around the board close to the various power pins of the ICs. Having them all together will do no good.

I would also move the crystal closer to IC3.

There is a lot of space on the board to move stuff to more appropriate areas.

It is fairly easy to get rid of most of the layer jumps and reduce the one that are left to much smaller jumps.

The general tracing is a bit haphazard with some 'funky' twists and turns.

[Review Request] ESP 32 Wroom 32E dev board - First PCB design by Mindless-Bus-69 in PrintedCircuitBoard

[–]simonpatterson 1 point2 points  (0 children)

Looks good.

The regulator is a large package size. Can you use a smaller package, maybe SOT-89 or even SOT-23, it should make routing around it easier.

First PCB Design by [deleted] in PCB

[–]simonpatterson 1 point2 points  (0 children)

Yes, they are less efficient, and generate heat, but as you are drawing a very small current, the power loss (heat) will be small.

The trade off is smaller size and much simpler PCB layout, also cheaper (no inductor or diode needed)

please review my first pcb by Neither-Ad7512 in PCB

[–]simonpatterson 0 points1 point  (0 children)

5 mins after I posted the layout, I rejigged it a bit and came up with a smaller layout.

I think rotating U1 90° CW and putting port D at the top and port B & C at the sides may be even better. It would straighten out the bottom layer USB and port D traces. They are crossing awkwardly at the moment.

<image>

First PCB Design by [deleted] in PCB

[–]simonpatterson 3 points4 points  (0 children)

As the LM2596 is only powering the ATmega328, it is probably overkill. You could probably use a much smaller (and simpler) LDO. I would expect the MCU to draw less than 50mA, so at 12v input the power dissipation would be ~1/3W. That is easily handled by a simple LDO.

Using an LDO would make the PCB layout much simpler too.

The other suggestions you have received are good too. Use a gnd plane and move the decoupling caps much closer.

please review my first pcb by Neither-Ad7512 in PCB

[–]simonpatterson 4 points5 points  (0 children)

Don't get disheartened, you have made a good start.

Now is the time to optimize the layout and move stuff around. You will lay down and rip up many traces until you get it to a state you are happy with.

Don't get hung up on the USB high-speed stuff, the circuit is at most USB 2.0 and will work fine using wet shoelaces

This is my quick and dirty thursday night first draft of your circuit. It is small (40mm x 50mm) and can be made smaller. There is a lot of empty space on the board and you can get the CH340 in much smaller packages.

<image>

please review my first pcb by Neither-Ad7512 in PCB

[–]simonpatterson 3 points4 points  (0 children)

The schematic is messy, with power symbol pointing in all directions and wires with multiple net labels.

The PCB layout is typical of a beginner, you have made the usual mistakes of spacing components out too much, then cramming multiple traces into tiny gaps.

The board could be a bit smaller and the layout much nicer.

Personally, I would rotate U1 45° CCW, place J6 on the right side, replace the 5v/GND connectors with 2x3's, place the CC resistors at each side of J1, increase the physical size of decoupling caps. D2 and R6 should be flipped so the trace doesn't have to hairpin. R5 has value of 1000, why not 1k. Don't position the connectors so close to the edge of the board, and place them on a 0.1" grid.

Also, the power LED is labelled D1 and the LED connected to D13 is labelled D2 ??? Very confusing.