I currently have a model train (G Scale) system that drives an arduino mini via blue tooth and is battery powered. I have a phoenix sound card that is responding to triggers high/low on designated pins of the arduino. The phoenix sound card is limited in functions via pins as it only has six physical triggers. However the sound card can receive DCC signals and access many more functions. My goal is to use one of the arduino pins to send dcc commands to the dcc receptor of the sound card. Most of the projects I see are fairly complicated due to the fact they are sending the dcc signal over the powered rails and require interrupts. Since my project does not share signal and power over the same media I am looking for simpler code. Is there a project or resource you might be able to point me to?
Before I found DCC++ I wrote code for an Arduino that bit banged a DCC signal out of one of the pins. I used that to control a H bridge that generated my track signals. The code was largely based on the code I found here: https://developer.mbed.org/users/4180_1/notebook/controlling-a-model-railroad-using-mbed/. The code is easily adaptable, you have to scroll down to find the DCC stuff. The receptor on the sound card though, is it not looking for a conventional DCC signal?