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
Details
- Published
- Oct 22, 2026, 3:56 AM
- Length
- 0:42 (42 s)
- Format
- Short (3 min or less)
- Category
- Education
- Audio language
- EN-US
- Quality
- HD
- Captions
- No
- Made for kids
- No
- Licensed content
- Yes
- Video ID
- iSVx7eaob3E
More from Inside Embedded | Polezero
Series vs Parallel Batteries, Explained with One Bulb599 views · 7h ago · +70/h
How Your Code Actually Spins a Motor (STM32 Registers to BLDC)4.4K views · 14h ago · +223/h
4 Diodes Turn AC into DC. Flip One and It Burns3.3K views · 1d ago · +46/h
Motor Control: What Happens When the Load Changes?516 views · 2d ago · +16/h
Unplugged, but This Capacitor Can Still Shock You1.1K views · 2d ago · +3/h
Everything About CAN Bus | CAN Protocol Explained: Arbitration, Frames, CAN FD, STM32 & DBC42.4K views · 2d ago · +578/h
Why Clocks Use This Tiny Crystal12.5K views · 2d ago · +1.2K/h
Why Not Just Use HAL?4.8K views · 3d ago · +23/h
Statistics from the YouTube Data API, tracked by FameX. Views per hour, revenue and comparisons are FameX estimates.