Arduino Slow Motion Servo Turnout Control

  Рет қаралды 8,042

Toms Trains and Things

Toms Trains and Things

Күн бұрын

Пікірлер: 31
@edinetgrunhed6000
@edinetgrunhed6000 Ай бұрын
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 Ай бұрын
Sounds great! Have fun in your backyard with the trains
@edinetgrunhed6000
@edinetgrunhed6000 29 күн бұрын
@@TomsTrainsandThings inspiring video, thanks again
@jimtedesco
@jimtedesco 2 жыл бұрын
Nice setup, Tom.
@TomsTrainsandThings
@TomsTrainsandThings 2 жыл бұрын
Glad you enjoyed it Jim. Explaining more tonight
@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.
@anfieldroadlayoutintheloft5204
@anfieldroadlayoutintheloft5204 2 жыл бұрын
good vid tom keep up the good vids
@TomsTrainsandThings
@TomsTrainsandThings 2 жыл бұрын
Thanks lee
@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
@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
@WallyWebb-d1t
@WallyWebb-d1t Жыл бұрын
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
@WallyWebb-d1t
@WallyWebb-d1t Жыл бұрын
@@TomsTrainsandThings Thanks for your reply.
@andybrazell
@andybrazell 2 жыл бұрын
Where can I find the programme to make my servos work
@TomsTrainsandThings
@TomsTrainsandThings 2 жыл бұрын
Link is in the description.
@michaelhoffman6354
@michaelhoffman6354 2 жыл бұрын
Tom do you have any videos for arduino ho speedometer?
@TomsTrainsandThings
@TomsTrainsandThings 2 жыл бұрын
Take a look at Lawrence Eggering's video on his speedometer: kzbin.info/www/bejne/aYWliWiOaLR3n80
@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 жыл бұрын
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
@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 жыл бұрын
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!
Reviewing Elegoo Super Starter Kit - Arduino Uno R3
8:45
Toms Trains and Things
Рет қаралды 1,9 М.
Control 16 Servos Using A PCA9685
18:22
Toms Trains and Things
Рет қаралды 73 М.
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 7 МЛН
Поветкин заставил себя уважать!
01:00
МИНУС БАЛЛ
Рет қаралды 6 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 20 МЛН
Add Realistic Slow Motion to Servo Point Motors
12:15
Little Wicket Railway
Рет қаралды 18 М.
I tried the 3 Cheapest Arduino Alternatives! (That you Suggested)
13:21
Build your own Servo Point Motor
7:56
Wallsrail
Рет қаралды 21 М.
Arduino, CMRI and JMRI - Part 1 - Combined Sensors and Servos
13:43
Little Wicket Railway
Рет қаралды 28 М.
Controlling Servo Motors on your Model Railway
7:33
Heathcote Electronics
Рет қаралды 13 М.
Mastering Servo Control: PCA9685 PWM Driver with Arduino Tutorial and Demo
7:50
Using an Arduino Mega with CMRI For JMRI
31:54
Lawrence Eggering
Рет қаралды 11 М.
Motion-activated Servo Motors with Arduino and PIR Sensor
25:20
Rachel De Barros
Рет қаралды 33 М.
Controlling Kato Turnouts with an Arduino!
30:23
DIY and Digital Railroad
Рет қаралды 20 М.
RS232 flow control
14:49
Ben Eater
Рет қаралды 124 М.
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 7 МЛН