Invalid_Jake wrote:
Dont, know how I missed this post. Great work.
Thanks, I appreciate it! It's a really fun project to work on, and I continue to enjoy that it's making me both flex a few skills I haven't used lately and learn a bunch of new ones, like smaller-pitch hand soldering, more precise 3D printing, crimping, CNC machining, etc.
I'm long overdue for another update; in the last month I spent a lot of time working on extracting measurements of the Class 800 cab/dashboard, then worked with Geekboy1011 to laser-cut prototype pieces and discuss whether I should stick with trying to precisely replicate the Class 800, or aim for something more modular/apartment-friendly/modest to start.

More on that soon, but in the meantime, here's a stream I streamed last night in Train Simulator Classic with the current iteration of my setup:

*bump* I have another update as I try to reach the present, this one from February 2024: Driver's Reminder Appliance (DRA). In this post, I describe the DRA I added to my setup, which given the groundwork I have already laid with my CAN bus controller, most challenged me by requiring me to find a relatively obscure push-pull button that matches prototypical train equipment. As always, I have summarized the blog post here, but I encourage you to read the original blog post (as usual, it has a video!).

Driver's Reminder Appliance (DRA)
I’m replicating the controls present in UK train such as the Class 80x high-speed train, and one of the important controls to include is the Driver’s Reminder Appliance (DRA). The DRA helps the driver avoid passing a signal at danger (that is, a red aspect), and like so many safety innovations, was introduced as a result of deadly accidents. When a driver passes a caution (yellow) signal that indicates the next signal might be a red, but then stops at a station, it’s easy to forget about that yellow signal, even if the AWS sunflower is showing its yellow vanes.

The DRA reminds the driver that they are at a red signal or that they passed a restricting/caution signal by providing both a visual reminder and preventing the train from taking power. Before leaving a cab, or after entering a cab, stopping at a red signal, or stopping after passing a caution signal, the driver pushes the DRA push-pull button, which illuminates in red. As long as the button is depressed, the train will not take power: the driver must wait until they have authority to start the train, a signal ahead has cleared to a non-stop indication, or the signaller (dispatcher) has given them permission to pass a stop signal to pull the DRA button. When pulled, the light extinguishes, and the train can take power.

Thanks to creating my flexible CAN controller, adding a DRA button to my Train Simulator controller was easy. The CAN bus controller provides a set of low-current GPIO pins (in this case, used to check if the button is depressed or extended), and up to three higher-current FETs for powering hardware (in this case, the 12V red LED bulb in the DRA button). The hardest part of this project was actually finding the correct button used in UK trains to make my setup as prototype-accurate as possible. For my first version, I used a chunky red Allen Bradley push-pull mushroom button into which I had embedded a red LED, as the as-delivered button had a 110V bulb. I spent nontrivial time staring at Google Image Search results for “clear mushroom button” and similar phrase until I finally identified a button that is definitely used on at least some UK trains, then purchased the various components necessary to complete it (the actuator, the LED bulb, and the contact unit).


The prototype (left, heavily edited from a larger image to try to see the details) and the correct version I have in my simulator (right).

I wrote a simple addition to the CAN bus controller firmware similar to the AWS firmware module that sends a message indicating the status of the DRA button every 200ms, and also sends an asychronous message every time the button changes state. It also accepts a message from the host with the new state of the LED: this ensures that the LED is not automatically illuminated by pushing or pulling the button, but reflects what the host knows about the button (and allows proper self-testing by pushing and pulling, and ensuring that the LED changes state to match). Video in the blog post: https://z80.me/blog/tsc-dra-1/img/dra_action.mp4

Finally, as of February 2024, the full setup with DRA button, speedometer, air gauge, AWS sunflower, and AWS acknowledgement button.

  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement