Farmer Scott
01-31-2008, 02:11 AM
The more I think about this, the more it seems like a bad idea, but was looking for some more opinions.
I'd like to very simply drive a fan using PWM output through a transistor.· However, I'm wondering what would happen if I put an OR gate between the output PIN and the transistor?· The reasoning for the gate would be so that should the microcontroller fail or for any reason not enable the fan, another logic device (such as the Tout pin on a DS1631A) could trigger the fan.
Okay...so tell me...is this really a bad thing to try?· I can forsee a couple of problems...gate not switching as fast as the PWM, and erratic output from the gate?· Possibly damage to the gate from a long duty cycle?· I have no experience using logic gates...so I really don't know what it will do.
I was considering something like a TI SN54AC32 OR gate.
I'd like to very simply drive a fan using PWM output through a transistor.· However, I'm wondering what would happen if I put an OR gate between the output PIN and the transistor?· The reasoning for the gate would be so that should the microcontroller fail or for any reason not enable the fan, another logic device (such as the Tout pin on a DS1631A) could trigger the fan.
Okay...so tell me...is this really a bad thing to try?· I can forsee a couple of problems...gate not switching as fast as the PWM, and erratic output from the gate?· Possibly damage to the gate from a long duty cycle?· I have no experience using logic gates...so I really don't know what it will do.
I was considering something like a TI SN54AC32 OR gate.