Hi I was wondering if any of you have used servos to control turnouts?
The official LGB motors for turnouts are extraordinarily expensive IMO plus you need to make or buy another bit of kit to drive them anyhow so I thought I'd make my first proper electronics project something that would do the job, hopefully at a fraction of the cost.
I already had an Arduino and a servo from my Arduino starter kit. So that is where I started. After several weeks of Googling and learning how to actually use an Arduino I've somehow muddled together this to automatically operate the turnout on my reverse loop (Its analogue so the loco always goes around in the same direction.)
When the train passes over the light sensors, the turnout switches to the correct orientation negating the need for me to worry about remembering to switching it myself. A task I had previously, manually, consistently forgotten, leading to several de-railings.
It seems to work well. The turnout switches at a satisfyingly leisurely pace and although the box I made to contain the servo is possibly a bit huge. I'm hoping that I can slim it down a little and maybe disguise it a something more tracksidey. Obviously I need to replace the breadboard with a proper soldered circuit board and make a box for it the Arduino and a power supply of some sort. I'm thinking that i'm going to make both the servo housings and the Arduino easily removable in case of really bad weather/long periods of track inactivity and just leave the wiring in place. Is this what people normally do?
Total cost under £21 compared to $40 ish for one LGB motor. Subsequent motors would only be the cost of the servo (about £3 each on EBAY) as the as the Arduino can control up to 12 of the little fellahs. I have another 4 manual turnouts (my "layout" is very small) at present so I'm wondering whether to take the plunge and splash out on an equal number of servos and save myself a couple of hundred quid.
However, after more Googleness, I'm now wondering whether servos are really the best motor for this job.
My question, should you choose to answer it, is this.
Does using servos for this task have any major disadvantages/pitfalls that I may not have considered. (Unknown unknowns.) Reading around I see that solenoids seem to be used in the majority (if not all) of the commercially available turnout motor "solutions"
I'm wondering if that's because...
(a) They are just as cheap as servos...
(b) Or maybe cheaper to run...
(c) Perhaps more durable/longer lasting...
(d) Some other reason I haven't thought of...
If anyone has any experience or advice in this area I'd love to hear it. I've learned a lot from my servo project so even if it turns out to be a dead end I won't too bothered.
Also I anyone has any ideas what I can disguise my (rather large) servo housings as that would be a help too. I'm thinking the Arduino and power could live in a signal box.
Finally, if anyone thinks this is actually a workable idea and would like more details about anything let me know. (With the caveat that I'm a total novice at both garden railways and electronics so Google is probably more reliable than me)
Ta
Mark
The official LGB motors for turnouts are extraordinarily expensive IMO plus you need to make or buy another bit of kit to drive them anyhow so I thought I'd make my first proper electronics project something that would do the job, hopefully at a fraction of the cost.
I already had an Arduino and a servo from my Arduino starter kit. So that is where I started. After several weeks of Googling and learning how to actually use an Arduino I've somehow muddled together this to automatically operate the turnout on my reverse loop (Its analogue so the loco always goes around in the same direction.)

When the train passes over the light sensors, the turnout switches to the correct orientation negating the need for me to worry about remembering to switching it myself. A task I had previously, manually, consistently forgotten, leading to several de-railings.
It seems to work well. The turnout switches at a satisfyingly leisurely pace and although the box I made to contain the servo is possibly a bit huge. I'm hoping that I can slim it down a little and maybe disguise it a something more tracksidey. Obviously I need to replace the breadboard with a proper soldered circuit board and make a box for it the Arduino and a power supply of some sort. I'm thinking that i'm going to make both the servo housings and the Arduino easily removable in case of really bad weather/long periods of track inactivity and just leave the wiring in place. Is this what people normally do?
Total cost under £21 compared to $40 ish for one LGB motor. Subsequent motors would only be the cost of the servo (about £3 each on EBAY) as the as the Arduino can control up to 12 of the little fellahs. I have another 4 manual turnouts (my "layout" is very small) at present so I'm wondering whether to take the plunge and splash out on an equal number of servos and save myself a couple of hundred quid.
However, after more Googleness, I'm now wondering whether servos are really the best motor for this job.
My question, should you choose to answer it, is this.
Does using servos for this task have any major disadvantages/pitfalls that I may not have considered. (Unknown unknowns.) Reading around I see that solenoids seem to be used in the majority (if not all) of the commercially available turnout motor "solutions"
I'm wondering if that's because...
(a) They are just as cheap as servos...
(b) Or maybe cheaper to run...
(c) Perhaps more durable/longer lasting...
(d) Some other reason I haven't thought of...
If anyone has any experience or advice in this area I'd love to hear it. I've learned a lot from my servo project so even if it turns out to be a dead end I won't too bothered.
Also I anyone has any ideas what I can disguise my (rather large) servo housings as that would be a help too. I'm thinking the Arduino and power could live in a signal box.
Finally, if anyone thinks this is actually a workable idea and would like more details about anything let me know. (With the caveat that I'm a total novice at both garden railways and electronics so Google is probably more reliable than me)
Ta
Mark