Arduino Slow Motion Servo Turnout Control

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 31

  • @edinetgrunhed6000
    @edinetgrunhed6000 15 дней назад

    when i retire i will do the same, put this track in my backyard and enjoy watching the little train,thanks for this video

    • @TomsTrainsandThings
      @TomsTrainsandThings  15 дней назад

      Sounds great! Have fun in your backyard with the trains

    • @edinetgrunhed6000
      @edinetgrunhed6000 13 дней назад

      @@TomsTrainsandThings inspiring video, thanks again

  • @paulhargreaves1497
    @paulhargreaves1497 2 года назад

    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 года назад +1

      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!

  • @RRWMFan
    @RRWMFan 2 года назад

    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 года назад +1

      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 года назад +1

      Good idea with the toggle switch

  • @jimtedesco
    @jimtedesco 2 года назад

    Nice setup, Tom.

  • @anfieldroadlayoutintheloft5204
    @anfieldroadlayoutintheloft5204 2 года назад

    good vid tom keep up the good vids

  • @mrichling1
    @mrichling1 2 года назад

    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

  • @ericprock9552
    @ericprock9552 2 года назад

    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.

  • @andybrazell
    @andybrazell 2 года назад

    Where can I find the programme to make my servos work

  • @michaelhoffman6354
    @michaelhoffman6354 2 года назад

    Tom do you have any videos for arduino ho speedometer?

    • @TomsTrainsandThings
      @TomsTrainsandThings  2 года назад +1

      Take a look at Lawrence Eggering's video on his speedometer: ruclips.net/video/3TBX5X3ODik/видео.html

  • @marka87
    @marka87 Год назад

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

    • @TomsTrainsandThings
      @TomsTrainsandThings  Год назад +1

      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

  • @user-ob5en9br1z
    @user-ob5en9br1z Год назад

    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  Год назад

      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 Год назад

      @@TomsTrainsandThings Thanks for your reply.