reviving a simply old thread
https://forum.allaboutcircuits.com/threads/drive-mosfet-with-3-3v-minimal-component-count.180559/
the circuit from @crutschow is well thought out
https://forum.allaboutcircuits.com/...v-minimal-component-count.180559/post-1649871
The idea is that many 'common' boards (e.g. stm32f103 'blue pill' and various 3.3v ARM mcu boards) are powered from 5v usb and use a 3.3v ldo to get vdd 3v3
I reworked that slightly to look like such, the mosfet is a 2n7000
https://www.onsemi.com/download/data-sheet/pdf/nds7002a-d.pdf
I got a little paranoid about this little plastic mosfet which spec a max Idrain of 200mA for 2n7000 and 100ma for 2n7002, so I placed a 5 ohm resistor at the source, I'm not sure if that'd help. But an idea is that I may 'go beyond spec' and use this say to drive a small motor which may possibly consume up to 100s of mA to perhaps 1A.
The Rds(on) at Vgs ~ 4.5v is given around 2 ohms, so just let say vcc 5v is 'shorted' across mosfet to GND that makes about 7ohm and currents = v / r = 5 / 7 ~ 710 mA, but that is v ^ 2 / r = 5 x 5 / 7 ~ 3.5 watts ! (it would probably 'melt' well, grin).
2n7000 is 'well known' to be a lousy mosfet , to switch on 3.3v gpio, with the spec sheet saying that.
Vgs(th) (Vds = Vgs , Id = 1mA ), = 2.1 - 3v (meh)
hardly very exciting to drive with 3.3v gpio
hence this circuit, which benefits from using the 5v supply common on 'common' mcu boards to get a better Vgs.

note that there is a *catch* in this circuit, the gpio needs to be operated in "open collector" mode, one should not drive the gpio high regardless, or you may get a short circuit at the NPN transistor
The next thing is I try to 'fit' this in a small 'footprint' as is possible.
I tried 'squeezing' it in 0.1" (2.54mm) perfboard, DIP 8 (7.62mm x 7.62mm) 'footprint' failed. Not unless I do a 'real' pcb, but the pieces are too 'fat' to fit a dip8 sized perfboard. like such:
https://www.aliexpress.com/w/wholesale-5x7-paper-pcb.html
laid out on a perf board as like above looks like this

I used 0805 smd resistors while the 2 transistors are through-hole parts, this current pcb (design) fits in a 5 x 5 grid (0.1"(2.54mm) perfboard.
About 25mm x 25mm including the edge cuts.
well, these days, I'd guess the 'easier' way is to use logic level mosfets, that can operate at 3.3v logic levels
https://www.aosmd.com/sites/default/files/res/datasheets/AO3400.pdf
but that these are smd parts, 2n7000 are the 'old' through hole parts.
or perhaps, another simplier way is to 'throw away' the 2n7000 and just use 2n2222 lol
https://forum.allaboutcircuits.com/threads/drive-mosfet-with-3-3v-minimal-component-count.180559/
the circuit from @crutschow is well thought out
https://forum.allaboutcircuits.com/...v-minimal-component-count.180559/post-1649871
The idea is that many 'common' boards (e.g. stm32f103 'blue pill' and various 3.3v ARM mcu boards) are powered from 5v usb and use a 3.3v ldo to get vdd 3v3
I reworked that slightly to look like such, the mosfet is a 2n7000
https://www.onsemi.com/download/data-sheet/pdf/nds7002a-d.pdf
I got a little paranoid about this little plastic mosfet which spec a max Idrain of 200mA for 2n7000 and 100ma for 2n7002, so I placed a 5 ohm resistor at the source, I'm not sure if that'd help. But an idea is that I may 'go beyond spec' and use this say to drive a small motor which may possibly consume up to 100s of mA to perhaps 1A.
The Rds(on) at Vgs ~ 4.5v is given around 2 ohms, so just let say vcc 5v is 'shorted' across mosfet to GND that makes about 7ohm and currents = v / r = 5 / 7 ~ 710 mA, but that is v ^ 2 / r = 5 x 5 / 7 ~ 3.5 watts ! (it would probably 'melt' well, grin).
2n7000 is 'well known' to be a lousy mosfet , to switch on 3.3v gpio, with the spec sheet saying that.
Vgs(th) (Vds = Vgs , Id = 1mA ), = 2.1 - 3v (meh)
hardly very exciting to drive with 3.3v gpio
hence this circuit, which benefits from using the 5v supply common on 'common' mcu boards to get a better Vgs.

note that there is a *catch* in this circuit, the gpio needs to be operated in "open collector" mode, one should not drive the gpio high regardless, or you may get a short circuit at the NPN transistor
The next thing is I try to 'fit' this in a small 'footprint' as is possible.
I tried 'squeezing' it in 0.1" (2.54mm) perfboard, DIP 8 (7.62mm x 7.62mm) 'footprint' failed. Not unless I do a 'real' pcb, but the pieces are too 'fat' to fit a dip8 sized perfboard. like such:
https://www.aliexpress.com/w/wholesale-5x7-paper-pcb.html
laid out on a perf board as like above looks like this

I used 0805 smd resistors while the 2 transistors are through-hole parts, this current pcb (design) fits in a 5 x 5 grid (0.1"(2.54mm) perfboard.
About 25mm x 25mm including the edge cuts.
well, these days, I'd guess the 'easier' way is to use logic level mosfets, that can operate at 3.3v logic levels
https://www.aosmd.com/sites/default/files/res/datasheets/AO3400.pdf
but that these are smd parts, 2n7000 are the 'old' through hole parts.
or perhaps, another simplier way is to 'throw away' the 2n7000 and just use 2n2222 lol
Last edited:
