Question
3 Bit Counter (RGB LED circuit) Text description: The objective of your Finite-State- Machine is to take the RED-GREEN-BLUE LEDs through the indicated sequence. The
3 Bit Counter (RGB LED circuit)
Text description: The objective of your Finite-State- Machine is to take the RED-GREEN-BLUE LEDs through the indicated sequence.
The circuit will have a single input X. When X = 0 all LEDs are off and stay off for as long as X = 0. If X goes to a 1 (X = 0 X = 1) the sequence is started with only the RED LED on. The sequence continues for as long as X = 1. If at any time, X goes to 0, all LEDs go off on the next clock trigger transition and stay off for as long as X = 0.
The circuit will have a single output Y used to indicate when the RGB sequence completes. The logic value of the Youtput is indicated by a WHITE LED. The output Y goes to a logic high when the RED and BLUE LEDs are on. Y is low for all other circuit states.
Your circuit should utilize an Arduino Uno setup with the "Blink" program generating a clock signal with a 1 Hz frequency. {{delay(500) for LED on and delay(500) for LED off). The circuit to construct should utilize D Flip-Flop chips explored in lab 3. The combinational logic circuit (if required) can be constructed from any of the basic gates explored in Labs 1 and 2. It is encouraged to use NAND gates though. The 9 steps in the designing, building and testing of the circuit are given below. Use these as a guide. Your lab report should contain information for each of the 9 steps. You may have a different approach to the circuit design. In that case clearly indicate in your report any deviations you have taken from the steps indicated below. Consult the course notes on how to design and implement Finite-State-Machines. If you are having trouble, contact your TA, professor or classmates for help.
We will follow the rule indicated in class, "the clock input to any Flip-Flop must come from the clock provided to the circuit". You are not allowed to connect the output of one Flip- Flop to the clock input of another Flip-Flop.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started