Difference between revisions of "3FETs"

From BitWizard Wiki
Jump to navigation Jump to search
m (moved SPI 3FETs to 3FETs)
Line 1: Line 1:
This is the documentation page for the SPI_3FETs board.
This is the documentation page for the SPI_3FETs and I2C_3FETs boards.


== Overview ==
== Overview ==


The board has 3 fets that allow you to pull a pin of a load low. You would normally tie the other end of your load directly to the powersupply.
The board has 3 FETs that allow you to pull a pin of a load low. You would normally tie the other end of your load directly to the power supply.


About 5A per output should be possible. Maximum voltage is 30V.
About 5A per output is possible. Maximum voltage is 24V.


You will have to provide your own protection circuits if you are going to drive inductive loads (like a motor).
You will have to provide your own protection circuits if you are going to drive inductive loads (like a motor).
Line 15: Line 15:
== Specifications ==
== Specifications ==


The 3fets board is capable of sinking about 5A per output. We have tested A and the FET became slightly warm, as predicted by theory.
The 3FETs board is capable of sinking about 5A per output. We have tested A and the FET became slightly warm, as predicted by theory.


Although the specifications for the FETs allow a larger current, it is not recommended to exceed the 5A
Although the specifications for the FETs allow a larger current, it is not recommended to exceed the 5A
Line 36: Line 36:


For the SPI connector see: [[SPI_connector_pinout]].
For the SPI connector see: [[SPI_connector_pinout]].

For the I2C connector see: [[I2C_connector_pinout]].


The output connector is connected as follows:
The output connector is connected as follows:
Line 73: Line 75:
== Protocol ==
== Protocol ==


To make the 3fets PCB do things, you need to send things over the SPI bus to the PCB.
To make the 3fets PCB do things, you need to send things over the SPI or I2C bus to the PCB.

For the intro to the SPI and I2C protocols read: [[SPI versus I2C protocols]].


The general overview of the protocol is [[General_SPI_protocol|here]].
In case of SPI, please read the [[General_SPI_protocol]] notes.


The specific commands for the 3fets PCB are explained on the page about the spi_dio board, as the two boards share the same protocol: [[spi_dio_protocol]] . Where the SPI_DIO drives an output high, the 3fets board will drive the output pin LOW when the pin is driven active.
The specific commands for the 3fets PCB are explained on the page about the spi_dio board, as the two boards share the same protocol: [[dio_protocol]] . Where the SPI_DIO drives an output high, the 3fets board will drive the output pin LOW when the pin is driven active.


For arduino, a sample PDE is available, called ardemo_lcd.pde, also at [http://www.bitwizard.nl/software|the BitWizard software download directory] .
For arduino, a sample PDE is available, called ardemo_lcd.pde, also at [http://www.bitwizard.nl/software|the BitWizard software download directory] .

Revision as of 16:56, 11 May 2012

This is the documentation page for the SPI_3FETs and I2C_3FETs boards.

Overview

The board has 3 FETs that allow you to pull a pin of a load low. You would normally tie the other end of your load directly to the power supply.

About 5A per output is possible. Maximum voltage is 24V.

You will have to provide your own protection circuits if you are going to drive inductive loads (like a motor).

Assembly instructions

None: the board comes fully assembled.

Specifications

The 3FETs board is capable of sinking about 5A per output. We have tested A and the FET became slightly warm, as predicted by theory.

Although the specifications for the FETs allow a larger current, it is not recommended to exceed the 5A

Possible Configurations

External resources

Datasheets

The FETs

Additional software

Related projects

Pinout

For the SPI connector see: SPI_connector_pinout.

For the I2C connector see: I2C_connector_pinout.

The output connector is connected as follows:

pin function
1 OUT0
2 OUT1
3 OUT2
4 V+
5 V+
6 V+
7 GND
8 GND

LEDs

The only LED is a power-LED.

Power connector

jumper settings

See solder jumpers on how to change the solder jumper.

By changing the solder jumper SJ1, you can make the connector nearest the board edge into the ICSP programming connector for the attiny44 on the board.

Protocol

To make the 3fets PCB do things, you need to send things over the SPI or I2C bus to the PCB.

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

In case of SPI, please read the General_SPI_protocol notes.

The specific commands for the 3fets PCB are explained on the page about the spi_dio board, as the two boards share the same protocol: dio_protocol . Where the SPI_DIO drives an output high, the 3fets board will drive the output pin LOW when the pin is driven active.

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 and 3fets 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