Controllers are required to power up and control components like locomotives, sensors, signals and switches. They are also handling the communication between those components and the central automation software.
Introducing the “MattzoController”
We have developed our own “MattzoControllers” for the LEGO train system.
The controller is not for sale, but you can build it yourself with some very inexpensive components that are commonly available. I am publishing information about it here, so that anybody who is interested and feels capable can build it himself.
We also publish information how you can print a nice case with a 3d printer including the required 3d files.
The MattzoController is based on a micro controller that unifies digital processing, input/output from/to the railway component, and WIFI connectivity.
MattzoControllers communicate via WIFI with a communication hub called “MQTT Broker” via the “MQTT” protocol.
The controller firmware is open source, free of charge and a gift to the LEGO train community.
The present firmware of the MattzoController is built for interaction with “Rocrail”. Rocrail is a free, open-source software to control model railways. MattzoControllers natively understand the Rocrail protocol. That means, that no other translation layer is needed to enable the communication between Rocrail and the controllers.
MattzoControllers in general
We recommend you read the general section about the MattzoController first.
The firmware can be downloaded on this page.
Types of MattzoControllers
As of now, the following MattzoControllers exist or are planned:
- MattzoTrainController for Power Functions (MTC4PF).
- MattzoTrainController for Powered Up (MTC4PU).
- MattzoSwitchController for motorized switches.
- MattzoSignalController for light signals.
- MattzoLevelCrossingController for boom barriers and lights.
- MattzoSensorController for reed sensors or other digital sensors.
- MattzeRemoteController for remote controls.
The electrical wiring and the firmware of the different controller types are different, but all controllers also have strong similarities.
We wish you all the fun that we had when we built them!