Take a look at this schematic:
It is important to assume that we have the following constrains:
1) Load is connected to ground, therefore it requires a positive potential to activate
2) The voltage potential to the load is at 5V regulated supplied lets say by a voltage regulator L7805CV that can supply the appropriate current (i know the load on the schematic is 380 omhs but please don't mind that)
3) Signal comes from an external low current 5V source, and we want logic 0v=off 5v=on
For this logic normally an N-channel mosfet would do the job but since the load would have to be connected to its source the mosfet will not fully saturate therefore the voltage going to the load will be a lot less than 5V.
Using a p-channel mosfet is ideal the way the load is connected but the logic will be inverted. So the simplest thing in my mind is to basically invert the input to its gate. But how do i do that with minimal components/lowest cost/simplicity?
Also is there a better way to do this than what i am thinking?
edit: In addition, is there any way i could employ a specific N-channel mosfet as my main buffer into my design while keeping the same constrains? i.e. Allow the mosfet to fully activate keeping the load connected to its source?
Kind regards!