It is easy to extend number of outputs on a single Pokeys USB card by 80 using PoExtBus interface. All what you need to do is to chain up to 10 8-bit shift registers as per below diagram.
As Prosim737 doesn't support PoExtBus yet a simple interface is required. So, I have made very simple application called HPoExtBus which uses FSUIPC offset to exchange the data.
Download: http://chomikuj.pl/Elymaniac/sim737.pl (password: pokeys)
How to:
1. Open HPoExtBus.exe.config for editing and update the file as per below:
- your Pokeys card serial number e.g. 25123
<setting name="cardID" serializeAs="String">
<value>xxxxx</value>
</setting> - which PoExtBus connection is used: 0=dedicated socket, 1 = pins 35,36,37
<setting name="cardConnection" serializeAs="String">
<value>0</value>
</setting> - select up to 10 FSUIPC offsets you will be using to communicate with Prosim
<setting name="offset1" serializeAs="String">
<value>6740</>
</setting>
example: 0x6740.0 (bit 0) activates port no 7 in HPoExtBus - it is reversed
Remarks:
- HPoExtBus connects to FSUIPC and Pokeys card automatically, it also re-connects in case the card is unplugged or connectivity to FSUIPC is lost;
- it is not required to make any change to Pokeys configuration, this app will activate the PoExtBus;
- click on device\output number to activate it for a while e.g. when testing;
- if connection to FSUIPC is lost all outputs\leds starts blinking;
- FSUIPC offset refresh rate is 200ms, data to Pokeys is sent only when offset value changes.
FYI: It's still beta version and I don't expect further development as I wait for Prosim team adding native support for PoExtBus. However, if you have any questions use comments below this post.