- #1
galaxy_twirl
- 137
- 1
Homework Statement
Hi everyone. I am currently embarking on a Morse Code project which involves building a circuit to display Morse codes, eventually displaying the Morse code with a 7 segment display.
I am currently stuck at the first stage as I am not sure of what to do, i.e. what chips to use. My lab has a lot of chips in the rack, which made me totally spoilt for choice.
Currently, I have a 555 timer and a push button (related to the RESET button above) installed on my breadboard. The button is working perfectly fine as of now.
I am required to display the short signals via one LED and the long signal via another LED, but I don't know how to split the signals currently.
Homework Equations
The Attempt at a Solution
My teacher advised me to output only the short signals first before thinking of putting out the long signal (on the other LED).
I have tried to think of a way to implement the system and I think, we need to use a multiplexer, since this involves multiple inputs: 1. RESET button and 2. the 4-bit DIP switch which is a way to set the desired numbers you want to translate to Morse code. However, I don't know which type of multiplexer to use.
I have thought of using a 3-to-8 multiplexer (Use 2 inputs only, one from DIP switch and the other from RESET button). Since I only need 2 outputs, one to LED representing short signal, the other to another LED representing long signal, I will use a NAND or AND gate to reduce the 8 outputs to 4 and eventually to 2.
May I know if this will work? If not, can anyone give me advice on how to design this system?
Thank you! :)