Presentation is loading. Please wait.

Presentation is loading. Please wait.

JMRI PanelPro Clinic NZAMRC 2008 Alex Shepherd – Hamilton Phone: (07) 829 4441.

Similar presentations


Presentation on theme: "JMRI PanelPro Clinic NZAMRC 2008 Alex Shepherd – Hamilton Phone: (07) 829 4441."— Presentation transcript:

1 JMRI PanelPro Clinic NZAMRC 2008 Alex Shepherd – Hamilton Email: alex@ajsystems.co.nz Email: alex@ajsystems.co.nzalex@ajsystems.co.nz Phone: (07) 829 4441 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 JMRI – Java Model Railroad Interface –Open Source FREE SOFTWARE!!! (SourceForge) –Single Project with Several applications DecoderPro – Simplify DCC Decoder Programming DecoderPro – Simplify DCC Decoder Programming PanelPro – GUI Layout Display & Control PanelPro – GUI Layout Display & Control –Supports several DCC Systems Digitrax, Lenz, NCE, EasyDCC, SPROG, Zimo & others 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 Download & Install Java FIRST –http://java.sun.com/getjava/ Download & Install JMRI Download & Install JMRI –http://jmri.sourceforge.net/download/ http://jmri.sourceforge.net/download/ Connect your DCC System Connect your DCC System

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

6 Connect your DCC System Digitrax LocoNet Digitrax LocoNet –Digitrax MS100 (don’t buy this!) –LocoBuffer-USB LocoBuffer II http://www.rr-circuits.com LocoBuffer II http://www.rr-circuits.comhttp://www.rr-circuits.com –TCP/IP Network via another Server PC

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

8 Connect your DCC System SPROG - RS232 Cable to SPROG SPROG - RS232 Cable to SPROG NCE - RS232 Cable to Commands Station NCE - RS232 Cable to Commands Station Easy DCC - RS232 Cable to Commands Station Easy DCC - RS232 Cable to Commands Station C/MRI Bruce Chubb Model Railroad Interface C/MRI Bruce Chubb Model Railroad Interface –RS232 to RS422 Adaptor Intellibox – RS232 Cable to Command Station Intellibox – RS232 Cable to Command Station

9 Configure JMRI Comms

10

11 PanelPro GUI Display and Control of Layout GUI Display and Control of Layout –Control of Turnouts - Routes –CTC Panel –Signalling (ABS etc) Simple Signal Logic Simple Signal Logic –Execute User Written Jython Scripts Routes Routes Play Sounds Play Sounds Custom Automation Logic Custom Automation Logic

12 PanelPro

13 PanelPro Signalling What do I need to get started? What do I need to get started? –DCC System Connection to PC –Know Position of Turnouts Position Feedback Position Feedback DCC Turnout Accessory Decoder - remember last command position DCC Turnout Accessory Decoder - remember last command position –Block Occupancy Detector Draw Current (Motor & Resistive Wheelsets) Draw Current (Motor & Resistive Wheelsets) –DCC Signalling Accessory Decoder

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

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

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

17 My DIY Components MERG ACC4 DCC Turnout Decoder MERG ACC4 DCC Turnout Decoder

18 My DIY Components EmbeddedLocoNet LocoBOD-16 EmbeddedLocoNet LocoBOD-16

19 My DIY Components OpenDCC SignalDecoder OpenDCC SignalDecoder Not Hard 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 My Arduino DCC Decoder Controls Servos Controls Servos Controls LEDs 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 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. 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 http://www.arduino.cc Atmel AVR Mega168 Boards Atmel AVR Mega168 Boards

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

25 What can Arduino do? Simplified C/C++ Programming Simplified C/C++ Programming Monitor Switches, Various Sensors etc Monitor Switches, Various Sensors etc Control Servos, LEDs, DC Motors, Stepper Motors etc Control Servos, LEDs, DC Motors, Stepper Motors etc Communicate with PCs Communicate with PCs Used by artists and other non-software developers for visual electronic effects 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 Software Library used in the Arduino environment to decode DCC packets and call simple User Written functions Accessory Decoder Packet Accessory Decoder Packet void notifyDccAccState( uint16_t Addr, uint16_t BoardAddr, uint8_t OutputAddr, uint8_t State ) Signal Decoder Packet Signal Decoder Packet void notifyDccSigState( uint16_t Addr, uint8_t State) Supports ALL CV Read/Write Methods Supports ALL CV Read/Write Methods

27

28 Demo Layout

29 Build Demo Panel Control Turnouts Control Turnouts –Route Tables Display Block Occupancy Display Block Occupancy –Sensor Tables Control Signals Control Signals –Signal Tables –Simple Signal Logic

30 Future Plans NCE Cab Bus DIY AIU Block Occupancy Detector NCE Cab Bus DIY AIU Block Occupancy Detector –(Ask me about it) Small 4 Output LED Decoder Small 4 Output LED Decoder –Almost working – ran out of time for convention Small 8 Output LED Decoder for Digitrax Masts Small 8 Output LED Decoder for Digitrax Masts LocoNet Arduino Library LocoNet Arduino Library http://www.opendcc.org http://www.opendcc.org http://www.opendcc.org http://embeddedloconet.sourceforge.net http://embeddedloconet.sourceforge.net http://embeddedloconet.sourceforge.net http://jmri.sourceforge.net/download http://jmri.sourceforge.net/download http://jmri.sourceforge.net/download

31 Useful Information JMRI Online Help JMRI Online Help –http://jmri.sourceforge.net RR-Circuits JMRI Clinics RR-Circuits JMRI Clinics –http://www.rr-cirkits.com/Clinics/Clinics.html http://www.rr-cirkits.com/Clinics/Clinics.html OpenDCC OpenDCC –http://www.opendcc.org http://www.opendcc.org Arduino Arduino –http://www.arduino.cc http://www.arduino.cc Merg Merg –http://www.merg.org.uk

32 Question Time JMRI Questions JMRI Questions New Feature Requests? New Feature Requests?

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


Download ppt "JMRI PanelPro Clinic NZAMRC 2008 Alex Shepherd – Hamilton Phone: (07) 829 4441."

Similar presentations


Ads by Google