The Randall Museum in San Francisco hosts a large HO-scale model train layout. Created by the Golden Gate Model Railroad Club starting in 1961, the layout was donated to the Museum in 2015. Since then I have started automatizing trains running on the layout. I am also the de-facto layout maintainer. This blog describes various updates on the Randall project and I maintain a separate blog for all my electronics not directly related to Randall.
2016-11-18 - Non-Tortoise Slow Motion Turnout/Switch MotorsCategory Randall
After repeated failures at trying to control the T330 turnout using an NCE Switch-8, I finally crawled under the layout and I find this:
That is definitely not a Tortoise turnout motor, which is what I had been planning for all along.
Turns out the layout uses:
- Old-style twin-coil snap turnouts. Mostly in the yards. It seems these were everywhere and changed overtime.
- New-style Tortoises, mounted on a L-shaped board, each with a terminal block. These with new wiring such as those used on SIA work as expected with the NCE Switch-8.
- Slow Motion Turnout/Switch Motors with gear drive. These work like the Tortoise. However I'd like to know the type and how much the power supply can deliver.
Regarding these last one, googling these I found 2 possible references:
- According to DCCWiki, these are called "Limit-Switch DC Motors"; they don't stall, instead they have internal switches to stop them.
- Fulgurex brand.
- Image here. Motor with gear in center, contacts on each side.
- Doc here. Clearly says 10-14 V DC.
- http://www.clag.org.uk/fulgurex.html for details. 200 mA in motion.
- Lemaco brand.
- Image here. Motor on one side with the 2 contacts on the other side.
⇒ Checked on layout, these are Fulgurex motors.
Switch-8 delivers 40 mA per output. Not enough for the 200 mA motors from Fulgurex.
One issue is control panel support. The NCE Switch-8 + Button Board is perfect in that regard:
- The Switch-8 remembers the last state and re-applies it when powering up.
- The Button Board is active on edge, it only transmits "changes". DCC accy cmd override the button, or the button change triggers a change -- e.g. the "last one" wins. But when powering up, the button board sends a signal and thus resets to match the button.
Alternatives to control them?
- Team Digital SMD84 - PDF here
- ⇒ clearly states will not drive Fulgurex.
- Does seem to only support momentary switches.
- Doc is overly complicated.
- NCE Switch-Kat. 1x output control.
- Does not clearly states whether it could work or not.
- However clearly indicates the button supported are momentary, not rotary toggles.
- Digitrax DS64 - PDF here. Maybe? 4x outputs.
- Has button inputs but not clear whether they work with "permanent" rotary toggles.
See http://model-railroad-hobbyist.com/node/28264 discussion on why I can't use the Switch-8 directly and suggestions on how to work around it.
- Ideally need a DPDT Form C (see forms here). Form C means no bridging contacts.
- Digikeys shows 12 V coils with around 10 mA in DPDT form C (8 relays for one Switch-8).
- Or in Solid State with clearly DC output and 200 mA or + for output, these are SPDT (16 relays for one Switch-8).
Using a "H-Bridge", e.g. 2x2 push-pull transistors to drive each side of the motor:
See http://model-railroad-hobbyist.com/node/28026?page=4 for L293D (H Bridge)
L293D is a "half-H" and has 4 drivers. 2 are needed (one per side of the motor). Thus needs 4x L293D for one Switch-8. Vcc1 for control us 4.5V - 36V, and Vcc2 for driver is up to 36 V. Connect both to the 12 V DC for the Switch-8 power.
- TI datasheet L293D: http://www.ti.com/lit/ds/symlink/l293.pdf
- ST L293D: http://www.st.com/resource/en/datasheet/l293d.pdf
- 10x L293D in bulk … http://amzn.to/2g9Q19e … $9
- [NO] 1x SainSmart "L293D Motor Drive Shield" … http://amzn.to/2eT9j5l … $5.50
- Schematics: https://cdn-learn.adafruit.com/assets/assets/000/009/769/original/mshieldv1-schem.png
- ⇒ This will not do, uses a demux to control each motor + PWM. Only has 2 L293D on it.
Somewhat unrelated, proper way to get 5 V out of 12 V:
- LM7805 ⇒ wastes power, use a "switch mode" converter instead.
- R-78C5.0-1.0 : http://www.recom-power.com/pdf/Innoline/R-78Cxx-1.0.pdf
- 7805SRH-C : http://power.murata.com/data/power/dms-78xxsr.pdf
Creating a board using L293D:
- Switch-8 has 8 outputs, 2 pins per output.
- 4x L293D … DIP 16 each (2x8 pins)
- (8+8)x 2-pin PCB Mount Screw Terminal Block http://amzn.to/2fhm340
- 1x 2-pin Terminal blocks for Vcc power
- Solder board max pin out is 4x(8+3) = 33 for the DIP, 8x2 = 16 for the terminal blocks. In the other direction we're roughly looking at 5-6 rows for the DIP and 2x 3-4 rows for the terminal blocks so conservatively a board using 30-40 x 20 holes would work.
In reality, I will not have all-Tortoise or all-Fulgurex. First thing to do is list each type of turnout -- Tortoise or Fulgurex and check on the map. In some places I was going to have 2 Switch-8 per panel so might do one Tortoise vs one Fulgurex or a mix.