I have two 74HC165 chips with 12 push buttons. The buttons are pulled low by 10K resistors. All buttons are showing 5V on the board and when pushed, the 5V is transferring to the connected chip pin. However, the buttons are not registering on the serial monitor. Buttons 6, 7 and 8 all change the state of all the inputs, the rest of the buttons do nothing. I've lost count of the number of tutorials I've followed to try and get to the bottom of this - sure it is something really simple but I just can't find it!
I have the same setup on both a fully soldered board and a solderless breadboard. Getting the same results from both. Will have a fiddle with the Wokwi
I don't think your circuit diagram reflects your circuit. While the 165 power and ground pins are correct, you have pins 1 and 2 of the left chip connected to pins 2 and 3 of the right chip. Also pins 15 should be tied low. But I can't tell from the actual circuit picture how pins 1 and 2 are connected.
Also, you have the four switches connected to the 165 on the right connected to pins 11-14, but they should be connected to pins 3-6. The most significant bit (H on pin 6) is shifted out first, so if you are only clocking 12 times, those four switches need to be connected to E, F, G and H.
1. Place the 74HC165 o the breadboard and connect it with UNO R3 as per circuit of Fig-1 to receive 10101010 from the parallel input pins of the shift register.
Thanks @LarryD. This link helped me solve it. Now have the two chips chained and working correctly (also helped by a brand new breadboard as the old one was not really holding anything properly!).
Thanks again to everyone for their input. Amazing community!