Tech & AIInside Embedded | PolezeroWhy an Arduino Needs a Transistor to Run a Motor

Why an Arduino Needs a Transistor to Run a Motor

Short0:42EducationPublished Oct 22, 2026, 3:56 AM · 17h ago
Views
1,338
+0 views/hour
Views / hour now
0
measured 15m ago
Peak views / hour
239
7h ago
First 24 hours
—
not tracked from upload
Engagement
3.1%
likes + comments / views
Likes
40
3.0% of views
Comments
2
0.15% of views
Est. ad revenue
$0–$0
lifetime, $0.03–0.08 RPM

Checked every 30 min while the video is this age · last check 15m ago · next in 14 min. YouTube itself updates public counts with a short delay.

Avg views / day
1.3K
since upload
vs channel median
0.1×
this video's views ÷ the channel's usual
Rank in channel
#16
of 23 tracked

Views over time

35 readings

Total views Views gained per hour

Description

Wire a DC motor straight to an Arduino Uno R3 pin, and you can fry the pin. Here's why we put a transistor in between, and how a small current switches on a big one. On the Uno R3 (ATmega328P), one pin's absolute maximum is 40mA, and 20mA or less is recommended, so stay well below the maximum. Even a small DC motor can draw hundreds of milliamps as it starts up, so don't run it straight from a pin. An NPN transistor has three legs: base, collector and emitter. A small current from base to emitter opens the way for a big current to flow from collector to emitter. So the MCU pin only supplies a small base current, and the transistor carries the motor current for it. Always add a resistor on the base (for example 220Ω) to limit the base current. Put a diode across the motor, band toward the motor's + terminal, to catch the voltage kick from its coil when you switch it off. Transistor pinouts vary by part, so check the datasheet. The heat colors are a thermal-style visual. #transistor #arduino #DCmotor #electronics #insideembedded
Tags
NPN transistortransistor as a switchArduino motorArduino Uno R3ATmega328PArduino pin current40mA absolute maximumbase resistor220 ohm resistorflyback diodeDC motor drivermotor startup currenttransistor pinoutelectronics basicsInside Embedded

Statistics from the YouTube Data API, tracked by FameX. Views per hour, revenue and comparisons are FameX estimates.