There has been a previous Coal Basin project. It was decided that an extra track "would be nice" (the right hand track below) and separate much larger control panels required.
Photo shows the original control board sitting on the new panel. The original board contained all the electronics as well as the buttons and LEDs whereas in the new arrangement the electronics is hidden behind the panel and individually wired to the switches and LEDs.
The upgraded project is illustrated below.
There has been a previous Coal Basin project. It was decided that an extra track "would be nice" and a separate much larger control panel added.
While most of the original material could be used it was decided to redo all the associated projects hence the extension 2 to the project names.
The basic layout of what is known as the Coal Basin is shown below.
In the design there are a number of possible routes, also known as macros. At the end of each branch there are a button and LED. The operator will select a destination by pushing the appropriate button. The micro-controller will then activate the appropriate LED and set the appropriate points. For a train entering the Coal Basin wishing to go to the station selecting the station_button will light the station_LED and set points 1, 2, 4, 8 and 9 appropriately.
In the layout there are two control panels so all the information on panel 1 will appear on panel 2 and vice versa. Neither panel has priority so the last route requested will be the route selected.
Coal_Basin_Buttons2 will read the buttons and return the active button to the controller.
Coal_Basin_LED2 will display the active routes on the external control panel. Note with two panels the results of any request must be displayed on both control panels.
Coal_Basin_Servo2 drives the servos that in turn control the points
Coal_Basin_Control2 will use the inputs from the buttons and performs the necessary logic to drive the LEDs and Servos