
ROKU_GPIO
BOARD 
Features:
The modes of operations are as follows:
Mode 0: The 6 LED outputs of the Brightsign are directled to outputs 1-6 (same as the LED drives)
Note: The following modes will likely require scripting.
Mode_1: 8 outputs Latch mode as described below
Mode 2: 8 outputs with Flashing capability
Mode 8 Test Mode, the 8 outputs are cycled on 1 at a time
8 Outputs: The Roku LED4 aand LED5 signals are used as a latch signal (change of state). When the LED4 goes high the signals LED0-LED3 pass to the outputs Output0-Output3. When the LED4 signal goes low, the the signals LED0-LED3 are latched to the Outputs 0-3. When the LED5 signal goes High, the signals LED0-LED3 pass to Outputs 4-7. When the LED5 signals goes low, the signals LED0-LED3 are latched to Outputs 5-8.
Flashing Capability: Mode2 is provided so that flashing capability can be accessed. Basically, the GPIO board records bits to be flashed. To put the board in 'record' mode, both bits LED4 and LED5 have to be high at the same time. Then when LED4 goes low, the signals LED0-LED3 are latched in as Flash Enable bits for the low order outputs 0-3. IF LED5 goes low (while LED4 is low), the GPIO board exits record mode. Likewise, if both LED4 and LED5 signals are high and then LED5 signal goes low, then the signals LED0-LED3 are latched in as flashing enable for the high order bits 4-7 (Outputs 4-7)
![]()
HMS_ROKU_GPIO.BAS
BrightScript program for testing the Roku_GPIO board.
Put this file on the 'Compact Flash Card, then run this scrip from the terminal interface or rename it autorun.bas.
If inputs 8 and 9 are not pulled low, then the script runs in mode 0. If either of the switches 8 or 9 are pulled low, then the script assumes mode1 or 2 (8 output mode). Mode2 (Flash record and 8 output) is controlled by inputs 8 and 9. If input 8 is low, then the inputs 0-7 are output on outputs 0-7. If input 9 is low, then the script is running the 'record mode' portion of mode2. Any inputs that are low will be recorded as flash enable bits when input 9 goes high. Return to the 8 output mode if input 8 is low.
| Note: External Supply Voltage: An External Power Supply is needed to power the loads on the output connector. Do not connect any loads that have their own power that exceeds the power as applied to the board using the 'Ext. Power Connector'. Doing so may result in damage to the board. I.E. Suppose that 12 volts is supplied to this board and you have a relay board with it's own power of 24Volts DC that powers the relays. The 24VDC will feed back into the board via the foldback diodes. Note: Foldback diodes are required for inductive loads such as relays or small motors. |
Updated: October 1, 2009