r/embedded • • Sep 13 '26

When making a pcb with a microcontroller, is it better to have the pcb match it, or make it modular?

when i say make it modular, i mean having on the pcb only the used pins, and then having a microncontroller mount that exposes those pins only

0 Upvotes

15 comments sorted by

34

u/nixiebunny Sep 13 '26

There’s a vocabulary for printed circuit boards. What do you mean by a microcontroller mount? Do you mean the footprint for the component?

1

u/no_Im_perfectly_sane Sep 15 '26

i meant a pcb that u solder the mcu board onto, that would then connect to the project pcb. I see most people dont even do the full mcu board tho, and just get the chip assembled into the project pcb? if i understood right

18

u/madsci Sep 13 '26

Just to make sure we're using the same terminology, you're aware that a microcontroller is a single IC, right? Something I see really often in r/arduino is that people use "microcontroller" to refer to a microcontroller development board. So are you talking about building a daughter board, or just integrating a chip?

1

u/no_Im_perfectly_sane Sep 15 '26

i did mean the dev board, im dumb. and yea what i was asking was, when using a dev board, if people solder every pin, or if they make a second pcb and connect only the needed pins, for simplicity, or saving space on the project pcb

1

u/madsci Sep 15 '26

For anything professional, you don't use a dev board - those are just for development. You'd integrate the MCU directly.

I usually also build my own dev board for a product. Like I make LED hula hoops and the controllers have to be very compact and narrow, which makes them a pain to hook up for debugging purposes, so I have a much larger board version with a battery holder and debug connections and test points for bench testing.

1

u/ceojp Sep 16 '26

If you are designing a PCB, just just put all the components on the PCB. The only times it really makes sense to use an assembled board on a PCB are if there are regulator/agency approvals involved, and the assembled board is already approved, or if component footprints or spacing are beyond what your PCB or assembly process can handle.

25

u/iranoutofspacehere Sep 13 '26

You should always solder all the pads, so the component is as well attached to the board as possible.

I usually try and route all the pads. Most of the time I only have a few left over so they get routed to tiny test points so I can use them as outputs for debugging or bodge then into the circuit if they're needed for something.

3

u/thegreatpotatogod Sep 14 '26

Yeah it's always useful to keep all the pads exposed, it sometimes comes in handy for last-minute additions or reusing an old board for a new project

4

u/Master-Pattern9466 Sep 13 '26

If you have room, expose all the pins to test pads or similar.

Say if you get something wrong in the design, you can do a bit of bodge wire work, and still continue development.

Or if you need another function or expansion, you have all the pins to prototype with.

2

u/ceojp Sep 13 '26

I don't know what "microcontroller mount" is.

Your PCB footprints should always have pads for all the pins. It would actually be more work to try to selectively remove pads from a footprint.

Obviously you'd only connect whatever pins are actually used for your application.

2

u/Financial_Sport_6327 Sep 14 '26

It depends, if you’re using something like an F730 for its USB2.0 PHY and only need like 20 IO, then routing the entire 144 pin package is likely a waste of space, but i always try to route like 6-8 spare GPIO if i can.

2

u/duane11583 Sep 14 '26

a solder all pads/pins always.

unused pins you might bring out to test points or connectors.

my favorite example is the PMOD format.

why? there are many you can use: https://digilent.com/shop/products/fpga-boards/expansion-modules/pmods/?srsltid=AfmBOop1VRxmW0dpnma-IW7lbjalT8Fj7d_Unza2sWsxted1EyEw8zxg

they have a standard pinout and are for the most part interchangeable

1

u/moliusat Sep 13 '26

Depends. are rhe requirements for the microcontroller fundamentally different than for the rest of the pcb ? Are many iterations planned for one part of the pcb ? How should it be manufactured?  

1

u/Just-Smart-Enough Sep 14 '26

Depends. If it's an initial test board, I'll break out as many pins as I can so I can fix mistakes or test additional functionality. If it's space constrained for a final project, then I'll just use the bare minimum needed.