Difference between revisions of "7FETs"

From BitWizard WIKI
Jump to: navigation, search
(Programming)
Line 51: Line 51:
 
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.
 
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.
  
== Programming ==  
+
== Protocol ==
  
 +
To make the 7fets PCB do things, you need to send things over the SPI bus to the PCB.
 +
 +
The general overview of the protocol is [[General_SPI_protocol|here]].
 +
 +
The specific commands for the 7fets PCB are explained on the page about the spi_dio board, as the two boards share the same protocol: [[spi_dio_protocol]]
 +
 +
For arduino, a sample PDE is available, called ardemo_lcd.pde, also at [http://www.bitwizard.nl/software|the BitWizard software download directory] .
 +
 +
This has routines to send things using SPI to the board, although the actual demo is written for the LCD board.
  
 
== The software ==
 
== The software ==

Revision as of 18:21, 7 March 2012

The SPI_7FETs PCB
The SPI_7FETs PCB

This is the documentation page for the SPI_7FETs board.

Overview

The board has 7 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.

About 1A per output should be possible. Maximum voltage is 20V.

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

Assembly instructions

Possible Configurations

External resources

Datasheets

Additional software

Related projects

Pinout

LEDs

Power connector

The connector SV2 allows you to connect the "powersource".

You can chose two configurations: You can use pin 1-2 as ground and power. You can connect up to 15V (*) to pin 2 referenced to GND on pin 1.

(*) The datasheet for the used transistors mentions "20V", but is is always prudent to keep some margin.

If you want 5V as the powersource, you could put a jumper on pin 2-3. In that case you will have to be aware that you're using the 5V power from the rest of the system. This will be limited by e.g. USB power limits, other devices on the SPI bus, cable thickness and connector capability. But for low-current 5V applications this might be useful.

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 7fets PCB do things, you need to send things over the SPI bus to the PCB.

The general overview of the protocol is here.

The specific commands for the 7fets PCB are explained on the page about the spi_dio board, as the two boards share the same protocol: spi_dio_protocol

For arduino, a sample PDE is available, called ardemo_lcd.pde, also at BitWizard software download directory .

This has routines to send things using SPI to the board, although the actual demo is written for the LCD board.

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