How does a pinball machine handle the gazillion sensors and lights and coils and stuff?
I'm an electronic newbie who's interested in robotics and electronics now. I have a comp. sci. education (years ago) so programming challenges are OK but the electronics is slow going. I like to study some machine until I learn something. CNC router = learning motor control for example.
I've always wanted to build a pinball machine from scratch. No, not nearly as complicated as, say, Funhouse but thought it would be an interesting challenge where I could deal with much electronic theory - it'll take years of course. One of the things that is immediately apparent to me is the slew of lights, swtiches, sensors, scoring targets, and solenoids that must be addressed by the microprocessor(s). How is this handled? I doubt the microcontroller has 150 discreet I/O lines with 150 relays, MOSFETS, transistors, switches, whatever - but does it? Or is there some sort of matrix or something where the CPU can switch them all with few I/O lines.
Asked another way, how can a BASIC stamp (or whatever) with, say, eight I/O lines independently control 100 different lights? Or read 100 different switch events? Surely there is some clever way? Can you point me in the right direction?