High John SOnly if you want to destroy the switch decoder! Refer to answer on other thread..................
Sort of hoped the switch common might just be the internal negative.Bill, you have said it yourself...
..connecting to an internally generated ground derived from the DCC signal..
You don't have a reference between your external PSU and the 'derived ground'.. I suppose you *might* get away with it if you tied decoder -ve. to your external supply -ve. .. But I would not recommend it.
The key fact being "they are inputs" for that matter they are actually " zero potential" i.e. "NO VOLTAGE"
They are switched internally, but only to the point that the on-board microcontroller sees a resistance value across which ever input port is connected to the pads, and then acts upon the instruction set, which in this case being the values as stored in the CV's.
In the case of a momentary switch or a reed switch, when connected and activated, makes a complete circuit to GND at "zero potential" which triggers a pulse (resistance) to the relevant input port on the microcontroller.
There is no input voltage protection to these ports!
By placing a voltage through these inputs, voltage will travel directly to the micro controller ports, and DESTROY IT!
Yes it is indeed possible to connect an "external voltage source" to drive the inputs at zero potential, but it's of no use for this particular request, as they are inputs only, they cannot be configured to operate as an output.
Wouldn't it be better to use relays rather than risk blowing your decoder?
If your using LEDs the power requirement is tiny. May I respectfully suggest - dont reinvent the wheel.
I agree, but it may be the final straw that limits how many locos I can run simultaneously.
I also enjoy playing and trying to do that bit more with stuff.
If the idea works then I can control lights in buildings and my fairground etc.
Bill
But you can use the OUTPUTS to control lights anyway??