Question: In this week's lab you will write a program for the Arduino board to automatically test a logic gate in an integrated circuit (IC). The
In this week's lab you will write a program for the Arduino board to automatically test a logic gate in an integrated circuit (IC). The user will place an IC on a breadboard connected to the Arduino, and the program will test and verify the operation of the gate in the IC. Task Specifics: The design will check AND, OR, NAND, and XOR ICs (74HC08, 74HC32, 74HC00, 74HC86). The IC will be connected to the Arduino board using the circuit shown in Figure-1. Using the serial monitor, the program should ask the user to enter the gate type (AND, OR, NAND, XOR). The program should then set the appropriate digital signals for each gate input combination, and check the resulting output for each combination. Use a 2D array of expected output values for comparison. The program should then tell the user if the gate "Passed" or "Failed" the test based on whether the output values matched the expected values or not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
