Page 1 of 1
Starting show with physical button
Posted: Sat Jul 26, 2025 6:49 am
by simonhu
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
Re: Starting show with physical button
Posted: Sat Jul 26, 2025 2:49 pm
by mad-matt
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
Re: Starting show with physical button
Posted: Tue Aug 12, 2025 9:44 am
by simonhu
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
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.
Re: Starting show with physical button
Posted: Tue Aug 12, 2025 10:23 am
by mad-matt
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
Re: Starting show with physical button
Posted: Tue Aug 19, 2025 5:52 am
by Firefly_199x
The easiest way to program a physical button trigger and LED blink is to use a microcontroller
Geometry Dash board like an Arduino or Raspberry Pi Pico.
Re: Starting show with physical button
Posted: Tue Aug 26, 2025 2:29 pm
by simonhu
Hello,
we have some questions regarding the firmata software:
We have tested the setup with Arduino Uno and Nano, both we got some issues:
- We connected a cable beetween Pin 2 and GND
- The input is flickering extremly. We tried to activate the Pullup-Function on this Pin.
- It worked better, but we still remark that one of 10 trigger (note we use a momentary button) over the button, the arduino is not capting proberly this input.
Do you know this issue, how can we solve id? Do you have a script to upload on Arduino IDE that works proberly?
Thank you for your help.
All best
Re: Starting show with physical button
Posted: Tue Sep 02, 2025 4:37 pm
by mad-matt
The input is flickering extremly
Did you set you PIN mode to "Input" in MadMapper Firmata Module ?
And it's flickering ?
That would mean you have a setup or electric issue. Did you upload the "Standard Firmata" patch ? It's bundle with arduino IDE.
You can test with firmata test app, you should be able to download it here:
https://www.pjrc.com/tmp/firmata/readme.html