-->

DC motor driver — do I really need a transistor, can I connect the motor straight to Arduino pin?

E
Elena R.
Asked on June 16, 2026 • TechCrate Bench Q&A
Want to spin a small hobby motor from an Arduino digital pin directly with digitalWrite HIGH. Seems like it should just work like an LED does. Do I actually need a transistor or driver chip in between?
TechCrate editorial answer

Bench Answer

**Don't connect the motor directly to the pin** — you need a transistor or motor driver chip in between. Even a small hobby motor can draw 100-250mA or more (well beyond a pin's ~20-40mA limit) and generates a damaging voltage spike (back-EMF) when switched off that can destroy the Arduino's pin driver circuitry. **Why LEDs are fine but motors are not:** an LED with a current-limiting resistor draws a small, steady current, well under a pin's rating. A hobby motor draws far more, and spikes even higher at startup (stall/inrush current) or under load. **The back-EMF problem:** motors are spinning electromagnets. When power is cut suddenly, the collapsing magnetic field generates a brief high-voltage reverse spike that can destroy the delicate transistors inside the pin driver circuitry.
Unlock the full bench walkthrough

Members get the complete diagnostic workflow, every measurement to take and the verification checklist.

Unlock Digital VIP · $4.99/mo →
← Back to TechCrate Community HubAsk a Bench Question →

Build Hands-On Projects Every Month with TechCrate

Get complete component kits, companion video guides, and 24/7 AI bench troubleshooting delivered to your door starting at $14.99/mo.

Get TechCrate Today (Free Shipping) →

Free Shipping

On orders over $50

Fast Shipping

Ships within 24 hours

Secure Checkout

256-bit SSL encrypted

Family Owned

Since 2013 in Pine Hill, NJ

Follow us for tutorials, product demos, and maker inspiration!
Added to Cart!