This is the revision A version of the MidiMotor2 module.

MidiMotor2 Module (Revision A)

Table of Contents

1. Introduction

The MidiMotor2 module is designed to drive to medium (aka midi) sized motors with a maximum current of 3.5 Amperes per motor. The logic circuitry is separated from the motor H-bridges via optoisolators.

2. Programming

{Programming will go here.}

3. Hardware

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

3.1 Circuit Schematic

There is a separate parts list file.

3.1.1 Logic Schematic

The logic section of the MidiMotor2 module is shown below:

MidiMotor2 Logi Schematic
The logic power and CAN signals come in from N4 pins 3 through 8. The CAN signals are connected to the MCP2551 CAN physical layer IC, U5. The transmit and receive pins of the microctroller, (U4 pins 5 and 6) are connected to the other side of U5. Lastly, the RC0 through RC3 are used to drive the quad optoislator, U3, through current limiting resistors R5 through R7.

3.1.2 Power Schematic

Please note that U3 optoisolator shows up in both schematics. There is only one optoisolator, it is just easier to understand what is going on if the optoisolator is present in both schematics. There is no shared ground between the two sides of the optoisolator.

The power section of the MidiMotor2 module is shown below:

MidiMotor2 Power Schematic
Each L298 (U1 and U2) is a dual H-bridge in a Multiwatt-15 package. As per recommended practice, the two H-bridges are ganged together to form a single H-bridge with 3.5 Amp capacity. Power comes in on N3. The dedicated regulator VR1 provides 5 volts for the logic ciruitry. The H-bridge circuitry is always enabled. The Schottky diodes (D1-D8) are used to clamp out unwanted voltage spikes that occur as a result of switching. Each H-bridge is connected to two optoisolators in U3 to allow independent switching of the H-bridge.

3.2 Printed Circuit Board

The printed circuit board files are listed below:

midimotor2_back.png
The solder side layer.
midimotor2_front.png
The component side layer.
midimotor2_artwork.png
The artwork layer.
midimotor2.gbl
The RS-274X "Gerber" back (solder side) layer.
midimotor2.gtl
The RS-274X "Gerber" top (component side) layer.
midimotor2.gal
The RS-274X "Gerber" artwork layer.
midimotor2.gml
The RS-274X "Gerber" mask layer.
midimotor2.drl
The "Excellon" NC drill file.
midimotor2.tol
The "Excellon" tool rack file.

4. Software

The following files are available:

midimotor2.ucl
The MidiMotor2 µCL source code.
midimotor2.asm
The MidiMotor2 assembly code listing
midimotor2.lst
The MidiMotor2 assmbley listing file.
midimotor2.hex
The µCL MidiMotor2 Intel® Hex file.

5. Issues

The following fabrication issues came up:


Copyright © 2005-2007 by Wayne C. Gramlich. All rights reserved.