Difference between revisions of "7FETs"
(26 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[File:SPI_6FETs.jpg|thumb|300px|alt=The |
[[File:SPI_6FETs.jpg|thumb|300px|alt=The 7FETs PCB|The 7FETs PCB (SPI version)]] |
||
This is the documentation page for the |
This is the documentation page for the SPI_7FETs and I2C_7FETs boards. That you can buy in the [http://www.bitwizard.nl/shop/expansion-boards/7fets BitWizard shop]. |
||
== Overview == |
== Overview == |
||
Line 7: | Line 7: | ||
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. |
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. |
About 1A per output should be possible. Maximum voltage is 20V. [http://www.bitwizard.nl/contact.php Contact us] if you require a larger voltage. |
||
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 (freewheeling diodes) if you are going to drive inductive loads (like a motor). |
||
== Assembly instructions == |
== Assembly instructions == |
||
None: the board comes fully assembled. |
|||
== Specifications == |
|||
⚫ | |||
The 7FETS board is capable of sinking about 1A per output. We have tested 1.25A 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 1A as the contacts of the connectors are not rated for so much, also the PCB is not equipped for such large currents. But if you need to drive several loads in sequence 1A per port is comfortably possible. |
|||
The manufacturer specifies the maximum current for the case where each fet has the whole board available as a heatsink. |
|||
⚫ | |||
== External resources == |
== External resources == |
||
Line 21: | Line 29: | ||
=== Datasheets === |
=== Datasheets === |
||
[http://www.irf.com/product-info/datasheets/data/irfml8244pbf.pdf The FETs] |
|||
== Additional software == |
== Additional software == |
||
Line 31: | Line 39: | ||
== Pinout == |
== Pinout == |
||
For the SPI connector see: [[SPI_connector_pinout]]. |
|||
The output connector is connected as follows: |
|||
⚫ | |||
{| border=1 |
|||
! pin !! function !! |
|||
|- |
|||
| 1 || DEV POWER || |
|||
|- |
|||
| 2 || OUT0 || |
|||
|- |
|||
| 3 || DEV POWER || |
|||
|- |
|||
| 4 || OUT1 || |
|||
|- |
|||
| 5 || DEV POWER || |
|||
|- |
|||
| 6 || OUT2 || |
|||
|- |
|||
| 7 || DEV POWER || |
|||
|- |
|||
| 8 || OUT3 || |
|||
|- |
|||
| 9 || DEV POWER || |
|||
|- |
|||
| 10 || OUT4 || |
|||
|- |
|||
| 11 || DEV POWER || |
|||
|- |
|||
| 12 || OUT5 || |
|||
|- |
|||
| 13 || DEV POWER || |
|||
|- |
|||
| 14 || OUT6 || |
|||
|} |
|||
The jumper has: 1: GND, 2: DEV POWER, 3: 5V (from SPI). |
|||
Put the jumper on 2-3 to use the SPI power (from the arduino? i.e. from USB? -> max at most 400 mA!) |
|||
== Jumper settings == |
|||
Use a connector on 1-2 to provide a more powerful power source for the devices that the board drives. |
|||
⚫ | |||
== Power connector == |
|||
The connector SV2 allows you to connect the "power source". |
|||
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. |
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. |
||
Line 43: | Line 92: | ||
(*) The datasheet for the used transistors mentions "20V", but is is always prudent to keep some margin. |
(*) The datasheet for the used transistors mentions "20V", but is is always prudent to keep some margin. |
||
If you want 5V as the |
If you want 5V as the power source, 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. |
|||
== Powering 7fets == |
|||
Although some BitWizard boards will work with 3.3V as the power supply, the 7fets board needs to be supplied with 5V as this voltage is used to drive the FETs. If you need operation at 3.3V, [http://www.bitwizard.nl/contact.php contact us]: we can find FETs to populate the boards with that work at 3.3V. |
|||
== Protocol == |
|||
To make the 7FETS PCB do things, you need to send things over the SPI or I2C 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: [[DIO_protocol]] . Where the SPI_DIO drives an output high, the 7fets 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] . |
|||
This is a demo to send things using SPI to the lcd board. The SPI routines there are applicable for the dio and 7fets boards as well. |
|||
== The software == |
== The software == |
||
Line 59: | Line 128: | ||
== Future software enhancements == |
== Future software enhancements == |
||
TODO: write a library to make handling this board easy. |
|||
== Changelog == |
== Changelog == |
||
Line 65: | Line 135: | ||
=== 1.0 === |
=== 1.0 === |
||
* Initial public release |
* Initial public release |
||
== Useful links == |
|||
[http://www.bitwizard.nl/shop/expansion-boards/7fets The 7FETs BitWizard shop page]<br> |
|||
[http://www.irf.com/product-info/datasheets/data/irfml8244pbf.pdf The FETs datasheet]<br> |
|||
[[DIO protocol]]<br> |
|||
[[SPI connector pinout]] |
Latest revision as of 17:10, 5 November 2015
This is the documentation page for the SPI_7FETs and I2C_7FETs boards. That you can buy in the BitWizard shop.
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. Contact us if you require a larger voltage.
You will have to provide your own protection circuits (freewheeling diodes) if you are going to drive inductive loads (like a motor).
Assembly instructions
None: the board comes fully assembled.
Specifications
The 7FETS board is capable of sinking about 1A per output. We have tested 1.25A 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 1A as the contacts of the connectors are not rated for so much, also the PCB is not equipped for such large currents. But if you need to drive several loads in sequence 1A per port is comfortably possible.
The manufacturer specifies the maximum current for the case where each fet has the whole board available as a heatsink.
Possible Configurations
External resources
Datasheets
Additional software
Related projects
Pinout
For the SPI connector see: SPI_connector_pinout.
The output connector is connected as follows:
pin | function | |
---|---|---|
1 | DEV POWER | |
2 | OUT0 | |
3 | DEV POWER | |
4 | OUT1 | |
5 | DEV POWER | |
6 | OUT2 | |
7 | DEV POWER | |
8 | OUT3 | |
9 | DEV POWER | |
10 | OUT4 | |
11 | DEV POWER | |
12 | OUT5 | |
13 | DEV POWER | |
14 | OUT6 |
The jumper has: 1: GND, 2: DEV POWER, 3: 5V (from SPI).
Put the jumper on 2-3 to use the SPI power (from the arduino? i.e. from USB? -> max at most 400 mA!)
Use a connector on 1-2 to provide a more powerful power source for the devices that the board drives.
LEDs
Power connector
The connector SV2 allows you to connect the "power source".
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 power source, 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.
Powering 7fets
Although some BitWizard boards will work with 3.3V as the power supply, the 7fets board needs to be supplied with 5V as this voltage is used to drive the FETs. If you need operation at 3.3V, contact us: we can find FETs to populate the boards with that work at 3.3V.
Protocol
To make the 7FETS PCB do things, you need to send things over the SPI or I2C 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: DIO_protocol . Where the SPI_DIO drives an output high, the 7fets 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 the 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 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
Useful links
The 7FETs BitWizard shop page
The FETs datasheet
DIO protocol
SPI connector pinout