开云体育

Date

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

 

I use servos to control turnouts on my DCC++ layout.
It's not really practical to hack the DCC++ code to produce outputs that can be directly connected to servos without compromising the DCC timing. - at least it's way beyond my programming skills!
The outputs from the mega can be soft and hard patched to inputs on one or more separate Arduinos. It is theoretically possible to control 10 servos with one arduino pro mini or nano, but it really helps to be able to calibrate the maximum and minimum throw of the servo for the open and closed turnout positions. To do this will require a potentiometer input, and a? calibrate button, perhaps an LED to signify calibration mode and pot wiper position, this will leave (say ) 8 inputs (say D11,D12 and A1-A6) from the mega and 8 turnouts (D2 to D9), Calibration Switch (D10) ,Calibration pot? wiper (A0) & LED (D13). The Arduino sketch needs to scan inputs from the DCC++ mega, change position value for any that have changed, and output that change to the servo. Pressing the calibrate button allows the position value for the last servo moved to be re-set by changing the pot value.. The sketch would need to write all values to eeprom so they can be loaded on power-up in the setup routine.? Of course there are plenty of opportunities for refinements.? I am happy to upload a mini tutorial, sketch and wiring diags if you would like to try it. (at ?3 per arduino and ?1.50 per servo it's not really expensive)?
Steve 009 in UK


Locked Re: Alternate Sections in Transits using Dispatcher

 

Hi.
Just a thought. I'm no expert and I haven't tried this exact scenario, but I have used similar workarounds myself. It may work trying to? create a new block just before the before the platform turnout with virtual signal masts controlling entrance to this new block. The signal mast logic would need editing to protect this block only if both platforms were occupied? (perhaps using? a virtual sensor and logix). The train would stop at the signal and wait before entering the block, presumably before before triggering the pop-up message box. It? would only then proceed after one of the platforms became clear, negating the popup.

--
Steve 009 in UK


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

 

Hi
Give the second one an internal address. Then edit the first one from the layout panel to also throw the internal.
Steve G.

On July 28, 2019 5:27:23 AM EDT, "Renton Charman via Groups.Io" <renton.charman@...> wrote:
I am using Cobalt SS point motors which allows two point motors to be
operated simultaneously with the same address. When I have tried to add
points to the JMRI control panel on my Mac I can add the first post and
control ok. However when I then try to add the second point and give it
the same address I get an error warning that the address is already
being used. I can control both points on the layout together clicking
on the first point but I have no animation of the second point on the
panel. Is there a way of doing this?

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Locked DCC4PC Railcom Reader

 

Is anyone aware that support for the DCC4PC railcom reader doesn't work anymore in jmri! After? testing some passed releases it seems to work all but slow refreshing up to release 4.12. Later? releases don't work and looking at the dcc4pc monitor within jmri it seems that jmri can't read the input file from the hardware. I've tried reporting this but to no avail. The suggestion that jmri supports dcc4pc railcom reader hardware is misleading and maybe the option to select this hardware in the preferences connections pane should be taken away to protect people from investing in hardware that is no longer supported by jmri.

Michael Smith


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

 

开云体育

Renton

I use the same cobalt point motors and have a few crossovers using same address. All I ?do is copy and paste the icon and change orientation according. I’m sure there’s other ways

Regards?

Peter?


On 28 Jul 2019, at 10:27, Renton Charman via Groups.Io <renton.charman@...> wrote:

I am using Cobalt SS point motors which allows two point motors to be operated simultaneously with the same address. When I have tried to add points to the JMRI control panel on my Mac I can add the first post and control ok. However when I then try to add the second point and give it the same address I get an error warning that the address is already being used. I can control both points on the layout together clicking on the first point but I have no animation of the second point on the panel. Is there a way of doing this?


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

 

I am using Cobalt SS point motors which allows two point motors to be operated simultaneously with the same address. When I have tried to add points to the JMRI control panel on my Mac I can add the first post and control ok. However when I then try to add the second point and give it the same address I get an error warning that the address is already being used. I can control both points on the layout together clicking on the first point but I have no animation of the second point on the panel. Is there a way of doing this?


Locked Re: JMRI Decoder Pro, EasyDCC, and SoundTraxx

 

You will need the custom serial cable for the collection.
We have our backup EasyDCC as programming track at the club. (Along with a SPROG, a Digitraxx DS50, and a Lokprogrammer)
You might think about using a SPROG. No booster needed, just separate track section. Almost the price of the PTB-100, and lets you avoid ghosting when programming. As in, start programming and all throttles stop working. Not good in a club where others are running, and start to panic. ( And yell at you!)

Thomas
DeSoto, TX


Locked Re: JMRI Decoder Pro, EasyDCC, and SoundTraxx

 

开云体育

Don

If you have the latest Soundtraxx Tsunami 2 you do NOT need the PTB 100. Easydcc has NO problems programming the higher numbers.

My system uses the 1998 Command Station with the V629 firmware.

To program the old Tsunami you can use the PTB 100 but the PowerPax unit works better with the older Command Station.

Gerry

On 28/07/2019 1:52 pm, Don Weigt wrote:
I hope this will be an easy question to answer.

I'm about to get my first SoundTraxx decoder. I have an EasyDCC system, with the kit built command station and upgrade from long ago that converted it to four digit addresses. Is anyone else using this combination? Will Decoder Pro work through my EasyDCC command station equipped with a SoundTraxx PTB-100 to program sound CVs, with CV numbers over 100, and a few over 200?

Don Weigt
Connecticut, USA
-- 
Gerry Hopkins MMR #177 FNMRA
Great Northern Downunder




NMRA Australasian Region
Contest & AP Chairman
Web Administrator




Virus-free.


Locked JMRI Decoder Pro, EasyDCC, and SoundTraxx

 

I hope this will be an easy question to answer.

I'm about to get my first SoundTraxx decoder. I have an EasyDCC system, with the kit built command station and upgrade from long ago that converted it to four digit addresses. Is anyone else using this combination? Will Decoder Pro work through my EasyDCC command station equipped with a SoundTraxx PTB-100 to program sound CVs, with CV numbers over 100, and a few over 200?

Don Weigt
Connecticut, USA


Locked Re: Test version 4.17.2 of JMRI/DecoderPro is available for download

 

Disclaimer: I know nothing about jmrix stuff and don’t have CMRI so I am using bluetooth as a stand-in.

I am able to get the baud rate in the startup messages to match the baud rate in the profile.xml file. Since I have no way to actually test anything, I cannot verify my fix but it makes sense to me. It might not even be a valid fix but should provide a clue to someone knowledgeable in this area.

Dave Sand

On Jul 27, 2019, at 7:01 PM, Ken Cameron <kcameron@...> wrote:

Nelson,

Could you copy/paste the contents of the profile/profile.xml file? In some
cases the xml gets saved but the baud rate is "" meaning blank, which means
it uses the default rate. If you have tried changing the baud rate and
saving the preferences, does it change the baud rate in the profile.xml
file?

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






Locked Re: "Timeout talking to command station" and "Failed to get response from Command Station"

 

Thanks to everyone for the help and responses.? ?As I mentioned, a new USB version is on the way and hopefully I'll be back in business in no time.

? -Gerry


Locked Re: "Timeout talking to command station" and "Failed to get response from Command Station"

 

Thanks, Dick.? I spoke with your wife this afternoon and ordered a "real" USB version.? Since I bought the one I have in 2006, as your wife said, "You sure got your money's worth out of it."? Indeed I did.

So we'll see how it goes with the new one!

? -Gerry

PS? She told me the "stop an elephant from charging" story.? Perceptive granddaughter!


Locked Re: Test version 4.17.2 of JMRI/DecoderPro is available for download

 

Nelson,

Could you copy/paste the contents of the profile/profile.xml file? In some
cases the xml gets saved but the baud rate is "" meaning blank, which means
it uses the default rate. If you have tried changing the baud rate and
saving the preferences, does it change the baud rate in the profile.xml
file?

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


Locked Re: ERROR - PositionableLabel is null! [AWT-EventQueue-0]

 

Hi Dave,

Thank you for being available to answer questions and help with problems. I have 3 panels as a single file that I load. I separated them and was able to isolate which panel was the problem. Fortunately I was able to load an older version of the problem panel and all is working.?

The first time I set up my layout with JMRI several years ago I made many learning errors and so am now in the process of redoing everything. Making sure notes and documentation are in order.?

Gary Ratay


Locked Re: Test version 4.17.2 of JMRI/DecoderPro is available for download

 

Oh and yes I tried the work-a-rounds.


Locked Re: Test version 4.17.2 of JMRI/DecoderPro is available for download

 

Bob:

Doesn't look like it?

?

2019-07-27 18:44:20,694 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]

?

2019-07-27 18:44:20,713 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\RTC\JMRI\log\messages.log [main]

?

2019-07-27 18:44:20,714 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\RTC\JMRI\log\session.log [main]

?

2019-07-27 18:44:20,727 apps.Apps???????????????????????????? INFO? - PanelPro version 4.17.2+Re9dde08 starts under Java 1.8.0_211 on Windows 7 amd64 v6.1 at Sat Jul 27 18:44:20 EDT 2019 [main]

?

2019-07-27 18:44:23,974 apps.Apps???????????????????????????? INFO? - Starting with profile Railview.3ed315bb [main]

?

2019-07-27 18:44:24,163 node.NodeIdentity???????????????????? INFO? - Using jmri-iNWojbotrhNiaa-ivJdVn1-3ed315bb as the JMRI storage identity for profile id 3ed315bb [AWT-EventQueue-0]

?

2019-07-27 18:44:25,677 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "C/MRI" [main]

?

2019-07-27 18:44:26,144 serialdriver.SerialDriverAdapter????? INFO? - COM4 port opened at 19200 baud with DTR: true RTS: true DSR: true CTS: true? CD: true [main]

?

2019-07-27 18:44:26,212 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]

?

2019-07-27 18:44:26,531 serialdriver.SerialDriverAdapter????? INFO? - NCE COM3 port opened at 9600 baud [main]

?

2019-07-27 18:44:26,739 nce.NceConnectionStatus?????????????? INFO? - NCE EPROM revision = 6.2.1 [AWT-EventQueue-0]

?

2019-07-27 18:44:29,111 apps.PerformFileModel???????????????? INFO? - Loading file C:\Users\RTC\JMRI\Railview\Railview.xml [main]

?

2019-07-27 18:44:36,862 withrottle.FacelessServer???????????? INFO? - Published ZeroConf service for 'railviewhs._withrottle._tcp.local.' on 192.168.3.25:1050 [WiThrottleServer]

?

2019-07-27 18:44:39,414 withrottle.FacelessServer???????????? INFO? - Published ZeroConf service for 'railviewhs._withrottle._tcp.local.' on fe80:0:0:0:605e:8dd0:ff99:9e97%eth3:1050 [WiThrottleServer]

?

2019-07-27 18:44:39,415 withrottle.FacelessServer???????????? INFO? - Creating new WiThrottle DeviceServer(socket) on port 1050, waiting for incoming connection... [WiThrottleServer]

?

2019-07-27 18:44:45,286 audio.JoalAudioFactory??????????????? INFO? - Initialised JOAL using OpenAL: vendor - OpenAL Community version - 1.1 ALSOFT 1.15.1 [AWT-EventQueue-0]

?

2019-07-27 18:45:38,128 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]

?

2019-07-27 18:45:38,129 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\RTC\JMRI\Railview\ [main]

?

2019-07-27 18:45:38,131 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\RTC\JMRI\Railview\ [main]

?

2019-07-27 18:45:38,133 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\RTC\JMRI\ [main]

?

2019-07-27 18:45:38,134 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\RTC\ [main]

?

2019-07-27 18:45:38,138 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]

?

2019-07-27 18:45:38,782 server.WebServer????????????????????? INFO? - Starting Web Server on port 12080 [WebServer]

?

2019-07-27 18:45:40,176 server.WebServer????????????????????? INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.0.0} [WebServer]

?

2019-07-27 18:45:41,400 PanelPro.PanelPro???????????????????? INFO? - Main initialization done [main]

19,200 is better than 9,600 but not what I've set my nodes for which is 57,600

Sorry Guys

Nelson

?

?


Locked Re: Test version 4.17.2 of JMRI/DecoderPro is available for download

 

On Sat, Jul 27, 2019 at 08:16 AM, Bob Jacobsen wrote:
On Jul 27, 2019, at 7:11 AM, Nelson <nelson.allison@...> wrote:

Has the CMR/I Net baud speed bug been fixed?
I think so:

Bob
Just tried it on my Linux CMRI setup and unfortunately it's a no go for me. Same issues I had before. I've got a ticket open on this at Git Hub so I'll post what I have over there.
Thanks,
John Lang


Locked Re: "Timeout talking to command station" and "Failed to get response from Command Station"

 

开云体育

Gerry,

If it really is a LocoBuffer-II (9 pin serial) and came packaged from us (RR-CirKits) with a transparent blue USB to Serial adapter, then you need the drivers found at not the original drivers that came with the unit. They were for older machines. The above drivers will show up as a serial adapter in the Device Manager, not as a LocoBuffer-II.

Also be sure to chose LocoBuffer-II in the JMRI selections, NOT LocoBuffer-USB.

Dick :)

On 7/26/2019 11:56 PM, Gerry Leone wrote:

Several months ago, JMRI, LocoBuffer II-USB and my Digitrax Command Stations were working just fine to program locos.? The only thing that I know changed was that the computer got a Windows update or two.

The setup:? I have both a Digitrax DCS100 and DB 150.? The 100 runs the layout; the 150 is used solely for loco programming.? I have a stand-alone track here on my desk for programming and never program on the layout.? I'm running JMRI 4.14 on Win 10, Java version 1.8.0_221 on each of two computers (desktop and laptop).? I have a LocoBufferII-USB that's been plugged into the same USB port constantly so I can run JMRI Ops without having to stop and plug it in.

The problem: whenever I try to send a proramming sheet to the loco -- either in "on the main" or "programming track" I'm getting a "Timeout talking to command station (306)" error.? Whenever I try to open a JMRI throttle, I get a "Failed to get response from command station" error.

What I've tried:
- Uninstalled previous version of JMRI, downloaded 4.14, installed it
- Uninstalled Java, downloaded new one, reinstalled it.
- Uninstalled LocoBuffer via Device Manager, downloaded drivers from RRCir-Kits, and reinstalled it.
- When I "Monitor LocoNet," I get no LocoNet traffic on the screen when I'm on my desktop computer even though the screens say I'm connected to COM 3, and the connection message at the bottom of the programming screens is green and says I'm connected.? HOWEVER I do get LocoNet traffic on the screen when I'm on the laptop on COM 4.? That, too, says I'm successfully connected.
- I've tried programming the loco from each of the computers and still get the "Timeout" error.
- I've tried programming the loco with each of the command stations and still get the "Timeout" error
- I've tried programming a different loco (one that I'd successfully used this same setup to program before) and still get the "Timeout" error.
- I've tried 4 different cords that link the LocoBuffer to the command station and get the "Timeout" error with all of them (I know at least one of them works because I robbed it from my layout for this test, and it's a "reversing" cord).
- I'm able to program the loco manually successfully using my DT400, and am able to read back CVs on the DT400 when using the DCS100

To me, it almost sounds like the LocoBuffer or both of the command stations went bad, but you folks know a TON more than I do, so any help or suggestions would be appreciated.? Thanks.


Locked Re: Test version 4.17.2 of JMRI/DecoderPro is available for download

Jon Miller
 

开云体育

On 7/27/2019 9:54 AM, Bob Jacobsen wrote:
You should be able to put the JMRI 4.7.2 installer on a thumbdrive and run it on that machine. No need to load a previous version.

??? OK.? Just did that.? Loaded flawlessly and everything appears to be OK.? Will play later but just can't get by without a real mouse.? Getting to old.

-- 
Jon Miller
For me time stopped in 1941
Digitrax  Chief/Zephyr systems, JMRI User
SPROG User
NMRA Life member #2623
Member SFRH&MS


Locked Re: Test version 4.17.2 of JMRI/DecoderPro is available for download

Jon Miller
 

开云体育

On 7/27/2019 9:54 AM, Bob Jacobsen wrote:
In addition to Java and JMRI, you might need some drivers for your layout hardware.

Understand.

-- 
Jon Miller
For me time stopped in 1941
Digitrax  Chief/Zephyr systems, JMRI User
SPROG User
NMRA Life member #2623
Member SFRH&MS