LED Animation Controller for MiSTer

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
MeduZaPaT
Posts: 9
Joined: Sat Aug 29, 2020 11:13 pm
Has thanked: 2 times
Been thanked: 1 time

LED Animation Controller for MiSTer

Unread post by MeduZaPaT »

Hello MiSTer community, I'm new here, I’d like to announce a program I wrote time ago for Linux, it allows you to set up a LED controller, to light LEDs on an Arcade cabinet or similar, is a very small program that uses low resources, and allows to create really cool animated effects.
You can see some videos of how it works here: https://www.youtube.com/playlist?list=P ... 4-E6xux-Zi
It also allow to light up the original elements with the correct color like on the original cabinet for a more realistic experience.
Days ago we successfully compiled the program for MiSTer, so now is possible to use it on that hardware, you will need any LED controller from the marked.
It supports this devices:
  • Ultimarc Ultimate I/O (96 LEDs).
  • Ultimarc PacDrive64 (64 LEDs).
  • Ultimarc NanoLed (60 LEDs).
  • Ultimarc PAC Drive (16 LEDs).
  • Led-Wiz (32 LEDs).
  • WolfWare Tech Howder (96 LEDs).
But if you have something new or custom I can easily write a controller for it.

It also support restrictors, rotators, and rotors:
  • servoStik
  • ultraStik360
  • GPWiz49
  • GPWiz40RotoX
We are in the process to integrate it with the MiSTer launcher and create packages to easily deploy the binaries, if you want to try it here is a link to the source code https://github.com/meduzapat/LEDSpicer and the wiki https://sourceforge.net/p/ledspicer/wiki/Home/

I will come back with more information when I figure out how to create packages for MiSTer and how to integrate it with the launcher.
Image
alanswx
Core Developer
Posts: 296
Joined: Sun May 24, 2020 6:55 pm
Has thanked: 5 times
Been thanked: 154 times

Re: LED Animation Controller for MiSTer

Unread post by alanswx »

This would be great with the arcade cores. Let me know how I can help.
MeduZaPaT
Posts: 9
Joined: Sat Aug 29, 2020 11:13 pm
Has thanked: 2 times
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by MeduZaPaT »

Thanks alanswx,

Yes, arcade cores will get most of the glamour, but it can also provide colors for consoles, and any other system, for example I use the classic colors for neo-geo controllers on player 1 and 2.

Right now I only need help with an easy way to provide binaries for the project, so the users don't need to compile the code.
And I need to hook a command line command to tell ledspicer the information when the user selects a game from the menu.
Image
SteelRush
Posts: 17
Joined: Sun Aug 30, 2020 1:44 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by SteelRush »

To piggyback off MeduZaPaT, we were able to successfully build the application in a Docker environment and transfer it to the DE-10 Nano and run it in the Linux OS. From the command line, all operations appear to be working properly. Two main questions remain:

1) Is there a preferred way to distribute Linux binaries/libraries for MiSTer?

2) Another application is called to pass commands for LEDs/restrictors at core load. Where is the best place to hook into?

All credit goes to MeduZaPaT. All I did was run a compiler in a Docker environment to get it basically running.
MeduZaPaT
Posts: 9
Joined: Sat Aug 29, 2020 11:13 pm
Has thanked: 2 times
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by MeduZaPaT »

Hello everybody, to get MiSTer fully support we did this:

For issue number one (distribution) we (SteelRush and I tested) created some bash scripts and binary packaging, that looks very simple and easy to use.
For issue number two (execution) we (me and SteelRush tested) created a new program that will check for changes on the MiSTer main process, when a core is loaded it will send that information to emitter, the program that handle game information and speaks with the LED daemon to load the game setup onto the LEDs.

Both solutions are working perfectly, and we will provide a distribution package soon. I also need to write some documentation on how to use it, but for MiSTer is kind of easier than the other systems. because its nature of been a single system that loads cores and not a lot of different emulators.
Also users can drop it into the /media/fat/Scripts folder...it will install and leave it ready.
Hope this is useful and easy.
Image
Vic20-Ian
Posts: 70
Joined: Wed May 27, 2020 9:59 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by Vic20-Ian »

SteelRush wrote: Sun Aug 30, 2020 2:20 am To piggyback off MeduZaPaT, we were able to successfully build the application in a Docker environment and transfer it to the DE-10 Nano and run it in the Linux OS. From the command line, all operations appear to be working properly. Two main questions remain:

1) Is there a preferred way to distribute Linux binaries/libraries for MiSTer?

2) Another application is called to pass commands for LEDs/restrictors at core load. Where is the best place to hook into?

All credit goes to MeduZaPaT. All I did was run a compiler in a Docker environment to get it basically running.
Great work. Thank you.

I have a new arcade setup with Ultimate I/O and a DE10 I can test with.

The best way to integrate this into the release is to ask Sorgelig to put it in the official core update.
SteelRush
Posts: 17
Joined: Sun Aug 30, 2020 1:44 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by SteelRush »

MeduZaPaT wrote a listener to automatically switch profiles based on what core is loaded, so #2 is figured out. For #1, it was planned to release a tar.gz with the compiled binaries, and install/uninstall scripts you simply drop into your Scripts folder, and execute the appropriate script from SSH or the MiSTer interface to make it easy for users. There will still need to be configuration done based on the device(s) you have.

Please PM if you want to contribute to the testing/documentation efforts.
AnimMaDeR
Posts: 16
Joined: Thu Sep 09, 2021 3:09 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by AnimMaDeR »

Any update on this effort? Has the script to control LED buttons been implemented into the Mister FPGA releases?

There was mention of a distribution package and documentation. Do those exist anywhere?

I am very excited about this but want to confirm it works with MiSTer FPGA before I buy LED buttons for my arcade build.

Thanks for your work on this!
MeduZaPaT
Posts: 9
Joined: Sat Aug 29, 2020 11:13 pm
Has thanked: 2 times
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by MeduZaPaT »

last Time I checked everything was done and ready to use on MisTer,
I remember that everything was working amazingly, LED, rotators, restrictors, everything.!
Let me check with steel and come back.
AnimMaDeR
Posts: 16
Joined: Thu Sep 09, 2021 3:09 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by AnimMaDeR »

That’s wonderful news!

Will this work with two Ultimate I/O boards from Ultimarc? I am building a 4 player cocktail cabinet (see attached) and am about to purchase this product and LED buttons but want to confirm they will work with MiSTer first.

Thanks
You do not have the required permissions to view the files attached to this post.
MeduZaPaT
Posts: 9
Joined: Sat Aug 29, 2020 11:13 pm
Has thanked: 2 times
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by MeduZaPaT »

AnimMaDeR wrote: Fri Sep 10, 2021 12:26 am That’s wonderful news!
8-)
AnimMaDeR wrote: Fri Sep 10, 2021 12:26 am Will this work with two Ultimate I/O boards from Ultimarc?
You can add as many as you need (hardware cap is 4, but you can add 4 pad64 if you need :shock: ) , and mix different controllers/ boards / joysticks, the program merge all of them like a single huge one, and you only care of creating nice animation, effects and whatever you need.
AnimMaDeR wrote: Fri Sep 10, 2021 12:26 am I am building a 4 player cocktail cabinet (see attached) and am about to purchase this product and LED buttons but want to confirm they will work with MiSTer first.

Thanks
Steel tested only one on the MisTer, but I know they will work in groups because they use the USB protocol,
Lovely !! I want to see it working :mrgreen:
Image
AnimMaDeR
Posts: 16
Joined: Thu Sep 09, 2021 3:09 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by AnimMaDeR »

Awesome. Thanks so much for the help and encouragement Meduza. I’ll order buttons tomorrow and will post here when I’m all finished.
MeduZaPaT
Posts: 9
Joined: Sat Aug 29, 2020 11:13 pm
Has thanked: 2 times
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by MeduZaPaT »

AnimMaDeR wrote: Sun Sep 12, 2021 4:56 am Awesome. Thanks so much for the help and encouragement Meduza. I’ll order buttons tomorrow and will post here when I’m all finished.
what buttons your will get if I can know?
Image
AnimMaDeR
Posts: 16
Joined: Thu Sep 09, 2021 3:09 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by AnimMaDeR »

Likely these gold leaf LED ones from Ultimarc. Unless you have a better suggestion:

https://www.ultimarc.com/arcade/buttons ... ttons-rgb/
MeduZaPaT
Posts: 9
Joined: Sat Aug 29, 2020 11:13 pm
Has thanked: 2 times
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by MeduZaPaT »

AnimMaDeR wrote: Sun Sep 12, 2021 11:02 pm Likely these gold leaf LED ones from Ultimarc. Unless you have a better suggestion:

https://www.ultimarc.com/arcade/buttons ... ttons-rgb/
That ones are perfect! also they are ultimac hardware ready (ultimate or pacled64) I can only suggest that you may need extension cords for the far away buttons.
Image
AnimMaDeR
Posts: 16
Joined: Thu Sep 09, 2021 3:09 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by AnimMaDeR »

Looks like they only have 7 of those left. Will these do?

https://www.ultimarc.com/arcade/buttons ... shbuttons/
MeduZaPaT
Posts: 9
Joined: Sat Aug 29, 2020 11:13 pm
Has thanked: 2 times
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by MeduZaPaT »

AnimMaDeR wrote: Tue Sep 14, 2021 3:14 am Looks like they only have 7 of those left. Will these do?

https://www.ultimarc.com/arcade/buttons ... shbuttons/
Yep, Andy sells stuff that is 100% compatible with his hardware.
from the item description:
These are pre-wired with 500mm wires and connector for plugging into our PacLED64 or I-PAC Ultimate I/O controller boards.

PS: when you are ready to install LEDSpicer and need help, join the slack channel (link only works for a week or two.
Image
AnimMaDeR
Posts: 16
Joined: Thu Sep 09, 2021 3:09 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by AnimMaDeR »

You rock Meduza! Will do, thank you
annette
Posts: 100
Joined: Mon Jul 12, 2021 10:02 am
Has thanked: 23 times
Been thanked: 42 times

Re: LED Animation Controller for MiSTer

Unread post by annette »

good this has mister support, I think I may use it in my soon arcade cabinet build.
AnimMaDeR
Posts: 16
Joined: Thu Sep 09, 2021 3:09 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by AnimMaDeR »

Hey Meduza,

Finally got my Ultimarc led buttons installed and hooked up to an iPad ultimate I/o board connected to my Mister FPGA.

I think I will need help getting this going. Can you resend your slack invite?

Thanks
Mark
MeduZaPaT
Posts: 9
Joined: Sat Aug 29, 2020 11:13 pm
Has thanked: 2 times
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by MeduZaPaT »

Hello AnimMaDeR, Cools stuff, you got the best controller card from ultimarc, I am trying to contact steel, he is the one that have the recipe to get ledspicer working on the Mister. anyway check his comments, I think he left a how to somewhere.
Image
AnimMaDeR
Posts: 16
Joined: Thu Sep 09, 2021 3:09 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by AnimMaDeR »

I searched and could not find instructions. I also sent a PM to Steel a couple weeks ago and waiting on a response. MeduZaPat, do you happen to know of a link to download and is talk the scripts needed? Is it possible to still join your Slack workspace for this?

This was Steels last comment from a year ago:
SteelRush wrote: Sun Sep 06, 2020 5:24 pm MeduZaPaT wrote a listener to automatically switch profiles based on what core is loaded, so #2 is figured out. For #1, it was planned to release a tar.bgz with the compiled binaries, and install/uninstall scripts you simply drop into your Scripts folder, and execute the appropriate script from SSH or the MiSTer interface to make it easy for users. There will still need to be configuration done based on the device(s) you have.

Please PM if you want to contribute to the testing/documentation efforts.
AnimMaDeR
Posts: 16
Joined: Thu Sep 09, 2021 3:09 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by AnimMaDeR »

Bumping thread to see if there is any new development on this.
AnimMaDeR
Posts: 16
Joined: Thu Sep 09, 2021 3:09 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by AnimMaDeR »

Happy Holidays MeduZaPat!

I have sent both you and SteelRush a PM but I’m not sure it actually sent, it’s in my outbox. So I’m just bumping this thread one more time to see if I can get my hands on the script you mentioned above that gets LED Spicer running on MiSTer.

All I want for Christmas is LED Spicer! :)

-Mark
BritX
Posts: 2
Joined: Sat Aug 21, 2021 12:20 pm

Re: LED Animation Controller for MiSTer

Unread post by BritX »

Bump on this aswell...Would be awesome to get an update as im adding a mister to my 4 player setup with two ipaq IO boards....
MeduZaPat! and SteelRush.....you have the skills....would be cool if you could look into PRGB....for effects....i have this on my VPIN but having it with MiSTer would be cool also.....:-)
thanks for all the work you have done...
SteelRush
Posts: 17
Joined: Sun Aug 30, 2020 1:44 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by SteelRush »

MeduZaPat! is the one with the skills. I have only tested on MiSTer and gotten it to compile. Please check out his project LED Spicer to see if it is compact with your LED board.

I plan to try and compile it again to verify it still works.
SteelRush
Posts: 17
Joined: Sun Aug 30, 2020 1:44 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by SteelRush »

I was able to compile LED Spicer on the most recent MiSTer build. Automatic profile switching (needed for cores to automatically switch lighting profiles) is currently not working. If I can get ahold of MeduZaPat! and he has some time, I will see if we can get that aspect working.

If anyone has a supported LED device and wants to play around with it, feel free to PM me.
SteelRush
Posts: 17
Joined: Sun Aug 30, 2020 1:44 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by SteelRush »

And automatic profile switching at least for arcade cores is working. Will need some testers with supported LED devices if anyone is still interested in this.
SteelRush
Posts: 17
Joined: Sun Aug 30, 2020 1:44 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by SteelRush »

Have had a successful test with Ultimarc PacDrive and Ultimarc Ultimate I/O. So far have tested with Arcade cores.

Any additional testers are welcome. PM me so a beta build can be provided.

Supported Devices:
https://sourceforge.net/p/ledspicer/wik ... ted-boards
Rolyen
Posts: 7
Joined: Sun Jul 24, 2022 12:08 am
Been thanked: 1 time

Re: LED Animation Controller for MiSTer

Unread post by Rolyen »

Hi there. I came across this page doing a google search. I was wondering if there's been any update/progress with this project. Seems like a great idea, allowing the Nano FPGA to control LED buttons. Thank you for any info.
Post Reply