this post was submitted on 11 Jul 2023
46 points (100.0% liked)
Ask Electronics
3313 readers
10 users here now
For questions about component-level electronic circuits, tools and equipment.
Rules
1: Be nice.
2: Be on-topic (eg: Electronic, not electrical).
3: No commercial stuff, buying, selling or valuations.
4: Be safe.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine.
The transistor is a 2N4401. From the datasheet, V~BE(sat,max)~ = 1.2 V and h~FE(min)~ = 20, so it could drive ~60 mA in the worst case
Thanks for checking the datasheet!
Awesome. That agrees with what I calculated as well. I'm a jack when it comes to electronics.
Thank you much for the help!