Best methods for connecting structure lighting wiring to layout power supplies?

Hello,
Eventually I will have 400+ structures on my layout that I am planning to provide interior/exterior lighting for. I plan to run 12v po

As good as anything, Might need more than a 2 pin connector if you want to do more than just basic “all lights on/all lights off” and have multiple lighting circuits. ANother way might be to use magnets to place the structure, and also use the contact points as the electrical connections, though that may restrict moving buildings around since the magnet layout for one may not fit another. No crazy rare earth magnets, just basic low power ceramic types, otherwise you might rip the structure apart trying to lift it off the magnets. Metal plates on top of the fixed magnet in the layout, metal plate attached to the structure, click them together - electrical contact. One in each corner would give you up to 3 lighting circuits and a common.

–Randy

Randy,

Thanks for the reply/info. For the time being I plan to have a single simple (all on/all off) structure lighting circuit/power bus. Eventually I may start installing Arduinos in specific structures to provide control of individual structures/lights, but for now the plan is ‘simple’ as a I have A LOT of structures to build/install. :slight_smile:

Doug

What about LED connectors? I too plan on putting in lights and read that not securing the structures avoids future issues. There are plenty of ways for adding lights. They add another diemsion of reality.

If you plan to use suitcase connectors, make sure you use the 3M brand, not the knockoffs, and that the right ones are available for the 12AWG bus size and the smaller takeoff. The 12AWG carry a LOT of current, so unless just having that on hand, perhaps consider something lighter that would also be ok.

https://www.solaris-shop.com/content/American%20Wire%20Gauge%20Conductor%20Size%20Table.pdf

Rather than so many suitcase connectors or soldered joints to the bus, perhaps use barrier strips, in various places, as an intermediate point between the bus and the structure wires. Use the jumpers to provide one half (+) and one half (-) connection points for the structures. It requires screwing the structure leads to the barrier strips but the frequency of removing and replacing a structure is usually pretty low so not very difficult. I use 22AWG radio rip cord for the structure leads.

I’m thinking of using USB plugs for structure power. They’re only 5 volts, though, but that works well enough for LEDs.The little cube wall taps are cheap if you know where to look ($5-7 each), and they provide the ability to easily unplug the LEDs.

Remember that not all power supplies have circuit breakers. I install fuses for every supply to make sure I don’t toast one, either by accidentally crossing wires or by overloading a circuit by putting on too many lamps.

You cna run 12V low current rhought a USB connector with no problem, USB itself is limited to 5V, but the connectors are more robust than that.

However - I dislike using an already defined connector type in a way that is not compatible with what the conenctionw as designed for - sooner or later some supergenius will try to plug in a USB device to your layout wiring and fry something (most likely their expensive gadget, not your layout). Though this is better than some things I’ve seen - like using standard 120VAC plugs and sockets for an interconnect between modules, or for a walkaround throttle.

Granted I am plannign to use RJ45 jacks on some of my boards, however the pinout I am using is such that even if some dumb bunny (read, me) managed to plug in a cable that terminated not in another of my boards but an actual Ethernet switch, it will not apply voltage or current exceeding what the Ethernet port can handle, so no harm should come to anything.

–Randy

For years I’ve made my own connectors for my structures. It’s also been a must for me to be able to remove and reinstall them easily. I use K&S brass tubing for the female and brass rod for the male.

This is a link to a post on my blog on the brass rod/tubing connectors.

https://melvineperry.blogspot.com/2010/04/april-24-lighting.html

I used the same process for my vehicles. I have 90+ vehicles on my layout that I like to move around. I installed over a hundred female Mel sockets (pairs of brass tubing) so that I can jut pull the vehicle up and put it over any of the available sockets.

https://melvineperry.blogspot.com/2010/04/april-24-vehicle-lighting.html

That type of socket won’t work easily with more than three contacts. I use a common wiring plan (rod & tubing spacing) two spaced at ¼” and several with an additional rod & tube for vehicles with flashing emergency lights. The third contact is

I have a bunch of magnetic wands that came with the easy peasy lighting system for my Rapido coaches. I am thinking of hiding little magnetic reed switches at strategic places in my buildings and using these wands to turn the lights on and off. Is there any reason I shouldn’t do this?

I can get a gazillion nitrogen reed switches from China for cheap.

Do you have a source for latching reed switches. The magnet has to keep a non latching reed switch closed.

Mel

My Model Railroad
http://melvineperry.blogspot.com/

Bakersfield, California

I’m beginning to realize that aging is not for wimps.

What’s the capacity of the Reed switches? If you need dozens of them, you’ll spend a lot of time futzing with them.

I have a bus for structure light, a bus for streetlights and a bus for grade crossing signals, with panel toggles for each. The lights are all hard wired. we

Mel is light years ahead of me in figuring out random lighting. I’m just happy that a building lights at all. I’m in the early stages of adding lights to pre-existing buildings and I am using those header pins that Mel shows with the dime picture.

You have to solder your own wires, but it’s easy work and you have control over the length of wires. I run them down the least visible inside wall and drill a hole in the layout big enough to drop a 2 wire pin down the hole.

Here is the first set of pins on an ebay search, there maybe better prices or sellers

https://www.ebay.com/itm/20pcs-Male-Female-Header-1x40-2-54mm-40-Pin-PCB-Through-Hole-Arduino-and-Pi/223054186518?epid=8021310418&hash=item33ef10c816:rk:1:pf:0

The magnetic wand thing might be impressive to visitors, especially little kids, the first time. But it’s going to get old after a while. Better to just wire them all into some toggles to control the power. Simple on/off, from one common location instead of walking all around the layout waving your magic wand at each building.

My approach will be different than Mel’s, I plan to use smaller microcontrollers and make the random lighting effects local to each structure that has them. But to start, the lights can be wired to a simple 2 pin connector to just turn them on and off. Later I can go back to the same building and add the controller and lights on different floors, a flickering TV, etc - and plug the thing into the very same 2 pin connector used for plain old lights. I’m not a big fan of central anything - some people put all their DCC boosters together on a “power shelf” and just run long bus wires everywhere. Some people use block detectors like the Digitrax BDL-168 which clusters 16 detection sections on one board - meaning 16 bus lines runnign out to the detected track. I prefer the transformer type detectors which are located right out at the ONE bus that has just local taps to form each detection section. It would be cheaper int he logn run to make one controller board hat drives say 32 servos for turnouts - but then that board would have to sit in one place and there would be 32 lines going out all over to each turnout. Instead I’m making boards that control 2 servos, which get located near a crossover or a passing siding to control the two turnouts, with short wires - just more boards, each located where it is needed.

–Randy

Henry

The link for the connectors you have is for the larger Arduino connectors. The connectors in my picture are much smaller. I have been using the Arduino connectors more since I got the Arduino bug for easy compatibly. I use the Arduino connectors on the Arduino end of my ribbon cable and the Round Pin micro connectors on the load or structure end to keep the hole smaller.

Here is a link to the male micro connectors.

https://www.ebay.com/itm/10-Pcs-Gold-Plated-2-54mm-Male-40-Pin-Single-Row-Straight-Round-Pin-Header-Strip/132110861515?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m1438.l2649

And this is the female.

https://www.ebay.com/itm/10Pcs-Gold-Plated-2-54mm-Female-40Pin-Single-Row-Straight-Round-Pin-Header-Strip/143004379628?hash=item214bb9a

Actually Randy’s way has an advantage over my way. If you put the controller in the structure you can get by with a simple pair of wires to the structure. My way I use the 16 conductor ribbon cable to feed the structure. It’s just a personal preference, I prefer to locate my controllers in my control panel.

If you go with the Arduino type connectors on your lights they can plug directly onto the Arduino as Randy does. Again personal preference.

Mel

Always tradeoffs - I’m not using any prebuilt Arduino boards, I’m using the ATTiny85 chip. This takes more than just plugging in to a USB port on your computer to program. And more than just connecting a 5V power supply - but not much. The chip itself, a capacitor or two for bypass, and a regulator if the power supply isn;t 5V. I use LEDs for everything, so I can drive them right from the micro’s pins, just a dropping resistor same as any LED setup. Otherwise it works the same - a couple of lights in different rooms of the house the come on and off at random, flickering effect for a TV in the living room (I am modeling the mid-50’s, so plenty of people would have TVs). For a business - flickering welder effect, etc.

–Randy

Maybe I don’t understand reed switches. Are there not some that turn on when touched with the magnet and then turn off if touched again? How do the Rapido lights work? I know you touch them to turn them on and off.

I saw a layout where the guy ran his Rapido cars on a certain track under a signal bridge to turn them on and off. There was a magnet mounted on the bridge.

I have been using the mini-USB for engine-to-tender connections on brass locos with decoders. They are perfect with five conductors for 1 rail pickup, 2 motor and 2 headlight leads. If somebody wants to plug their Iphone into the tender of my decapod, they’re more than welcome to [}:)]

IMG_9725_fix_w by Edmund, on Flickr

For under layout “quickie” connections I use these push-type spring connectors:

IMG_8738_fix by Edmund, on Flickr

I have doubles and triples, as shown. I tin the ends of stranded wire to make them a little easier to insert. They are nice for building lighting as they are quick and easy to make the connections and I don’t need a plug dangling from the end of the structure wiring.

https://tinyurl.com/y9gmhvoa

As you see, I also use them for making the frog wiring connection to a Tortoise.

A #4 x 5/8 sheet metal screw holds it to the benchwork.

Good Luck, Ed

The Latching reed switches do just that they latch. If they don’t say Latching then they are on when the magnet is close and off when you remove the magnet. Latching reed switches are not an easy item to find cheap.

I have used a bios magnet on a regular reed switch but it isn’t an easy task to get them to work correctly every time.

I continually watch eBay for latching reed switches and when I find some I usually buy all they have because they don’t last very long.

I use them in all of my cabooses and shorty coaches. I also parallel relay contacts on my DCC passenger trains for when I’m operating on DC. I control my passenger train lighting with a DCC function decoder, the latching reed switches bypass the decoder operated relay.