mikehill_nz
I have a dcc++ system set up on my test track separate from my layout. The problem is every dcc loco factoey installed and custom. With and without sound. When I try to read in the chip to program the locos it gives me read errors. Are there some other settings in the dcc++ software I need to change. My power source is a stable 14v with plenty of current available.

Regards

Mike Hill

Western Hills Railroad

 

Reply 0
Logger01

A little more info please

Are you using an Arduino Motor shield on your DCC++? If so how are you switching between the Mains outputs and the programming outputs? If using the Arduino Motor shield are the Power LEDs On when you are trying to program / read the CVs on the programming track outputs? If you are using some other motor board does it include a programming  channel?

What is running your DCC++ system? A PC or RPi running JMRI? If you are running JMRI have you selected Programming Track in DecoderPro? You musts also turn on power before you can program / read decoder CVs. (You may have to hit the power button more than one to get DecoderPro power button synchronized with the DCC++ power (LEDs next to the output connectors On).

Can you supply pictures of your DCC++ hardware (Arduino and motor board) and connections to the programming track?

Ken K

gSkidder.GIF 

Reply 0
mikehill_nz

Dcc++ power

Hi Thanks for the questions but i have the system powering on correctly. Am on the program side of things. The power is on in jrm and dcc. I am getting sound on the locos, but can not read the chipa. I have already changed the power setting in the dcc++ and I think there is a sering I need to change to get the chip to read correctly. I have tried both a raspberry pi 4 a raspberry pi 3 and a laptop. Can run trains on same dcc++ unit. But can not read chips in. I am a senior backend coder, so techy answer are great. I also have servos running on ic2 bus with afafruit system, on another layout I built. So not being able to make this work is annoying me a little. Mike

Regards

Mike Hill

Western Hills Railroad

 

Reply 0
costin g

programming track

To read back values you have to put the locos on the programming track. Output B of the motor controller / DCC++ base station. And from the main JMRI window select "Programming Track" before clicking on the "Program" button. Only one loco should be present on the programming track for that to work.

With the loco on the main track and "Programming On Main" option selected you can only write values, to the selected loco. There will be no confirmation of the written value and an error message about this, but the value is in fact updated (you would need to use the above to be sure about it though).

As suggested above, a picture of the wires would help us a lot to help you

Cheers,

.costin

Reply 0
Logger01

I full understand your

I full understand your frustration, but hang in there we should be able to debug the system.

First if you are using the standard setup with Arduino Uno and motor shield (with the correct jumpers) there are not changes needed in the DCC++ software. There maybe changes needed to the JMRI Preferences and configuration.

As noted on some forums, some Motor Shield copies were built with thewrong resistor or do not include the resistor to read the current. If you are using a copy, you need to make sure that the correct resistors are on the boards (R1, R2 - 0.15 Ohms).

For further discussion - what decoders are you trying to read and or program?

JMRI basics - You need to check the DCC++ Profile in JMRI which causes no end of problems to new users. In DecoderPro Edit Preferences Defaults should pull up a screen with all of the DCC++ buttons checked.

img.png 

If any buttons are not marked check them, save and restart JMRI.

Ken K

gSkidder.GIF 

Reply 0
mikehill_nz

Buttons checked

OK ill give this a go.

Regards

Mike Hill

Western Hills Railroad

 

Reply 0
mikehill_nz

DCC++ all sorted

What I did was remove the switch I had put so I could do main and programing on my workbench.

I also changed over to a larger wire and it all works like a boss.

WE programmed some 60 engines over the weekend and consist a number of them.

We also fixed up the chuffs to how we like them

 

 

Regards

Mike Hill

Western Hills Railroad

 

Reply 0
Logger01

Congratulations

It can feel very good to get a system working, and getting 60 engines programed is a reward in its on right.

Ken K

gSkidder.GIF 

Reply 0
Thushara

DCC ++ JMRI

Hi,

I install Arduino uno and motor sheald and connect to my programing track. When the power switch on all 4 LEDs on motor sheald are turn on.

After I kept Batchmen Santafe engin on my track, and open JMRI throtle. It shows Engin on the track. And ask

Short or long. and also ask 4 system or 2 system.

I select long and 2 system.

But no any signs. Not on lights. no any movement.

 

Regards

Thushara

Reply 0
Reply