¿ªÔÆÌåÓý

Date

Locked Re: DCC++ Audrino current detection and block detection and colour light signalling. DIY Style

 

Hi Paul thanks for the info.

I think I could manage to solder however my programming skills are probably fairly basic. It's why I was trying to reach out to someone who had been there done it and got the teeshirt so to speak.? I have found things like git hub and hackaday as well as some good YouTube videos. Also I am mindful that it all has to work together.

Budget is the main factor here to other wise I will just have to save up and buy a system off the peg.


Locked JMRI DecoderPro Programmer Format Question

 

When you open up DecoderPro in either ops or service mode and select a loco to work with there is a section at the bottom of the Decoder Pick Tree that says "Programmer Format".? There are two selections in that pick list that I have always wondered about:? "Advanced" and "Comprehensive".?? What's the difference?? Is one a super set of the other?????

Thank you for taking the time to answer one of those JMRI trivia questions that have I always wanted to know the answer to.??


Locked Re: DCC++ Audrino current detection and block detection and colour light signalling. DIY Style

 

David,

I think a lot of your choices in this area will depend on how happy and confident you are about mucking about with electronics, soldering kits and hacking Arduino code. ?My understanding is that 'out of the box' the DCC++ base station will forward DCC commands to track connected decoders (mobile and stationary) or use Arduino pins as simple ON/OFF inputs or outputs, so these are your base options.

There's a MERG 8 channel current (transformer rather than diode) block detector at c. ?26 (+ MERG membership) that I've used directly connected to an Arduino and if you use one pin per channel you should be able to configure the relevant pin as an input on your DCC++ base station. ?It also has a shift register output option which is more economic on pin usage, especially if you daisy chain them, but that is unlikely to be supported by the standard DCC++ code.

I haven't used optical sensors for block detection with JMRI, but I understand that JMRI signalling automation works on the basis that block detection is contiguous and all blocks have detection. ?At least one block will always be showing as occupied for a specific train. ?This may be difficult to arrange using optical detectors. ?It may be that Martin's experience is different.

Designing an Arduino shield was well beyond my competence but I found that there are header boards available with PCA 9685 chips already mounted (search your ?favourite market site) which can be used with Arduino. ?I've used one of these in a prototype version that does a 4 aspect signal + feather(optional) ?so plenty more channels to go. ?These can be daisy chained too. ?Alternatively if you are using LED signals you should be able to drive the LEDs from the Arduino output directly using with a suitable series resistor using the standard DCC++ base station software.

Paul

?


Locked Re: What gets saved when

 

Jerry,

On 10 Jan 2019, at 4:53 PM, JerryG via Groups.Io <jerryg2003@...> wrote:

Clearly, my ¡°preferences¡± get saved when I hit Save on the Preferences window.
Correct.

I also understand that different things get ¡°stored¡° when I ¡°Store configuration only¡° versus ¡°Store configuration and panels¡° from the File menu in the various Tools windows (I assume ¡°Save¡± and ¡°Store¡± are both supposed to be words indicating ¡°Save to a more or less permanent file on a disk or in the cloud¡±). But what are the differences between these two choices?
What is the ¡°configuration¡± information that gets saved
Turnouts, Signals, Sensors etc.

Into the specified file.

vs. the ¡°panels¡± that get saved?
Control Panels, Layout etc. as well as Turnouts, Signals, Sensors etc.

Into the specified file.

Similarly, what gets stored (or doesn¡¯t) when I select ¡°Save panels¡° from the File menu on a Layout or Control Panel Editor? Is some configuration information completely lost or just any changes since the last time?
Control Panels, Layout etc. as well as Turnouts, Signals, Sensors etc.

Into the specified file.

And while we are at it, when do my roster entries get saved since there does not appear to be a ¡°Save rosters¡° choice anywhere.
When a Roster Entry is open, there is a File->Save menu item. There is also a "Save to Roster" button on the Roster Entry pane.

Unlike panels, when you attempt to close a Roster Entry with unsaved changes, it will warn you and give you the option to "Save and Close"

Unrelated, if you have made changes and not written them to the decoder using your DCC system (as opposed to the roster file), you will get a different warning, so you will possibly see both.

If you change editable information in any row on the main DecoderPro roster page, that change will be saved as soon as you press Enter.

If you add or remove a roster entry to/from a Roster Group, that change will immediately be saved into the roster entry itself.
--
Dave in Australia


Locked Re: Broadway ltd

 

On 10 Jan 2019, at 3:46 PM, forfoum@... wrote:

From personal experience with both the DCC Specialties PowerPax and the Soundtraxx PTB-100: get the PTB-100. PowerPax did not provide satisfaction for me on a DCS50 or a DCS100. It worked but was very finicky about the decoder it was facing. The minute I added the PTB-100 it was a dream come true an has worked ever since. The PowerPax is in the drawer and it's power supply is powering the PTB-100, permanent.
Similar experience with NCE Power Pro (except the PTB-100 is now powered from the NCE's 16VAC main power supply).
--
Dave in Australia


Locked Re: DCC++ Audrino current detection and block detection and colour light signalling. DIY Style

 

Hi David

Have you had a look at MERG kits? (merg.org.uk). There wouldn't be the programming involved (unless you wanted to get into designing things to work with their kits) but the range of kits they do would do everything you could want and their CBUS system works very well with JMRI.

Cheers

Fraser


Locked What gets saved when

 

I thought I understood this but the more I think about it the more I realize that perhaps I don¡¯t, so here goes¡­

Clearly, my ¡°preferences¡± get saved when I hit Save on the Preferences window. I also understand that different things get ¡°stored¡° when I ¡°Store configuration only¡° versus ¡°Store configuration and panels¡° from the File menu in the various Tools windows (I assume ¡°Save¡± and ¡°Store¡± are both supposed to be words indicating ¡°Save to a more or less permanent file on a disk or in the cloud¡±). But what are the differences between these two choices? What is the ¡°configuration¡± information that gets saved vs. the ¡°panels¡± that get saved?

Similarly, what gets stored (or doesn¡¯t) when I select ¡°Save panels¡° from the File menu on a Layout or Control Panel Editor? Is some configuration information completely lost or just any changes since the last time?

And while we are at it, when do my roster entries get saved since there does not appear to be a ¡°Save rosters¡° choice anywhere.

Thanks, Jerry
_________________________________
jerryg2003@...


Locked Re: Setting serial port speed for CMRI connection to JMRI

 

Thanks all for the interesting discussion. I have tried several speeds and it looks like I may be losing some messages at 57.6 so I am going to stick with 19.2 for now with my three Arduino boards running via RS 485.
?
A related question: my boards seem to respond to a poll request in about a 10th of a second, but it takes JMRI almost another full second before it issues another poll request. ?Does this sound right? ?This seems to be consistent across communication speeds. ? Running the latest experimental version of JMRI 4.15.1.?

Jerry
___________________________________
jerryg2003@...


Locked Re: MQTT Connection in JMRI

 

On Thu, Jan 10, 2019 at 04:48 AM, Bob Jacobsen wrote:
Two examples: If the system letter is M, then:

*) MTfoo/bar/biff/21/mine is a turnout that uses foo/bar/biff/21/mine as the MQTT topic

*) MSrailroad/stuff/notMentioningSensorsHere/yardOSwest is a sensor that uses railroad/stuff/notMentioningSensorsHere/yardOSwest as the MQTT topic

Etc. The first letter (optionally followed by digits) is the system prefix; the following T/S/R/L defines the type, and all that follows is the specific topic for that item.

Bob
All, I like this idea the best as it let the user create/specified whatever their requires are. I have one question to get this straight in my mind. So with the table (say turnouts) the turnout that would be associated with MQTT will have the corresponding topic? In the case above, it would be "foo/bar/biff/21/mine"?

For my understanding,

Dave, Brisbane Australia.


Locked Re: Broadway ltd

 

On Wed, Jan 9, 2019 at 12:20 PM, Classic Auto Portraits wrote:
Dear Bruce, et. all,
Can you or one of our members recommend a programming track booster?
Regards,
Robert Diepenbrock

From personal experience with both the DCC Specialties? PowerPax and the Soundtraxx PTB-100: get the PTB-100.? PowerPax did not provide satisfaction? for me on a DCS50 or a DCS100. It worked but was very finicky about the decoder it was facing.? The minute I added the PTB-100 it was a dream come true an has worked ever since. The PowerPax is in the drawer and it's power supply is powering the PTB-100, permanent.


Locked Re: Broadway ltd

 

Marc,
My point was that someone posted this statement....
?
""5. If you are trying to program a 4-digit address, simply write that into CV 18.""

To me that was incomplete and misleading information. I was trying to seek clarity on how that was possible.?
I certainly don't have knowledge of all the systems and shortcuts out there, but this didn't seem right or logical to what I do know.

I understand that if a person understands how 4 digit addressing works, there is no problem at all writing directly to cv 17, 18 and 29. I was not inferring that it could not be done by directly programming those cvs, just that the statement was incomplete from above.


Tom Wilson
Colorado Springs, CO


On Wed, Jan 9, 2019, 8:02 PM <forfoum@... wrote:
On Wed, Jan 9, 2019 at 03:24 PM, Tom Wilson wrote:
That seems odd to be able to write a 4 digit address to cv18 when the NMRA spec for a 4 digit address is spread out on cv 17 and cv 18 and also requires a change to cv 29.??
I dont logically see any way that what you are saying can work with any decoder.
Not odd at all if the address is within a 256 block. Within a 256 block CV17 does not change. Only CV18. And of course CV29.

So, example, addresses between 256 and 511 all have the same CV17 = 193. CV18 changes. 0 thru 255.

I do not follow along on the cv17, cv18 cv29? should not be played with .. someone please explain.

Marc
Marc


Locked Configure DS64 tool trouble

 

Digitrax Empire Builder, DB150, PR3, Lenovo laptop w/Win 10-64bit, JMRI 4.11.
I have two DS64's, one of which I have successfully programmed with two output addresses and three routes using the Configure DS64 tool some time ago.
The second one I am trying to do today will not accept more than the first output address. When entering address #2 the box turns blue but I continue to enter #'s 3 and 4. When I hit 'Write Full Sheet' it writes box #1 but box #2 turns blue and everything stops. If I click another tab and then come back to the output addresses they all appear to have been written and show up without a background color. If I try to 'Read Full Sheet' only address #1 is read, address #2 turns blue and addresses #3 and #4 turn yellow. I appear to be able to enter Routes and have them recorded correctly in that tab in the tool. The turnout associated with address #1 can be operated individually from all my devices and will also operate correctly when the routes containing it are activated. I don't see anything wrong with my entries in the Turnout Table but maybe I just don't know what 'wrong' looks like.?
Any help and/or advice will be appreciated.


Locked Re: MQTT Connection in JMRI

 

Bob,
With unconstrained topic path with no mandated device type component, it means the JMRI MQTT client will need to subscribe to all events under the channel top level ( channelname/# ) for all device types and then search all JMRI MQTT objects for a match. I think regardless of the object type, the desired action is to update the state if it differs though without re-publishing the message.

I think any outgoing message published by JMRI will be echoed in the subscribing process so will be seen as another incoming message to deal with. I don't know if there is a way to filter those out.
- David.


Locked Re: Tables disappearing?

 

Chris,

Once you have a panel with data you either have to loaded after starting
JMRI or have that happen as part of the startup. Most use the startup
services (Edit->Preferences->Startup) to load the panel. Thing to keep in
mind, it is good to save big changes as a different file name, that means
you then have to edit the startup file name to match. I leave a trail of
files behind as I develop the panel. Just in case some great idea turns out
to be not so great.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.com
www.syracusemodelrr.org


Locked Re: Tables disappearing?

 

Chris,

On 10 Jan 2019, at 11:08 AM, chrisast10@... wrote:

Ken - no my panel are not loading at start up. is it supposed to?
You need to go to Preferences->Start Up->Add->Open File... and select the Panel File you want to open.
--
Dave in Australia


Locked Re: MQTT Connection in JMRI

 

Speed,
The optional number I think comes when there is a second connection that uses the letter M, the connection code becomes M2 and then followed by the device character T for turnouts.?
- David.


Locked Re: Jython as a teaching tool

 

thank you Dave!??

Jim?


Locked Re: Tables disappearing?

 

Thank you all for the responses.?

Ken - no my panel are not loading at start up. is it supposed to?

Paul - That was what was happening. I am looking for my tables with the panels closed, once I open it all my tables show up.

Thanks again.
--
Chris


Locked Re: Programming locos with Fleischmann Twin-Center sw ver. 2.000 and DecoderPro 4.14

 

Operations and Programming with an IB2 (and IB-Com) connected to JMRI work fine;? this was fully updated a few years ago (Jan. 2015) and exhaustively tested.

The work remains unfinished with the IB1 (or IB-IR or TC) both in operations and programming; the IB1 anyway has always been slow and with mine I never achieved to read a speed table in full, as it timed-out before completion. I moved to SPROG for programming with JMRI.
The IB2 is able to follow the pace and programming with JMRI works satisfactorily.
--
Alain LM


Locked Re: MQTT Connection in JMRI

 

Sorry I put the slash at the beginning by accident.

Chris