I have a system I am trying to control a system that is activated by a 24v digital input. My system is a 5v system.
First challenge control 24v with 5v.
Well my answer was to throw in a n-channel fet with a couple resistors and bam! I have something. It is inverted but it should work right? (see attached)
Second challenge, this 24v system has different configurations sometimes it is active high and some times it is active low. So I would like to have access to a signal that is inverted so I can just choose which wire to hook up.
Okay so why not just invert the signal again using another fet and a couple resistors? Would this work? (see attached)
You might be wondering why not just invert the signal in software. The reason for this is that I want that in the case that my system loose power (0v into the first FET) the 24v system will receive an inactive input (sometimes high sometimes low depending on the application)
Once again what I was thinking is attached. I call it the Double Inverter but it is kind of like a Darlington pair where I have access to everything. Is this what I want?