Arduino Motors and Transistors

Arduino Motors and Transistors

This week, we’ll finally be using the Arduino to control some motors! First up, we’ll control a standard DC motor running off a 9V battery with the help of an NPN transistor and a PWM (Pulse Width Modulated) signal from the Arduino.

Arduino Motors and Transistors

Next, it’s onto 180 degree servo motors, which we will power on an independent 5V rail using a voltage regulator. We’ll control the servo using a PWM signal from the arduino, and I’ll show you how you can turn analog distance readings into precise angles for the servo to turn to!

I mention in the video that you can control DC motor direction using an H-Bridge. If you want to wire that up, take a look through this Wikipedia article, and read through this tutorial.

If you want to learn more about analog input filtering in software, check out this example code.


The Arduino Contest has been extended! So don’t forget to submit your project.Arduino Motors and Transistors Schematic

Read more: Arduino Motors and Transistors

Leave a Comment

Your email address will not be published. Required fields are marked *