The MattzoLevelCrossingController is used to control boom barriers and level crossing lights.
The controllers is connected to reed sensors before and after the level crossing. When a train approaches the level crossing, the boom barriers close and the lights flash alternating.
The idea is to count train axles (i.e. magnets) on the incoming and outgoing sensors. When there is contact on one sensor, the boom barriers close. When the number of contacts on the second sensor has reached the number of contacts on the first sensor, the boom barriers open.
This way, the controller can act autonomously without Rocrail, and can also be connected to Rocrail to cope with complex situations.
Status and next steps
MattzoBricks engineer Markus is presently working on the controller. Building instructions, the controller firmware, Rocrail set-up documentation and a video will be published here when it’s ready.