330 likes | 343 Views
Discover JMRI/PanelPro for layout control, signalling, and automation. Learn DCC system connections and DIY electronics. Get started today with this comprehensive guide.
E N D
JMRI PanelPro Clinic NZAMRC 2008 Alex Shepherd – Hamilton Email: alex@ajsystems.co.nz Phone: (07) 829 4441
MRR Interests • Running Trains • Scratch Building & Kits • Scenery • Operations • Building DIY Electronics
What is JMRI/PanelPro • JMRI – Java Model Railroad Interface • Open Source FREE SOFTWARE!!! (SourceForge) • Single Project with Several applications • DecoderPro – Simplify DCC Decoder Programming • PanelPro – GUI Layout Display & Control • Supports several DCC Systems • Digitrax, Lenz, NCE, EasyDCC, SPROG, Zimo & others • Runs on multiple Computers (PC, Mac, Linux, BSD Unix) • I’m one of the developers
Download & Install • Download & Install Java FIRST • http://java.sun.com/getjava/ • Download & Install JMRI • http://jmri.sourceforge.net/download/ • Connect your DCC System
Online Tutorials • RR-Circuits JMRI Clinics • http://www.rr-cirkits.com/Clinics/Clinics.html
Connect your DCC System • Digitrax LocoNet • Digitrax MS100 (don’t buy this!) • LocoBuffer-USB • LocoBuffer II http://www.rr-circuits.com • TCP/IP Network via another Server PC
Connect your DCC System • Lenz (Atlas Commander) • LI100 Serial RS232 • LI101F Serial RS232 + USB
Connect your DCC System • SPROG - RS232 Cable to SPROG • NCE - RS232 Cable to Commands Station • Easy DCC - RS232 Cable to Commands Station • C/MRI Bruce Chubb Model Railroad Interface • RS232 to RS422 Adaptor • Intellibox – RS232 Cable to Command Station
PanelPro • GUI Display and Control of Layout • Control of Turnouts - Routes • CTC Panel • Signalling (ABS etc) • Simple Signal Logic • Execute User Written Jython Scripts • Routes • Play Sounds • Custom Automation Logic
PanelPro Signalling • What do I need to get started? • DCC System Connection to PC • Know Position of Turnouts • Position Feedback • DCC Turnout Accessory Decoder - remember last command position • Block Occupancy Detector • Draw Current (Motor & Resistive Wheelsets) • DCC Signalling Accessory Decoder
DCC Turnout Acc Decoder • Digitrax • DS54 • DS64 • DS52 • NCE • SwitchIt • SnapIt • Lenz • LS110 • LS150
Block Occupancy Detector • Digitrax • BDL168 • SE8c + BD4 • NCE • AIU + BD-20 • Lenz • LB101 • LR101
DCC Signal Decoders • Digitrax • SE8c • DS54 • DS64 • CML • SIG10 • Team Digital • SIC24 • RR-Circuits • Tower Controller
My DIY Components • MERG ACC4 DCC Turnout Decoder
My DIY Components • EmbeddedLocoNet LocoBOD-16
My DIY Components • OpenDCC SignalDecoder • Not Hard • 4 x Diodes • 3 x Resistors • 3 x Capacitors • 1 x LED • 1 x Push Button • 1 x 5V Regulator • 1 x ATTiny2313 • 1 x Jumper • Vero Board • 8 x Resistors (output)
My DIY Components • My Arduino DCC Decoder • Controls Servos • Controls LEDs
What is Arduino? • Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board. • Arduino can be used to develop interactive objects, taking inputs from a variety of switches or sensors, and controlling a variety of lights, motors, and other physical outputs.
What is Arduino? • http://www.arduino.cc • Atmel AVR Mega168 Boards
What can Arduino do? • Simplified C/C++ Programming • Monitor Switches, Various Sensors etc • Control Servos, LEDs, DC Motors, Stepper Motors etc • Communicate with PCs • Used by artists and other non-software developers for visual electronic effects
Arduino NmraDcc Library • Software Library used in the Arduino environment to decode DCC packets and call simple User Written functions • Accessory Decoder Packet void notifyDccAccState( uint16_t Addr, uint16_t BoardAddr, uint8_t OutputAddr, uint8_t State ) • Signal Decoder Packet void notifyDccSigState( uint16_t Addr, uint8_t State) • Supports ALL CV Read/Write Methods
Build Demo Panel • Control Turnouts • Route Tables • Display Block Occupancy • Sensor Tables • Control Signals • Signal Tables • Simple Signal Logic
Future Plans • NCE Cab Bus DIY AIU Block Occupancy Detector • (Ask me about it) • Small 4 Output LED Decoder • Almost working – ran out of time for convention • Small 8 Output LED Decoder for Digitrax Masts • LocoNet Arduino Library • http://www.opendcc.org • http://embeddedloconet.sourceforge.net • http://jmri.sourceforge.net/download
Useful Information • JMRI Online Help • http://jmri.sourceforge.net • RR-Circuits JMRI Clinics • http://www.rr-cirkits.com/Clinics/Clinics.html • OpenDCC • http://www.opendcc.org • Arduino • http://www.arduino.cc • Merg • http://www.merg.org.uk
Question Time • JMRI Questions • New Feature Requests?
The End • Try it for yourself • If you have any questions • Email: alex@ajsystems.co.nz • Phone: (07) 829 4441