Arduino dcc receiver


trafalgar

vanloo@gmail. Arduino Controlled Trains. Q&A for developers of open-source hardware and software that is compatible with Arduino Stack Exchange Network Stack Exchange network consists of 175 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. 0. This library allows you to interface to a NMRA DCC track signal and receive Transmitter is act as remote control and receiver will ON/OFF a LED in accordance with the data received. In part 1 of this write-up {make link in blog}, I outlined how I had constructed the hardware for a basic DCC wireless controller and a base station for it. I hope you keep working with it and show us your progress. . Hardware The circuit is composed of a power supply section, an optocoupler section and the Arduino. Servo dekoder. 8. h // Call the main DCC Init function to enable the DCC Receiver Dcc. DCC is a command control system for model railways that uses the same two wires for power and data (there's a wikipedia article that explains it better than I can) Electronics and DCC » Arduino in model railroading; and infrared receiver with a remote. Decodificador de accesorios DCC configurado para 2 desvíos con 2 semáforos y control de luces interiores y exteriores. Arduino wagon decoder 1. The trains are solely controlled by the NCE command station. Power on the Arduino. // Call the main DCC Init function to enable the Looking at the code that is posted online for operating DCC points scares me but I have enough bloody mindedness to give it a go! And my electronics can end up with smoke and burnt fingers or just a mystified look when things don't work. instructables. 62 thoughts on “Turnout Control with Arduino & Servos” How would one add DCC to this Control? Reply. Digitrax is a full time professional company dedicated to bringing superior engineering, quality and affordability to model railroaders everywhere. from DCC signals Simple Arduino DCC Decoder Open in Editor. Model Railroad Speedometer Arduino Circuit - Part 1. The Arduino is connected to a H bridge to convert DCC signal into +- 12v supply for the installed decoder. An Arduino DCC++ Base Station: The Hardware - Part 4 of 4. We are currently testing our version 2 product which is a barebones pcb based kit that has a ton of Wireless control receiver schematic. While there are more efficient ways to do this, this will allow the tutorial to work with as many DC motors as possible. which are combined emitter and receiver, and so far DCC and Arduino. By this, I mean, once a decoder has been properly installed in a locomotive, the locomotive can operate on any DCC system right then and there, without any need make any changes to the decoder “programming”. Sub-Boards: CTC 101, Arduino Engineering Kit, Arduino Starter Kit Classroom Pack, CTC GO!, Arduino Science Kit The Arduino Starter Kit and Basic Kit Support to the 15 projects of the Arduino Starter Kit's book and the Arduino Basic Kit. com/id/DCC-Command-Station-Introduction/ Arduino and Processing are also built on the same interface and look nearly identical. DCC Sniffer – Packet Analyser with Arduino There are two Arduino DCC libraries floating on the Internet, Mynabay and NMRADCC. Here’s an example of how you can use the new DCC Accessory Decoder PCB from Dcc Interface (in the UK) that combines an Arduino Nano, a A4988 Stepper Motor Driver module, an optical sensor and a DCC signal interface, to quickly let you drive Stepper Motors based on DCC Turnout Commands. As you know, Arduino board has also DC jack. hsnotes DCC devolution instructions and code. LCC depends on more than just the CAN Bus, as there is an LCC protocol used over the bus. Michael Hardwick described how he built a push-button traverser track using an Arduino microcontroller, 3-D printer parts, and other low-cost electronics in the August 2018 Model Railroader. Me and my son are planning a big model train diorama ( H0 scale ), and would like to use Arduino's to control turnouts, lights, crossings, signals, train position feedback, and a lot more. Arduino – Control 2 DC Motors Via Bluetooth (Perfect To Build a Robot) 4 Shares In this tutorial I’ll show you how to control 2 DC motors via bluetooth with an Android app created with MIT App Inventor 2. The base station is called DCC++ Base Station. Connect DCC track voltage should be connected to J7, the two-pin connector at the bottom of the board. Bien después de la entrada anterior a alguno le picara la curiosidad de como conectar el sistema DCC al el modulo y un Arduino conectado al PC. For those who want to control their DCC Model Railroad with their cell phones or Arduino IR Receiver * New Arduino sketch * PCB available for purchase on eBay (available October 2018) Further to previous work on DCC wireless systems, I have developed a Bluetooth Command Station linked to a receiver Arduino based circuit with a HC-06 BT module and a LMD18200 H-bridge Motor driver delivering 2 Amps. 0 Certified Audio module. by lady ada. BOM. Deze site doorzoeken Een DCC decoder op basis van een Arduino mini pro voor het tonen van eenvoudige (rood-groen) seinbeelden. com, entièrement Model Railway - DCC Command Station Using Arduino: Arduino, Model Train Layouts, Model Pictures, Electronics Projects, Train Set, Bahn, Scale Models, Model Trains, Mj It's a simple 4 channel IR receiver/decoder. You can find the Arduino library for NRF24l01 here. It’s not complex Central Digital DCC con Arduino Esta entrada no pretende ser un tutorial, es simplemente la aplicación de un fantástico trabajo realizado por el amigo Dani del Club N Caldes , él ha sido el que ha recopilado y realizado las pruebas pertinentes para ofrecernos estas prestaciones del famoso Arduino. I have an N-scale loop of track that I place IN the tree and an HO scale Arduino 2. 1 volt reference. Arduino controlled model trains and If you have a Bluetooth receiver in each loco can you post a photo of the module in the loco? Owners of DCC systems have On the Arduino Pro Mini these are labeled 3-13 and A0-A5 and they directly correspond to standard DCC Decoder Functions F0 through F16. Dr Rainer Hessmer with the RC receiver FS-iA10B. EMPCCCC This page last updated: December 21, 2012 as of January 2015. The electronic amplifying the signals is self-made. Between the arduino and the tracks, you will need a booster that can take digital TTL level signals from the arduino and output a strong enough DCC singal. We have used the 28BYJ-48 Stepper motor and the ULN2003 Driver module. Motors and lights that are made by LEGO and power such projects as dinosaurs, bulldozers, and trucks are controlled by the Power Functions system. 00 and old computer. Next to each mounted LED is a three pin header for individual Servo attachment. You can use one of the both DC jack freely. --- paste --- Every now and then I have some need to crank out a one-off DCC receiver for some project I'm working on, and I always think, "Sheesh, one of these days I just need to lay out an Arduino shield that's got the opto on it so I can just stack it and a stock Arduino DCC UniversalAccessoryDecoder Arduino driven accessories decoder, analog or Dcc. g. RF Transmitter/Receiver Module With Arduino. This is for connecting an Arduino input to a DCC system. I have touched on this subject in writing about his former N gauge layout and work he has been doing on our current Nottawasaga Model Railway layout. Download Arduino DCC UniversalAccessoryDecoder for free. The LEGO Group has its own mechanical system, the Power Functions system. init DC Motorstyring med Arduino og L293D – Kranstyring; Fast shipping. My first software attempt didn’t have any fading lights. Custom Arduino DCC Function Decoder with MP3 player and 8 relay bank. ArduCAM series camera shield is a universal camera control board for Arduino. Open in Editor. This tutorial is for the now ancient V1 Motor shield. There is a nice project for Arduino and model rail roads in the latest Nuts & Volts magazine. Bluetooth SMD Module - BC127 In stock WRL-12819 This is the BC127, a highly flexible, low power, small form factor Bluetooth Version 4. Arduino Authorized Distributors This is a list of our Authorized Distributors around the world, countries are listed alphabetically by region. The motor power supply should be compatible with the DC motor. Voyez de quoi est capable UAD pour piloter vos divers accessoires en DCC ou non. See Instructables website http://www. My notes on these projects are here Arduino DCC Decoder and here Arduino DCC Controller. Toggle navigation Arduino Library List NmraDcc. Laser Transmitter Receiver CCT LocoNet | Arduino Interface. Arduino + Controller Area Network (CAN) Stolen from Wikipedia: The CAN (controller area network) bus is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer. Researching a DCC booster circuit and DCC computer control; Detecting trains with InfraRed + Arduino. ***Attention : ce projet a été déplacé sur une autre forge. The DCC++ Base Station consists of an Arduino micro controller fitted with an Arduino Motor Shield that can be connected directly to the tracks of a model railroad. Model railroads use Digital Command Control (DCC) to control locomotives and accessories. This Pin was discovered by h t. A decoder is usually fitted into a locomotive or tender (in the case of a steam locomotive). The Arduino operates like an NCE controller, exactly like an operator would do with an NCE ProCab. Loconet is part of a DCC train control system designed by Digitrax to control a model train layout. Fast shipping. User can make it works in minutes without writing a line of code. It senses train location with either photo resistors or photo transistors and activates a flashes crossing LEDs, reports train direction and when the train is past the crossing reports train speed to a 20 x 4 LCD screen. Simple Arduino DCC Decoder Open in Editor. 0 is released: Bugs fixed: * The restore of servo’s at startup to its last position did not work properly (Thanks Ruud Boer) * The servo position was not saved in configure mode when a + or – command was the last command before saving. Contact; Non-fading software. MARDEC, the Multifunctional Arduino DCC Decoder Mardec 4. 4GHz Micro RC Receiver. Creating the circuit: SparkFun Electronics DCC Plus Plus is an open-source hardware and software system for the operation of DCC-equipped model railroads. One thing especially would like to do is to control the trains with the DCC bus, and perhaps weserver, a touchscreen with html interface and and and . The Arduino is going to be powered by the USB connection while the DC motor is going to be powered by a battery pack. Il utilise la librairie dcc_decoder de Mynabay. C++ Arduino DCC. A versatile Arduino stationary dcc decoder When constructing my dcc based train model, I looked for dcc decoder to pilot light (SMD 0402, or standard led), but had difficulty to program them for custom scenario (blinking, road works style, …). ElProCus {HD} DCC++ System Review! The Cheapest DCC System Available??: Overview. Wireless control receiver schematic. Creating the circuit: SparkFun Electronics There is relatively little information available about how to hook up the module with an Arduino controller. com, entièrement The idea was a high power unit (rated 10 amps and maximum 120 watts) with a "DCC output" to "pass through" DCC commands to a DCC sound card. Product shipped within 1-2 business days after order payment, so the goods are delivered within 2-3 working days in Lithuania and within 5-7 working days in EU. Welcome to the OpenDCC Project: The OpenDCC Project exists to develop Open Source Atmel AVR based devices that implement the National Model Railroad Association (NMRA) Digital Command Control (DCC) protocols to do stuff on our model railroad layouts. DCC monitors, accessory decoders and even mobile decoders can be built using the Arduino. 概要. Based on the tutorial by Geoff Bunza (Model Railroad Hobbyist), this project is shows how an Arduino Pro Mini can be used to respond to function keys on a DCC controller. DCC and Arduino. Arduino DCC Controller. Hornby eLink and RailMaster. But comparing DCC to your set up makes DCC look like those big screen TVs from the 90s that weigh 400 pounds. Melinda Grace. The ARD-DCCSHIELD is a building block that provides an electrical interface between an Arduino and the DCC track signal, not a complete decoder. for the TEA5767 I2C FM receiver IC. I designed a board that would provide these features: I have made use of this circuit to capture DCC packets from my Arduino based Command Station Yes, D2 has the DCC signal input from the packet receiver circuit. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. RMR046 - DCC Sniffer - Packet Analyser with Arduino. Each pin can directly drive at least 40ma at 5 volts, more than enough for several LEDs each. Billy Sullivan. DCC/MM2 shield R5 has DC jack. Loading Unsubscribe from Weaselpro? основанную на использовании Arduino. Arduino Control of Model Train #modeltrains #modeltrainplans infrared alarm barrier receiver circuit diagram. Arduino drives digital locomotives (Maerklin Motorola II) Is there an arduino sketch for a lok decoder and a switch (wecksel) decoder? Erwin. // Call the main Arduino Decoder DCC Locomotive el decoder de la libreria NmraDcc pudiendo controlar la direccion y velocidad de la locomotora mediante el sistema DCC Arduino Basics 102 DCC Stepper Controller – A4988 Nano – Example Sketch At the end of this guide, you should be able to drive a stepper motor from your Model Railway DCC Controller… This is for the Arduino Nano Model Railway DCC Stepper Motor Controller board, not the UNO version. Earlier this year, I decided to develop an Arduino-based DCC accessory decoder for model railroad turnouts. DCC Controlled Turntable Stepper Motor Driver. Separating the layout into sections is the way DC control has allways worked, Arduino URB brings this concept up to date, bringing the flexibility of DCC to DC layouts through Apps that work on Smart Phones and Tablets, for the first time automation is available in a simple form. Arduino DCC Function Decoder. A member of our club implemented a simple DCC throttle/amplifier using an Arduino and an amplifier circuit as a way of learning the protocols. When you compare DC to DCC of course DCC seems amazing and it is. the Sprog base station is basically an Arduino, however, it has their own software installed. Arduino Pro Mini Accessory Decoder. The Arduino Nano is a small, complete, and breadboard-friendly board based on the ATmega328P (Arduino Nano 3. Inputs include DCC from DCC controller or track, 8-18V ac via screw terminal block or power jack. com. Arduino and Pi. So a typical combination was the receiver with a Phoenix sound cars. I'm more and more fascinated by the possibilities of the microcontrollers, whose programming gets simpler and simpler. All around the world, hundreds of thousands of designers, engineers, students, developers, and Makers are building with Arduino for music, games, toys, smart homes, farming, autonomous vehicles, and more. Robin Simonds on January 15, 2015 I personally think this is the future of the hobby. Enables NMRA DCC Communication. RC Receiver A member of our club implemented a simple DCC throttle/amplifier using an Arduino and an amplifier circuit as a way of learning the protocols. #include <NmraDcc. Arduino can provide a PWM output, and in the mini or nano format, arduino PCB is small for the O or Ho locomotive scale. Arduino driven accessories decoder, analog or Dcc. There is also a thriving train community that uses LEGO trains to create large Digital Command Control (DCC) decoder programming is what makes your DCC decoder installation unique to your locomotive. Instead of 0-12v DC on the rails, DCC uses a digital packet stream. x). DCC Firmware for Arduino S3") over the serial connection to the Arduino, and have the Arduino build the corresponding DCC packet and drive the H-Bridge my DCC base station is created by using an Arduino, and some open source code that I downloaded and installed on the Arduino. Controlling your trains with an Arduino A quick introduction to the Arduino. Arduino Crossing Signal for Model Trains. Arduino + DCC Interface = Accessory Decoder By combining an Arduino and a DCC Interface you can easily produce your own DCC Accessory Decoder. Note that here I am explicitly not interested in the Arduino providing DCC power & commands to the tracks. Arduino DCC servo decoder tuning software (part DCC Function Decoder for Arduino and ATtiny Posted by RudyB ⋅ October 26, 2015 ⋅ 11 Comments In previous posts on Arduino DCC Decoders I have been using the word ‘function decoder’, which has led to some confusion. made to build a basic Dcc controller on small Arduino Nano or Electronics and DCC transmitter and receiver are side-by-side between ties I've made my own system with an Arduino and a few shift registers. Joe Baldwin. LocoNet is a Peer to Peer Local This just popped up today on an Arduino mailing list. LCC for Arduino I’ve added this page to collect information related to using Arduinos with the NMRA’s new Layout Command Control (LCC) standards, and specifically for information about CAN Bus shields available for it. Both contain example code that lets them work as a DCC monitor. There is relatively little information available about how to hook up the module with an Arduino controller. It has more or less the same functionality of the Arduino Duemilanove, but in a different package. The first time we ran a digital command control system we knew we couldn't live without one but, we couldn't afford it either. The control is programed on a Arduino (ATmega168) (~30$). The Arduino reads track sensors, controls track signals, and sends TMCC and DCS commands to trains and accessories for automated operation. Power for the Servos comes from the Arduino's on-board 5V regulator, This just popped up today on an Arduino mailing list. One pin on the Arduino picks up the DCC data and the other 17 I/0 pins are connected to LEDs. Buona parte della costruzione di un plastico è dedicata alla realizzazione dell'impianto elettrico. Arduino DCC Usage. A list of the 351 libraries in the category Device Control. Hi , my servo extension leads are coloured Red White and Black ,the Schematic I attached is for a DCC ( digital command and control) to Arduino interface ,DCC puts around 18 volts on the railway tracks and is a modified form of AC so it has to isolated from the Arduinos with the optoisolator , I was hoping I could find someone who could convert Model Railroad DCC Control - JMRI / Raspberry PI. The Arduino DCC and Arduino For quite a few (~40) years besides model railroading I also have an interest in electronics. An Arduino-based DCC System, Part 2: Software. Arduino DCC Decoder Peyutron Arduino You can learn Arduino in 15 AVR projects. Arduino Uno Arduino Programming Arduino Board Buy Arduino Arduino Controller Arduino Projects Diy Projects Circuit Projects Project Ideas Forward Arduino Leonardo: New pin layout, lower price. So here is the beginning of our project. DCC Decoders; Other Photos and Diagrams Arduino Power Most tutorials about Arduinos don’t really talk much about their power characteristics. Personally I will stick with PICs for DIY projects as I am gradually working through Paco Cañada's designs. Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. arduino dcc receiver This circuit will let you write sketches on the Arduino to decode those packets and take actions based on what you decode. Grillone-Hacked Xbee Joystick - An Arduino and XBee shield act as an RC receiver, sent data from a hacked joystick connected to an XBee-by Ilektron- Arduino is a popular platform for IoT product development and is commonly used for STEM/STEAM projects. Arduino as a DCC function- and servo decoder. To energise the four coils of the stepper motor we are using the digital pins 8,9,10 and 11. Click on the link below to download the computer program that Michael uses to operate the traverser. Secret Arduino Voltmeter – Measure Battery Voltage - A little known feature of Arduinos and many other AVR chips is the ability to measure the internal 1. Controlling Model Trains with an Arduino out it was Digital Command Control, or DCC. The system consists of a DCC++ Base Station and DCC++ Controller. The on-board Arduino also has a wireless receiver to accept the command address from the base station which consists of an Arduino and wireless transmitter. This board incorporates the DCC opto-coupler and a 5V regulator circuit. DCC & Electrical / Arduino source code for a model railroad signal system Get the source code for Detlef Kurpanek's Arduino-controlled model train signal system * New Arduino sketch * PCB available for purchase on eBay (available October 2018) Further to previous work on DCC wireless systems, I have developed a Bluetooth Command Station linked to a receiver Arduino based circuit with a HC-06 BT module and a LMD18200 H-bridge Motor driver delivering 2 Amps. More on Raspberry Pi, Arduino and DCC February 8, 2013 July 26, 2014 by Michael Carnell , posted in DCC and Computer Control , Trains, Model RR, Hobbies So after following a few pointers, I came across the Michael Blank’s SimpleDCC site. NMRA DCCライブラリを使用したFunction Decodetスケッチです // Call the main DCC Init function to enable the DCC Receiver The Arduino Nano is a small, complete, and breadboard-friendly board based on the ATmega328P (Arduino Nano 3. Arduino and Processing are also built on the same interface and look nearly identical. Grow Room Controller - An Arduino-based Real-Time Light Controller and Environment Controller with Data Logging via SD Card. I am using Arduino pro minis as my microcontrollers you can use your own Arduinos. DCC Stepper Controller – A4988 Nano – Example Sketch At the end of this guide, you should be able to drive a stepper motor from your Model Railway DCC Controller… This is for the Arduino Nano Model Railway DCC Stepper Motor Controller board, not the UNO version. ) volume buttons. If you like Arduino for model railways, you might love these ideas. Connecting to DC power supply. After hand wiring several of the DCC decoders I decided that a circuit board would make things much more convenient for me and other hobbyists. The Arduino These range from building a DCC system for about $45 (see below) to a crossing signal. to go about reprogramming the address of a DCC receiver, sorry DCC++ по-русски (DCC station Arduino and Motor shield) Weaselpro. Arduino Model Train DCC Railway Development Kit Here is a video about our Railway Development Kit. This one uses the above Bachmann turnout (arduino servo control article coming soon), a arduino nano, two IRL520 MOSFETS, two resistors, and two diodes. * AM-HRR3 receiver for homeeasy simple protocol * This handles the simple homeeasy Simple Arduino DCC Decoder Open in Editor. // Call the main DCC Init function to enable the Transmitter is act as remote control and receiver will ON/OFF a LED in accordance with the data received. See martgadget's blog for more Arduino HomeEasy stuff in the future hopefully. Discover (and save!) your own Pins on Pinterest. ID Name Designator Footprint Quantity Manufacturer Part Version 1: In this post I describe how to make an Art-Net receiver to manage some led strips to bring your layout to a new level, and have an ambient illumination and weather simulation worthy of Miniatur Wunderland. from DCC signals DCC Accessory Decoder – Using an Arduino Mini. Messing with DCC. -by Nickolas K. You can use multiple boosters if you want to separate track and accessories power. These DC jacks are connected internal pattern. Cheapest DCC model railroad control Ever! DCC++ $10. It hides the complex nature of the camera and provides the plug and play camera control interface as well as the ready to use software source code library and demo code. Model Railroad DCC Control - JMRI / Raspberry PI. You can configure the IR codes with serial monitor (by press a key on the remote shows up in the serial monitor) You can switch on/off LED 1/2/3 with the remote button 1/2/3, and the fourth LED is power controlled by (e. Enables NMRA DCC Communication: Library for controlling FM radio receiver chips. There are actually quite a few basic Arduino videos on the channel, although most of them are aimed at beginners. This list is updated periodically, last update on March the 6th, 2018. Trains meet Arduinos. It's not necessary the Loconet shield for this module, just an arduino UNO, a cheap Ethernet shield and a 4 MOSFET board to drive Hi There is a lot of arduino project (function decoder, Dcc stations etc) but none about a motor decoder. The Arduino DCC e Arduino Parte del fascino che ha il fermodellismo è indubbiamento legato ,oltre che al collezionismo, anche alla realizzazione e gestione del plastico. DC to DCC. Arduino Stepper Motor Control Circuit Diagram and Explanation: The circuit Diagram for the arduino stepper motor control project is shown above. Arduino Model Railroad Signals: And Other Projects Paperback The DCC Guide, Second Edition (Model Railroader Books: Wiring & Electronics) Gikfun Infrared Version 1: In this post I describe how to make an Art-Net receiver to manage some led strips to bring your layout to a new level, and have an ambient illumination and weather simulation worthy of Miniatur Wunderland. 777 views . I wanted the completed decoder/turnout assembly to satisfy a few key design objectives: • The turnout must be easily installed on the layout with no external wiring. DCC Decoder Shield for Arduino ARD-DCCSHIELD The ARD-DCCSHIELD is an optoisolated interface shield for connecting an Arduino (as a decoder) to a model railroad DCC control system. It's not necessary the Loconet shield for this module, just an arduino UNO, a cheap Ethernet shield and a 4 MOSFET board to drive In order to run a locomotive with a DCC system, a decoder (a DCC receiver) must be installed in the engine. For those who want to control their DCC Model Railroad with their cell phones or Arduino IR Receiver Our goal is to make these turnouts controllable with an arduino, so that future projects using train detectors and DCC can allow more automation. He has experimented with using a miniature arduino computer for both signalling applications and for making a DCC control system. Connection of power supply uses Arduino UNO's DC input. Here is a simple sketch showing how to create an accessory decoder that has 2 LEDs driven by 2 accessory addresses. Based on Arduino Nano devices, membrane keypad and a LCD display. ////Arduino DCC receiver. May 28, 2009. arduino dcc receiver. In electronics, a regulator is a device or mechanism which can regulate the power output constantly. It is not Using RC Servos. This library allows you to interface to a NMRA DCC track signal and receive Watch Arduino DCC Encoder/Decoder - Kiel on dailymotion Insert DCC/MM2 shield to Arduino UNO or galileo gen2. Raspberry Pi NOAA Satellite Receiver - Duration: 21:42. which are combined emitter and receiver, and so far Communication between Arduino microcontroller boards and a connected computers. ID Name Designator Footprint Quantity Manufacturer Part On the Arduino Pro Mini these are labeled 3-13 and A0-A5 and they directly correspond to standard DCC Decoder Functions F0 through F16. I used tsop38238 receiver and an arduino to power electronics Flyback Converter Circuit. Building a DCC Monitor with an Arduino MynaBay is developing an Arduino library for model railroad DCC projects. Laser Transmitter Receiver CCT We are using IR LED as transmitter and TSOP1738 as IR receiver to build this IR transmitter and receiver circuit. 64 posts Now that I have my Arduino DCC decoder built and programmed I must test it on DCC. It's easy to have an Arduino read TMCC commands from a serial data wire, so you could definitely build a complex accessory that gets TMCC commands over a wire. Model Railroad Electronics. Edgefx Kits