Hello all,
I'm currently working on a project which is getting quite complex compared to what I had originally expected. To be fair, it is my first proper project, but even so, I'd like to know what you guys think in regards to whether or not it's feasible.
Basically, I'm making a custom interface for a Playstation 3 steering wheel controller. I want to break out the 16 buttons on the wheel itself and connect them to a custom instrument panel, much like the dashboard of a racing car. The actual breaking out has been done and is very straightforward (it's just a matter of connecting one wire to another via a diode, which I'm doing with Solid State Relays), but the circuitry of the new inputs is what I'm concerned about.
A rundown of the controls:
Power switch for the ATMega 328
'Display' switch which toggles a cluster of LEDs on or off
Reset button for the ATMega
Three (on) - off - (on) DPDT toggle switches
Three mechanical rotary encoders
Two (on) - off DPST toggles
Seven pushbuttons (three DPST, four SPST)
Three DPST microswitches
One pressure sensitive resistor.
The three rotary encoders and three DPDT toggles, plus one of the SPST pushbuttons are interfaced with a 328 via some 4021 PISO shift registers, and then six out of the 16 Solid State Relays I'm using as outputs are interfaced with the 328 via a 595.
So as the project has gone on I seem to be incorporating more and more IC's. As far as I am (which isn't far) through the build, I've got:
9 74HC132 quad 2-input NAND gates (two gates on each have been made into an S-R latch to debounce the DPST switches)
1 74LS14 six element inverter (I may need more than that, even)
3 74LS75's,
3 74LS86's,
2 74LS32's
3 74LS193's and
1 74LS00, all to decode the rotary encoders (basically three of these circuits: Rotary Max
I still need to include the 4021's, 595 and 328 microcontroller, and I need one AND gate. I might also need to debounce an SPST button which will most likely mean another inverter, unless I separate the 74LS14 from the rest of the rotary encoder decoder board.
So far I haven't actually included any decoupling capacitors at all, mainly because I don't understand how it works but also because I don't have any capacitors under 1uF, however I have just ordered some. I need to read up about it on Grumpy Mike's site, but I'm assuming it'll definitely be necessary with that many IC's,right?
Also I'm going to drive all of this with a 9V 1A supply through a LM7805 regulator. Oh, and there are about 6 5mm LED's, maybe less, but not more. I'm building the circuit on a few small stripboards (mostly 95x65mm) so it's easily replaceable and such.
So, is this all feasible? It just seems like a lot of ICs to me, I can't think of a single schematic I've ever seen that has that many... Is it just a case of getting the decoupling right, or will there not be enough current? 1 amp seems like quite a lot. I don't even know how to work out the current draw of a circuit yet, so I'm just off to Google that.
Thanks!