Stacking PCB boards

I was looking online and I was trying to find the best way to stack these Perforated boards: I'm referring to the 5x7 cm boards. I'm trying to use them for my robots and stacking them so each board has a specific component. Any methods?

Use parts like these, screw thru one board to attach the next board or these and put a long screw thru all of the boards

Thanks for replying! I didn't know what to do with my pcbs and I didn't want to use female and male headers to stack the boards together. Any ways thanks!

But you may need to file out the holes a bit as these are m3 and the holes look pretty small. There are also metal ones available. ('male female threaded standoffs' is a good search term to find a selection)

If you want electrical connections between the boards, a great source of low power hook up wire is old cat5 cables. You can also purchase m/f pin headers like the ones used on standard arduinos, but be sure to plug them into each other at least a little before soldering. Check this thread for more info:


You can use the same stacking headers as Arduino shields use.

Realize that using standoffs and screws, or stacking headers, etc - comes with one important headache: Should something fail, or you need to change a circuit, or you need to debug a problem - you will have to take the whole stack apart.

If this is a concern for you - you might look into building a backplane (if you can find connectors for the "fingers" on the ends of those PCBs - which don't look very standard, so it might not be possible) - or a "card cage".

For the former - the idea of the backplane would be to allow you to have a "bus" which would be a parallel set of connections from board to board, via slotted connectors you could place the boards in (if you've ever built a PC - you should understand what I mean). Provide power and ground, and for the communication I would rely on SPI or I2C. You could have something like an address bus and a set of data lines, but it may or may not be practical. Ideally, you should be able to plug any board into any slot, and it will "just work". In practice, you may have to have "assigned slots" - but ultimately, you would have a way to slot a board in and out so you can debug it or fix it as needed.

For the latter - a card cage is nothing more than a couple of parallel sheets of material, aligned so that the "cards" can be inserted into slots between the sheets; you can arrange it so that the slots are horizontal or vertical, depending on your needs. Connections between the boards would be handled by jumper wires (or ribbon cables and headers) at the edges of the boards. A card cage is easier to implement than a backplane, and offers many of the same advantages; the downside is the jumper wire system can make a rat's nest. This can be alleviated somewhat by using a ribbon cable and multiple IDC connectors along the length of the cable, spaced equally according to the card spacing in the cage. The connectors would plug into headers on the cards; think of this as a flexible version of the backplane. Accordingly, you would supply the same signals on this ribbon cable as in the backplane system. This kind of connection system is similar to PATA IDE, as well as the SCSI bus.

I'm perfectly fine with just taking apart a robot for just one error, I can cope with that. I think it's just my preference, but still the idea of a backplane is a good one, but I'd just like stacking them with screws and standoffs. Thanks though.