Difference between revisions of "Motor"

From BitWizard WIKI
Jump to: navigation, search
m (moved SPI motor to Motor)
(Pinout)
Line 58: Line 58:
  
 
=== Jumper ===
 
=== Jumper ===
 +
 +
The FET drivers need a 8V to 14V power supply. Plese refer to the following table for the coorect jumper settings:<br>
 +
{| border=1
 +
! Motor voltage (connected on pin 5 and 6 of the connector above) !! jumper setting
 +
|-
 +
| <8V || No jumper, external 8V to 14V power source connected to pin 2
 +
|-
 +
| 8V to 14V || Jumper on pins 1 and 2
 +
|-
 +
| >14V || Jumper on pins 2 and 3
 +
|}
  
 
=== LEDs ===
 
=== LEDs ===

Revision as of 17:25, 11 May 2012

The SPI_motor PCB
The SPI_motor PCB

This is the documentation page for the SPI_motor board.

Overview

This board enables you to control two regular (brushed) DC motors, or one stepper motor.

Assembly instructions

None: the board comes fully assembled.

Specifications

Possible Configurations

External resources

Datasheets

The 5A FETs The 15A FETs

Additional software

Related projects

Pinout

For the SPI connector see: SPI_connector_pinout.

The output connector is connected as follows:
(Looking at the business end of the connector, counting from left to right)

pin function
1 Output A1
2 Output A2
3 Output B1
4 Output B2
5 GND
6 Vin

Jumper

The FET drivers need a 8V to 14V power supply. Plese refer to the following table for the coorect jumper settings:

Motor voltage (connected on pin 5 and 6 of the connector above) jumper setting
<8V No jumper, external 8V to 14V power source connected to pin 2
8V to 14V Jumper on pins 1 and 2
>14V Jumper on pins 2 and 3

LEDs

The only LED is a power LED.

jumper settings

See solder jumpers on how to change the solder jumper.

By changing the solder jumper SJ1, you can make connector SPI1 (nearest to the board edge) into the ICSP programming connector for the ATmegaxx8 on the board.

Protocol

For the intro to the SPI and I2C protocols read: SPI versus I2C protocols

The board specific protocol can be found here: DIO_protocol

You should also read the General_SPI_protocol notes.
For arduino, a sample PDE is available, called ardemo_lcd.pde, also at BitWizard software download directory .

This is a demo to send things using SPI to the lcd board. The SPI routines there are applicable for the DIO, 3FETS and 7FETS boards as well.

The software

Default operation

Future hardware enhancements

Future software enhancements

TODO: write a library to make handling this board easy.

Changelog

1.0

  • Initial public release