Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 41

...

GPIO pins allow you to trigger content changes on the player based on input, or send advanced commands to change the state of the player GPIO switches and connected devices to on or off. The GPIO pins, which deliver about 3.3v 24mA *(HS5, LS5, HD5, XD5 and XT5 players prior to Rev G deliver less than 3.3 volts), are ideal for lights, sensors, or buttons. Seehttps://docs.brightsign.biz/space/DOC/2264432656/Connect+the+Player+GPIO for more information on configuring your player hardware and external devices for GPIO.

...

  1. Create an Advanced (Interactive) presentation with four videos, one main video state and three secondary video states (named “A”, “B”, and “C” in Image 1, above)

  2. In Presentation Settings > Interactive > Connectors, set GPIO pins 0-4 to Input and 4-7 to Output as shown in the image.

  3. Under the Events toolbar, select GPIO 0.

  4. Connect the GPIO 0 icon to the main video state and then to the “A” video state. Do the same to connect GPIO 1 to the main video state and the “B” video state, and GPIO 2 to the main video state and “C” video state.

  5. Select the “A”, “B”, and “C” video state in the sandbox and connect the GPIO 3 icon to all of them and then back to the main video state. Now your inputs are set up and we will set up the outputs/voltage.

  6. Select the main video state. In State Properties > Advanced:

    1. Add an Entry Command. Select GPIO from the dropdown menu and set the Command Parameters to On and 4.

    2. Do the same for GPIO ports 5 and 6 as shown in Image 2, below.

    3. Add an Entry Command. Select GPIO from the dropdown menu and set the Command Parameters to Off and 7.

  7. Select the “A” video state. In State Properties > Advanced:

    1. Add an Entry Command. Select GPIO from the dropdown menu and set the Command Parameters to Off and 4.

    2. Do the same for GPIO ports 5 and 6.

    3. Add an Entry Command and set the Command Parameters to On and 7 (so the user can return to the home video by pressing that illuminated LED when the “A” video is playing).

    4. Repeat these steps for video states “B” and “C”.

...

__________________________________________________________________________________________

* HS5, LS5, HD5, XD5 and XT5 players prior to Rev G deliver less than 3.3 volts.