Skip to content

alirin222/Fight-Lights-Pico-AE

 
 

Repository files navigation

Fight Lights Pico

Fight Lights Pico is a LED-Driver for the Raspberry Pi Pico that gives Arcade Stick modders the neccessary software to implement beautiful RGB LEDs for their projects

What does it do?

This project is primarily aimed for Arcade stick modders to add custom RGB LEDs to Arcade sticks. The LEDs react to button presses and display custom colors and animations on press or when idle.

I try to keep the code as versatile as possible, so it is not only limited to Arcade sticks, you could also use this for your big Arcade cabinet aswell or any project that needs to display LEDs when something is pressed.

How does it look?

I have made a short video showcasing some of the features to give you an idea on how it may look in the end: https://www.youtube.com/watch?v=nG0_0xVvnjk

Reddit user u/mad_max206 has also build this project for his Qanba Obsidian, you can see his result here: https://www.youtube.com/watch?v=yL6-1daim48

Requirement

If you want to use this you will need a Raspberry Pi Pico and a RGB LED-Strip with individually adressable LEDs known as Neopixel or WS2812/WS2812b/WS2812e

Guides

I have written a complete guide for assembly and installation here: https://docs.google.com/document/d/1qY4HESYdRyFT8OaB5leyHsWm4kfqoA74zqSLAdihuvo/edit?usp=sharing

The guide may make the impression that you can only build this with a Brook fighting board, but this is not the case. This code runs standalone on the pico and only uses the brook fighting board as a means to get the signals from the buttons to the pico and to power the Pico together with the LEDs. I have chosen to write the guide with a brook fighting board in mind, since it is a very common fighting board, with great compatability and all the neccessary pins for this project, and thus makes it very easy for begginers to follow and realize. So as long as you can send the signals of your buttons to the pico, by whatever means you like, directly or through a different pcb, and have a way to power the Pico and the LEDs, a brook board is not required.

Qanba Obsidian Wiring guide: https://drive.google.com/file/d/1-cKfSiCJdcfAH5P0MAaEu_BFiHHO-TIr/view?usp=sharing (I take no responsibility for damaged parts or voided warranty)

Contact

alt text There is a Discord server for all your questions: https://discord.gg/9wSpNUprWT

Also check out the Website: https://fight-lights.com/

Features

  • Configuration through UI

  • Choose any RGB color for a LED to get on button press

  • Choose any numbers of LEDs to light up on button press

  • Assign random colors for LEDs on button press

  • Give different buttons same color when pressed simultaniously

  • Assign fade-in and fade-out effect for LEDs

  • Choose any (or no) RGB color when buttons are not pressed

  • Choose any brightness when buttons are not pressed

  • Choose rainbow effect when buttons are not pressed

  • Disable background color temporarily when a button is pressed

  • Increase or decrease brightness on bootup or during play

  • Enter idle mode after any number of seconds and display different animations

  • Create custom profiles

  • Select custom profiles during play

  • Add custom animations and play them when doing certain inputs

  • Log the amount of button presses for each button and the time your stick is plugged in

    ...and many more to come

License

MIT License

Copyright 2021 Daora

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 44.0%
  • Python 40.9%
  • HTML 9.5%
  • CSS 5.6%