1 / 33

JMRI PanelPro Clinic

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

jtavares
Télécharger la présentation

JMRI PanelPro Clinic

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JMRI PanelPro Clinic NZAMRC 2008 Alex Shepherd – Hamilton Email: alex@ajsystems.co.nz Phone: (07) 829 4441

  2. MRR Interests • Running Trains • Scratch Building & Kits • Scenery • Operations • Building DIY Electronics

  3. 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

  4. Download & Install • Download & Install Java FIRST • http://java.sun.com/getjava/ • Download & Install JMRI • http://jmri.sourceforge.net/download/ • Connect your DCC System

  5. Online Tutorials • RR-Circuits JMRI Clinics • http://www.rr-cirkits.com/Clinics/Clinics.html

  6. 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

  7. Connect your DCC System • Lenz (Atlas Commander) • LI100 Serial RS232 • LI101F Serial RS232 + USB

  8. 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

  9. Configure JMRI Comms

  10. Configure JMRI Comms

  11. 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

  12. PanelPro

  13. 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

  14. DCC Turnout Acc Decoder • Digitrax • DS54 • DS64 • DS52 • NCE • SwitchIt • SnapIt • Lenz • LS110 • LS150

  15. Block Occupancy Detector • Digitrax • BDL168 • SE8c + BD4 • NCE • AIU + BD-20 • Lenz • LB101 • LR101

  16. DCC Signal Decoders • Digitrax • SE8c • DS54 • DS64 • CML • SIG10 • Team Digital • SIC24 • RR-Circuits • Tower Controller

  17. My DIY Components • MERG ACC4 DCC Turnout Decoder

  18. My DIY Components • EmbeddedLocoNet LocoBOD-16

  19. 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)

  20. OpenDCC SignalDecoder

  21. My DIY Components • My Arduino DCC Decoder • Controls Servos • Controls LEDs

  22. 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.

  23. What is Arduino? • http://www.arduino.cc • Atmel AVR Mega168 Boards

  24. http://moderndevice.com/contact.shtml

  25. 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

  26. 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

  27. Demo Layout

  28. Build Demo Panel • Control Turnouts • Route Tables • Display Block Occupancy • Sensor Tables • Control Signals • Signal Tables • Simple Signal Logic

  29. 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

  30. 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

  31. Question Time • JMRI Questions • New Feature Requests?

  32. The End • Try it for yourself • If you have any questions • Email: alex@ajsystems.co.nz • Phone: (07) 829 4441

More Related