NA v1.1.4: Difference between revisions

From Alteeve Wiki
Jump to navigation Jump to search
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{na_header}}
{{na_header}}


This version of the Node Assassin hardware implements multiplexers (mux) on the outputs to the optoisolator circuits. This enables an initial support of 16 nodes and codifies the new 2-port per node setup to allow fine grained control of both power and reset switches. On the input side, a simple demultiplexer (demux) will read the 16 inputs from the nodes' power LED pins to tell if a node is really dead after a fence call. These will be read on the Arduino's analog input lines.
{|style="width: 100%; align: right;"
|[[Image:na_artsy_view.jpg]]
|}


'''Note''': The current design calls for two 1:16 mux connected via a 1:2 mux to get the 32 ports needed. This may be replaced by a '''MAX7221''' controller.
This version of the Node Assassin hardware implements an independent sense circuit which is to be fed from the nodes power LED line. This is used to verify when a node truly has died. This brings Node Assassin to fully support all of the fence daemon's recommended features.


= Output Block Diagram =
= Part List =


<source lang="text">
* 1x Arduino: [http://creatroninc.com/product.php?ProductID=60 Duemilanova]
                                                            <- Outputs to opto-isolated circuits ->
* 1x Network Shield: [http://creatroninc.com/product.php?ProductID=72 Assembled]
        1  2  3  4   5  6  7  8  9  10  11  12  13  14  15  16              17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32
* 1x Protoboard: [http://creatroninc.com/product.php?ProductID=48 Lab-Easy PADS-4] (or equivalent)
        ^  ^  ^  ^  ^  ^  ^  ^  ^  ^  ^  ^  ^  ^  ^  ^                ^  ^  ^  ^  ^  ^  ^  ^  ^  ^  ^  ^  ^  ^  ^  ^
* 3x Optoisolators: [http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=160-1364-5-ND LTV-846] (4 circuits/chip)
        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
* 1x Inverter: [http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=MM74HC540N-ND 74HC540] (8-channel high-power; drives 8x 10mA LED)
        -+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-              -+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
* 1x Buffer: [http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=MM74HC541N-ND 74HC541] (8-channel high-power; drives 8x 10mA LED)
S0 ----/                                                               \    S0 ----/                                                               \
* 1x OR-Gate: [http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=MM74HC32N-ND 74HC32] (Quad OR Gate)
S1 ---/                                                                 \    S1 ---/                                                                 \
* 8x Diode: [http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=1N4148TACT-ND 1N4148] (Diode)
S2 --/                                                                   \  S2 --/                                                                   \
Either:
S3 -/                                                                     \  S3 -/                                                                     \
* 4x Green LEDs (max 10mA)
  /_______________________________________________________________________\    /_______________________________________________________________________\
* 4x Red LEDs (max 10mA)
                                      |                                                                            |
OR (harder to find)
                                      \-----------------------------------.   .------------------------------------/
* 4x Bicolour LEDs: [http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=350-1839-ND 350-1839-ND] (Bicolour Red/Green, 2x1 stack, common cathode, max 10mA/colour)
                                                                          |  |
                                                                          -+---+-
                                                                    S4 -/       \
                                                                        /_________\
                                                                            |
                                                                            ^
                                                                    Input from Arduino


Note: Future 1:2 mux can be replaced by a 1:4 and connected to two more 1:16 for a total of 64 outs.
= Cables =


Arduino digital ports (set as OUT):
You will need to make custom cables with pass through connectors to properly use Node Assassin. The only real requirement is that the connector attaching to the Node Assassin be 1x4 wide, 2.54 pitch female connector. Personally, I like to run a common ground to the power button connector and then fan it out to the other two connectors. Each distal connector needs to have a male pass-through connector so that you can still plug in the case cables.
2 -> Input
3 -> S0
4 -> S1
5 -> S2
6 -> S3
7 -> S4
8 -> n/c
9 -> n/c
</source>


= Output Isolated Circuit Block Diagram =
[[Image:na_v1.1.4_protoshield_variant_cable_01.jpg|thumb|800px|center|Example cable made using off-the-shelf parts.]]


<source lang="text">
Note that if your motherboard uses the three-pin wide header for the power LED, just use a knife tip to swap out the connector on the NA cable with the chassis cable.
</source>


= Input Block Diagram =
= Diagrams =


<source lang="text">
== Circuit ==
</source>


= Input Isolated Circuit Block Diagram =
[[Image:na_v1.1.4_circuit_diagram.png|thumb|900px|center|Circuit diagram for the four-port Node Assassin v1.1.4.]]


<source lang="text">
== PADS-4 Layout ==
</source>


This is the version of the board without the wiring and with minimal wiring (missing the cross connects). [[Media:na_v1.1.4_layered_wiring_diagram.xcf|Here]] is an [[XCF]] formatted copy of the board layout with all the wiring on different layers. Open it in The GIMP and you can then selectively hide or show layers to see how the wiring works.
* [[Media:na_v1.1.4_layered_wiring_diagram.xcf|Download]] the layered [[XCF]] component placement and wiring diagram.
{|
|[[Image:na_v1.1.4_full_build_06.jpg|thumb|400px|center|Board Layout preview using the PADS-4 prototyping board. Completed build pics - top view.]]
|[[Image:na_v1.1.4_full_build_07.jpg|thumb|400px|center|Board Layout preview using the PADS-4 prototyping board. Completed build pics - bottom view.]]
|-
|colspan="2"|[[Image:na_v1.1.4_full_build_05.png|thumb|800px|center|Board Layout preview using the PADS-4 prototyping board. All wiring layers hidden.]]
|-
|colspan="2"|[[Image:na_v1.1.4_full_build_04.png|thumb|800px|center|Board Layout preview using the PADS-4 prototyping board. All the wiring visible. It's a mess, you really need to see the layered version to be able to follow the wiring.]]
|}
== Case ==
* [[Possible Cases]]


{{na_footer}}
{{na_footer}}

Latest revision as of 05:38, 7 April 2010

 Node Assassin :: NA v1.1.4

This version of the Node Assassin hardware implements an independent sense circuit which is to be fed from the nodes power LED line. This is used to verify when a node truly has died. This brings Node Assassin to fully support all of the fence daemon's recommended features.

Part List

Either:

  • 4x Green LEDs (max 10mA)
  • 4x Red LEDs (max 10mA)

OR (harder to find)

  • 4x Bicolour LEDs: 350-1839-ND (Bicolour Red/Green, 2x1 stack, common cathode, max 10mA/colour)

Cables

You will need to make custom cables with pass through connectors to properly use Node Assassin. The only real requirement is that the connector attaching to the Node Assassin be 1x4 wide, 2.54 pitch female connector. Personally, I like to run a common ground to the power button connector and then fan it out to the other two connectors. Each distal connector needs to have a male pass-through connector so that you can still plug in the case cables.

Example cable made using off-the-shelf parts.

Note that if your motherboard uses the three-pin wide header for the power LED, just use a knife tip to swap out the connector on the NA cable with the chassis cable.

Diagrams

Circuit

Circuit diagram for the four-port Node Assassin v1.1.4.

PADS-4 Layout

This is the version of the board without the wiring and with minimal wiring (missing the cross connects). Here is an XCF formatted copy of the board layout with all the wiring on different layers. Open it in The GIMP and you can then selectively hide or show layers to see how the wiring works.

  • Download the layered XCF component placement and wiring diagram.
Board Layout preview using the PADS-4 prototyping board. Completed build pics - top view.
Board Layout preview using the PADS-4 prototyping board. Completed build pics - bottom view.
Board Layout preview using the PADS-4 prototyping board. All wiring layers hidden.
Board Layout preview using the PADS-4 prototyping board. All the wiring visible. It's a mess, you really need to see the layered version to be able to follow the wiring.

Case

 

Input, advice, complaints and meanderings all welcome!
Digimer digimer@alteeve.ca https://alteeve.ca/w legal stuff:  
All info is provided "As-Is". Do not use anything here unless you are willing and able to take resposibility for your own actions. © 1997-2013
Naming credits go to Christopher Olah!
In memory of Kettle, Tonia, Josh, Leah and Harvey. In special memory of Hannah, Jack and Riley.