Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Pi 4 heat and cases
Group:
I was posting about the new Raspberry Pi 4 and heat issues... I've added a gallery and photo of a DIY 3D printed case and a commercial product. The case came from Thingiverse though I can't link to it now, not sure just how I found it... The commercial case (Micro Connectors from MicroCenter) predates the 4 but being open on all sides the change in the Pi 4 connector arrangement won't matter. Tried to score a Pi 4 4GB too... all gone... The printed case has a salvaged slice of CPU heatsink poking out... milled a chunk out of an old PC CPU heatsink held on with thermal compound, friction fit and glue to case top. Jim Albanowski |
Hello,
?
I may repeat myself but managing the servo directly in the DCC++ sketch is not a good idea. It seems simple but it is not the case, you will have to modify the DCC++ sketch.
?
A simple solution is to use another arduino, which will "listen" to the DCC signal, and act on the servos.
?
As indicated on this link: http://www.mynabay.com/dcc_monitor/_monitor/
?
Have a good day |
Locked
Re: Best system setup for signaling
Ken,
toggle quoted message
Show quoted text
I monitored the commands being sent through jmri to the command station and found no error on the jmri side. However the light it's still missed on occasion seems like about after 4 or 5 turnout throws. Are there any problems you have heard about with the light it's missing commands? Might need to get a couple of replacement light it's and see if that clears it up.? Thanks? Scott Clements
|
Locked
Re: DP feature request
On 07/23/2019 04:07 PM, thomasmclae wrote:
Opening the throttle with CV19 value (if set) would also make thingsI think improving how the throttle works with the roster and the consisting tool to select locomotives in a consist has merit. As a first step, I'd like to address how advanced consists are handled.? I've created an issue on github to keep track of my thoughts: Feel free to comment here or there, but the issue above has my current thoughts on how to make this better. Paul |
Locked
loco assignments
#operationspro
Hi Dan,
I am wondering if JMRI can be configured to work locos the way RailOp used to? Matt Greenwood |
Locked
Re: JMRI and NCE
Ken S,
I think this is a direction to try. 1. First thing is cut/paste the console log from starting up with your working 4.12 system. This gives us a baseline of your setup. 2. Make sure you open/save any panel files you are using. 3. Make a minor change in the preferences, something you can change back, like add a startup action. 4. Those steps make sure the files are written at the 4.12 version level. 5. Update to 4.16. 6. Startup with 4.16 and cut/paste the console log. This will show what is or isn't not happening. Make no other changes. From this we can see the where you start and finish. Then we can give meaningful comments. Sometimes there are changes that make updates along the way. If someone is jumping too many versions, the old version might not be able to be correctly read by the new version. Making regular updates, the issue doesn't come up. For a while a new version will still read the old version files, but it is using old code we have replaced with new methods. Eventually we clean up things and remove that old code. That is when somebody who didn't do updates, and then did a load/save to save all new way entries will have an issue. It happens very seldom, but making a few more steps here should figure out if this is a part of your problem or if something else is happening. You might also use the Help->Upload Debug Info, it will send a package or details like your profile and log files, with some system details too. That may also give us more clues when it isn't working. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Re: DP feature request
On Jul 23, 2019, at 4:07 PM, thomasmclae <thomas_applink@...> wrote:The JMRI roster screen is supposed to provide summary information you can use to identify the locomotive. I personally believe the value of CV19 is too volatile to use for this purpose. Here are two real life use cases for why that is the case: 1) Many of us move locomotives between layouts ( club layouts, modular layouts, home layouts ) and sometimes it is necessary to change the Consist a locomotive is in when this happens. 2) During an operating session, a locomotive may go in and out of several consists as it is assigned to different trains. At times it is necessary to change consists using a throttle or other device. On some systems, we can get information from the system about the current state of consists, on others we can¡¯t ( and on some systems, the information we get isn¡¯t as helpful as we would like). Opening the throttle with CV19 value (if set) would also make things go faster when speed matching. (Configurable?)If you are using the Consist Tool to manage your Consist, it will open a throttle with the lead locomotive selected for functions and the Consist address selected for speed/direction. 90% of my loks are in consists, managed by DP. So this would be a good update feature for me.Are you managing this with the Consist tool or by programming? Paul |
Locked
Connecting panel pro layout to actual layout
mnutt48414
I am using NCE with AIU's for sensors. I have been ?using CATS as a dispatcher panel but can't get it to keep track of the detected trains correctly. All of the blocks work correctly and all turnouts work correctly. All of the ?AIU sensors work correctly. I am trying to use the Layout editor to create my layout. I can create the layout OK. I have all of the sensors NS### in the sensor tables, I have all of the Blocks in their table. When I run it on the actual layout, I can properly throw the turnouts by clicking in the circle.
1) ?If I throw a turnout from a control panel, the Panel PRO DOES NOT RECOGNIZE the change.
2)? ? Trains do not show up in the blocks as I run them. ?In both cases the AIU sensors show the correct changes.
Is the a manual that gives this information? ?ANY HELP YOU CAN GIVE ME WILL BE GREATLY APPRECIATED
Mickey
|
Locked
Re: JMRI and NCE
¿ªÔÆÌåÓýHello, ? I have been doing some experimenting. I now have active JMRI 4.12 on my computer. I tried installing JMRI 4.16 without erasing 4.12. That did not work. I unstalled everything and tried JMRI 4.14. That did not work. I reinstalled 4.12 and now JMRI works with my NCE. Why? ? Ken Skopp ? From: [email protected] <[email protected]> On Behalf Of Jan Carr ?
Ken S: Do you have JMRI 4.16 installed as suggested earlier in this thread? Automatically defaulting to offline simulator mode when a connection problem occurred was a feature of older JMRI versions. |
Locked
Re: DP feature request
I'd like to second this. I change the long number (to avoid conflicts with other club members) than I change the CV19 addresses. and it's really confusing when set cv19 in DecoderPro, then pull up a throttle, and it goes to the long address On Tue, Jul 23, 2019 at 8:07 PM thomasmclae <thomas_applink@...> wrote: DP generally only has data from the last decoder read, CV19 is no exception. SO showing the last known value is still good. |
Locked
Re: Build Pickup Problems
Jerry,
Use the text editor option for viewing the build report.? And for one of the cars that isn't being picked up, copy only the text for that car so we can see what is going on. 21 pages, wow! Dan |
Locked
Re: Cantons / Stop trains in block with red signal
¿ªÔÆÌåÓýfcot2002, Thank's for your explain, but the question only for DecoderPro as you said : For ESU decoders, it's on the Advanced tab. For other decoders, it may differ... Dave in Australia |
Bob,?
toggle quoted message
Show quoted text
Here you go - the 'P' script first, then the 'S' script. Also, this is happening on current production 4.16. Sam
|
Could you post your scripts so we can see the details?
I suspect they¡¯re defining objects with the same names. Bob On Jul 23, 2019, at 2:58 PM, Sam Simons <samusi01@...> wrote:-- Bob Jacobsen rgj1927@... |
I had a similar problem with an Arduino based servo for turnouts; the servo was only getting a shot of current instead of a significant length of current to move the servo.? You might check how long the current is applied to the servo. Ken Moordigian On Tuesday, July 23, 2019 rsauerbrun <[email protected]> wrote: Thanks Paul, I started this effort by reading the following section on the JMRI site ¡? If I understand correctly, I should be able to run one servo directly connected to the Arduino's 5V, GND and one digital port (mine is connected to port 7). Of the three methods available with the DCC++ sketch, only the third method using the base station "Output" approach should work. This is what I have done, and everything looks great in JMRI, but the servo never moves. But I get your concern about the PWM. As I watch the DCC++ traffic monitor I see only a "Low" then "High" state for the JMRI turnout. And when I hold the servo next to my ear, I hear a "click" when I send the command in JMRI to go "closed" or "thrown". Is there any way I can overcome this in the DCC++ sketch? Richard |
I've been working on getting my staging turnouts powered by servos and controlled by JMRI through Arduinos using Geoff Bunza's direct JMRI to Arduino scripts. The ends of the staging yards are far enough apart that I've ended up positioning one Arduino at each end of the yard, controlling five servos each. One Arduino is on COM4 and the other on COM5. I've got a pair of the "TurnoutDataTransfer.py" scripts created, one of which I'll refer to as P, the other S. On the one, I've renamed the global extportin to extportinP and the other script has extportinS. Com ports correspond to the Arduino ports. I've created a panel that has a basic diagram of the staging yard and can control the turnouts. This is where I am running into problems. I had JMRI automatically load the panel and run both scripts (P first, then S). The S turnouts worked normally but the P turnouts did not. I stopped the scripts from running automatically and have managed to test my way to the following:
1. If I load the P script (automatically or manually, doesn't make a difference), all the P turnouts work normally.? 2. If I then load the S script, all the S turnouts work normally but the P turnouts stop responding, although the script output and panel act like they are working. 3. It doesn't matter which script is loaded first; the second script will stop the first script's turnouts.? Any thoughts on why this may be happening? Thanks, Sam |
Locked
Re: DP feature request
DP generally only has data from the last decoder read, CV19 is no exception. SO showing the last known value is still good.
Opening the throttle with CV19 value (if set) would also make things go faster when speed matching. (Configurable?) 90% of my loks are in consists, managed by DP. So this would be a good update feature for me. Thomas DeSoto, TX |
Locked
Re: Cantons / Stop trains in block with red signal
I believe I did explain one way to see the option for the Asymmetric feature, it might be different for another brand of decoders.
It depends on who added the decoder information into Decoder Pro. The other way is check the specification of the decoder you want to use and see if they document that feature with the CV values. Dennis |