Hi,
I have a LED array connected to a serial port of a pc, I can control which LEDs are on by sending a value to the serial port. I would like to remove the LEDs and replace them with a transistor, which will be connected to a PC fan. Ideally, I would like to be able to use two of the LEDs to give the fan a high or low option. So basically, if both LEDs are off, the fan is off, LED1 on, the fan would be low, LED2 on, the fan would be high.
A pc has +5, +12 and Ground; I was reading an article that said I could us the +5 as the ground for the +12 and end up with +7. Is this true? I was thinking I could have the first LED control on or off, and have the second one control the speed by switching the ground from +5 to actual ground.
Also, I'm not sure what type of transistors to use in this situation.
Any help would be appreciated.
Thanks,
Mark P.
I have a LED array connected to a serial port of a pc, I can control which LEDs are on by sending a value to the serial port. I would like to remove the LEDs and replace them with a transistor, which will be connected to a PC fan. Ideally, I would like to be able to use two of the LEDs to give the fan a high or low option. So basically, if both LEDs are off, the fan is off, LED1 on, the fan would be low, LED2 on, the fan would be high.
A pc has +5, +12 and Ground; I was reading an article that said I could us the +5 as the ground for the +12 and end up with +7. Is this true? I was thinking I could have the first LED control on or off, and have the second one control the speed by switching the ground from +5 to actual ground.
Also, I'm not sure what type of transistors to use in this situation.
Any help would be appreciated.
Thanks,
Mark P.