Bachmann Online Forum

Discussion Boards => HO => Topic started by: jonathan on May 29, 2011, 06:08:52 AM

Title: Question About My Lighting Project
Post by: jonathan on May 29, 2011, 06:08:52 AM
As usual my search for knowledge revolves around things electrical.

So... my question is:  How does one wire a rotary switch?

Now the back story:

I've been wanting to start a signal system on my layout ever since I started building.  Expense and lack of expertise has kept me from attempting it.

Well a few things have come together since then.  A trip to the B&O RR Museum gained a couple of free signal bridges (B'mann Plasticvilles BTW).  Here's a photo below.  I painted them and added some aluminum tubes to hide all the wiring:

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4867.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4866.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4876.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4877.jpg)

Next, I found an old power pack at an LHS--just happens to be an old Bachmann pack. Got it for a couple of bucks.  I also ran some 16 gage wire around the layout as a bus feed for the signals and whatever else needs some juice:

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4869.jpg)

That'll be hidden by the fascia or skirting I will put in "someday".

The big expense was a pair of CPLs (B&O Signal Heads), complete with resistors:

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4875.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4874.jpg)

Now the confusion over the 6 position rotary switch, which I picked up at Radio Shack for around $3:

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4870.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4871.jpg)

I assume the two poles in the middle are connections for the power source, and the outside ring of poles are for the bulb (LED) leads.  So, my guess is I can run the signal's common lead (black) to the bus wire (-).  Then I can run a common lead from the center pole of the rotary switch to the other bus feed (+).  Then the LED leads can be run to the outside poles of the rotary switch.  These are guesses.  This is the part I need help with.

Part of the confusion:  Why are there twice as many poles as positions for the switch?   Am I required to run a wire from the outside ring to the inner poles?  Actually, I probably have more questions than I can list right now.  So perhaps a kind someone can start me down a simple path so I can understand how to wire the switch.

Thanks once again.

Regards,

Jonathan

Addendum:  My plan is to wire some sort of terminal to each switch position so I can connect other signals.  Eventually, I would like to control all the signal aspects on my two track mainline with the six positions of the rotary switch. jev
Title: Re: Question About My Lighting Project
Post by: richg on May 29, 2011, 12:07:09 PM
Hi Jonathan

The switch is a two pole, six position switch. Use the resistance option on your multimeter to see which terminals are for which position. Rotary switches are hardly ever labeled. I have been using rotary switches since the 1950's with my first shortwave radio kit.
Put up a drawing of the wire's,  led's and resistors.

Rich
Title: Re: Question About My Lighting Project
Post by: jonathan on May 29, 2011, 04:31:18 PM
Thanks, Rich.

OK, I've found a diagram of the switch in question:

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/Rotaryswitch.jpg)

My theory is I can connect positions 7-12 to act as my common lead.  Then I can us positions 1-6 to connect my various lighting conditions.  A simple expample would be  connecting all red LED leads to #1, all green leads to #2,... etc.  That is grossly oversimplified.  But I'm after confirmation of the concept.

Studying the switch and diagram leads me to this conclusion.  Studying the problem on line has not helped.  All the examples refer to electric guitars.  I cannot find a simple description of the switch's set up.

The center two poles make no sense to me (A/C?+/-?).  Perhaps I needn't worry about them?  Again, are the center poles the common lead?

Regards,

Jonathan

Title: Re: Question About My Lighting Project
Post by: richg on May 29, 2011, 05:20:20 PM
You have two isolated six position switches on a common shaft. The two contacts near the center are the common for each six pole side. You can see this with your multimeter. I hope you have a multimeter. It makes trouble shooting and analyzing things much easier. The switch is not a 12 position switch.
Do a Google search for two pole six position switch.

I have posted the below meter a few times here in case you did not see it. I have three and they do everything I need with different electrical/electronic projects.

http://www.harborfreight.com/catalogsearch/result?q=multimeter
Get the cheapest one and the big set of clip leads. You have not mentioned if you have a meter. You will need one or two if you want to work at what I call the component level. I have been using these meters for some years and they work very well and cheap to replace if you damage one.
I know I am over bearing when mentioning using a multimeter..

I am also wondering what the resistor values are? There are online resistor color code calculators.

http://www.csgnetwork.com/resistcolcalc.html

Rich
Title: Re: Question About My Lighting Project
Post by: Jim Banner on May 29, 2011, 06:29:33 PM
The common connections for the two poles are the two connections near the center of the switch.  One connects to any one of six contacts (say #1 to #6 in your diagram.)  The other common contact connects to any one of the other six contacts (say #7 to #12 in your diagram.)  All you really need is a single pole six position or throw switch so really you have two switches in one.  Each one is a SP6T (single pole six throw) switch,  Together they make a DP6T (double pole six throw) switch.  As you have figured out, the common terminal connects to each throw terminal depending on the position of the switch.

As far a wiring is concerned, the common switch terminal connects to the power pack + output.  The first three throw terminals (1, 2 and 3 in your diagram) connect to the three coloured wires of your signal head.  And the black return wire from your signal head connects to the power pack - output.

I know you understand the next concept but let me include it for others that may read this thread:  You do not have to connect the switch's common terminal directly to the power pack just as you do not have to connect the signal head return wire directly to it.  If you are using more than one signal, you are far better off to run a power bus from the power pack terminals to all the places you expect to have your rotary switches.  Then tap the + and - off the bus wires at convenient points.  The bus wires could be 16 or 18 gauge.  Red for +, black for - would be good colour choices.  In the same situation I would probably use 14 gauge Romex type house wire by stripping off the outside jacket, using the black wire as the black bus wire, the white wire coloured red with a permanent marker as the red bus wire, and the bare wire I would save for future projects.

Jim
Title: Re: Question About My Lighting Project
Post by: Doneldon on May 29, 2011, 07:56:10 PM
jonathan-

You don't need to connect your common to the rotary switch at all. Just connect all of your signal lights to the common and switch just the one side. That will take less wire. Also, you can switch more than one light with each position of your switch. For example, one position could turn one signal green and the one behind it red. That's not a big deal with only two signals but it can be handy to do if you have several. Then one green signal could also go to a red one behind it, a yellow before that and even a green before that. But I predict that you'll get tired of switching all of the signals sooner or later. You can still use these signals but control them with track detectors and relays. You can even leave your rotaries in place as long as you disconnect them from the power source. That will allow to manually switch signals if you want, or test the signals.
                                                                                                                                      -- D
Title: Re: Question About My Lighting Project
Post by: jonathan on May 30, 2011, 05:48:22 AM
Gentlemen:

:) How can you beat three teachers for one student?  The picture is becoming clear now.

I do have a multimeter. However after the descriptions provided, I found it unnecessary when testing out the switch.

With the signal head's common wire (black) to bus wire A, the rotary switch common pole to bus wire B, and the yellow LED lead to position 1, we get this result:
(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4878.jpg)

Now the green LED lead to position 2:
(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4879.jpg)

I know it's not magic, but sometimes... wow.  This opens up a world of possibilities.  I began to understand when Jim wrote to the affect that the rotary switch really has 12 positions:  1-6 have a common in the center, and 7-12 have a common on the other center pole (DP6T).  The mind reels with the possibilities.  Through clever use of polarity, one could use half the rotary switch to control the mainline lighting, and use the other half for yard/junction lighting.  Since my home layout is relatively small, the one switch should be all I need.  Block detectors are very cool, but probably not necessary for my round and round configuration.

Now I need to figure out where and how to mount the switch.  Also, some sort of terminals will be needed for adding additional signals to the switch poles.  Anyway,  I will report back when I've made some progress on setting up the first signal bridge.

Thanks-a-million, Rich, Jim and Doneldon!

Regards,

Jonathan
Title: Re: Question About My Lighting Project
Post by: richg on May 30, 2011, 01:30:25 PM
Hi Jonathan

Nice to see a plan come together.
Mounting the switch is easy, for various values of easy. I use a Unibit to drill the hole. I think it is 3/8 inch hole. The tab on the front is to put in a small hole to prevent turning the whole switch but I have never found it necessary if the lock washer and nut are used properly. I just bend the tab out of the way.

http://www.irwin.com/tools/browse/drill-bits/unibit-step-drills

Drill slowly. It is easy to go to the next hole diameter with the bit. I have used these bits for some years. Many times replaces a drill index.

When wiring the switch, remember you are looking at the back of the switch or you will find the switch positions incorrect. Don't ask me how I know that.

Rich
Title: Re: Question About My Lighting Project
Post by: jward on May 30, 2011, 01:58:40 PM
that was a good idea to route the tubing for the signal wires up one of the legs of the signal bridge. did you have any trouble stuffing all that wire down the tube?

when i did signals, i used brass tube instead of aluminum, and was able to solder the common wire to the tube. that way i only had 3 wires to fit in the tube. naturally, with signals, the smaller size wire you use the better.

whose colour position lights are you using?
Title: Re: Question About My Lighting Project
Post by: richg on May 30, 2011, 04:29:32 PM
Quite a few years ago I made some single target lights using bipolar red/green two lead LED's and used a 3/32 inch brass tube for the pipe. The tube was common.
For a plastic signal bridge, I use #30 Kynar wire. Magnet  wire, #44 is very small and works just fine.
LED's require about 10ma each for normal operation.

Rich
Title: Re: Question About My Lighting Project
Post by: jonathan on May 30, 2011, 08:53:57 PM
Actually, I tested with extra fine wires this morning and was able to stuff all four leads up one tube (not easy, but doable).  I have a tube down the back of each leg.  The signal bridge in the middle of my layout will need 4 CPLs (2 per side).  I'm starting with a bridge that will be mounted in the back corner, so only one side needs CPLs.

I will be moving the resistors to under the layout.  This is a go slowly project, as wires are tiny and the bridges are plastic.

Thanks for the tips on mounting the switch.  My control stations work pretty well, but they aren't attractive--another part of the hobby to tackle one day.

Regards,

Jonathan
Title: Re: Question About My Lighting Project
Post by: richg on May 30, 2011, 09:31:44 PM
Hi Jonathan

Having pulled wires for many years in electrical machine installation, I use one wire to pull the others. For some of my installs, I solder a single wire to the wires going into a tube, slip the one wire up the tube and then pull the whole bunch up through the tube.

I use a hollow nut driver to tighten the nut that locks the control in place. Some nut drivers have a solid shaft and no room for the control shaft. It is easy to mar the panel using a plier or adjustable wrench.
Make sure to use the flat washer under the nut that comes with the switch to prevent marring the panel. A complete switch has a lock washer, flat washer and nut.

Rich
Title: Re: Question About My Lighting Project
Post by: jonathan on June 03, 2011, 08:09:57 PM
Just a little update:

The great advice so far is paying off.  Stringing wires, while not fun, is not so bad once you get the hang of it.
(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4880.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4882.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4881.jpg)

I'm only using three selections on the rotoary switch for this project, but I soldered, and labeled leads to all the poles.  I know I'll use 'em eventually:

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4883.jpg)

Question:  Is there a cheap way to make a distribution block?  Haven't found one at Radio Shack.  Perhaps they call it something else.  The MRR version is a bit pricey, especially since I will need several to connect so many signals eventually.

I'll post a final note when everything is up and running.

Thanks again.

Regards,

Jonathan
Title: Re: Question About My Lighting Project
Post by: richg on June 03, 2011, 08:31:41 PM
http://www.allelectronics.com/make-a-store/category/755/Terminal-Strips/1.html

I buy from this company.

I have sometimes made my own with a narrow strip of wood and some sheet metal or wood screws. I just use my imagination. This is low voltage.

Rich
Title: Re: Question About My Lighting Project
Post by: jonathan on June 03, 2011, 08:41:39 PM
That looks much more reasonable.  Thanks, Rich.  The jumpers are what connects the terminals together?  Can I use my own wire?

Regards,

Jonathan
Title: Re: Question About My Lighting Project
Post by: richg on June 03, 2011, 08:56:59 PM
Quote from: jonathan on June 03, 2011, 08:41:39 PM
That looks much more reasonable.  Thanks, Rich.  The jumpers are what connects the terminals together?  Can I use my own wire?

Regards,

Jonathan

You got it.
I have a bunch of Cat 5 solid wire which is #24 and I strip off the insulation. Better than stranded wire. Works fine for projects like this. Old telephone wire works fine also. Been doing electric/electronics for many years and quite a junk box.

Tip, use a proper size wire stripper for solid wire. If you use say a knife and nick the wire, that nick can become a break point if the wire is bent to much at that spot. Happens with small diameter wire at times.

Rich
Title: Re: Question About My Lighting Project
Post by: jonathan on June 05, 2011, 05:32:58 AM
Nomenclature can be a problem.  Radio Shack does carry these.  They call them terminal strips.  I kept asking for distribution blocks.  Anyway, thanks, again, Rich.  These are fairly cheap and one came with a jumper which saves me some wire work:

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4884.jpg)

Should be fairly easy to hide these under the layout.  Adding more will be cheap and easy once I start to build more signals.

Thanks, again.

Jonathan
Title: Re: Question About My Lighting Project
Post by: Woody Elmore on June 05, 2011, 08:30:40 AM
First I see a rotary switch - now terminal blocks - definitely "Old School." What's next - a modified CB radio for train control?
Title: Re: Question About My Lighting Project
Post by: jonathan on June 05, 2011, 08:45:21 AM
He He, yeah...

When it comes to electrons, I'm a slow learner. It's a good thing electronics are not a communication device, or I'd be... oh, wait.  Man, the paradox is enough to make one swoon.

Regards,

J
Title: Re: Question About My Lighting Project
Post by: J3a-614 on June 05, 2011, 10:58:23 AM
Jon, if you have the opportunity, find a copy of "How to Wire Your Model Railroad," by the late Lynn Wescott.  This book was originally published back about 1950 by Kalmbach (Model Railroader and Trains publisher), and it has a lot about electrons, resistance, all sorts of stuff for the old-school person like you.  The best thing about it is that Wescott's writing style made even the theoretical stuff easy to understand--and he even wrote it in such a way as you could skip over some of that.  It's been out of print for quite a few years now (DCC made it very obsolete), but I would consider it VERY useful for what you are doing.

Oh, you might also want to check the current edition of Railroad Model Craftsman, with the article by Lynn Moedinger on working in "fusees" (flares) into operations.  He basically uses these "fusees" as a stop signal warning that the next block is not properly connected (he models a narrow gauge railroad with no signal system, and he uses straight DC, like you), but I can imagine it being adapted to a type of working signal system for your B&O.
Title: Re: Question About My Lighting Project
Post by: jonathan on June 05, 2011, 03:11:55 PM
Thanks, I will have a look.

I find there are advantages to building my home layout "old school", as some have written.  I am learning a great deal about modelling techniques and the basics of electrical theory.  Plus, I enjoy the round-and-round actions of my layout--requires very little thought once built.  Simple to operate.

At the same time, our local club has a DCC permanent layout and modular travelling layout.  This is where I get my education on sound, programming, decoders... all things DCC.  Only disadvantage is having two rosters of locomotives.  I have twice as many locomotives as I thought I would need... ;) I'll suffer through somehow.  ;D

Regards,

Jonathan
Title: Re: Question About My Lighting Project
Post by: richg on June 06, 2011, 03:16:25 PM
Quote from: jonathan on June 05, 2011, 03:11:55 PM
Thanks, I will have a look.

I find there are advantages to building my home layout "old school", as some have written.  I am learning a great deal about modelling techniques and the basics of electrical theory.  Plus, I enjoy the round-and-round actions of my layout--requires very little thought once built.  Simple to operate.

At the same time, our local club has a DCC permanent layout and modular travelling layout.  This is where I get my education on sound, programming, decoders... all things DCC.  Only disadvantage is having two rosters of locomotives.  I have twice as many locomotives as I thought I would need... ;) I'll suffer through somehow.  ;D

Regards,

Jonathan

There is no such thing as too many locomotives.

Rich
Title: Re: Question About My Lighting Project
Post by: Jim Banner on June 06, 2011, 06:40:59 PM
Too true Rich.  When people ask me how many locomotives I have, I often tell them I have just one less than I need.  When they then ask how many is that, I tell them that the number I need is always one more than the number I have.

Jim
Title: Re: Question About My Lighting Project
Post by: jonathan on June 09, 2011, 09:28:24 AM
I just completed adding a little scenery around the signal bridge.  The glue is drying.  First phase of my signal system is complete and seems to be working well.

Will set up some photos tonight and post a few pics in the next couple of days.

Thanks again for the electrical help, gents.  So much fun, so little time...

Regards,

Jonathan
Title: Re: Question About My Lighting Project
Post by: Doneldon on June 09, 2011, 02:17:53 PM
Rich-

With the very fine wires I just grip the insulation where I want to strip it between my teeth and give the wire a little tug. The insulation is so thin it pops right off. I even do this with my thumbnail. I've never broken a wire this way and neither a tooth nor a thumbnail is hard enough to nick the wire.

Be aware that this technique is not endorsed by the American Dental Association and it does violate the rule about never putting anything smaller than your elbow in your mouth. No. Wait a minute. That's not right. It's your ear you're not supposed to put in your mouth. No. I mean you're never supposed to put anything smaller than your elbow in your ear. That's the ticket!
                                                                                                                                                                 -- D
Title: Re: Question About My Lighting Project
Post by: Jim Banner on June 09, 2011, 09:24:48 PM
If you are worried about putting the wire in your mouth, just take your dentures in one hand and the wire in the other.

Jim
Title: Re: Question About My Lighting Project
Post by: jonathan on June 10, 2011, 04:03:42 AM
Stop making me laugh! It's hard to hold the camera steady...

OK I took a bunch of photos, so I'll just post most of them.  Caveats:  I added extra light for the camera's sake, so the signal aspects aren't as bright as in person.  Also I intentionally got some real close ups to expose the wiring.  Again, in person the wires are harder to see than the camera reveals.  I won't scare you with my failed attempts at night time model photography.  I need a better camera:

Regards,

Jonathan

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4914.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4911.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4910.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4909.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4906.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4903.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4901.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4895.jpg)

(http://i642.photobucket.com/albums/uu146/jsnvogel/Projects/DSCN4894.jpg)
Title: Re: Question About My Lighting Project
Post by: Doneldon on June 10, 2011, 03:29:19 PM
Jim-

I tried that but I found I couldn't bite down on the wire hard enough to pull off the insulation with my dentures in my hand.

Jonathan-

You certainly do consistently good work. A functioning signal bridge would be a standout feature on any layout and it looks especially terrific on yours. If the wires bother you, enclose them in a conduit. You could use two half round open channels so you don't have to disconnect anything to enclose the wires. Or just put a half round or box shape (open on the bottom where it won't matter) over the wires. Then they'll really disappear.

As always, I appreciate your work and your willingness to share it with us.
                                                                                                                 -- D
Title: Re: Question About My Lighting Project
Post by: Jim Banner on June 10, 2011, 11:00:46 PM
Donaldon,

With your dentures in one hand and your Dremel tool in the other, one - two - three - sharpen.




Jonathan,

Nice work!  Thanks for the photos as you went along.  It has been nice watching this project come together.  

Jim
Title: Re: Question About My Lighting Project
Post by: jonathan on June 11, 2011, 07:31:37 AM
Thanks, Jim.

I enjoy sharing my experiments in modelling.  Hopefully, this will lead to signals all over the layout.

Regards,

Jonathan