Welcome to the forum   
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Share
Options
View
Go to last post in this topic Go to first unread post in this topic
Offline Kiko  
#1 Posted : 16 November 2024 05:35:32(UTC)
Kiko

Canada   
Joined: 13/02/2017(UTC)
Posts: 159
Location: Ottawa, ON
Hello All,

Has anyone observed or experienced a DCC address not responding? This is an accessory address and not a loco address. In my case, a simple solenoid on address 132 does not respond.

Troubleshooting took the better part of the morning, changing one thing at a time. I changed to a different accessory; changed the decoder; replaced wires; etc. Then I changed the address and voila!... anything connected to that output now worked.

It's a mystery to me, but aside from some little Preiser trolls playing tricks on me, has anyone had a similar problem?

Theories and experience welcome!
Andry
// Marklin HO K track; ECoS; TrainController Gold; Marklin & ESU decoders; Arduino controlled Switches, Semaphores & Accessories (DCC); Win 11 //
Offline Goofy  
#2 Posted : 16 November 2024 10:48:02(UTC)
Goofy


Joined: 12/08/2006(UTC)
Posts: 9,273
It´s a bug or so called digital interference that appears.
If you buy a new digital accessories and use same adress the chance if you get same problem are therefore a science proof there is digital interference in the system.
Did you tried reset decoder and test same adress output?

Just in case to know...i have a Trix steam locomotive that start sounds and the lighting by self when i switch the power on.
This happens seldom but just only this locomotive and it seems sound decoder do have digital interference.
Did tested this in both mfx and DCC protocol.
H0
DCC = Digital Command Control
Offline Kiko  
#3 Posted : 17 November 2024 00:20:36(UTC)
Kiko

Canada   
Joined: 13/02/2017(UTC)
Posts: 159
Location: Ottawa, ON
Hello Goofy,

Please note (read my second sentence) -- this is not a loco but an accessory. There is no conflict with decoder addresses because all my accessories have unique DCC addresses. I do not purchase digital accessories but use Arduinos with "DCC Shields" to run all my accessories -- over 250 items such as semaphores, lights, turnouts (tortoises), servos, coils, motors, etc. So far, this one address is the only one that will not respond.

Very odd! I'm trying to see if anyone else has come across such an oddity.
Andry
// Marklin HO K track; ECoS; TrainController Gold; Marklin & ESU decoders; Arduino controlled Switches, Semaphores & Accessories (DCC); Win 11 //
thanks 1 user liked this useful post by Kiko
Offline Goofy  
#4 Posted : 17 November 2024 06:48:26(UTC)
Goofy


Joined: 12/08/2006(UTC)
Posts: 9,273
Originally Posted by: Kiko Go to Quoted Post
Hello Goofy,

Please note (read my second sentence) -- this is not a loco but an accessory. There is no conflict with decoder addresses because all my accessories have unique DCC addresses. I do not purchase digital accessories but use Arduinos with "DCC Shields" to run all my accessories -- over 250 items such as semaphores, lights, turnouts (tortoises), servos, coils, motors, etc. So far, this one address is the only one that will not respond.

Very odd! I'm trying to see if anyone else has come across such an oddity.


Then in case this output with this adress are fail.
Fix it?

H0
DCC = Digital Command Control
Offline Copenhagen  
#5 Posted : 17 November 2024 09:12:33(UTC)
Copenhagen


Joined: 23/04/2019(UTC)
Posts: 494
Location: Copenhagen, Denmark
Is the problem with the arduino then? Can't the arduino handle the dcc address 132 anymore?
thanks 1 user liked this useful post by Copenhagen
Online kiwiAlan  
#6 Posted : 17 November 2024 14:04:17(UTC)
kiwiAlan

United Kingdom   
Joined: 23/07/2014(UTC)
Posts: 8,457
Location: ENGLAND, Didcot
Originally Posted by: Copenhagen Go to Quoted Post
Is the problem with the arduino then? Can't the arduino handle the dcc address 132 anymore?


It should be able to handle any address including this one.


It sounds to me like you may have a cabling problem that is messing up the waveform shape of this address. This can happen with a peculiar particular combination of 1 and 0 bits, and the length of wire/termination or lack thereof, on that particular branch of your wiring. I would try reconnecting the decoder on another branch of the wiring and see if it works.

If it used to work, and you have added some more wiring since then that wiring may be what is messing with the signal.

thanks 2 users liked this useful post by kiwiAlan
Offline Kiko  
#7 Posted : 17 November 2024 18:46:54(UTC)
Kiko

Canada   
Joined: 13/02/2017(UTC)
Posts: 159
Location: Ottawa, ON
Originally Posted by: Copenhagen Go to Quoted Post
Is the problem with the arduino then? Can't the arduino handle the dcc address 132 anymore?


Hello and thanks for responding. I carried out a systematic troubleshooting approach. All components have been changed, one at a time and tested. I changed (and reprogrammed) the Arduino, then I changed the DCC Shield -- with same end result.
Andry
// Marklin HO K track; ECoS; TrainController Gold; Marklin & ESU decoders; Arduino controlled Switches, Semaphores & Accessories (DCC); Win 11 //
thanks 1 user liked this useful post by Kiko
Offline Kiko  
#8 Posted : 17 November 2024 19:07:39(UTC)
Kiko

Canada   
Joined: 13/02/2017(UTC)
Posts: 159
Location: Ottawa, ON
Originally Posted by: kiwiAlan Go to Quoted Post
It sounds to me like you may have a cabling problem that is messing up the waveform shape of this address.

Thanks for your suggestions. In my troubleshooting steps, I changed the wiring from the Arduino to the accessory. Then I tested the old wiring (i.e., connected to different address output from the Arduino to a different accessory) -- everything worked fine.

Originally Posted by: kiwiAlan Go to Quoted Post
I would try reconnecting the decoder on another branch of the wiring and see if it works.
If it used to work, and you have added some more wiring since then that wiring may be what is messing with the signal.


There is no particular "decoder" per say, because the Arduino with the DCC Shield is the decoder -- it decodes DCC signals from the main bus and outputs a HI or LOW on a specific output pin, activating a relay or optocoupler, which turns ON/OFF the particular accessory. (BTW, the relay / optocoupler were also changed to eliminate their malfunction from the equation).

That particular Arduino/DCC Shield controls 16 accessories and all work fine except for this address. This means that the Arduino properly detects and decodes DCC addresses from the bus. I did mention already that I tried different Arduino/DCC Shield combinations -- no change. If I reprogram the input/output pins of the Arduino to a different address, everything works. This is what's puzzling and that's the reason I posted my problem.

From testing, I think that I've eliminated all possibilities with the exception of DCC address 132. In the vast array of DCC addresses, has anyone else seen such a problem with a specific address? Not particularly the same address as mine, but a similar problem?

Puzzling and head-scratching...Confused

Andry
// Marklin HO K track; ECoS; TrainController Gold; Marklin & ESU decoders; Arduino controlled Switches, Semaphores & Accessories (DCC); Win 11 //
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

| Powered by YAF.NET | YAF.NET © 2003-2025, Yet Another Forum.NET
This page was generated in 0.528 seconds.