ME 405: Mechatronics Portfolio
MotorDriver.py File Reference

DC Motor Driver Class
More...

Classes

class  MotorDriver.MotorDriver
  Motor driver class More...
 

Detailed Description

DC Motor Driver Class

Author
Craig Kimball, Miles Young
Date
3/10/2021 This is an updated version of a DC motor driver class created for ME 305. This driver constructs a motor object which is capable of enabling, disabling, or setting the duty cycle of a motor. Updates include the implementation of an external interrupt method triggered by a fault pin, which is now included in the constructor. This external interrupt prevents damage to the motor by disabling and setting the duty cycle to zero if sufficiently high current is detected.
Source https://bitbucket.org/MilesYoung/lab-4-term-project/src/master/Lab09/MotorDriver.py