If the circuit is not working, remove the potential divider resistors connected to the 9 th pin of both 74165 ICs and connect the 9 th pin of both 74165 ICs to corresponding digital pin of arduino mega directly without any resistors. That is, connect 9 th pin of 1 st 74165 to digital pin 12 of arduino mega and 9 th pin of 2 nd 74165 to digital pin 10 of arduino mega. From the circuit, it is clear that A – H pins of both 74165s is connected to 5V through pull up resistors of 1K. Pull up resistors helps to keep the state of A – H pins of 74165s to HIGH when the press button switches are not pressed. Similarly, when the press button switches are pressed, corresponding pins of 74165 get grounded through the press button switches. That is, state of that pins will become LOW. Pin out Diagram of 74165 Pin out diagram of 74165 is given below. 74165 has 16 pins out of which eight pins (A, B, C, D, E, F, G and H) are paral...
Comments
Post a Comment