Hello,
I have a simple audio switcher box which I’d like to control with a PC.
The box has 8 switches on the front. By pressing one you change the audio source for the output. The switch in question also lights up to indicate the selection.
The controls are replicated on a 25-pin DSub on the rear of the box. Each switch has two pins, a switch pin and a lamp pin. There is in addition a +12Vdc for the lamp and a common (0V) pin for the switch.
To trigger a switch, one momentarily bridges the switch pin with the common pin. This causes the switcher to change the source and also for the lamp pin to be pulled down to earth so that power can flow from the +12Vdc pin to earth thus lighting the lamp in question.
My question is whether I can use the K8090 to trigger the switch (by closing a specified relay for a second (to simulate a button press)) by connecting each pin up to the relay numbered output of the K8090 (and the common 0V to the other pin of each relay). Does the software allow me to write an application with a function that causes a momentary push on one of the outputs.
I’d also like to read back the lamp status of the device and was wondering if I could do this with a K8055 board (I know it only has 5 inputs but this is all I will need anyway). I propose to do this by having 5 opto-isolators with one side connected to the lamp output and +12v (therefore when the switch is illuminated the isolator will fire) and have +5Vdc on the other side connecting to a K8055 input. Therefore when you fire one of the isolators +5Vdc flows through to one of the inputs thus causing a digital on?
I am aware the K8055 does input as well so am wondering if it could all be done with one board? This should be a relatively straightforward thing to do. I’d ideally like to make a small program on linux which updates a website when the input is changed and also update the output when it receives a call.
Can the hardware (K8090/K8055) be made to be ‘silent’ (i.e not making any output or changing any state unless explicitly told to). I notice from another post the K8055 would need to be reprogrammed not to POST when connected to USB for the first time (so if my computer crashed and was rebooted it could change the state of the connected hardware).
Long post, any help appreciated.