Login
or
Register
Subscriber & Member Login
Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!
Login
Register
Home
»
Model Railroader
»
Forums
»
Electronics and DCC
»
Normal DCC // Arduino // LCC?
Edit post
Edit your reply below.
Post Body
Enter your post below.
<p>[quote user="rrinker"] I'm not sure why your logic would have to catch every possible wiring fault, if this is just something you are doing for yourself. For a commercial product that anyone might try to hook up, sure. But if you set up a logic table of what conditions trigger what outputs, you can cross all the invalid ones off the list right away. Things like a turnout set both normal and reverse. Not possible, not going to happen. There's no need to test for such a condition. I don't see where LCC makes that any easier, the logic has to be somewhere in the system and just because a device interfaces via LCC doesn't make it immune to wiring faults, if you hook the red output for the signal to the yellow LED and vice-versa, you're going to get an incoorrect indication - regardless of the device or interface being used.[/quote]</p> <p>The truth table was for a modular club signaling project, where unos would be given to people pre-programmed, with the idea that if you had configuration A you attach gray wire to pin 1, etc. Config B gray wire goes to pin 3, etc. The idea being that with a key you could swap out a faulty board at a show with minimal effort because every case possible was already in place. We planned to keep half a dozen spares in case someone were to find a way to break one.</p> <p>If you define invalid inputs, you can figure out what was hooked up incorrectly faster, and fix it.</p> <p>Yes it was to be distributed, across about 100 arduino unos. The idea was to make it cheap as possible. </p> <p>With LCC, each node contains its own logic, and knows which other nodes communicate with it, and which nodes to ignore and pass on the message. An turnout node need not listen to an occupancy detector on the other side of the railroad, likely only the occupancy detector that covers the same turnout (lockout of turnout when train is running over it) <this is a feature that every club layout should have. </p>
Tags (Optional)
Tags are keywords that get attached to your post. They are used to categorize your submission and make it easier to search for. To add tags to your post type a tag into the box below and click the "Add Tag" button.
Add Tag
Update Reply
Subscriber & Member Login
Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!
Login
Register
Users Online
There are no community member online
Search the Community
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT
Model Railroader Newsletter
See all
Sign up for our FREE e-newsletter
and get model railroad news in your inbox!
Sign up