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.
MattzoControllers are 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 for the MattzoControllers 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 MattzoControllers.
MattzoControllers in general
We recommend to 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:
- MattzoLayoutController for motorized switches, light and form signals, sensors, level crossings and bascule bridges.
The electrical wiring and the firmware of the controller types are different, but all controllers also have strong similarities.
We wish you all the fun that we had when we developed them!