MattzoControllers are the electronic components that help you to automate your LEGO train layout.

We have designed some standard builds for different types of MattzoControllers, and created instructions of how to build them.

Please understand that all information is provided “as is” without warranty. If you discover errors or problems, please let us know that we can improve the documentation.

Thanks and enjoy!


MattzoTrainControllers are used to power up your trains and move them along your layout. They also provide outputs for lights and other appliances.

MTC4PF mini
MTC4PF mini


MLC mega and mini
MLC mega and mini

24 thoughts on “Building MattzoControllers

    1. The MLC mega is indeed an extremely powerful and versatile device. We don’t have plans to build and sell it to the public, but we try to publish the building instructions and anything else you need as good as possible in the future.

  1. very nice project, I was trying to do something similar using a ESP32 (wemos D1 mini version) but I was over doing it trying to squeeze too much into small case. I need to get more realistic I think, I was trying to get the wemos D1 mini with wemos motor driver board + DFPlayer sound moudle and an MPU 6050 gyro along with a dc to dc converter into a 6 x 4 by 5 high case 😉 going to ditch the MPU 6050 for now.
    The biggest problem is since it is for a lego train it has to be very narrow and thus can’t have any connectors on the long sides due to the walls of the train. would be nice to have a couple of I2C connectors to add external sensors along with a serial port and general gpio/analog in ports.
    If I make any progress I will post on here, it is all very interesting good fun.

  2. Hi guys. Great Project. One question: when do you plan to publish the arduino code for the mlc mega? Thanks for all your effort!

    1. Thanks. The MLC mega is actually nothing else than a special hardware configuration of the MLC. The firmware is already published. Just use the present version of the firmware in combination with the MLC mega example configuration, which is contained in the download.

      We are going to publish the git repository soon. I will contain the firmware for MLC, MTC4PF and MTC4BT for usage with VSCode and PlatformIO.

  3. Hallo Matze,
    Super das der MEGA jetzt gebaut werden kann!
    Hast Du einen Tipp wo man die Boards günstig in Auftrag geben kann?

    LG Andy

  4. Hi,
    Many thanks for the good work that you share with us. I downloaded the zip file to produce my own MLC mega, unfortunately the gerber files are incomplete for both boards the bottom (GBL) layer and the PTH drill files are missing. Is there a way of getting the missing files or even the Eagle files?

      1. Hello Matthias,

        I’m trying to order the pcb’s, but it seems the drill layer is still missing in the recent Gerber-file downloads.

        Thanks for checking,

          1. Hi, i got the same problem with the missing drilling layer. And i was ordering on if i check the Gerber on a gerber viewer there is also no drilling layer.
            Maybe there is a way to update the files?

            Greetings Martin

  5. Moin,
    vielen Dank für deine Mühen und das coole Projekt.
    Leider habe ich bei meinen 3D-Druck- und Anzeigeprogrammen einen Fehler im “Case Universal 8x4x4” für den MTC4PF.
    Die Löcher für die Lego-Nuppsies sind irgendwie nicht richtig ausgeschnitten.

    Viele Grüße

    1. Hallo Micha,
      dieses Problem kenne ich, bei mir lag es an der untersten Ebene ich hatte mit Brim gedruckt und dadurch oder weil die untere Ebene zu flach eingestellt war. Ich weiß, dass es bei größerer Lücke zwischen Düse und Druckbett zu Problemen mit der Haftung kommt. Versuche es doch mal ohne Brim.
      Ich habe mir letztendlich mit der Entgratung der Vertiefungen für de Noppen mit einem Cuttermesser geholfen. Trotzdem sitzen die Noppen ziemlich straff.


      1. Hallo Guido,

        bisher bin ich leider noch nicht so weit gekommen, die Datei auszudrucken.
        Der Fehler ist schon im STL vorhanden. Zumindest meckern Cura und andere Programme, wenn ich die Datei öffne.

        Viele Grüße

Leave a Reply

Your email address will not be published. Required fields are marked *