Asked — Edited

Switching Transistor

I'd like to control a small DC motor pulling from a 7.2V battery using a switching transistor connected to one of the EZ-B digital ports and wanted to be 100% sure I was doing this properly. I think the way it works is that I connect the base of the transistor to the PWM pin of one of the Digital Ports, the collector to the positive lead of my battery, and the emitter to the DC motor, right? Also, which transistor should I be using?


ARC Pro

Upgrade to ARC Pro

ARC Pro is more than a tool; it's a creative playground for robot enthusiasts, where you can turn your wildest ideas into reality.

#1  

I think a dc speed controller would be better as I had the same problem i choosed the speed controller instead of the transistor. Speed controllers come with voltage controls and some more protections for the motor, battery and ez board

#2  

In case anyone is trying to use a transistor to control a small DC motor, I got it working using a TIP120 Darlington Transistor. I connected the base to a PWM pin of one of the Digital Ports, the collector to the ground from the motor, and the emitter to the ground from the battery pack.

Happy building!

#3  

Here's a wiring diagram DJ posted on a different thread. Re-posting in this thread for quick reference.

User-inserted image

#4  

I just used this today for a couple of items I wanted to turn on and it works brilliantly.