Hey guys. The problem is this: I need a source of 5V OR 12V (it has the ability to be both, depending on the application) to switch 5V.
I would use a LDO regulator, but I don't believe they switch fast enough - the source voltage is actually a digital data signal at 15k baud.
Another thing out the window would be a voltage divider - it would work if I was only working with 12V, but obviously, I wouldn't want it to divide the signal voltage if it's only a 5v source.
I can't think of a way to make an NPN work either... Perhaps I could use a voltage divider on the base to drop the voltage to 1/4 (so we'd be dealing with 1.25v and 3v instead).
Any ideas? Thanks!