Trains.com

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!

Wiring a crossover with tam valley servos

3940 views
41 replies
1 rating 2 rating 3 rating 4 rating 5 rating
  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Monday, August 19, 2019 10:45 AM

Check your Forum Mail
 
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    July 2018
  • 661 posts
Posted by IDRick on Monday, August 19, 2019 10:23 AM

Thanks Mel, very helpful!  Wish you were closer!  Would love to spend a day with you to learn your many MR tricks!

  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Sunday, August 18, 2019 7:08 PM

The male “Arduino” connector type header strip cuts or breaks easily and you can use all 40 pins but the female header strip has to be cut and wastes a pin on each cut.  Even though it costs a pin for each cut it’s still a supper low cost connector.  Ten 40 pin male header strips for $1 = ¼¢ per pin each.  Female connectors at $2 for ten header strips = ½¢ per pin so no big deal at wasting a few pins.
 
I use Amazing Goop on the soldered end of the connector to form a stress relief to prevent the wires from breaking off.
 
 
Goop works great on test leads too.
 
 
I also use the round pin header strips.  They are compatible with the NMRA 8 pin connectors and again very low cost.  They also come in 40 pin single row and 80 pin (2X40) connectors.
 
 
I use the round pin header strip connectors for all of my structures and passenger lighting.  Their standard 0.10” spacing makes the perfect female socket for two wire LEDs.
 
 
Four pin double row connector works great for my three color signals, they are small enough to fit through a Evergreen 234 tubing.  I mount a short piece of 234 tubing in the roadbed next to the track for each signal.  The four pin pig-tail easily drops through the tubing and plugs into the signal cable (flat ribbon cable) going to the Arduino Mega.
 
The signals are Mel made from brass and resin with a three color LED.
 
Being retired I make as many things as possible to keep the cost as low as possible.  I was brought up by my mother and father that went through the Great Depression so conservatism was drummed into me starting when I spoke my first words.
 
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    July 2018
  • 661 posts
Posted by IDRick on Sunday, August 18, 2019 4:25 PM

Thanks, Randy! Good info and cleared up that question for me!

  • Member since
    July 2018
  • 661 posts
Posted by IDRick on Sunday, August 18, 2019 4:23 PM

Thanks, Mel!  Very helpful!

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Sunday, August 18, 2019 2:33 PM

 Yes, keep in mind there is nothing special about the servo extension cables. It's just s 3 wire cable. You want to extend one - do it the same way you extend the 3 wires from an Atlas turnout - cut the wire, splice in however much wire you need. No need to purchase expensive pre-made special extension cables. 

                                          --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Sunday, August 18, 2019 1:12 PM

The standard servo female plug that comes on the servos are the square pin 2.54mm/0.1” standard connectors.  I buy male and female 40 pin header strips off eBay and cut them to size.  They are compatible with the Arduino connectors, very useful, durable and cheap that way.
 
Female:
 
Male:
 
They are also available double row:
Female:
 
Male:
 
As for wire, any type wire #20 to #26 would work great.  You could go with the same colors to match the servo wiring, Orange (Signal), Red (5V Positive) and Black (5V Negative/Signal low or ground).
 
Because I have so much wiring under and around my layout about two years ago I found that buying multi conductor ribbon cable cheaper than single or paired wire.  I look for 10 to 26 conductor ribbon cable 100’ rolls.  The ribbon cable will split into any number of wires needed easily.
 
Most of the rolls are a light grey but I have bought some in a light blue.  For 10 wires and up I label the ribbon cable with a Black Sharpie.
 
For fewer conductors I use a toothpick dipped into crafters paint and pit a drop on each wire and or connector.  I use the standard resistor color code for ID.
 
The picture below is my MEGA Block Signal Controller and shows my method of color coding my connectors.
 
 
I have approximately 15 ribbon cables in my wiring loom under my layout along with about 300 single, double and triple individual conductors.  Ribbon cable is the only for me to go and cheaper too.
 
 
Edit:
 
I watch for good pricing on the ribbon cable, my normal purchase is between $18 and $25 for a 100' roll.  My last putchase was 100' #28awg 16 conductor for $24 including shipping, that's 1600' of #28awg wire for $24.
 
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    July 2018
  • 661 posts
Posted by IDRick on Sunday, August 18, 2019 11:51 AM

Mel,

Earlier in this thread, you indicated that you made your own servo extension cables.  Tell me more about this.  What type of wire: 24 guage stranded?  Do you recommend using a consistent set of colors for all the extension cables?  Do you use crimp pins like these:

https://www.pololu.com/product/1930 

Is there a special crimping tool for crimping the pins?

Do you use crimp connector housing like these?

https://www.litchfieldstation.com/product/0-1-2-54mm-crimp-connector-housing-1x3-pin/

I can see that it makes a much neater installation if one makes their own custom servo extensions!  Thanks for your help Mel!

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Saturday, August 17, 2019 12:14 AM

 Only downside is the mounting. Everyone and their brother makes 9G mounts. Heck, if I had a 3D printer (one of these days), I could print the IASE ones for the material cost (they offer the files as open source, free to use, or you can buy them finished product from them). Space IS at a premium especially when I get to my second deck, but the 9G ones are already plenty small to not hang down into sight lines. Hmmm.

 For those special animation projects - there are even smaller ones, used in those flyweight RC planes.

                                        --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Friday, August 16, 2019 6:54 PM

Randy
 
I like using the 7g servos better than 9g.  They are easier to work with and although they really aren’t that much smaller I like the small size.  Their rotation is much less than the 9g on average, I bought 10 of the 7g and none have more than 130° swing.  I only have one servo in operation that requires the full 180° and that is my camera car.  It would probably work well enough at 120° but I really like the full 180° side to side movement.
 
The power of the 7g is more than enough for anything I could come up with.
 
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Friday, August 16, 2019 5:51 PM

 I'll have to check out 7G servos. Have to make my own mounts since they are smaller than 9G and won't readily work with the common 9G mounts. Maybe better suited to other sorts of animation instead of as point motors, they I'm sure they have enough power for moving the points on HO and smaller.

                                     - -Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    July 2018
  • 661 posts
Posted by IDRick on Friday, August 16, 2019 4:43 PM

Appreciate your comments Mel, very true!  You've done an excellent job on your layout and share your wealth of information with others very well!

I will be retiring late next year and moving into a different home.  I'm just playing and dreaming of the next layout but there's too many unknowns to make any decisions for me...  I'll certainly visit with you again in the future, appreciate all your contributions to the forum!

  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Friday, August 16, 2019 4:33 PM

 
When you aveage out the cost of using servos the cost per turnout drops fast as you add more turnouts.  When (if) I get all 21 turnouts done the cost per turnout will cost less than $6 each including the Arduino and Power Supply cost.
 
In my case I really don't need to add in the power supply costs as I had already built up my accessory power supply to 30 amps for lighting and automation goodies.
 
I'm only changing out the close to 30 year old Atlas Under Table Switch Machines as they crap out and I turned 82 two weeks ago so . . . .
 
I just did a recheck of the stall current on a couple of 7g servos and at stall they draw 435ma at 5 volts.  Using the Turnigy Tester in Auto Mode a single 7g servo draws 16.2 to 18.7 ma with no load.  I plugged four 7g servos into the tester to check the amount of rotation and three are close at about 120° and the fourth has about 160°.  Not very good quality control but all four have gobs of power, for 99¢ each not too bad for model railroading.
 
I use a pair of 7g servos to open and close the doors on each stall of my roundhouse.  I have them paralleled so I invert the mounting of one to operate both doors from one Arduino port.  It was easier to use two servos rather come up with a mechanical way control both doors from one servo.  The movement of the doors on the Korber HO roundhouse have 100° swing so the 120° max 7g servos work great.  The 7g servos are about ¾ smaller than the SG90 servos.
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    July 2018
  • 661 posts
Posted by IDRick on Friday, August 16, 2019 4:02 PM

Mel, very thorough description of your power supply set up!  Didn't fully appreciate the need for that size at first, now I understand your need for switching power supply plus DC/DC reducing transformers. 

For me, I think the best bet is to start small.  For my test switching layout, I will use caboose hobby ground throws on single turnouts.  For the one or two crossovers, I would use an Uno, 2 or 4 servos, 1 or 2 wye cords, Tam Valley fascia mounts + LED, and a 2 amp 5 volt power supply.  Only one crossover would be used at a time so should be sufficient power.

The costs for a higher amperage switching power supply and a DC/DC reducing transformer really need to be included when comparing arduino versus tortoise control of turnouts.  Plus, one needs to properly size power supply and transformer to meet future needs rather than planning an initial test setup.

My main use for considering arduino is to operate crossovers.  I prefer to use caboose hobbies ground throws for industry, yard track, and single turnouts.  Looks like optimizing use crossovers is a great idea to minimize cost, just like for the railroads!  It's too early for me to make those decisions.  Thanks for your help Mel and Randy!

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Friday, August 16, 2019 2:28 PM

 The regulator built in to the Arduino isn't really capable of driving more than 1 or maybe 2 servos. A 1 or 2 amp 5V power supply (the little bricks used for phone or tablets are a good option - you just have to cut the phone end connector off to expose the wire). For driving 6 or more servos, you'll want a more powerful power supply.

                         --Randy


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Friday, August 16, 2019 1:16 PM

Randy
 
I’m glad you brought that up, I constantly forget the little things that I take for granted everyone knows.
 
 
Rick
 
I don’t use the 7 to 12 volt input to the Arduinos.  I bypass the Arduino internal regulator, another source of internal heat.  I power all of my Arduinos from the 5 volt pin on the board from my 5 volt DC to DC converters.  You want to avoid heat around solid state stuff as much as possible.
 
I power all my lighting and servos from my power supplies never from an Arduino.  Always use the Arduino ports for control only.  My lighting controller switching only requires 1 to 2ma from the Arduino ports.  The switched Arduino control output goes to a seven channel high current chip, a 1ma low from the Arduino switches the 500ma output of the chip.
 
I power the servos (RED & Brown) direct from a 5VDC high current source, in my case the 8 amp DC to DC converters.  The SG90 control current (Orange) is 3ma so I didn’t have a problem driving four servos from a single port, four servos at 3ma = 12 ma.  If you stall a SG90 the current is over 200ma on the Red wire.
 
I would suggest you buy a servo tester for experimenting and testing, much easier as well as safely testing your servos.  I bought a Turnigy Servo Tester.
 
 
It will allow you to drive four servos in parallel for testing.
 
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
 
  • Member since
    July 2018
  • 661 posts
Posted by IDRick on Friday, August 16, 2019 12:34 PM

Randy, excellent information!  Can you give me a recommendation on power supply for the UNO and Mega?  Can a wall wart with 1 to 2 amp output (9 volts) be used? 

Thanks for clarifying on joining two servos!  What about the fascia mounts and lights, how are they connected to an arduino and will show correct turnout location?

Mel, nice set up!  Very obvious that you love electronics and are very talented in using it in our hobby!  I'm at the barely crawling stage of understanding so be very basic in my test setup.  Thanks for sharing!

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Friday, August 16, 2019 12:02 PM

 And that's perfectly OK at least for controlling turnouts as 180 degree rotation is generally not needed. 

 As far as driving multiples - here's the trick. A servo has 3 wires going to it, one is ground, one is power, and the third one is the signal line that controls the position based on the width of the pulses that coem over this control line. The 'power' used to turn the motor in the servo comes over the two other wires in the cable. Arduinos have a limit to how much current can be drawn from any one pin before the chip is damaged, however the signal line to the servo draws very little power. So you can connect the signal line of multiple servos to a single Ardunio output without harming anything.

 Most if not all of the Tam Valley controllers us PIC microcontrollers, but at the interface level (ie, where you plug things in), that makes no real difference. Hooking multiple control lines to one output is exactly what you are doing when you hook 2 servos together with a wye cable.

 No microcontroller can source enough current to actually turn the motor of the servo, those lines connect directly to the power input or the voltage regulator for the entire controller circuit. So while a moving servo might draw halg an amp or more depending ont he load, it's only putting a very minuscule load on the controller to get the position signal on the control line.

                               --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Friday, August 16, 2019 11:15 AM

Rick
 
I thought I might add something that could make a difference on driving more than one servo in parallel.  The Tower SG90 servos are super cheap so micro positioning could be a problem.  The individual servo accuracy isn’t precession from one servo to another, better than ballpark but far from micro positioning.
 
The specs on the SG90 say 180° rotation, only one out ten would do 180° the rest were from 160° up.  Never the less for $1.49 they work very good.
 
I had similar experience with the 7g micro servos at $1
 
 
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Friday, August 16, 2019 10:22 AM

Rick
 
Yes the Arduino can drive more than one in parallel from a single port or multiple ports from the programming.  I have driven four from a single port on my bench testing.
 
I thought I would post a picture of my bench power supply.
 
 
The Arduino on the right is a 20 port 500ma Random Lighting Controller.
 
Top are the Digital 0 to 20 voltmeters, under the meters are a pair of DC to DC converters attached to a 12 volt 15 amp switching power supply.
 
Costs:
 
UNO with the Mel high current driver expansion board
         UNO - $4.53 free S&H
         Expansion board - $2.20 free S&H
         Seven channel 500ma driver chips $1.50 free S&H
 
Digital Meters - $2.47 each free S&H = $4.94
 
DC to DC converters - $3.58 each free S&H = $7.16
 
12 volt 15 amp switching power supply - $19.89 free S&H (USA)
 
Power Supply Total - $32   Not too bad for 5VDC at up to 8 amps and 8.6VDC at up to 8 amps,  The regulated DC to DC converters can go as high as 12 amps with fan cooling.
 
The DC to DC converters are set to 5 volts for my Arduinos & servos and 8.6 volts for the 12 GOW incandescent bulbs.  I use reduced voltage for all of my lighting, 1) the GOW bulbs look much more realistic operating at 70% voltage, 2) it greatly improves bulb life, I haven’t had to replace a bulb in over 20 years.
 
Here are a couple of early on pictures of the DC to DC converters as installed.
 
 
 
All three of the DC to DC converters are power by a similar 12 volt switching power supply with 30 amp capacity (same physical size as the 15 amp) mounted externally on the side of the control panel.
 
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    July 2018
  • 661 posts
Posted by IDRick on Friday, August 16, 2019 10:08 AM

Couple quick questions:

Can the arduino drive two servos from one connection point to the controller with a y-servo extender?   Tam Valley uses this approach: 

 http://www.tamvalleydepot.com/support/crossovers.html

Does this increase the number of servos that can be controlled?  Say I buy a Uno and have five turnouts plus a crossover.  As I understand it, a Uno can control six servos but may be able to control seven if the y-servo connector can be used.  I will obviously be a lone operator so will only be switching one or two turnouts at a time.

The tam valley fascia controls + mounts are kinda expensive but I like the easy installation and protection from inadvertant switching.  Can they be used with an arduino controller and correctly light showing switch orientation?

For this benchtop test with a very basic switching layout, I'll probably just purchase servo extender cables from ebay as they are inexpensive and free shipping.  I agree with Mel I could save money by making my own but for this test premade are perhaps a better use of my time.

The Iowa Scale Engineering mounts are very reasonably priced and have some mounting flexibility if adjustments are needed.  Hat tip to Randy!

Lots of good stuff about arduinos on youtube.  Randy, thanks for the tip on Geoff B., he's an excellent resource.

  • Member since
    July 2018
  • 661 posts
Posted by IDRick on Thursday, August 15, 2019 9:01 PM

Thanks Mel, very nice and thorough discussion!  Gave me lots to investigate on ebay!

Thanks Randy, you're always very helpful and thorough in your commentary! Both you have given great suggestions!  This is why I come to the forums!

Best,

Rick

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Thursday, August 15, 2019 6:27 PM

 Yeah, that's the one thing Tam Valley is high on - the servos themselves. They are insanely cheap on eBay. You can buy just the mounts for under $5 each from Tam Valley, or just can just glue the servo on its side under the layout - you don;t really need the fancy mounts.

 It's still cheaper than Tortoises. The Octo comes out to less than $4 per turnout, the servo and mount at Tam Valley's price is $9 each, so you're at $13 per turnout. A Tortoise is at least $15 in 6 packs. You still have to add the toggle switch and LEDs to get anything like the equivalent of the fascia controller - though the Octo can use a simple toggle as well, you don't need the fancy fascia controllers. If you get the servos on eBay for about $150 each, the mounts are $6 each, so $7.50 for a servo and mount, plus $4, $11.50 per turnout. Much better than $15+ per.

 And for DIY, Geoff Bunza has step by step instructions for setting up an Arduino - you don;t need to know anything about it, his instructions tell you how to load the software and use his existing program on it to then connect servos with buttons or toggles. You can get a suitable Arduino for under $10, I think Geoff's design that uses buttons drives 6 servos. So $10 for an Arduino, $9 for 6 servos, $36 for 6 mounts. Little over $9 per turnout! And there are cheaper mounts than the ones Tam Valley sells. Iow Scaled Engineering has ones that are $15 for a 6 pack of mounts. That works out to under $6 per turnout for 6 of them.

                                       --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Thursday, August 15, 2019 5:08 PM

Rick
 
I pretty much buy all my supplies off eBay as there isn’t a model railroad hobby shop here, the last store that stocked model railroad stuff closed 8 years ago.
 
There is one good RC store that stocks a good supply of Evergreen Styrene, Basswood and K&S Brass.  He can order HO stuff from his LA Distributor with a several day delay.
 
I buy the Tower SG90 servos off eBay 10 for $15 and Arduino UNOs for under $6, MEGAs under $9.
 
The drawing on my earlier post shows my Mel servo mounting bracket, I don’t have anything against the Tam Valley mounts I simply like to do it my self.  The servo is $1.50 the mount about $1.  eBay connectors are about 20¢, $2.70 isn’t too bad for a turnout machine.  A MEGA at a little over $8 will control all of my turnouts, I also use Mel made Arduino expansion boards to interface between the Arduinos and servos as well as the toggles for control.  That runs up the cost to about $20 or $1 per turnout plus the $2.70 for the switch machine, total cost less than $4 per turnout vs $17 for a Tortoise.  
 
I use 12 volt switching power supplies off eBay to power everything on my layout except my trains which are regular MRC DC & DCC power packs.
 
For voltages less than 12 volts I use DC to DC converters again off eBay.  I have two sizes of switching power supplies, 12 volts at 15 and 30 amps.  I have a lot of accessories.  The DC to DC converters I use for my layout are rated 8 amps ambient cooling 12 amps fan cooled.
 
Currently I have approximately 300 1½ volt 1mm bulbs and 500 2.5mm to 4mm 12 volt Grain of Wheat bulbs on my layout.  I have a 8 amp DC to DC converter adjusted to 1.4 volts for the 1mm headlight bulbs, a second converter adjusted to 8.5 volts for structure lighting (70% for increased bulb life and more realistic lighting).  Both runing at a little  over 6 amps.
 
I have a third converter adjusted to 5 volts for every thing requiring 5 volts.  I actually have a total of 6 DC to DC converters running off the switching power supplies, so far the load doesn’t draw over 8 amps from the converters so I don’t need a cooling fan for them (Yet).
 
I will eventually have 21 turnouts powered by servos and the cost at this point of the project should be about $80 for all 21 thanks to Randy’s help on the servo detach().
 
I have about $100 tied up in my power supplies, two 15 amp and one 30 amp, a total of 10 DC to DC converters.  That includes the power for my workbench for testing and building up my goodies, $100 for 60 amps for the 12 volt main sources and up to 30 or so amps of miscellaneous voltages. 
 
Actually is a bit more, I also have a slug of digital volt and amp meters also off eBay.  I have a volt meter on every voltage for easy reference, about $3 each.
 
I only buy things like extension cords if absolutely necessary, I make everything myself.  I stock all kinds of connectors and wire again off eBay.  Making your own stuff cost about 5¢ on the dollar.
 
I’m a gadget guy and I love dinking around with anything model railroad related.  I spent my entire working career (49yr & 10 mo) in electronics and I still love working with it.
 
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    July 2018
  • 661 posts
Posted by IDRick on Thursday, August 15, 2019 2:47 PM

Mel,

What do you use to power your arduino controller?  Which arduino controller are you using?  What mounts do you use to attach your servos to the layout?  What is the process to control two servos on a crossover?

I've been looking at alternatives with Tam Valley Depot and they pretty expensive.  If I used an OctIII to control 8 servos, it would cost $31 for the OctIII, $80 for the servos + mounts, and $40 for the fascia controllers.  Plus another few bucks for servo extensions.  Seems to be too expensive for me.  I'd like to look at alternatives.

Thanks,

Rick

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Thursday, August 15, 2019 12:42 PM

 I did, a while back. It's now completely wrong, as I discovered trying to lay out a PCB for it, it was easier to change which pins I used for what input or output than trying to route lines around one another, so the curent code no longer matched the pin assignment.

 But really all it's doing is servo.detach() after the servo reaches end of travel. I have a constant for minimum position and one for maximum position, the the move routing keeps moving the servo until the current position is at or less than the minimum or greater than or equal to the maximum.

                                            --Randy


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Thursday, August 15, 2019 8:27 AM

rrinker

 

 My DIY Arduino based servo drivers for my new layout will have the same auto shutoff at end of travel so they don't buzz even if not totally aligned, as long as the servo get reach the programmed end position, power will then be cut off. Technically the signal gets cut off, but with no signal telling the servo to move to a certain position, it won't fight back against being moved slightly by the force of the piano wire.

                                    --Randy

 

Randy please post your no buzz sketch for the Arduino.   
 
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Thursday, August 15, 2019 7:38 AM

 Still cheaper than Tortoises - unless you rig a rather complex mechanical arrangement to use just one, but then you could do the same with a servo and save money there tooo.

 The quieter modules aren;t strictly necessary - if you set up the travel when programming the Tam Valley controller, the servo shouldn't be stalled. Plus some of the newer versioons they have already have that built in to the controller. I used the older Singlets, the ones where the fascia controller was the whole circuit, and none of my servos buzzed after lining a turnout. 

 My DIY Arduino based servo drivers for my new layout will have the same auto shutoff at end of travel so they don't buzz even if not totally aligned, as long as the servo get reach the programmed end position, power will then be cut off. Technically the signal gets cut off, but with no signal telling the servo to move to a certain position, it won't fight back against being moved slightly by the force of the piano wire.

                                    --Randy


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    July 2018
  • 661 posts
Posted by IDRick on Wednesday, August 14, 2019 10:38 PM

Thanks, this has been somewhat helpful (remember I'm a total newbie on this topic).  My whole thought process on this was simple.  I had read a post of Randy's where he talked about using Tam Valley components to control a turnout.  Randy has helped me times and never steered me wrong so I thought, I ought to give this a try.  I did some reading on the Tam Valley Depot website which gives some general direction but would benefit (IMO) with a practical example showing all the components needed for a simple single crossover and how everything goes together.  They could convert me to a "true believer" but I need to have a practical example from A to Z for the simple before moving on the complex (controlling multiple crossovers, yard ladders, etc).  Mel has given a good start.  I prefer to start with Tam Valley based on Randy's recommendation that it is an easy system for beginners and essentially plug and play.  $20 to $25 for the first crossover would not be cheap but would be awesome as a learning experience.  Right now on my existing layout I use two caboose hobbies ground throws at each crossover and want to change!

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!

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!