Starting to take shape! Also included a couple pix of how to make up the adjustable legs. I used 5/16" T-nuts and carriage bolts. Starting to look like a layout!
So ALL the efforts, costs, brain damage and such to get LCC integrated into the layout is paying off in this one new step. Let me explain. With LCC, each node is essentially its very own stand-alone microprocessor, capable of processing commands INDEPENDENTLY of a central PC or other server. It just is connected to at the CAN bus, either looking for commands to respond (consumer) to or to issue them (producer). SO... this addresses one of the goals of integrating LCC into my layout. Sometimes I like to come down into the layout room and just run trains. I don't have others with me, and for me, its a great way to unwind. When I do that, I don't want to have to futz with turning on a PC and getting it going. Ya, I know, some say it is not that big of a deal. But if I am only going to be there for 5 or 15 minutes, seems like a hassle to mess with that. I just want to through the power switch on, have the layout come to life, and run s...
Recall one of the drivers for trying out LCC was to avoid writing detailed code. Yes, I ~can~ write code. But it is not my interest or hobby. As such, anything that can help me translate what is in my head to implementation on a chip somewhere with as little brain damage as possible is quite welcome in my book. Additionally I did not want the brains of the layout to live in a PC. There are days when I just want to come down to the basement, flip on the power switch, and run trains. And… if I am going to go through the trouble of having signals, I want them to come up and operating properly immediately. Yea, I know I can set up a PC to boot up, execute the right programs and get running on its own. Sorta. It’s just one more piece of equipment and step I just don’t care to deal with. Anyway…. So a big part of my hesitation of leaping into LCC was the angst associated with programming ...
A few months ago there was a post on the LCC Groups.IO forum talking about the ability for one of the LCC node I/O points to both act as an INPUT, that is, to accept a push button command, AND act as an output, such as to illuminate an indicating light. This is super cool! Why? Well at an all-in cost of around $3 per I/O point, it's hard to justify a lot of indicating lights on panels. BUT... if we can get a "free" output for each discrete input, well, that is just like having your cake and eating it too! (Never totally understood that analogy, but seems fitting.) The way this works is the node runs the I/O point as an output for 63 milliseconds, and then for a few milliseconds, it converts the output to an input where it polls the input. So if it detects a "low" or a "high" in this window, it creates the appropriate event. Slick, huh? Timing at 63 ms is fast enough that even if the PB is just momentarily touched, it is enough to trigger...
Comments
Post a Comment