Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Remember the adage that just because two things can be connected doesn't mean they should be.
The best way to get productive answers is for you to describe what you want to accomplish.
For example, are you trying to make some sort of push/pull driver?
John
is there any problem if i connect the source to the battery ???
Of course not, but it makes a difference which terminal of the battery you connect it to.
First, be absolutely sure you properly identify the source, drain and gate pins of your mosfet. If in doubt, read the datasheet.
Second, yes, with a PNP, the source is often connected to the positive terminal of the battery or power source.
Did you look at the two links I gave you? The second one, in particular, shows exactly that configuration.
John
After all of this discussion, why are you still trying to use that failed design? Try using a single P-channel mosfet in the proper orientation.
John
So, you appear to want a dual supply (Vbatt and Vin). Why not replace everything in the red outline with a diode. Thus the battery would go to diode anode (+), and the cathode ("bar" side) would go to the cathode of the diode from Vin. In other words, the diode from Vin (D11) does the same thing as this proposed new diode from the battery would do.
When Vin > Vbatt, then Vin will supply power to the rest of the circuit. When Vbatt > Vin or Vin is absent, then Vbatt will supply the power.
John
View attachment 69977