I am new to the forum and I have already done some research but now I am stuck with some more specific questions.
Here is what I want to do: Build a button box for sim games that features many push buttons and toggle buttons, 5 Potis and multiple OLED displays showing text or simple animations.
For the displays I wanted to use 0.96 inch OLED displays that are controlled via I2C. Since they all have the same address, a multiplexer will be needed (something like a 74HC4051).
As I have planned ~40 buttons (not exactly sure here) I think I need some sort of multiplexing.
The whole box should be recognized by the PC as a joystick or similiar.
Now my questions:
1) Which arduino model would you suggest? I am not sure how big the program code will be, most likely I have to include the libraries for display control. The code for button handling should be rather small. Do I need to worry about amount of needed current when using 6-8 small OLEDs?
2) For which kind of multiplexing would you go? I would like to keep things simple here and thought about a matrix with 7x7 or 8x8 inputs (limits my choices for arduino models). The other idea was a input/output expander of some sort.
3) I read that the leonardo and micro allow being recognized as "HID" in a PC, others said "keyboard". I need my board to show up as joystick, however. A "keyboard" would not allow analog input from the potis, right? So at this point, I am not sure which arduinos allow for that functionality...
4) Did I understand it correctly that the inputs of the arduinos have "built-in button debounce"? Like a pullup resistor or a software solution for it? Does somebody know whether input/output expanders can have that, too?
Sorry for the amount of questions. I am already happy, I someone could help me answer just one of these! Cheers :-)