Easy Signals for DCC Model Railroads

  Рет қаралды 9,858

DIY and Digital Railroad

3 ай бұрын

Larry's original video
kzfaq.info/get/bejne/rtFkaNJmyb22XaM.htmlsi=UggDBb4Iy1SkH7qw
Arduino Sketch
github.com/DIYandDigitalRR/Kato-turnout-detection
Signals
amzn.to/3Vj4Co2
Voltage sensor
amzn.to/3Tv9vcr
Arduino
amzn.to/3TtU9ou
Insulated Unijoiner
factorydirecthobbies.com/products/kato-kat24-816-insulated-unijoiner-unitrack-pkg20-scale_n-scale_ho?sca_ref=4342906.pSQXhFmxxc
Factory Direct Hobbies for all of your Model Railroad needs
factorydirecthobbies.com?sca_ref=4342906.pSQXhFmxxc
Connect with me at ddrrcommunity@gmail.com
Support the Channel on Patreon - www.patreon.com/diyanddigitalrailroad
Amazon Store - www.amazon.com/shop/diyanddigitalrailroad
Facebook - diyanddigitalrr/
Instagram - diydigitalrailroad
TRAIN SETS
N Scale Train Set - amzn.to/33TzsbS
HO Scale Train Set - amzn.to/311N17g
O Scale Train Set - amzn.to/3lAZCGu
G Scale Train Set - amzn.to/312Cn09
Sony ZV-E10 - amzn.to/3IK9pX1
MICROPHONE
Rode Wireless Go - amzn.to/33ipqDf
Rode Smart Lav - amzn.to/3dN6ChI
LIGHTS
Aputure Amaran 100D - amzn.to/3ELlysm
Aputure Amaran MC - amzn.to/3ER8Vfw
GVM 480LS 2 Light Kit - amzn.to/3EOTTGY
MOTION CONTROL
MOZA Aircross 2 Gimbal - amzn.to/3oNb4TG
MOZA Slypod E - amzn.to/3dMWtkQ
Channel Merch - teespring.com/shop/diy-digital-railroad?aid=marketplace&tsmac=marketplace&tsmic=error#pid=2&cid=2397&sid=front
Consider donating the PCOS Challenge to help women everywhere with PCOS
pcoschallenge.org/
“The godly may trip seven times, but they will get up again.
But one disaster is enough to overthrow the wicked.
Don’t rejoice when your enemies fall;
don’t be happy when they stumble.
For the Lord will be displeased with you
and will turn his anger away from them.
Don’t fret because of evildoers;
don’t envy the wicked.”
Proverbs 24: 16-19 NLT

Пікірлер: 42
@rwissbaum9849
@rwissbaum9849 3 ай бұрын
Great video, Jimmy! BTW, Kato is just one of many power routing turnouts - many turnouts marketed as "DCC-ready" are power routing and would work as you have shown. Even those of us who use frog juicers are not left out in the cold: as long as the frog is electrically isolated from the two inner diverging rails (and as long as those rails are isolated from the connecting track, as you mentioned), this system will work.
@TheTrainFreak
@TheTrainFreak 3 ай бұрын
This is pretty neat and simple Jimmy and would make perfect for a switching panel to show the aspect of the turnout without physically looking at it. You could also do the same thing through a Tortoise Switch Machine if using without wiring anything to the frog unless youre using it as a frog juicer (different than signals). Now you just have two figure out how to make it drop red when something enters the block, and knowing you, you'll have it figured out in no time. 😃 - Jason
@StevesTrains
@StevesTrains 3 ай бұрын
Oh that is cool.
@AndrewJohnson-ur3lw
@AndrewJohnson-ur3lw 3 ай бұрын
With that you should be able to use some interlocking so that signals can show the correct aspect for the route and appropriate aspect for those a block behind.
@DIYDigitalRailroad
@DIYDigitalRailroad 3 ай бұрын
That is my plan hopefully!
@TheSteamTrainMan
@TheSteamTrainMan 3 ай бұрын
This is so helpful I wanted to get some signals, but I didn’t know how to wire them up😊
@achb-railway
@achb-railway 3 ай бұрын
Looks good... Might have to try this if I get to the point when I'm not running both DC and DCC on my layout.
@WestSenecaValleyRailroad
@WestSenecaValleyRailroad 3 ай бұрын
Fantastic! Thanks for sharing this!
@SleeTheSloth
@SleeTheSloth 3 ай бұрын
Great video!!
@HumancityJunction
@HumancityJunction 3 ай бұрын
This is essentially how I am doing it as well, but it’s all built into the switch machines that I use.
@scottjackson3009
@scottjackson3009 3 ай бұрын
Thanks Jimmy!
@edwardaudet8367
@edwardaudet8367 3 ай бұрын
This is pretty fantastic, I like the use of a signal on the turn outs , where are you putting the insulation block on both sides of the turn out for the routes or at the beginning of the turnout? That confused me or maybe I should watch the video again. Great tutorial on the Arduino sketch too.
@danbalmer1
@danbalmer1 3 ай бұрын
Very Nice. Would like to find a DC way to do this for us old school folks. Great job. Always easy to follow and informative,
@RayBoebel
@RayBoebel 3 ай бұрын
I was just thinking the same. With my layout, I think I could do the same with no modification. I have 3 crossovers that are isolated since my mains are divided blocks. Might have to do some thinking on this!!
@tiboore
@tiboore 3 ай бұрын
Great videos, can you a video on PCA9685 with the dcc-ex? I am starting to build one for my new n scale layout.
@harrywoodell7008
@harrywoodell7008 3 ай бұрын
for the next size up (HO or OO) Pico does the same.
@williamstewart4620
@williamstewart4620 Ай бұрын
Thanks for the great explanation and the link to Larry's original video. The circuitry is pretty basic: two hot leads (one to each rail), one neutral (black lead to frog) and a two pole switch (the turnout). I'm using Kato #6 turnouts and I can't seem to find, either in this video or Larry's how to connect the black lead to the frog. Appreciate any help.
@williamstewart4620
@williamstewart4620 Ай бұрын
Rule #1 Watch video twice, comment once. Larry is using the frog as the common (which isn't possible with Kato turnouts) where you are using the turnout's two inner tracks as the common. Obviously, at the time, caffeine was reaching dangerously low levels.
@freescopesdad
@freescopesdad 3 ай бұрын
Nice idea Jimmy, just a couple of points of clarification... Did you use the black insulated joiners on only the inner rails of the departure rails? also, your photo looks like a #4 turnout. The user needs to be reminded that these are user switchable between power routing and non. I am going to give this a try on a couple of turnouts in my yard and see how it works. Thanks to both you and Larry for the tips. - Ron
@DIYDigitalRailroad
@DIYDigitalRailroad 3 ай бұрын
Hello! Yes the inner rails need to be isolated since the outer rails are always on. The turnout shown was actually one of the Compact turnouts, but it is setup the same as a Kato #6.
@bruceyoung1343
@bruceyoung1343 3 ай бұрын
I had noticed a short up to the point you said has to be isolated. An AH-Ha moment. I assume a separate Arduino’s might be needed for each turnout if have multiple turnouts? Great information. THANK YOU 🙏
@DIYDigitalRailroad
@DIYDigitalRailroad 3 ай бұрын
It really depends on the code. You can have multiple signals coming into a single arduino.
@roystevens4333
@roystevens4333 3 ай бұрын
If you put a ceramic capacitor in parallel with the resistors on your 'voltage sensor' then you wouldn't need all that jenky averaging code. It's alway better to do it in hardware. But it's also very scary that you're connecting one side of an AC dcc signal to the ground of your arduino. If your power supplies aren't well isolated something will go boom. I would recommend using an optoisolator instead.
@nialatelevoj6113
@nialatelevoj6113 3 ай бұрын
Bonne idée, quelle valeur?
@kennedygauger4680
@kennedygauger4680 3 ай бұрын
Good video. Will use of these sensors “remember” the status of a turnout after the layout is powered down and then restarted? Or does that require the Arduino to “survey” the sensor’s status on power up? Thanks
@bobkohl6779
@bobkohl6779 3 ай бұрын
Ahh can you mount this is a normal signal post as in prototypical?
@mikeseba7817
@mikeseba7817 3 ай бұрын
👌👍👍👍
@user-xy7lw9ly7l
@user-xy7lw9ly7l 3 ай бұрын
So will this or can this work with peco insulated frog turnouts with dcc power jumpers to make the insulated section “hot”?
@Levibunting1222
@Levibunting1222 3 ай бұрын
Would you be to do signals on a dc system or is it only for dcc?
@johannb4393
@johannb4393 3 ай бұрын
With DC, like my layout, there is no power going to the switch when the train isn't running so there's no power for the LEDs
@loispadgett6306
@loispadgett6306 3 ай бұрын
Can you do this with just DC? I like easy and this was easy for DCC. Thanks for sharing. GOD BLESS 🚂💖🚂💖🚂💖🚂💖
@DIYDigitalRailroad
@DIYDigitalRailroad 3 ай бұрын
Hello! Unfortunately this specific method does not work for DC, but I am working on designing an arduino based method that can.
@loispadgett6306
@loispadgett6306 3 ай бұрын
@@DIYDigitalRailroad Will look forward to that one for DC. Thanks. 😃 GOD BLESS 🚂💖🚂💖🚂💖🚂💖
@thoughtengine
@thoughtengine 3 ай бұрын
OK but my usual modelling periods use mostly semaphore signals...
@andrewdonald2770
@andrewdonald2770 3 ай бұрын
OK, so set up the sensor and arduino as per the video. Instead of the arduino "writing" to a display, change the code so that the arduino drives a servo that is connected to the semaphore.
@redwoodcityintheuknscalera7179
@redwoodcityintheuknscalera7179 3 ай бұрын
shame you dont do cmri arduino common anode signals or a video of
@redwoodcityintheuknscalera7179
@redwoodcityintheuknscalera7179 3 ай бұрын
it's ok jimmy i did it code underneath if it helps people #include #include #define CMRI_ADDR 1 // CMRI node address #define DE_PIN 5 // Pin 5 for RS485 DE on the Mega Auto485 bus(DE_PIN); CMRI cmri(CMRI_ADDR, 24, 48, bus); // CMRI node with 24 input bits and 48 output bits // Define output pins for the signal aspects const int redPin = 13; const int yellowPin = 12; const int greenPin = 11; void setup() { pinMode(redPin, OUTPUT); pinMode(yellowPin, OUTPUT); pinMode(greenPin, OUTPUT); bus.begin(9600); // Initialize RS485 communication } void loop() { cmri.process(); // Process incoming CMRI messages // Read CMRI input bits or other conditions to determine the signal aspect bool redAspect = cmri.get_bit(0); // Corresponds to CMRI output ID 1001 bool yellowAspect = cmri.get_bit(1); // Corresponds to CMRI output ID 1002 bool greenAspect = cmri.get_bit(2); // Corresponds to CMRI output ID 1003 // Set signal aspects based on CMRI input bits digitalWrite(redPin, redAspect ? LOW : HIGH); // Invert logic for sinking current digitalWrite(yellowPin, yellowAspect ? LOW : HIGH);// Invert logic for sinking current digitalWrite(greenPin, greenAspect ? LOW : HIGH); // Invert logic for sinking current } please note this is for a mega kind regards Paul REDWOOD CITY UK
@user-dw1qp5nh9z
@user-dw1qp5nh9z 3 ай бұрын
Not sure if it matters, but you loose the power routing of the turnout when you add those two leads to the frog. A pair of diodes would stop that. Nice video!
@Piouhgd-in3kc
@Piouhgd-in3kc 3 ай бұрын
What's the purpose of the Arduino script, for using the Arduino for routing? The red/green led tells me if the turnout is straight or divergent.
@DIYDigitalRailroad
@DIYDigitalRailroad 3 ай бұрын
Good question! Getting the arduino to see how the turnout is thrown allows for loads of automation like automatically switching another signal from green to yellow or making a CTC panel.
@freescopesdad
@freescopesdad 3 ай бұрын
Jimmy this morning I have been forced to watch 1 minute, 2 minute or even longer ad videos before your video. If this is normal now I will be unsubscribing. If not, tell me how to fix it. - Ron
@DIYDigitalRailroad
@DIYDigitalRailroad 3 ай бұрын
I actually do not control the advertisements that are shown before my video. That is youtube. The only way that I know how to do it is to become a paid member of youtube premium which is ad free. This is actually why I started putting my videos up ad free on patreon for $2 members and up. Also make sure that you are not missing the skip button on the ads if it has one.
Василиса наняла личного массажиста 😂 #shorts
00:22
Денис Кукояка
Рет қаралды 9 МЛН
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,4 МЛН
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 23 МЛН
Мужик психанул и купил 200 Ленд Роверов
0:19
Сергей Милушкин
Рет қаралды 1 МЛН
Berbagi lolipop ke orang buntung‼️
0:14
Abil Fatan Key
Рет қаралды 9 МЛН
Умеют рыбки половить 🤣
0:27
🎣 БОЛОТОВСКОЕ ОТРОДЬЕ
Рет қаралды 2,4 МЛН
Выбор подарка на приеме у детского стоматолога в Inwhite Medical Kids
0:34
Inwhite Medical - Стоматология Москва
Рет қаралды 14 МЛН
Сынок не послушал свою мать..😱🚣‍♀️⚓️
0:29
Connoisseur BLIND420
Рет қаралды 1,7 МЛН