Electronics PCB Mount on LEGO

Image for post
Image for post

In Electronics PCB world, is a standard spacing or pitch for ICs, connectors etc. for many, many years.

In LEGO world, pitch and diameter hole is its gold standard. (LEGO brick dimension drawing link)

Here is a useful trick to unite the two together with LEDs.

You simply spread several through-hole LEDs (5mm OD LED on LCSC) on your PCB, with spacing center-to-center.

Once you solder the through-hole LEDs, the PCB can plug into any LEGO piece or technic beam very tightly.

After that, it’s only limited by your LEGO imaginations to e.g. mount the PCB or build an enclosure for your electronics.

The module in the picture has one low pin count MCU. Six LEDs are arranged in Charlieplexing way, so that only three GPIOs are needed. Six LEDs can implement a simple digital dice program or other fun games.

Image for post
Image for post

The idea was inspired by M5Stack’s “LEGO compatible” mounting holes.

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store