Objectives | Components | Overview | Process | Submission | Grading

Lab 3: DC, Steppers and Servos, Oh My!

DUE: In class, May 21 2018

Objectives

Components

Overview

In this lab, we're going to wire up our first motors and make sure we can make the motors go.

Exercise 1: DC Motor

In this exercise, wire up your DC motor.
  1. Build out the circuit below:
  2. That transistor is a PN2222 (NPN).
  3. Fire up the IDE.
  4. Write a script to turn the motor on full speed.
  5. Modify your script to run the motor at half speed.
Questions to ask yourself:
  1. You got the motor moving at partial speed and full speed. How can you make the motor go the other way?
  2. What is the purpose of the diode in this circuit?
  3. What is the purpose of the transistor in this circuit?
  4. What is the operating voltage of this motor?

Exercise 2: Servo Motor

  1. Build out the circuit below:
  2. Write a script to turn the motor on full speed.
  3. Modify your script to run the motor at half speed.
Questions to ask yourself:

Exercise 3: Stepper Motor

  1. We're going to build out the circuit specified by this diagram:
  2. Questions to ask yourself:

    1. Why can't we drive a stepper motor without an H-Bridge or other transistors?

    Submission

    Show your build to Dr. Slaughter to receive credit for it by the end of class.

    Grading

    Questions to ask yourself:
    1. Build 1: Is your motor moving?
    2. Are your LEDs blinking?
    3. Can you explain why they're blinking?
    4. Did you build the correct circuit?