Can I use more than 2 of the relayISOx16 on the Hydra? [4.2 SDK]

Board: FEZ Hydra (Has 9 Type Y Sockets)
Module: relayISOx16 (The 16 relay module)

Can I use more than 2 of the relayISOx16 on the Hydra? The relayISOx16 is a Type Y Socket, but gadgeteer only lets me connect to Socket 3 or 4.

Sounds like a driver problem. Apparently, the driver thinks it requires an “S” type socket. The module clearly requires a “Y” and there are clearly plenty to choose from.

Yep…GadgeteerHardware.xml clearly has a bug…


      <Sockets>
        <!-- This example socket is compatible with socket type S, and it has electrical connections to pins 3,4,5,7,8,9, with 7,8,9 being shareable (SPI bus) -->
        <Socket Left="70" Top="49" Orientation="180" ConstructorOrder="1" TypesLabel="S">
          <Types>
            <Type>S</Type>
          </Types>
          <Pins>
            <Pin Shared="false">3</Pin>
            <Pin Shared="false">4</Pin>
            <Pin Shared="false">5</Pin>
            <Pin Shared="true">7</Pin>
            <Pin Shared="true">8</Pin>
            <Pin Shared="true">9</Pin>
          </Pins>
        </Socket>
      </Sockets>

should be…


        <Socket Left="70" Top="49" Orientation="180" ConstructorOrder="1" TypesLabel="Y">

@ ianlee74,
Did you look at the driver itself? I hope it doesn’t infact rely on SPI too. Then it will be more than just fixing the xml…

It is just an error in the GadgeteerHardware.xml file. The actual driver code doesn’t use SPI at all.

Thanks