¿ªÔÆÌåÓý

Date

Locked Re: JMRI Decoder Pro, EasyDCC, and SoundTraxx

 

ps: As for the CV numbers, I just quickly viewed the online decoder document I found on the SoundTraxx site, and the highest number I noticed was 22x. I have no idea what decoders it was for.

Don W
Connecticut




Locked Re: JMRI Decoder Pro, EasyDCC, and SoundTraxx

 

Marc, thanks for the long response and all the information!

My goal IS to have the Pi running JMRI, but "headless" without keyboard, mouse, or monitor. The PC will be a laptop, used now and then for other things, so wireless communication is a nice goal: I could just carry it to the layout room and turn it on. It won't be needed except for decoder programming or a dispatcher to use. Running the layout by myself, I don't need a dispatcher...

I'm new to JMRI, and unclear about its limitations. Maybe that laptop won't be able to program through the Pi to EasyDCC. If so, I could temporarily disconnect the EasyDCC from the Pi and plug it into the laptop running Decoder Pro, but that's not as clean and nice as connecting wirelessly and not moving cable connections. If that is the only way, then I might eventually buy a separate programmer.

Don Weigt
Connecticut


Locked Re: Raspberry Pi Servo pHAT

 

¿ªÔÆÌåÓý


Hello Richard,

On Jul 25, 2019, at 9:42 AM, rsauerbrun <richard@...> wrote:
I have ordered a Pi Servo pHAT for my Raspberry Pi that is running JMRI. This $10.95 product has 16 channels that allow for direct connection and management of 16 servos. Here is information on how it works:



Has anyone used a this product, or something similar? I am assuming I will be able to configure and operate this within the JMRI environment.

I have an Adafruit board which is very similar:

The two products actually use the same I2C controller.

That said JMRI does not currently support I2C connections on the RaspberryPi, but, the Pi4j library we use to provide support actually does support them, so this should just be a matter of figuring out the correct hooks to use in that code.

I¡¯ll see if I can play with it over the next few days and get something working, probably as a script.

Paul


Locked Re: Controlling Servos directly connected to Arduino with DCC++ Base Station #arduino #dccpp

 

¿ªÔÆÌåÓý

Dan,

Thanx much, this will be very helpful!

Unfortunately I do not have a 3D printer...
My setup is an outside garden scale deadrail, so I will be mounting them inside a weatherproof plastic box.
I can use that box as part of the mount you have designed.? I will mill the other part(s) out of either oak
or ABS stock.

Questions:
? ? I see no adjust-ability of the 2 limit switches.? The 2 mount holes are fixed, as are the switch plate mount holes.
??? What am I missing?

??? Does your code monitor them as the servo moves to determine when to turn off the servo?
? ? Or do you set the servo to a specific position and then use the limit switch for confirmation of the position?


On 07/29/2019 09:19 AM, dan@... wrote:

Steve,

If you have access to a 3D printer this is the mount I use and i added the adjustable limit switch mount.

Not sure why my remix picture does not show up.
Dan


Locked Re: Can I have two points with the same DCC address on a control panel?

Nick
 

Renton,

When you open you panel, At the top left on the menu bar, "file" should be the first selection. Open that drop down menu. If you are using Layout editor (the one I suspect you are using) it will give you an option to change to Panel Editor.?

Panel editor is a graphic panel. You create a "picture" of a panel that you may place icons anywhere within the x,y coordinates of the panel. Those icons have no relationship to each other but represent the item you match them with from your tables. You simply choose the type of item you add to the panel, then select the related Sensor, Turnout, Signal, etc from the table and place it on your panel. No "restrictions" on how many or where you place them, or even what type of icon you use.

The Layout editor is just the opposite (in my simple mind). The icons have a direct relationship with each other. It is basically, a direct view of your trackplan and is built as you would build your layout on benchwork. When you add a piece of "track" it must connect with another piece of track in a specific sequence. Each sensor is unique as it relates to a specific point on your real layout. Each turnout, signal head, and other items exist at only one spot on your layout and link with only one other item as well. It also provides you with a logical diagram of your trackplan that you can interconnect track into specific ways so you may automate trains and set up operations through detection, routes, and Logix.

My explanation is not perfect but is from my personal point of view. You select which method you prefer to use when you build your panel from the beginning.?

Good luck and have fun,
Nick Kulp

"I'm not a failure. I started at the bottom and I found it easily attainable. Life is too short to set unattainable goals"

- Nick Kulp



On Monday, July 29, 2019, 04:55:20 AM EDT, Renton Charman via Groups.Io <renton.charman@...> wrote:


Basic question Nick, how can I tell which editor I have used to draw the panels?
_._,_._,_


Locked Re: Controlling Servos directly connected to Arduino with DCC++ Base Station #arduino #dccpp

 

Steve,

If you have access to a 3D printer this is the mount I use and i added the adjustable limit switch mount.

Not sure why my remix picture does not show up.
Dan


Locked Re: Question regarding upgrading JMRI on RaspberryPI running Jessie #rpi

 

Hi Steve,

Thank you very much for your response, I renamed the JMRI folder, and extracted the .tgz file into a new JMRI
folder. The only thing I had to do afterwards was change the ¡®My JMRI Railroad¡¯ to our RR¡¯s name, as we have a separate WiThrottle server for our N scale layout.

Carl M.


Locked Re: Loksound 3.5 Won't Read Full/All

 

Dave,
? Thanks for confirming what I thought might be the case - I will suggest that the owner
purchase a programming track booster but I doubt he will since he has only one loco
that requires it.? I have a work around I'll suggest - which would be for me to read it
on my setup and then provide the roster entry to him as a file.
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? - Jim B.


Locked Re: Controlling Servos directly connected to Arduino with DCC++ Base Station #arduino #dccpp

 

John,

I am building turnout controls with MG90s and would be very interested in detailed pics of your servo mounts.

Steve

On 07/28/2019 04:13 PM, birmingham_rails wrote:
Hi Folks

I've done a project to throw 26 PECO turnouts with SG90 servos using Arduino Unos. A feature of this is to drive red/green LEDs with the Arduinos to show turnout position. No limit switches, no relays.

This uses enough pins that I can get 4 servos and 8 LEDs per Arduino.

The goal off this project is simply to replace handthrown turnouts with pushbutton remote in an industrial area where turnouts are hard for operators to reach. There is no need for connection to DCC system at these locations.

(We do have dispatcher's computer panel for 5 key mainline locations using Digitrax PR-3 , PS-64's and JMRI. We use JMRI primarily for operations and decoder set up.)

The cost is about $6 US per turnout site, including panels. Materials came via AliExpess.

The servo mounting is the "half inch aluminum channel" type found on YouTube. Thus includes a piece of steel wire which bends a bit to hold the points in place. Servos should be off between throws. This may require adjustment of throw angles.

The code was cribbed from various on line sources -- I'm not a coder, just a retired civil engineer who can adapt/figure things out.

Each Arduino is part of a "module" that include a bread board and barrier strips. There are 7 modules mounted together on a panel under the layout, below the industrial area.

The fascia mounted panels have a track schematic, one push button and two LEDs per site. The panels include barrier strips and connections to the modules are made with 4 pair communication cable - one cable for buttons, one cable for LEDs.

Adjusting servo throw is done by adjusting the code for a given module, each servo has a loop of code for it's button; each module has its own code for its 4 servos. The throw angle is given in degrees in each direction; each turnout of 26 may be adjusted separately, although this hasn't been necessary so far.

I don't know how to write servo position to Arduino's eprom. So if Arduinos are powered off, then each servo must be "waked up" next time system is powered up. Not a big deal but not very elegant, even for a dirt engineer. (Operators shouldn't leave cars parked on turnouts, but...)

So I'd like to learn how to have Arduino's remember servo position, and LEDs color when powered up.

You may see some info on this project on my YouTube channel "Birmingham Rails".

I'm glad to share code, pix, etc. if anyone is interested.

Thanks

John Stewart
Birmingham, AL



Locked Re: Trying to add a photograph to this topic.

 

You attach a link to the album (or photo in the album) to your message like you just did.
/g/jmriusers/album?id=93593
/g/jmriusers/photo/93593/0?p=Created,,,20,2,0,0

--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -


Locked Re: Strange DP behavior

 

Jim,

Once you have several individual profiles configured to communicate properly with your hardware (LocoBuffer, PR3), you can "Edit" the "Preferences" to change the "File Locations" so that they point to the same Roster.

For each of the profiles for which you want JMRI to share the same Roster:
. start DecoderPro or PanelPro and select the profile you want to change.
. open "Edit->Preferences" and select "File Locations".
. In the box for "User Files Location", enter the path name for the profile directory which contains the Roster you wish to use.

For example, if you have three profiles, "PR3_standalone_programmer", "LocoBuffer_layout", and "ThatOtherProfile", and you have your complete Roster in the "PR3_standalone_programmer" profile, then you will want to change the "User Files Location" value in the "LocoBuffer_layout" and "ThatOtherProfile" profiles to _match_ the "User Files Location" value as seen in your "PR3_standalone_layout" profile.

I am not sure how JMRI would act if you have two instances of JMRI running at the same time using two different profiles. Roster changes via one JMRI instance will likely _not_ become automagically visible in another JMRI instance's Roster. It _may_ be necessary to "rebuild the roster" or "re-index the roster" or even restart the second instance of JMRI in order to "see" the changes to the Roster entry.

Regards,
Billybob

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jim Kirwan via Groups.Io
Sent: Monday, July 29, 2019 1:02 AM
To: [email protected]
Subject: [jmriusers] Strange DP behavior

Billybob,


That sounds like a better place than where I now am. :) That is what I am going to do. I think all I will have to do then is edit the preferences to switch between PR-3 and LocoBuffer when I am programming. Thanks.

Jim K


Locked Re: Strange DP behavior

 

Jim K,

You will be able to pick the interface from the Roster screen. It will have
another select list, between the power buttons and the programming mode,
that will pick which system you will use for programming. At least it
should, I've not used that lately. Also there are select lists in the single
CV programming to pick the interface. So you should be able to have the
'LocoNet - PR3' and 'LocoNet - CS' to choose from as needed.

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


Locked Re: CMRI Baud Rate Mismatch - Dave S/ Bob J

 

Same here Scott, Looks like Dave S. found the fix. Happily back running at 57,600. Thanks to all of the developers who support this great program.

John Lang


Locked Re: Alternate Sections in Transits using Dispatcher

 

Wow,? thanks Steve 009 - that sounds interesting and certainly worth a try....? I think I understand enough to give it a go!

Steve G - My layout is continuous running - ie the same direction on any one piece of track.? I have therefore set all sections to be 'Safe' - and it doesn't make any difference to the 'Alternative' situation.....? apparently anyway.

Torben


Locked Re: Can I have two points with the same DCC address on a control panel?

 

Basic question Nick, how can I tell which editor I have used to draw the panels?


Locked Re: Duplicate panel name popup

 

Thanks Dave

problem solved

Terry


Locked Trying to add a photograph to this topic.

 

/g/jmriusers/album?id=93593


i am finding this site difficult to get to grips with so your patience please with a newcomer.
i have added a photo from my photographs into an Album.
how do I transfer it to a new topic for posting?

the only way i can do it is by copying the photo and pasting it into a topic. ? Surely there is something a bit more straightforward?

regards

Terry


Locked Strange DP behavior

 

Billybob,

That sounds like a better place than where I now am.? :) That is what I am going to do. I think all I will have to do then is edit the preferences to switch between PR-3 and LocoBuffer when I am programming. Thanks.

Jim K


Locked Strange DP behavior

 


Re: Strange DP behavior?
From:?forfoum@...
Date: Sun, 28 Jul 2019 20:32:26 PDT?

Since his setup is currently not working as is, I think dropping? it all in the same Profile will just add to his confusion.

" and a profile for pgm on the main (COM4 LocoBuffer USB).? I also have a profile for ops (COM4 LocoBuffer USB) . "

Is this a typo ?? You have two (2)? Profiles for the Locobuffer-USB (com4) that both? handle your MAIN (OPS) programming.? WHY ???

Marc,

The first profile was for when I first started. I was playing around with panels. why I still have ** it? Ignorance.

"? I have a profile for the pgm track (COM5 PR-3)? "

This is clear enough. The PR3 is used in Standalone mode with the Program Track attached to it, no LOCONET connection.? It can not and will not do OPS programming.

** I thought that OPS mode automatically went thru the LocoBuffer.

" OPS mode pgm comes up with no roster entry for any loco that has a roster entry in program track roster. "??

This is unclear. Do you mean? that your ' OPS Profile ' comes up with? BLANK, no? roster entries ??? Sounds like the ROSTER location is not defined.

** When i try to identify a loco on the main that has a roster entry in the pgm track profile, it was coming up with "No Roster Entry", but now I get a no loco found error.

"? Do I have to change the connection between the PR-3 and the Locobuffer to be able to pgm either way?? "

Again not clear what you are looking for.? If you have 'Profiles' defined, there is no need to " change connection ".? Program either way ???

By the way, you started a similar thread in here last week. It was responded too and you? never followed up upon.

** I did respond to you, Marc.

Jim K

Marc


Locked CMRI Baud Rate Mismatch - Dave S/ Bob J

 

Bob/Dave

I have had similar issues that John Lang has experienced with setting the CMRI baud rate in "Preferences".? ?If I set the rate to anything over 19200, the effective rate was still 19200.? Leaving my CMRI fixed this in the interim.? This seemed to occur from release 4.15.8.

After seeing Bob's last post on #7207 on GitHub, I have installed build 3393.? ?I can happily report that this has fixed the issue and I can once again run at 57600.

Thank you both for you efforts.

Regards

Scott Rose