0

Arcade Button Questions
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Arcade Button Questions

by jimdeprado on Mon Jan 14, 2019 8:29 pm

Hello!
I am building a modular control panel that will be inserted between two fixed panels. I am thinking about using an Pro Micro AT mega32u4 and 6 buttons (p/n 3490) on each side (12 total). I don't think the Micro has enough pins, so I am looking into using a shift register (or two).

    Does this sound reasonable?
    Am I missing something that would prevent me from putting everything together as described above?
    I want to have the buttons light up depending on the game that is chosen. I can create a listing that would say for game X, light buttons 1,2 and 3 and leave 4, 5 and six unlit. It would be easier to have this list resident in a text file, but I can hard code it into the code too.
    Can I change the color of the LEDs or are they just white?
    Can I change the brightness of the LEDs?

Once I get some things ordered, I will post back with my progress and any additional questions.

Thanks in advance,

Jim

jimdeprado
 
Posts: 6
Joined: Sat Jan 12, 2019 5:28 pm

Re: Arcade Button Questions

by adafruit_support_bill on Tue Jan 15, 2019 6:48 am

I don't think the Micro has enough pins, so I am looking into using a shift register (or two).

Might want to consider a GPIO expander chip like the MCP23017: https://www.adafruit.com/product/732

Can I change the color of the LEDs or are they just white?

The LEDs on those buttons are single color. We do have RGB buttons - but not in the arcade style: https://www.adafruit.com/product/3423
There is a tutorial here that describes how to retrofit an RGB Neopixel into an arcade-style button: https://learn.adafruit.com/neopixel-arc ... n/overview

Can I change the brightness of the LEDs?

This can be done easily with the Neopixel-modified buttons, since they have build-in controllers. For standard LEDs, you would need a PWM channel per LED (3 channels for RGB LEDs). You could do that with one of these boards:
https://www.adafruit.com/product/1455

adafruit_support_bill
 
Posts: 71426
Joined: Sat Feb 07, 2009 10:11 am

Re: Arcade Button Questions

by jimdeprado on Tue Jan 15, 2019 3:47 pm

Thank you very much for the information. I need to do a bit more research, but this certainly gets me going in the right direction.

Thanks again!

Jim

jimdeprado
 
Posts: 6
Joined: Sat Jan 12, 2019 5:28 pm

Re: Arcade Button Questions

by jimdeprado on Sun Jan 20, 2019 1:57 pm

Thanks for the help! It worked perfectly!

Jim

jimdeprado
 
Posts: 6
Joined: Sat Jan 12, 2019 5:28 pm

Re: Arcade Button Questions

by adafruit_support_bill on Sun Jan 20, 2019 2:36 pm

Good to hear. Thanks for the update.

adafruit_support_bill
 
Posts: 71426
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.