Starting show with physical button
  • simonhu
    member
    Posts: 32
    Joined: Sat Mar 16, 2019 10:23 am
    Location: Switzerland
    Contact:

    Starting show with physical button

    by simonhu » Sat Jul 26, 2025 6:49 am

    Hello, I want to programm a show where I can push a physical button, then the show starts. What is the easiest way to achieve that?:

    - When I push the button, the Show start -> Input trigger
    - When I push the button, the LED around the button is blinking- > Trigger to outside

    Thanks for your help.

    All best
  • mad-matt
    garageCube team
    Posts: 1585
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: Starting show with physical button

    by mad-matt » Sat Jul 26, 2025 2:49 pm

    You can use MadMapper Firmata module & an arduino. MadMapper will handle it without coding (you just have to upload the standard firmata sketch to the arduino). You'll find tons of big buttons on webshops, ie: https://coolcomponents.co.uk/blogs/news ... ome-button
  • simonhu
    member
    Posts: 32
    Joined: Sat Mar 16, 2019 10:23 am
    Location: Switzerland
    Contact:

    Re: Starting show with physical button

    by simonhu » Tue Aug 12, 2025 9:44 am

    Hello,

    thank you for your information. Thats great.

    How is it possible to programm a play button with following conditions:
    • Push a physical button over Arduino Uno / Firmata
    • video starts to play
    During the playout it shall not be possible to restart the video over the button. The button is "blocked". The video is playing until the end. Once stopped the user can push again and the video is playing again.

    Thanks for your help.
  • mad-matt
    garageCube team
    Posts: 1585
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: Starting show with physical button

    by mad-matt » Tue Aug 12, 2025 10:23 am

    In MadMapper 5 you can use the "Idle Cue" module for that. Step by step:

    - Create a cue named "Playback", put the movie restart button in the cue (you can set your movie playback to "Play Once" so it stops on last frame. Also add the Firmata module "enabled" checkbox inside the cue with value "false" (deactivated).
    - Create a cue named "Idle" that just contains Firmata module "enabled" checkbox to value "true"
    - Create an "Idle Cue" module and choose as target the cue named Idle, set the module Timeout to the duration of the movie
    - Right click the "Playback" cue and choose Add Control / MadMapper / Firmata / Pin / 2 / Input (if the button is connected to Pin 2, pin 2 has to be set to mode "Input" in firmata module)

    Now pressing the button will start the cue "Playback" which starts the movie, it disables firmata module so the button become inactive, the movie plays till the end, then the Idle Cue module will trigger the cue "Idle" which will reactivate the firmata module listening for the button. That's one option.
    Note that it would be easier with MadMapper 6 where the button can restart a timeline, the movie could be in a Montage Track so you see exactly where it ends, and you can enable the firmata module with a keyframe at the end of the movie. But since it's a beta version you can still know how to do it in MM 5 hehe

Who is online

Users browsing this forum: No registered users and 42 guests