Controlling Turnouts in DCC-EX using PCA9685 Modules - Part 1

  Рет қаралды 3,954

South Park & Kenosha Pass Railroad

South Park & Kenosha Pass Railroad

Күн бұрын

This is a remake of the original video I did on controlling Servo Turnouts in DCC-EX. This is updated to reflect changes in version 5.0 of DCC-EX, using EX-Installer for advanced configuration and using the built in HAL macro's to define PCA9685 modules.
If you have seen my first version, I recommend at least watching the intro to see if you want to import your previous settings into EX-Installer going forward.
Link to the DCC-EX Installer:
dcc-ex.com/download/ex-comman...
Link to the DCC-EX Toolbox:
dcc-ex.com/ex-toolbox/index.h...
Link to the PCA Addressing diagram:
www.dropbox.com/scl/fi/v5wbtd...
PCA9685's on Amazon:
tinyurl.com/y4yv8f96
PCA9685's on Aliexpress:
tinyurl.com/2hp4v5sp
0:00 Welcome
1:43 Intro/Powerpoint
4:50 Setting PCA9685 I2C address
6:27 Connecting PCA9685 to your CS
7:20 Powering the Servos
7:58 Daisy Chaining PCA9685s
9:37 I2C Issues
13:17 Intro to using EX-Installer
15:24 Setting up EX-Installer and backing up config.h
20:16 Adding subfiles
23:05 Defining PCA9685 in DCC-EX
25:59 Defining SERVO_TURNOUTS in DCC-EX
30:57 #including the subfiles in myAutomation.h
32:10 Uploading sketch to Arduino
33:51 backing up your files
35:05 Using a text editor
38:28 Import your previous config files into EX-Installer
40:53 Using IDE instead of EX-Installer
43:34 Demo of servos in action
47:38 Using EX Toolbox

Пікірлер: 15
@Richard-bl8pi
@Richard-bl8pi 27 күн бұрын
Hi, really useful and as someone else said, a great breakdown and interpretation of the DCC EX docs.
@markopostable
@markopostable 5 ай бұрын
Hi Steven, I also want to applaud you on, again another a great video. I love it how you cover topics other channels don’t. Because of this in-depth video I now know why I could not find the myHal file. 😊 Keep up the good work and I’m looking out for the next one!
@aramsay4251
@aramsay4251 5 ай бұрын
This video is great! Thank you so much for not only showing the what but explaining the why. It makes it easier for me to take it and customize to my situation without breaking something inadvertently! I'm still in the middle of wiring everything up so this was really timely as well!
@BriansModelTrains
@BriansModelTrains 5 ай бұрын
I really appreciate this video. With the backup files it makes it alot easier to upgrade versions of DCC-EX. My automation and config files have alot of extras defined.
@SuperSpuddo
@SuperSpuddo 5 ай бұрын
Great video. All explained clearly. Very keen to see the next video showing switches and push buttons. Any idea when that may be coming.
@johnmarshall2660
@johnmarshall2660 5 ай бұрын
Your video has help me a lot as when I ask questions on discord I just get technical info which doesnt explain how to configure ... I wish you would do a similat video in configuring the MCP23017 which I need to use at least 4 chips on a board I had made so I have 48 out of 64 inputs for Block detection feeding back to the DCCEX Command station ... Regards John
@SPKPRR
@SPKPRR 5 ай бұрын
There will be a video coming up on using mcp23017 expanders, but I can't promise when.
@johnmarshall2660
@johnmarshall2660 3 ай бұрын
@@SPKPRRI just watched you video again and I thank you for response and looking forward to seeing an MCP23017 configuration, I have 7 PCB setup with Diode Voltage Drop circuits giving me 7 x 6 channel so 42 inputs and a logic outputs to the MCP23017 board I designed and got a PCB made ... ... Regards John
@peterubels7752
@peterubels7752 5 ай бұрын
Great video, super explained. Can't want for a video with sensors combined with the mcp23017 and activating turnouts. I can't get it working, maybe a challenge for you? Keep up the good work.
@SPKPRR
@SPKPRR 5 ай бұрын
In the planning stages
@peterubels7752
@peterubels7752 4 ай бұрын
​I found the solution, to less amps on the power supply. I replaced it and know it works fine. My next project is the DFPlayer mini. I can't get it to conmect on DCC-EX 5.0.
@paulharvey7349
@paulharvey7349 5 ай бұрын
Love the video, but I'm really New to this, I've built command station which will control my trains. I'm wanting to use one 9685, but can't figure how to do. Wiring is correct. I'm using WiFi and Engine driver. Any help would be appreciated.
@SPKPRR
@SPKPRR 5 ай бұрын
Not enough info to offer any advice. Are you trying to control servo turnouts? Follow the methods in this video, it tells you how to set it up. Using only one PCA9685 you only need to define the turnouts. What is the address of your 9685?
@paulharvey7349
@paulharvey7349 5 ай бұрын
Managed to get it working, typed HAL(PCA9685,100,16,0x40) in myHaldevices.h and SERVO_TURNOUTS(100,100,300,170,slow, "Turnout_1") in myTurnouts. My Automation is as yours is. Looking forward to watching your future videos.
@paulharvey7349
@paulharvey7349 5 ай бұрын
Managed to get one point working on 9658, it is as out of box. But added other points to it, all new ones operates the first point setup.
Cheap and Amazing!  DCC-EX 2 Years Later
10:46
DIY and Digital Railroad
Рет қаралды 23 М.
Controlling Turnouts in DCC-EX using PCA9685's, PART 2 - Latching Switches
34:04
South Park & Kenosha Pass Railroad
Рет қаралды 1,5 М.
100❤️
00:19
MY💝No War🤝
Рет қаралды 19 МЛН
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
Controlling LEDs with DCC-EX using PCA9685's
47:15
South Park & Kenosha Pass Railroad
Рет қаралды 9 М.
Running MSBASIC on my breadboard 6502 computer
36:53
Ben Eater
Рет қаралды 201 М.
04.04.2023 - Trying out DCC-Ex as a layout controller (Part 1)
19:33
37C3 -  Breaking "DRM" in Polish trains
1:01:46
media.ccc.de
Рет қаралды 430 М.
Manage Your Dotfiles with Home Manager!
32:06
LibrePhoenix
Рет қаралды 48 М.
Model Railway Automation using JRMI Dispatcher and Simple Signal Logic
40:40
Little Wicket Railway
Рет қаралды 45 М.
DCC EX Enclosure System (Video#108)
23:16
IoTT
Рет қаралды 3,5 М.
DCC++ EX
25:28
Wosag
Рет қаралды 11 М.
Building a DCC-EX Command Station for My Model Railroad
19:16
White River Line
Рет қаралды 12 М.
Тот кто не коснется воды - получит приз
0:37
Golden gadget 😍 New gadgets latest kitchen utensils #shorts
0:12
Golden Gadget
Рет қаралды 6 МЛН
Cat Tommy lost his love…💔 #cat #cats
0:27
Prince Tom
Рет қаралды 132 МЛН
В семье появился подросток!
0:15
Victoria Portfolio
Рет қаралды 2,5 МЛН