MENU

Fun & Interesting

Model Railway Automation using JRMI Dispatcher and Simple Signal Logic

Little Wicket Railway 50,596 5 years ago
Video Not Working? Fix It Now

In this video we bring to together the systems we built in the previous videos (DCC++ base station, sensor hub, block occupancy detection and servo control) to start automating a simple layout. Links to previous videos: DCC++ Base Station: https://youtu.be/qScLz-kq88k Sensor Hub Part 1: https://youtu.be/yDWI4ujtuIY Sensor Hub Part 2: https://youtu.be/fTd5Z2XnP5A Block Occupancy Detection: https://youtu.be/DtYzP5RgcsA Servos Part 1: https://youtu.be/ayOoUkdjHtg Servos Part 2: https://youtu.be/fHAPXAcW9ZQ Servos Part 3: https://youtu.be/iif6l52lLks This is probably the simpliest way to implement automation using the JRMI built in tools. However, the subject of automation is vast and there are lots of ways of achieving it, this is just a demonstration of a particular set of tools in a signal piece of software. We cover three types of automation from basic signalling that would work on an analogue layout (using appropriate block occupancy detection) under manual control to full computer automation. 1) Simple Signal Logic - which will automatically set signal aspects based on the turnouts and blocks they protect. 2) Using dispatcher to allocate blocks to a train and automatically set signals and turnouts along the route for us to manually drive along. 3) Using dispatcher to take control of a train and automatically drive it between two locations whilst controlling points and signals. Ebay and Amazon Affiliate Links (Full disclosure, as an Amazon Associate and Ebay partner I earn from qualifying purchases through these links and this helps to support the channel) Arduino Uno: https://amzn.to/2ODZoTO https://ebay.us/HYHkvP Arduino Mega: https://amzn.to/3poEBQK https://ebay.us/Zl3sDT Servo Driver Board (PCA9685): https://amzn.to/2NoTKo3 https://ebay.us/rVpaAJ SG90 Servos: https://amzn.to/2N3uzY4 https://ebay.us/Xvuu72 Variable Voltage Power Supply: https://amzn.to/3b4wtj9 IR Sensors: https://amzn.to/2LQJmVF https://ebay.us/rnR5wn Servo Wires (male to male): https://amzn.to/3alIrFS https://ebay.us/HfgTaO 26AWG Servo Cable: https://amzn.to/3daEp55 https://ebay.us/L1q3FE Crimping Tool: https://amzn.to/3tRJXHE https://ebay.us/XE2Dxl Chapters 00:00 - Introduction 02:47 - Steps 03:51 - Step 1 - Setup the Layout 06:14 - Step 2 - Setup JMRI 18:58 - Step 3 - Simple Signal Logic (SSL) 23:42 - Step 4 - Using Dispatcher with Manual Control 32:24 - Step 5 - Using Dispatcher with Automated Trains 39:49 - Conclusion

Comment