Arduino Button and toggle switch help

Hay all I am working on a button board for a game and here is what I have so far I was wondering what you all think and if I did anything wrong? I would not like to use the internal pull up resistor unless it would be the best for this case as I may add more switches and buttons in the future.

SW4 - 6 are on - off - on momentary toggle switches
SW1 - 3 are momentary push button switches with a led
and SW7 is a on off toggle switch with a led
this one to be exact toggle switch I want the led always on. any help would be so helpful.

You've got A0-A5 available for additional inputs.

If you wire up a circuit according to the schematic all the switch LEDs will be always on.

Also I was wondering is it possible if I wanted to add more 3 position momentary switches beyond what the bord could support could I put them into a matrix such as this (the top row) and then add the buttons into this matrix as well?

Yes, that's what a key matrix is for, reducing the number of wires needed. Maintained position switches are shown but you post says momentary switches. How many switches are non momentary? Any possibility of two or more switches pressed simultaneously?

The only switch that is non momentary would be the main power one. And There should not be a chance of two being pressed at the same time. the other way I was thinking of doing it would be to expand the number of io pins using a MCP23017 I2C IC. Also if there is a chance of two switches being pressed at the same time couldn't I fix that with diodes?

Yes, that's why I asked.

How many I/O total are you contemplating?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.