This is revision A of the DualMotor2Amp module. The status of this project is work in progress.

DualMotor2Amp Module (Revision A)

Table of Contents

This document is also available as a PDF document.

1. Introduction

The DualMotor2Amp module allows for control of up to two small DC motors via pulse width modulation and up to 2 amps per motor. Power is provided via an external terminal block.

2. Programming

{To be written}.

The DualMotor2Amp commands are summarized in the table below:

Command Send/
Receive
Byte Value Discussion
7 6 5 4 3 2 1 0
More commands here.
Shared Commands Send 1 1 1 1 1 c c c Execute shared command ccc.

On power up, the DualMotor2amp module sets all variables to zero. The motor modes default to pulsed forward.

3. Hardware

The hardware consists of a circuit schematic and a printed circuit board.

3.1 Circuit Schematic

The schematic for the DualMotor2amp module is shown below:

DualMotor2amp Schematic

The parts list kept in a separate file -- dualmotor2amp.ptl.

3.2 Printed Circuit Board

The printed circuit files are listed below:

dualmotor2amp_back.png
The solder side layer.
dualmotor2amp_front.png
The component side layer.
dualmotor2amp_artwork.png
The artwork layer.
dualmotor2amp.gbl
The RS-274X "Gerber" back (solder side) layer.
dualmotor2amp.gtl
The RS-274X "Gerber" top (component side) layer.
dualmotor2amp.gal
The RS-274X "Gerber" artwork layer.
dualmotor2amp.drl
The "Excellon" NC drill file.
dualmotor2amp.tol
The "Excellon" NC drill rack file.

4. Software

The DualMotor2amp software is available as one of:

dualmotor2amp.ucl
The µCL source file.
dualmotor2amp.asm
The resulting human readable PIC assembly file.
dualmotor2amp.lst
The resulting human readable PIC listing file.
dualmotor2amp.hex
The resulting Intel® Hex file that can be fed into a PIC12C5xx programmer.

The DualMotor2amp test suite is available as one of:

dualmotor2amp_test.ucl
The µCL source file.
dualmotor2amp_test.asm
The resulting human readable PIC assembly file.
dualmotor2amp_test.lst
The resulting human readable PIC listing file.
dualmotor2amp_test.hex
The resulting Intel® Hex file that can be fed into a PIC16F84 programmer.

5. Issues

The following issues need to be considered:

Copyright (c) 2000-2003 by Wayne C. Gramlich. All rights reserved.