Model Railroading: Animating multiple lights in multiple buildings using an Arduino Nano

  Рет қаралды 4,074

The Switch List

The Switch List

Күн бұрын

Пікірлер: 40
@Musecrafter
@Musecrafter 2 жыл бұрын
This is perfect!!! Just what I was looking for. Thank you!
@TheSwitchList
@TheSwitchList Жыл бұрын
Glad it was helpful! Thanks for watching
@melkitson
@melkitson 4 жыл бұрын
I have just finished a trial run of this for my N Gauge railway and I am completely blown away with the results. This is EXACTLY what I have been looking for. The instructions are easy to follow and it is so easy to make appropriate changes if you have more buildings or a different lighting set up. Thank you so much.
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Melville - I am so glad it worked for you and you are happy with the results! Thanks for letting me know how it went and I would love to see the results if you have the ability to take video and send me! All the best, Rick
@poruatokin
@poruatokin 4 жыл бұрын
If you used TLC594 shift registers, you could use one arduino to control literally hundreds of independent lights. 32 outputs per shift register and they can be daisy chained together. You can even introduce random flickers to simulate oil lamps or candles. you can even add photo resistors to bring the lights on automatically as the room gets darker. I did this is a very large model of the Black Pearl to simulate oil lanterns.
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Thanks for watching and commenting Paul
@seanpacificrailroad3700
@seanpacificrailroad3700 3 жыл бұрын
Thank you rick your video’s help me out so much
@TheSwitchList
@TheSwitchList 3 жыл бұрын
Glad to hear you are finding my content helpful and useful Sean! Thanks for watching and commenting
@FrogandFlangeVideo
@FrogandFlangeVideo 3 жыл бұрын
Very cool stuff here. Thanks for sharing it James/Frog And Flange Video.
@TheSwitchList
@TheSwitchList 3 жыл бұрын
Thanks James - really appreciate you stopping by to watch and comment. I am going to go check your channel too.
@FrogandFlangeVideo
@FrogandFlangeVideo 3 жыл бұрын
@@TheSwitchList That would be terrific, thank you. My particular passion is aerial railway videography. I hope that you enjoy it. cheers. James.
@pdrrengineer1404
@pdrrengineer1404 4 жыл бұрын
A very interesting project Rick. The Nano is a wonderfully affordable platform for animation on our layouts. Also, I want to applaud the organization of the code in your sketch. Thanks for sharing your efforts with the community. Art...
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Thanks a lot Art! I have to figure out how to make the code bigger and more readable in my videos. I know it can be done from watching some other videos, but maybe not with my combination of OBS to capture and Shotcut to edit?? Really appreciate the view and the comment.
@HumancityJunction
@HumancityJunction 4 жыл бұрын
Nice use of video chapters!! I got some DCC decoders for my lighting, but I am starting to think it would be much easier to go the arduino route.
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Thanks Heath. We can create a whole Arduino lighting protocol so you have the addressable control like you do with DCC decoders (and 10,000 man hours later it will finally work!). Thanks for watching.
@EmPtySworld1
@EmPtySworld1 4 жыл бұрын
Amazing job Rick.. Keep it up and thanks for sharing
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Thanks so much for watching and leaving a comment. Glad you found it enjoyable.
@ModelTrainOutsider
@ModelTrainOutsider 4 жыл бұрын
Wow, Rick... that is fantastic stuff! Very cool and well played! Thanks for the lesson and demo!
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Hey thank you so much Anthony for the nice feedback - really appreciate you watching and commenting. Glad you liked it!
@PaulAFulcher
@PaulAFulcher 4 жыл бұрын
Very informative video Rick many thanks .
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Hi Paul - glad you found it interesting. Thanks for watching and commenting.
@DruSteel69
@DruSteel69 4 жыл бұрын
You’re da man, Rick. Excellent job. Probably won’t work with battery operated stringed lights from dollar tree, right? That’s what I have as my interior lights. Ha ha. Thanks for sharing. Maybe you can make the lights dance with music for Christmas. 😀😎👍🏼. Take care , brother.
@TheSwitchList
@TheSwitchList 4 жыл бұрын
if they are LED lights and run on 5 volts we can probably make it work! 😁 I will get to work on making the lights dance to music... Thanks for watching Drew!
@DruSteel69
@DruSteel69 4 жыл бұрын
The Switch List - Ahh. Not LEDs. Oh well. Thanks. Ya, would be cool to synched with the music by TSO. 😀😎👍🏼
@LaytonJunction
@LaytonJunction 4 жыл бұрын
real nice video very interesting have a good week all the best from the Uk cheers for now al 🙋‍♂️😁👍👍👍
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Thanks Al - really appreciate the view and the comment. Take care.
@StanFerris
@StanFerris 4 жыл бұрын
Awesome tutorial Rick!
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Thanks so much - really appreciate the support.
@sonysnapper
@sonysnapper 4 жыл бұрын
I'm doing the same thing however I only use 3 wires and one nano pin to control up to 40 lights. If you use neopixel lights the center wire is the control and the first pixel is #0 the last is #39. Each is controlled individually via the number. If you power them via a separate 5V supply you can control over 100. It is a little harder to figure out the light sequencing. I plan on doing all the buildings on our club layout this way. A demo is here kzbin.info/www/bejne/oWnMdIKXZdifjtE
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Very cool stuff Edward - thank for the info and for watching.
@SFRATON
@SFRATON 4 жыл бұрын
Very good video Rick. ; kevin
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Thanks so much Kevin. Hope all is well with you there in NZ. Take care.
@scottbaldridge1092
@scottbaldridge1092 3 жыл бұрын
this is exaclty what I am looking for to add to my N scale layout. I am relatively new to arduino but with the help of this video I am pretty certain I can make this work. Where can I find a drawing / sketch / Picture of the breadboard circuit wiring?
@TheSwitchList
@TheSwitchList 3 жыл бұрын
Hi Scott. I do not have any kind of diagram of the wiring. It is pretty straightforward in that the LEDs are each attached to the digital output pins of the Arduino board through an appropriate value resistor (I think I used 470 Ohm resistors to get ~10mA of current through the LED). Other than that there is no wiring - you can see my Nano plugged into a small breadboard with the wires running off to the resister & LEDs at about 19:00 in the video. Good luck and if you want the Arduino sketch I created just send me an email (email address listed in the About section of the channel) and I will send it to you. Rick
@CM-ARM
@CM-ARM 4 жыл бұрын
Thats cool 😎.
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Thanks Chris!
@hdtraincam
@hdtraincam 4 жыл бұрын
neat..
@TheSwitchList
@TheSwitchList 4 жыл бұрын
Thanks for watching
@keithenglish3776
@keithenglish3776 2 жыл бұрын
I decide to get back into model railwaying after retiring (now 68) after some 40 years. I am quite interested in automation so I looked for sites to help me. Yours looked just what I wanted. Everything you said sounded very interesting and what I wanted to do, regrettably I gave up half way through as I lost interest because I could not follow you on screen. The video was so poor I could not read the text. What a shame, I tried watching it on all three of my computers with screens from 1080 up to 5K and they were all the same. I don't want to be negative but it was such a let down. I assume you have done more videos which I will attempt to look at and hope the quality improves.
@TheSwitchList
@TheSwitchList 2 жыл бұрын
Hi Keith. My apologies for the poor video quality. It looked fine on my computer when I filmed it but it did not come out good when uploaded to KZbin. I had not yet learned how to do things like zoom in on the code so it would be more readable, and doing it over just was not going to happen. If you are interested in the source code then follow the instructions in the video description. I try to comment everything in the code to Make it understandable so that may help. Thank you for watching and for the feedback. And welcome back to the wonderful world of model railroading! Rick
Animated Model Railroad Building Lights with Arduinos!
22:24
DIY and Digital Railroad
Рет қаралды 17 М.
OMRA Pixel Lighting using a Arduino Trinket board.
18:54
Oklahoma Model Railroad Association & Museum OMRA
Рет қаралды 17 М.
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 22 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 186 МЛН
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 12 МЛН
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 6 МЛН
Light Up Your Structures With LEDs (93)
14:02
Model Railroading
Рет қаралды 31 М.
Arduino & Servo Turnout Control - Third and final installment
10:40
Light Up Your Model Railway- using Arduino.
19:22
Model Railroad Techniques
Рет қаралды 3 М.
LED LIGHTING FOR MODEL RAILROADS
8:51
Mosquito Creek Lumber Co.
Рет қаралды 6 М.
Arduino Model Railroad Projects - Campfire
28:15
Ron's Trains N Things
Рет қаралды 20 М.
DCC for less than $45!!!  Building a DCC++ Base Station
13:29
DIY and Digital Railroad
Рет қаралды 100 М.
Terraforming with Ground Goop
10:08
The Switch List
Рет қаралды 111
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 22 МЛН