05-11-2020 09:24 AM
Hi, I'm having a bit of a problem implementing a system I was asked to do for my digital electronics class, so I've come to ask for some guidance or pointers in the right direction.
Basically I am asked to design kind of a "Tennis" system using leds (or probes) in multisim: We have 4 leds that turn on and off as the "ball" goes left to right, and each time a button is pressed a player "hits" the ball in the respective edge of the screen so it goes back to the other side and so on.
My problem here is implementing said system using 74LS194 (or 74194, for that matter) as I'm required to give a button to each player, but I can only implement a main button for everything.
I'm just trying to comprehend how to implement said system using 74194 as there are almost none examples online on how to use it, and on top of it only one that I could find for multisim.
Here's my current work, and I am currently working on it.
If you're interested, there are other minor details I need to add: the "ball" can only be hit while being on the edge leds, 1 extra led needs to be added to each side of the platform representing the players 1 and 2 and will only turn on when said player fails to push his upon when the clock signal is on and the led is on his respective edge, and each time someone scores a 7 bit counter lits up representing his total points up to that point. (I have a rough idea on how to implement this, so I have no problem here, just info if you want to know).
I'd appreciate any help on it.
05-11-2020 12:11 PM
Hey, nevermind, I decided to try using a Mealy Machine and it's actually easier that way!