Arduino Slow Motion Servo Turnout Control

Тәжірибелік нұсқаулар және стиль

Useful for any sized layout, either DC or DCC, this is a slow motion turnout control using push buttons to operate the turnouts from a control panel or facia mount.
Relays on a module are used to route the frog power. Any number of turnouts can be used depending on the outputs on your device, The mega will give you more outputs, or you can use multiple Unos or Nanos in your project.
The test sketch and a working sketch along with additional information can be found at: tomstrainofthought.com/projec...
Library used in this project:
github.com/netlabtoolkit/VarS...
IMPORTANT
THE CREATOR OF THE LIBRARY USED IN THIS VIDEO HAS REMOVED IT FROM GITHUB BECAUSE OF INCOMPATABILITY WITH NEWER DEVICES
S U P P O R T THIS C H A N N E L
LOCALS: trainofthought.locals.com
Rumble: rumble.com/c/TomKvichak
Amazon Link:www.amazon.com/shop/tomstrain...
PayPal : paypal.me/tomstrainsandthings
Membership:
/ @tomstrainsandthings
Music on all videos from Epidemic Sound. Get One Month Free when you subscribe through this link. Here is a short playlist
share.epidemicsound.com/qj6qa...
CONTACT INFORMATION:
workbenchwednesday@gmail.com
tomstrainsandthings@gmail.com
tomstrainofthought.com/
#tomstrainofthought
#structurekits
#floridatrainshows
Disclaimers: all opinions are my own, sponsors are acknowledge.
Intended for viewers over the age of 14

Пікірлер: 28

  • @jimtedesco
    @jimtedesco2 жыл бұрын

    Nice setup, Tom.

  • @TomsTrainsandThings

    @TomsTrainsandThings

    2 жыл бұрын

    Glad you enjoyed it Jim. Explaining more tonight

  • @RRWMFan
    @RRWMFan2 жыл бұрын

    Good video Tom. I really like watching these especially as you are building your new module. I found the varspeedservo library last winter for my turnouts. Real nice to switch turnouts in a more realistic mode instead of fast using the standard servo library.

  • @RRWMFan

    @RRWMFan

    2 жыл бұрын

    I wanted to add that I used a toggle switch to give a visual status on the control panel. I will have the leds on the layout as target signals.

  • @TomsTrainsandThings

    @TomsTrainsandThings

    2 жыл бұрын

    They look amazing when they are slowed down. This library is the easies way that I have found to slow down the servos.

  • @TomsTrainsandThings

    @TomsTrainsandThings

    2 жыл бұрын

    Good idea with the toggle switch

  • @paulhargreaves1497
    @paulhargreaves14972 жыл бұрын

    This is exactly what I need Tom! I was looking at microswitches (pushed by the servo) to change frog polarity, but open to relays....looking forward to that video. Helps I'm still at the test stage!

  • @TomsTrainsandThings

    @TomsTrainsandThings

    2 жыл бұрын

    Glad I could help! The relays are less work

  • @paulhargreaves1497

    @paulhargreaves1497

    2 жыл бұрын

    @@TomsTrainsandThings One more thing, 🤭 is there a wiring diagram somewhere? Thanks

  • @TomsTrainsandThings

    @TomsTrainsandThings

    2 жыл бұрын

    No wiring diagram. Pin allocation is in the sketch, you can also see it with a little more info on my web page

  • @paulhargreaves1497

    @paulhargreaves1497

    2 жыл бұрын

    @@TomsTrainsandThings Thanks Tom, appreciate your efforts in all your videos ...must take up all your time!

  • @anfieldroadlayoutintheloft5204
    @anfieldroadlayoutintheloft52042 жыл бұрын

    good vid tom keep up the good vids

  • @TomsTrainsandThings

    @TomsTrainsandThings

    2 жыл бұрын

    Thanks lee

  • @ericprock9552
    @ericprock95522 жыл бұрын

    This is the closest sketch that I have found and easiest to follow to do what I want to do . I would like to adapt it to switch my turnouts in my yard so when I push one button all the turnouts will align for what track I want . I'm very very green when it comes to this kind of electronics and I have learned a lot from your videos but I'm having trouble getting the main sketch to comply it keeps giving me ( turnoutDrive1 was not declared in the scope ) I had to copy the sketch form the video because it wouldn't show in your link (most likely something on my end ) . I have compared it to the sketch in the video several time and it looks the same but still giving me the same error . Thanks

  • @TomsTrainsandThings

    @TomsTrainsandThings

    2 жыл бұрын

    When it says not declaired, you did not identify what it is earlier in the sketch

  • @ericprock9552

    @ericprock9552

    2 жыл бұрын

    @@TomsTrainsandThings i missed one compete line in one of the loops I had gone over it several time but never all the way to the bottom of the sketch . I figured it was something I was doing just took a little time a lot research to find it.

  • @michaelhoffman6354
    @michaelhoffman63542 жыл бұрын

    Tom do you have any videos for arduino ho speedometer?

  • @TomsTrainsandThings

    @TomsTrainsandThings

    2 жыл бұрын

    Take a look at Lawrence Eggering's video on his speedometer: kzread.info/dash/bejne/ZYh2upeRY7Kqmc4.html

  • @mrichling1
    @mrichling12 жыл бұрын

    Great video but I'm not finding the wiring diagram or Fritzing for this sketch. There is a photo of a test board but that's not clear enough for me to see what you've done.

  • @TomsTrainsandThings

    @TomsTrainsandThings

    2 жыл бұрын

    Thanks Mike. There is no wiring diagram or Fritzing on my web page. The wire designation for everything is identified in the sketch. I have other videos explaining how to hock up relays and LED';s

  • @marka87
    @marka87 Жыл бұрын

    Hi Tom, can you use this sketch with the PCA9685?

  • @TomsTrainsandThings

    @TomsTrainsandThings

    Жыл бұрын

    It will not work with the PCA9685. Have you tried DCC-EX they have several speeds including a bounce for servors on the pca

  • @marka87

    @marka87

    Жыл бұрын

    No not yet, I’ll check it out, thanks

  • @andybrazell
    @andybrazell2 жыл бұрын

    Where can I find the programme to make my servos work

  • @TomsTrainsandThings

    @TomsTrainsandThings

    2 жыл бұрын

    Link is in the description.

  • @user-ob5en9br1z
    @user-ob5en9br1z11 ай бұрын

    Hi Tom thanks for a great video, I have an IDE sketch using 6 servos and 6 switches with an Arduino UNO. Is I possible to modify your sketch to connect to my Digitrax Loconet using an RJ12 interface card. I have used this Interface for other projects. The library that I use is #include

  • @TomsTrainsandThings

    @TomsTrainsandThings

    11 ай бұрын

    Years ago I used CMRI with Arduino and servos to operate the servos with Panel Pro but I am not sure if it worked with Digitrax. I never tried anything directly with Digitrax

  • @user-ob5en9br1z

    @user-ob5en9br1z

    11 ай бұрын

    @@TomsTrainsandThings Thanks for your reply.

Келесі