5v/12vdc inputs and only one of those as outputs using PIC18fxxxx

Thread Starter

StealthRT

Joined Mar 20, 2009
303
Hey all I am trying to find an IC that can accommodate having 2 inputs but only one output depending on what I send via a PIC18fxxxx micro controller. This sounds like it would be a DPST but I can't really find anything like that I can control from a PIC to choose what output needs to be on.

The 5vdc and 12vdc will be to power a PC FAN. The 5 and 12vdc will be coming from the PC PSU.

A 12vdc fan is around 0.25A ~4W
A 5vdc fan is around 0.18A ~2W

So something like so:
Code:
                    |------|
    ---5vdc-in----->|  IC  |
    ---12vdc-in---->|  ?   |-----5 or 12vdc-out-->
    ---PIC pin-in-->|      |
                    |------|
Or better visually is this:


The PIC pin would control the IC to let it know which voltage to output.

Does anyone know if this type of IC exists? I'll need to be able to do 10 outputs all together.
 

Thread Starter

StealthRT

Joined Mar 20, 2009
303

Dodgydave

Joined Jun 22, 2012
11,302
Same as above, but using two pic outputs complimentary instead of the inverter gate, so one goes high the other goes low, vice-versa....
DSC_0244.JPG
 
Last edited:
Top