Remarks

Pololu makes a breakout of this chip to get you started: https://www.pololu.com/product/2999

If you're looking to integrate into your own circuit, you can find an open source hardware design here: https://easyeda.com/bryan_6020/motordriver

The driver can also drive a single stepper motor, though that driver is still planned.

Characteristic Locus
Inheritance System.Object > Tb67h420ftg
Inherited Members System.Object.ToString() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone()
Namespace Meadow.Foundation.Motors
Assembly Tb67h420ftg.dll

Syntax

public class Tb67h420ftg

Constructors

Tb67h420ftg(IIODevice, IPin, IPin, IPin, Nullable<IPin>, Nullable<IPin>, Nullable<IPin>, Nullable<IPin>, Nullable<IPin>, Nullable<IPin>, Nullable<IPin>)

Declaration
public Tb67h420ftg(IIODevice device, IPin inA1, IPin inA2, IPin pwmA, IPin? inB1, IPin? inB2, IPin? pwmB, IPin? fault1, IPin? fault2, IPin? hbMode = default(IPin? ), IPin? tblkab = default(IPin? ))

Parameters

Type Name Description
IIODevice device
IPin inA1
IPin inA2
IPin pwmA
System.Nullable<IPin> inB1
System.Nullable<IPin> inB2
System.Nullable<IPin> pwmB
System.Nullable<IPin> fault1
System.Nullable<IPin> fault2
System.Nullable<IPin> hbMode
System.Nullable<IPin> tblkab

Tb67h420ftg(IPwmPort, IPwmPort, IDigitalOutputPort, Nullable<IPwmPort>, Nullable<IPwmPort>, Nullable<IDigitalOutputPort>, Nullable<IDigitalInputPort>, Nullable<IDigitalInputPort>, Nullable<IDigitalOutputPort>, Nullable<IDigitalOutputPort>)

Declaration
public Tb67h420ftg(IPwmPort inA1, IPwmPort inA2, IDigitalOutputPort pwmA, IPwmPort? inB1, IPwmPort? inB2, IDigitalOutputPort? pwmB, IDigitalInputPort? fault1, IDigitalInputPort? fault2, IDigitalOutputPort? hbMode = default(IDigitalOutputPort? ), IDigitalOutputPort? tblkab = default(IDigitalOutputPort? ))

Parameters

Type Name Description
IPwmPort inA1
IPwmPort inA2
IDigitalOutputPort pwmA
System.Nullable<IPwmPort> inB1
System.Nullable<IPwmPort> inB2
System.Nullable<IDigitalOutputPort> pwmB
System.Nullable<IDigitalInputPort> fault1
System.Nullable<IDigitalInputPort> fault2
System.Nullable<IDigitalOutputPort> hbMode
System.Nullable<IDigitalOutputPort> tblkab

Fields

fault1

Declaration
protected IDigitalInputPort? fault1

Field Value

Type Description
System.Nullable<IDigitalInputPort>

fault2

Declaration
protected IDigitalInputPort? fault2

Field Value

Type Description
System.Nullable<IDigitalInputPort>

hbMode

Declaration
protected IDigitalOutputPort? hbMode

Field Value

Type Description
System.Nullable<IDigitalOutputPort>

hbridgeMode

Declaration
protected Tb67h420ftg.HBridgeMode hbridgeMode

Field Value

Type Description
Tb67h420ftg.HBridgeMode

inA1

Declaration
protected IPwmPort inA1

Field Value

Type Description
IPwmPort

inA2

Declaration
protected IPwmPort inA2

Field Value

Type Description
IPwmPort

inB1

Declaration
protected IPwmPort? inB1

Field Value

Type Description
System.Nullable<IPwmPort>

inB2

Declaration
protected IPwmPort? inB2

Field Value

Type Description
System.Nullable<IPwmPort>

pwmA

Declaration
protected IDigitalOutputPort pwmA

Field Value

Type Description
IDigitalOutputPort

pwmB

Declaration
protected IDigitalOutputPort? pwmB

Field Value

Type Description
System.Nullable<IDigitalOutputPort>

tblkab

Declaration
protected IDigitalOutputPort? tblkab

Field Value

Type Description
System.Nullable<IDigitalOutputPort>

Properties

Motor1

Declaration
public HBridgeMotor Motor1 { get; protected set; }

Property Value

Type Description
HBridgeMotor

Motor2

Declaration
public HBridgeMotor Motor2 { get; protected set; }

Property Value

Type Description
HBridgeMotor

Methods

ValidateConfiguration()

Declaration
protected void ValidateConfiguration()