Mechatronics Portfolio
Logan Williamson's Mechatronics Portfolio and Documentation Repository
Classes | Variables
Lab0x04_DRV8847.py File Reference

A driver for controlling motors. More...

Classes

class  Lab0x04_DRV8847.DRV8847
 A motor driver class for the DRV8847 from TI. More...
 

Variables

 Lab0x04_DRV8847.motor_drv = DRV8847(3,Pin.cpu.A15,Pin.cpu.B2)
 
 Lab0x04_DRV8847.motor_1 = motor_drv.motor(3, Pin.cpu.B4, Pin.cpu.B5, 1, 2)
 
 Lab0x04_DRV8847.motor_2 = motor_drv.motor(3, Pin.cpu.B4, Pin.cpu.B5, 3, 4)
 

Detailed Description

A driver for controlling motors.

This file contains a class which can be called to generate a motor driver object. That object allows for control of any subordinate objects generated from a motor class via a single pulse-width modulation channel. This class also allows the user to detect faults from, enable, or disable any subordinate motor objects.

Author
Logan Williamson
Brianna Roberts
Date
02/09/2022