hi 1995,
Post a sketch of the project, the driver section, giving details of the load and I will post a design.
E
Actually in the picture, ive kept the source on top and drain at the bottom. So, the driver is connected to drain itseldhi,
As I said in my first reply post you cannot use a bss138 in that Source load circuit.
Do you have any P MOSFETs or NPN transistors on the bench.?
E
About 10 kohms? in order to simplify the circuit, ive attached a circuit.How is the values of R that it is connected to +5Vcc?

I thought earlier the driver was getting 5V supply. Also, the microcontroller was 3.3V logic, right? If so, your circuit is a bad idea, because you'll be exposing the microcontroller to 5V on its GPIO pin when it's off.I think i can just use a PMOS as follows. My microcontroller pin to gate will be floating when it is asleep.
My microcontroller pin is 5 volt tolerantI thought earlier the driver was getting 5V supply. Also, the microcontroller was 3.3V logic, right? If so, your circuit is a bad idea, because you'll be exposing the microcontroller to 5V on its GPIO pin when it's off.
Again, why not just use the enable pins on the driver? No extra components needed (unless I'm misreading the datasheet.)
*** EDIT: I see now that the quiescent current of the driver is relatively high. I can understand why you wouldn't want to rely on enable pins alone if this were a battery powered device and power management was important.
A MOSFET can easily have a much lower voltage drop (a function of Rds-on and current) than a BJT's CE voltage drop, so there's at least one reason.If you need a level shifter, just use use a simple BJT. They usually have lower capacities than fets and are cheaper. Additionally, you don't have to worry about not completely turning them on with only 3.3V. Why use a mosfet here?
Did you see the post #20, the TS said that he used this circuit to drive L293D motor driver and it needs 60mA.If you need a level shifter, just use use a simple BJT.
60 mA on the input or output? If that was an issue, you could use a higher gain BJT or a darlington transistor setup. But then I guess you may as well use a mosfet, unless speed was really an issue.Did you see the post #20, the TS said that he used this circuit to drive L293D motor driver and it needs 60mA.
I think you should reread from the first post, it seems that you missed many points.60 mA on the input or output? If that was an issue, you could use a higher gain BJT or a darlington transistor setup. But then I guess you may as well use a mosfet, unless speed was really an issue.