introduction to jmri and cbus howard watkins talk given at east midlands area group on 24 september...

18
Introduction to Introduction to JMRI and CBUS JMRI and CBUS Howard Watkins Howard Watkins Talk given at East Talk given at East Midlands Area Group on 24 Midlands Area Group on 24 September 2011 September 2011

Upload: francis-pope

Post on 24-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

Introduction to JMRI and Introduction to JMRI and CBUSCBUS

Howard WatkinsHoward Watkins

Talk given at East Midlands Area Talk given at East Midlands Area Group on 24 September 2011Group on 24 September 2011

Page 2: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

Introduction to JMRIIntroduction to JMRIJava Model Railroad InterfaceJava Model Railroad Interface

available for Windows, Mac & Linux. This available for Windows, Mac & Linux. This presentation concentrates on Windows.presentation concentrates on Windows.

Download JMRI & Java, details are on Download JMRI & Java, details are on www.jmri.orgwww.jmri.org

You then get icons forYou then get icons for DecoderProDecoderPro PanelProPanelPro & optionally SoundPro& optionally SoundPro

Page 3: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

DecoderProDecoderPro

Essentially used to aid the setting of CVs Essentially used to aid the setting of CVs (Configuration Variables) in DCC decoders(Configuration Variables) in DCC decoders

sometimes called “programming”, it is sometimes called “programming”, it is simply putting values into “pigeon holes”simply putting values into “pigeon holes”

Page 4: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

PanelProPanelPro

Essentially used to show a track diagram Essentially used to show a track diagram which can be used to control a model which can be used to control a model railway.railway.

Does not have to be DCCDoes not have to be DCC

Page 5: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

Common StuffCommon Stuff

Firstly you need to setup the connection Firstly you need to setup the connection preferences whether DPro or PPro.preferences whether DPro or PPro.

Page 6: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

Options for system “MERG”Options for system “MERG”

Page 7: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

Can Have Multiple ConnectionsCan Have Multiple Connections

You can have multiple connections at the You can have multiple connections at the same time e.g.same time e.g.

Lenz for DCC traction, CBUS for pointsLenz for DCC traction, CBUS for points

CBUS for DCC traction, RFID for train CBUS for DCC traction, RFID for train detectiondetection

Page 8: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

Can Have Multiple IconsCan Have Multiple Icons

Suppose we require Suppose we require different preferences different preferences (connections/layouts) (connections/layouts) at different timesat different times

we can have multiple we can have multiple icons.icons.

How do we do this?How do we do this?

Page 9: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

How to have multiple iconsHow to have multiple icons

Make a copy of the icon Make a copy of the icon and rename it.and rename it.Right Click and go to Right Click and go to “Properties”“Properties”Add a “Preferences File” Add a “Preferences File” at the end of the target at the end of the target e.g. “CBUS_Simulation”.e.g. “CBUS_Simulation”.start this copied icon.start this copied icon.Select the appropriate Select the appropriate preferences.preferences.Restart the application.Restart the application.

Page 10: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

Important to rememberImportant to remember

All outputs from JMRI are called “turnouts” All outputs from JMRI are called “turnouts” whatever they do. They are held in a whatever they do. They are held in a “Turnout Table”. “Turnout Table”.

All inputs to JMRI are called “sensors” All inputs to JMRI are called “sensors” whatever they do. They are held in a whatever they do. They are held in a “Sensor Table”.“Sensor Table”.

CBUS turnouts are MT...(think CBUS turnouts are MT...(think MMERG), ERG), sensors are MS...sensors are MS...

Page 11: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

Let’s create some Turnouts.Let’s create some Turnouts.

Do Do NOTNOT add add “MT”, it is added “MT”, it is added automatically.automatically.

““+” = ON event+” = ON event

258 = node258 = node

E1 = event 1E1 = event 1

User Name is User Name is user choice.user choice.

Page 12: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

What node number to use?What node number to use?

Remember CBUS is event driven & JMRI Remember CBUS is event driven & JMRI “turnouts” are JMRI outputs.“turnouts” are JMRI outputs.

So no So no pointpoint [!] using the node number of the [!] using the node number of the point motor module (CANACC4 or 4).point motor module (CANACC4 or 4).

Instead use the node number of the producer Instead use the node number of the producer (CANACE3 or ACE8C) whose events have (CANACE3 or ACE8C) whose events have already been learnt by the point motor driver.already been learnt by the point motor driver.

Or use a new node number and then teach the Or use a new node number and then teach the point motor driver.point motor driver.

Page 13: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

Simple DemonstrationSimple Demonstration

Now we can use “Layout Editor” and can Now we can use “Layout Editor” and can change the points on screen, and connect change the points on screen, and connect to CBUS. (Demo)to CBUS. (Demo)

Page 14: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

Pentre Road Fiddle YardPentre Road Fiddle Yard

Here is a real example from a club layout. Here is a real example from a club layout. This includes sensors & routes. This includes sensors & routes. (Investigate)(Investigate)

Page 15: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

Exhibition Display CabinetExhibition Display Cabinet

JMRI+RFID+DCC block detection+CBUSJMRI+RFID+DCC block detection+CBUS

Page 16: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

DecoderProDecoderPro

Different abilities according to the DecoderDifferent abilities according to the Decoder

Page 17: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

DecoderProDecoderPro

Here is a “4 Function” decoder - Digitrax Here is a “4 Function” decoder - Digitrax Series 3 DH163Series 3 DH163

Page 18: Introduction to JMRI and CBUS Howard Watkins Talk given at East Midlands Area Group on 24 September 2011

DecoderProDecoderPro