Previous in Forum: Looking for Insights on WordPress SEO Best Practices in Austin-Based Markets   Next in Forum: Is There More to Electromagnetics than Maxwell's Equations?
Close
Close
Close
Rate Comments: Nested
Anonymous Poster #1

NPN Transistor

11/25/2025 2:47 AM

Hi everyone,

I’m working on a project that needs a small switch to control a motor and drive an LED strip, and I picked the PN2222ATFR because it’s a reliable general-purpose NPN transistor rated for up to 1 A collector current and about 40 V Vce max.

In my setup, I’m using it to switch the ground side of the motor. I’m driving the base from a microcontroller pin through a 1 kΩ resistor, and I’ve added a 0.1 µF bypass capacitor near the transistor to keep the switching clean. The emitter is tied to ground, the collector goes to the motor’s ground wire. I’m powering the motor from a 12 V rail separate from the microcontroller’s 5 V logic.

My next steps are to check how hot the transistor gets under continuous load and whether it needs a small heatsink or just good PCB copper area for cooling. I’m also watching for any base-emitter reverse breakdown or issues when switching inductive loads (so I plan to add a flyback diode across the motor).

If anyone here has used the PN2222ATFR in similar switching roles, I’d love to hear how you managed the base drive resistor value, cooling approach, and whether you added special protections for inductive loads (like snubbers or diodes). Thanks!

Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".
2
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15602
Good Answers: 982
#1

Re: NPN transistor

11/25/2025 8:16 AM

Depending on how much inertia your motor moves, a resistor in series with the flyback diode might be a good idea to prevent diode damage. This will increase the voltage the motor produces in flyback and how long it takes for things to stop.

__________________
"Don't disturb my circles." translation of Archimedes last words
Reply Good Answer (Score 2)
Reply to Forum Thread

Good Answers:

These comments received enough positive votes to make them "good answers".

Previous in Forum: Looking for Insights on WordPress SEO Best Practices in Austin-Based Markets   Next in Forum: Is There More to Electromagnetics than Maxwell's Equations?

Advertisement