Professional Documents
Culture Documents
Submitted by:
Sambhav Shah
ELECTRONICS DEPARTMENT
MODELCOLLEGE
Certificate
This is to certify that the project IS Tester Contains the bonafied works of
Shambav Shah Who has worked on the projectand completed the same In the
The main purpose of this project is to check logic gate IC, whether the
IC is working properly or not. The checking of the IC will be done using
Arduino old Nano. The main IC that are going to be checked are OR
(7432), AND (7408), NAND (7400), EXOR (7486) and EXNOR (747266)
COMPONENTS LIST
Ardino old nano x1
LED x5
Resistor 220ohm x5
Jumper wire x 30
Breadboard x2
CIRCUIT DIAGRAM
WORKING OF THE PROJECT
As you can see, I defined the input values and their expected result for the AND gate test
using a two-dimensional array. The first two entries in each row define the input variable
values, and the third entry represents the expected result. So, for example, the first line in
the matrix states that both inputs are zero, and the desired outcome is also zero. You can
create as many of these arrays as you like for different logic functions.
Next, the setup ()-method initializes the pins that control the buttons and the LEDs. It then
sets all logic I/O lines before turning off all LEDs. The in it Positive Four Gate Test () and in
it Negative Four Gate Test () helper functions reconfigure the digital I/O pins of the Arduino
according to the I/O lines of the connected logic IC.
The test Two Input Gate () and do Four Gate Test () methods implement the actual testing
part of the program. The test Two Input Gate () function iterates over all the multi-
dimensional array entries that encode the test cases. It inspects whether the observed
output matches the expected value for the defined input variable values. Therefore, this
method tests all possible combinations of one gate of the IC. However, these ICs typically
contain multiple gates in a single package. The do Four Gate Test () function calls the test
Two Input Gate () helper method for each of the four gates on the IC. It then returns either
true or false depending on the test result.
wires_5
This image illustrates how you can lay out the wires coming from the IC and the
components to achieve a more clean-looking build on a breadboard. Note that I removed
the Arduino to highlight the breadboard connections.
Lastly, the loop () method checks whether the user pressed one of the two buttons, and
then it runs one of the two test-cases according to the button input. Then, it calls a helper
method to display the test result using the two LEDs. I used the built-in Millis() function to
implement a simple debounce delay. You can learn more about that method in another
article.
APPLICATIONS OF PROJECT
It tests ICs
4052- 4 X 2 Multiplexe
4051- 8 X 1 Multiplexer
http://www.computernerdkev.heliohost.org/ictesters/index.htm
http://electrofriends.com/projects/microcontrollers/digital-ic-tester/