I need to design an LED circuit that acts as a switching system. It must meet these specifications.
- Case 1(Press Button 1): LED 1 ON, LED 2 ON, LED 3 OFF
- Case 2(Press Button 2): LED 1 ON, LED 2 OFF, LED 3 OFF
- Case 3(Press Button 3): LED 1 OFF, LED 2 OFF, LED 3 ON (and controlled by a Potentiometer)
- Case 4(Press Button 4): LED 1 OFF, LED 2 OFF, LED 3 OFF
Each time a switch is pressed (or changes state), the circuit should behave according to one of the four cases. In case 3, LED 3 is controlled by both the switch and the potentiometer. LED 3 is turned ON when a switch is pressed and the Potentiometer is used to adjust the brightness. We can use no more than 4 switches in total and the circuit may be designed with only resistors, LEDs and switches. I've been stuck for some time on this and any help would be appreciated.
Edit 1: These are momentary tactile switches (or buttons). Of the 4 buttons that can be used, each time a button is depressed it exhibits 1 of the 4 cases.
Edit 2: The voltage is being supplied by a function generator but this can be changed to an alternative method if needed. The type of diodes are pictured below:
Here is a truth table that describes the switching system:
Ultimately, this is what I created. Case 4 did not have to be included as this state exists with no action by the user.