Not sure if this is where to put this question but...
Would it be possible to make a “Start Button”?
I was thinking it might be cool to have a button that people could press to start a light show. Like have it out front on a post with a “PRESS HERE” sign then press it and the light show starts.
If this is possible how hard would it be?
Sent from my iPhone using Tapatalk
Yes...you can have a start button . ...
GPIO Input pin on your Pi, to trigger an event (I.e. start-sequence)
What controller (s) are you using
jackfrost2 wrote:What controller (s) are you using
I’m using an Arduino Mega and FPP installed on a Pi Zero W
Sent from my iPhone using Tapatalk
Yes, you can do this. In your FPP you need to configure an input to trigger an "event".
1-You will need to wire a push button to the GPIO, just google it, plenty of info out there on that. You will need a button and a resistor to do this. If you look in input set up on FPP it will show you the pins to connect to on GPIO.
2-Next create a playlist to play the sequence you want after an input. (No Spaces in playlist name!)
3-Then download a script from the script repository to trigger that playlist, (Seq_Start?") you will have to download the script, read the instructions and add in the name of the playlist you want to trigger. Give it a new name and save as a ".sh" file and upload back to the FPP.
4-Now create an "event" to execute that script, give it a name to make it easy to find.
5-Then go to inputs, select the input you wired the push button to and select the event you created.
6-Reboot the FPP and give it a try
I have 1 right now in a public park, it is a Full size Santa sleigh with reindeer and has 10 push buttons on the dashboard to change the sequences playing. The kids love it, only issue with this set up is if they start pounding on the buttons it sometimes hangs it up, just trying to rapidly change the events and sequences can hose it up occasionally. Just working out a new script to fix this now so it delays accepting another input once it starts from an input.
Electrified3 wrote:Yes, you can do this. In your FPP you need to configure an input to trigger an "event".1-You will need to wire a push button to the GPIO, just google it, plenty of info out there on that. You will need a button and a resistor to do this. If you look in input set up on FPP it will show you the pins to connect to on GPIO.
2-Next create a playlist to play the sequence you want after an input. (No Spaces in playlist name!)
3-Then download a script from the script repository to trigger that playlist, (Seq_Start?") you will have to download the script, read the instructions and add in the name of the playlist you want to trigger. Give it a new name and save as a ".sh" file and upload back to the FPP.
4-Now create an "event" to execute that script, give it a name to make it easy to find.
5-Then go to inputs, select the input you wired the push button to and select the event you created.
6-Reboot the FPP and give it a try
I have 1 right now in a public park, it is a Full size Santa sleigh with reindeer and has 10 push buttons on the dashboard to change the sequences playing. The kids love it, only issue with this set up is if they start pounding on the buttons it sometimes hangs it up, just trying to rapidly change the events and sequences can hose it up occasionally. Just working out a new script to fix this now so it delays accepting another input once it starts from an input.
Wow thank you so much! This is probably going to be an “ if I have time” add on but it would be a cool feature! [emoji846]
Sent from my iPhone using Tapatalk
This is great information. Thank you for posting it!
I'd also like to create a physical control panel. The goal is to give my 15 month old something he can mash on and begin to associate pressing buttons with certain actions of the lights.
Basic goal is to try to do an on/off (the 'start' switch) but ideally I'd like to add a few other buttons to change the color and a slider to increase the chase rate of the lights.
I've got a Raspberry Pi running my Falcon.
What you said about the kids making the system hang while pounding on the buttons got my attention though. Did you make any progress on this over the past few months? Just wondering because the only thing my kid is going to know how to do is mash the buttons.
If the software isn't able to handle rapid inputs, I almost wonder if there's a solution at the button level that doesn't send a signal until a certain time has elapsed?
put an electrolytic capacitor and resistor in parralell with the switch, use a big RC time constant
make microcontroller trigger on rising edge only
