I should probably start by saying that I'm completely self taught electronics and programming wise. I decided it would be cool to build a full size Pinball Machine, and my first thought was that an anduino would probably work well. I've never used an anduino before, and some of the electronics concepts are also new to me, so I was hoping to verify that my thoughts are ball correct before going out and ordering parts.
The problems:
At first count, my design for a Pinball Machine will require ~100 IO ports, much more than the biggest anduino I've found (either the mega 2560 or the due, which both have 54).
24 lights
20 solenoids
29 inputs
The inputs I don't think will be a problem besides from the amount of them. I'm not really sure if there's anything you can do about that though.
The solenoids have the additional problem of voltage/current. My research suggests they'll draw anywhere from 0.1A to 5A at various voltages. (it's hard to find general numbers, since it will end up being per solenoid most likely. I read that the flipper solenoids use 46V). Obviously the anduino can't supply this directly, and after a bit of googling I think the correct answer is to use transistors, which would let a strong current pass through only when the weak signal from the anduino is put in the third contact. (just want to verify I'm understanding that right)
The lights are the biggest problem. These 24 are just a minimum, I'd prefer to have more, but I also realized that they won't change very often, and latency isn't very important either. Theoretically, I feel like there should be sleeping extra circuit out there where I could just pulse, in binary, the number of the light I'd like to toggle, which would mean I'd only need 5-6 pins for the lights. Does something like this exist? I assume a similar method could be used for the solenoids as well, or at least the ones that are less important latency wise, which would allow me to squeak in under the 54 io limit.
I'm hoping someone can verify what I've said here, and maybe point me in the right direction towards this "switching circuit", as well as point out any other problems I might run into?
Thanks