1
\$\begingroup\$

I'm trying to drive a P-Mosfet logical from a 2-3Decoder 74HC238, the problem is whatever the Input to the MOSFET's gate, I always get a high output on the drain.

Kindly find the attached schematic, if there is a faulty mistake. enter image description here

Q1 is the output, DEM1 is the input from the 74HC238 ( directly connected )

\$\endgroup\$
2
  • \$\begingroup\$ No, you have the drain tied to ground. Perhaps you meant to use an N-channel MOSFET in this circuit. \$\endgroup\$
    – Dave Tweed
    Commented Feb 15, 2014 at 23:52
  • \$\begingroup\$ BTW, if you expect others to read your circuit diagrams, put the inputs on the left, the outputs on the right and the positive supply at the top. \$\endgroup\$
    – Dave Tweed
    Commented Feb 15, 2014 at 23:53

2 Answers 2

2
\$\begingroup\$

I think your circuit was intended to be like the following and you have connected the Source-Drain inverted (and a P type instead on N type).

schematic

simulate this circuit – Schematic created using CircuitLab


Proteus simulation, showing both states

enter image description here


Proteus simulation, showing both states using 74HC238 to drive the gate

enter image description here

\$\endgroup\$
8
  • \$\begingroup\$ I tried your setup with the 2N7000 in the simulator proteus, still it didn't work. That's really weird. \$\endgroup\$ Commented Feb 16, 2014 at 0:30
  • \$\begingroup\$ @AhmedSaleh Works fine for me, please see edit \$\endgroup\$
    – alexan_e
    Commented Feb 16, 2014 at 0:45
  • \$\begingroup\$ Maybe there is a problem with the 74HC238 output? is there something that should I take care of ? \$\endgroup\$ Commented Feb 16, 2014 at 1:28
  • \$\begingroup\$ @AhmedSaleh That works fine too, please see latest edit \$\endgroup\$
    – alexan_e
    Commented Feb 16, 2014 at 1:37
  • 1
    \$\begingroup\$ @AhmedSaleh Using a P-mosfet with the output taken from the drain will have the same inversion problem simulation. The alternative of moving the 360R resistor to the source side will cause problems, as soon as current starts flowing through it the source pin voltage will get higher, reducing Vgs. If you are looking for a one component solution maybe you should consider a NPN used as an emitter follower schematic. \$\endgroup\$
    – alexan_e
    Commented Feb 16, 2014 at 2:07
1
\$\begingroup\$

It looks like you have the right components in the wrong places. Try one of these.

Implementation with a P-channel FET:

schematic

simulate this circuit – Schematic created using CircuitLab

Keeping the P-channel FET, a logic low input will result in the FET conducting, current through R1, and a logic high at the output.

Implementation with an N-channel FET:

schematic

simulate this circuit

Replacing with an N-channel FET, a logic low input will result in the FET not conducting, no current through R1, and a logic high at the output.

Both schematics assume your supply voltage, Vcc, is equivalent to your input voltage. If all you have is a P-channel FET, go with the first schematic. However, N-channel FETs are usually cheaper than a P-channel with similar capability. It also depends when you want a voltage across R1 as well.

\$\endgroup\$
2
  • \$\begingroup\$ I'm not sure if there is a problem with the proteus, it still didn't work :( \$\endgroup\$ Commented Feb 16, 2014 at 0:44
  • \$\begingroup\$ Have you tried isolating the issue at all? For instance, if you configure your circuit as @alexan_e has, will it work? If it does, then maybe something is wrong with your input. If it doesn't, then it must be a component or simulation issue. \$\endgroup\$ Commented Feb 16, 2014 at 0:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.