I need some input on a design I'm working on. I need to do the following with the least amount of components, as space is an issue:
I have 3 input pins A, B and C. Two output pins 1 and 2.
And I need to achieve these three combinations:
A to 1 and B to 2
C to 1 and B to 2
A to 1 and C to 2
It needs to be controlled by an Arduino. I have been looking at NPN and PNP transistors, but it will require to many conponents.
Yes. I just thought of that. Imagine a DPDT relay. I need something like it but a Double Pole Triple Throw instead. A, B and C is 16v, 10v and Ground. I need it routed to the outputs, 1 and 2, using the Arduino to do the controlling.
Better? Otherwise, I think I can draw it.. Not sure, though...
Another question, how important is it that another combination is NOT selected?
You can control the relays with 4 Arduino outputs but if it's a big problem say for A to be connected to 2 then I may add some logic because it's easy to stuff up the programming.