063. Setting up a DCC-EX EX-IOExpander

  Рет қаралды 2,275

Model Railroading with Bill Masters

Model Railroading with Bill Masters

Күн бұрын

How to setup your DCC-EX EX-IOExpander on an Arduino Mega for use with your DCC-EX EX-CommandStation to connect 62 sensors per EX-IOExpander.
Elegoo Mega R3 Board: amzn.to/3VLBZ35
Breadboard Jumper Wires: amzn.to/4aiKCGU
9v 1.5a Arduino Power Supply: amzn.to/3U9jeFM
Reed Switch: amzn.to/3VR9UYg
5mm LED's: amzn.to/4aP0HnO
100 Ohm Resistors: amzn.to/3TQvWaZ
Software:
Ex-IOExpander software download (Free): dcc-ex.com/dow...
#modelrailroading #arduino #DCCEX #i2c

Пікірлер: 4
@jonharbour9166
@jonharbour9166 Ай бұрын
Hey Bill just found your channel as I was searching for how to set up the IO Expander for DCC-EX. Your video was very clear and easy to follow. I get your point about using the PCA9685 for controlling LEDs. I was planning to go down the same route but also plug in a fast clock from DCC-EX to control LEDs with timed sequences. Hopefully it won't be too long before you produce the PCA9685 video... Where I see the DCC-EX EX-IOExpander coming into play would be for a control panel. I was looking at the idea of hooking up push buttons to it to drive switching of track routes on my planned layout. You could potentially use some PINS on the EX-IOEXpander for the buttons and others (or a PCA9685) to control LEDs on the control panel to feedback which route is set. If the layout is a decent size, it might even be possible to use multiple EX0IOExpanders configured identically (with different I2C addresses of course) to have several identical control panels located at different points around the layout for the use of multiple operators. Or indeed break down the control of the panels more locally on the layout as a form of signal box. It's really interesting technology. Best wishes from Sydney Australia, Jon
@johnmarshall2660
@johnmarshall2660 2 ай бұрын
Hi Bill, I just found your video and it was most interesting, I am using MCP23017 devices to sense for Block Detection and I may have up to 8 of these devices on the I2C bus to the DCCEX Command Station, but as yet not at the stage of configuring, If you are Familiar with these devices I would be great if you could do a video ... the sense comes from a design of Diode voltage drop i.e the track is fed via 2 x 1N5819 diodes back to back and the voltage across the diodes goes through a LM339 comparator and is fed to an MCP23017 pin after a bit more logic ...Regards John
@hughjardon5101
@hughjardon5101 Ай бұрын
Why do you link the Megas together on the +5V lines, when they each have their own power supply? Why don't you link the Megas together on the GND lines to define a common ground plane?
@BillMastersMRR
@BillMastersMRR Ай бұрын
I'm not set up to test that theory at present time, but I followed a diagram that was provided by the pros on the DCC-EX Facebook page at the time. Go ahead and try it that way and see what happens.
074 Basic Unboxing of the Elegoo Mars 4 Ultra MSLA 3D Printer
8:21
Model Railroading with Bill Masters
Рет қаралды 219
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 870 М.
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 65 МЛН
Touching Act of Kindness Brings Hope to the Homeless #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 18 МЛН
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 205 МЛН
Cheap and Amazing!  DCC-EX 2 Years Later
10:46
DIY and Digital Railroad
Рет қаралды 24 М.
062. Express Build A DCC-Ex Ex-CommandStation with Arduino Mega and Engine Driver.
22:15
Model Railroading with Bill Masters
Рет қаралды 830
#4.e - Adding an LCD Display to DCC-EX
27:53
DriverDTrains
Рет қаралды 9 М.
Building a DCC-EX Command Station for My Model Railroad
19:16
White River Line
Рет қаралды 13 М.
Electromagnetic Aircraft Launcher
15:09
Tom Stanton
Рет қаралды 1,1 МЛН
Still doing research on DCC-EX.   Here's an glimpse of I2C IO expander board.
7:59
Model Railroading with Bill Masters
Рет қаралды 975
Hi Resolution Block Detector (Video #33)
16:48
IoTT
Рет қаралды 19 М.
Controlling Turnouts in DCC-EX using PCA9685 Modules - Part 1
51:11
South Park & Kenosha Pass Railroad
Рет қаралды 4,5 М.
DCC Ex - Amazing Digital Controller for Under £50 😮
13:40
Little Wicket Railway
Рет қаралды 41 М.
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 870 М.