Hi, I need help picking the right board.
Pin requirements (single board)
- SPI pins
- 2 x rotary encoders (so that should be 4 digital pins in total)
- thumbstick (2 analog and 1 digital pin)
- 13 digital pins for a keypad
Also needs to have HID support.
I'm counting 4 analog, 18 digital pins + SPI pins. Analog pins can be used as digital pins if I understood it correctly.
If I'm not mistaken, the Pro Micro doesn't have enough pins (I looked at this for reference : https://cdn.sparkfun.com/assets/9/c/3/c/4/523a1765757b7f5c6e8b4567.png)
The Arduino Micro should have enough pins?
I looked at this image for reference: https://static4.arrow.com/-/media/arrow/images/miscellaneous/1/1117_arduino_micro_pinout.jpg?h=600&w=718&la=en&hash=056725A2EB6C0070B7E21192C9070A632AC38D99
The pink pins should be for SPI, pins 16-19 should cover the 4 analog pins, pins 0-15 should cover the digital pins (by using both the digital and analog pins). This would basically use up all the digital input pins on the board.
Is this correct?
Are there any alternatives? If I want any additional pins, are there any other similar boards that are similar in size, but offer more pins?