DiyLightAnimation
Hardware => Panther DMX Player => Topic started by: TexasStingray on February 28, 2013, 10:42:36 am
-
Planned Enhancements:
A: Create a control file ("CONTROL.TXT"). Changing it to a CSV file to be easy to edit with any text editor. It will allow you to:
1. specify the number of times to run the show, from infinite to 255 times 0 (infinite) to 4294967295. DONE
2. specify the delay between the start of the next show in milliseconds with a maximum if 260,100 minutes = 4335 hours or 180.625 days from 0 to 4294967295 ms = 4294967.295 seconds = 71582.78825 minutes. DONE
3. specify the delay between sequences in milliseconds from 0 to 65,025 = 1083.75 minutes = 180.0625 hours 4294967295 ms = 4294967.295 seconds = 71582.78825 minutes. DONE
4. specify a time in milliseconds to wait before starting the show after a reset/power up from 0 to 4294967295 ms = 4294967.295 seconds = 71582.78825 minutes = 1193.04647083333 hours. DONE
5. adding reserved word for "--STOP--" to show file to stop playing when reached in the show file. DONE
B. Convert Red Power LED to be use for additional meanings like, show stopped.
Considering Enhancement:
A: Adding a stop/restart button: not sure why you could not just unplug it and accomplish the same thing.
-
""B: Adding a stop/restart button: not sure why you could not just unplug it and accomplish the same thing.""
Can't this be done now by triggering a reset? This would, when coupled with a "STOP" directive in the show file, allow you to have a public pushbutton to trigger the sequence.
-
while making changes the case would be good with a plexaglass window for leds
i did this to somewireless cases by drilling a 1/4" hole in case and silicone plexiglass behind the hole
helps with waterproofing the unit for installing outdoors
-
""B: Adding a stop/restart button: not sure why you could not just unplug it and accomplish the same thing.""
Can't this be done now by triggering a reset? This would, when coupled with a "STOP" directive in the show file, allow you to have a public pushbutton to trigger the sequence.
So if we put a STOP as the last thing is the show file after the show it would stop. then when someone press reset it would start back up and run until the STOP.
So all I would have to do is the STOP part in the program for the reserve word.
-
""B: Adding a stop/restart button: not sure why you could not just unplug it and accomplish the same thing.""
Can't this be done now by triggering a reset? This would, when coupled with a "STOP" directive in the show file, allow you to have a public pushbutton to trigger the sequence.
So if we put a STOP as the last thing is the show file after the show it would stop. then when someone press reset it would start back up and run until the STOP.
So all I would have to do is the STOP part in the program for the reserve word.
That seems to work for me. I could even see using a track in the sequence to drive a lockout so once the button was pressed it could not be pressed again until the sequence finished.
-
Just a thought - what if you could load a SD card with say 5 sequences then have 5 trigger inputs to the ATMEGA chip to run the seq - something like this
if trigger 1 true then run seq file 1
if trigger 2 true then run seq file 2
so on so on
May have to address priority for multiple triggers on but this way someone could set up say a sequence for 5 events and just flip a switch to activate.
Ted K
-
Just a thought - what if you could load a SD card with say 5 sequences then have 5 trigger inputs to the ATMEGA chip to run the seq - something like this
if trigger 1 true then run seq file 1
if trigger 2 true then run seq file 2
so on so on
May have to address priority for multiple triggers on but this way someone could set up say a sequence for 5 events and just flip a switch to activate.
Ted K
Sounds like the making of my next project a Panther DMX Server that will communicate with the Player and provide web access via a browser.
-
Just a thought - what if you could load a SD card with say 5 sequences then have 5 trigger inputs to the ATMEGA chip to run the seq - something like this
if trigger 1 true then run seq file 1
if trigger 2 true then run seq file 2
so on so on
May have to address priority for multiple triggers on but this way someone could set up say a sequence for 5 events and just flip a switch to activate.
Ted K
Sounds like the making of my next project a Panther DMX Server that will communicate with the Player and provide web access via a browser.
Funny, I'd been thinking that as well. I was actually thinking along raspberry pi lines, but whatever you can come up with.
-
In order to do any of this would need to modify code on the ATMEGA chip and am not sure Scott Wanner is willing to give up his hard work. Personally I would like to have a chance to program a AT chip from scratch and just see if I can get it to work and how the code works. That's just for my education I was planning on trying to use something similar to this for halloween where I could have multiple events happen when someone went by a section of yard. That project is still kind of low on my list as I have several things going on right now and may not have time to get ready for this year....
Scott any chance of putting your sketchs out for someone to look at ? If not you should be proud of the fact that the Panther works just as you said and I do not see any problems with the one that I have... Vary good job and thanks for all your effort.
Ted K
-
I'm sorry but providing the code is not something that I am currently willing to do.
-
Understandable about not sending out the code - as I stated it was more just for my education then trying to under cut any work that you have done on this - Hope you stay open to some ? if I ever get around to making some of my Halloween ideas.
Ted K
-
Updated Enhancements
-
In the enhancements you are "considering" I think you can already accomplish this by using the reset that is already on the board. Using the Stop command at the end of the sequences a press of the reset should start the sequences over.
-
I don't think there is a button currently. Not that I can remember. I'm not at home to look at my board.
-
I don't think there is a button currently. Not that I can remember. I'm not at home to look at my board.
Sorry I am referring to the "reset" that is provided on the board. Simply shorting this will cause the device to "reboot" and start over.
-
I don't think there is a button currently. Not that I can remember. I'm not at home to look at my board.
Sorry I am referring to the "reset" that is provided on the board. Simply shorting this will cause the device to "reboot" and start over.
The reset pins can be use if you want to attach a push button to then when you push it it will cause the reset. So when then next firmware is release you can have a --STOP-- in the show file example at the end. then when the reset it pushed the show will begin playing until it reaches the --STOP-- again.
-
Hardware in feature will include a ISP In System Programmer Header.