The L led and ON on the board will slowly vanish after I connect the board to the computer, but if I remove the GND or 5V wire it goes back to normal again. Also none of the LED light up.
Really really confused rn, would be really grateful for some help
Hi! Welcome to the Forum. It sounds like you have a short circuit somewhere. Are your LEDs all connected correctly?
Keep in mind that in these longer breadbords there’s no connection between (+) and (-) rails from one half to the other. Try moving your black GND wire to the side above the LEDs.
Instructions: 1. Take out all connections between UNOR3 and Breadboard. 2. Verify that the blue cable is a data and power cable by uploading the following Blink sketch. Check that the onboard LED (L) of UNO Board is blinking at 1-sec interval.
3. Disconnect UNO from PC. 4. Check the wiring between HC595 and the current limiting resistors. 5. Check that the cathode terminals of all the LEDs are shorted together and are then connected with GND pin of UNO3 using only one jumper.
6. Short Pin-8 and Pin-13 of HC595 and then connect tem with GND pin of UNO. 7. Short Pin-16 and Pin-10 of HC595 together and then connect them with 5V of UNO.
8. Connect Pin-12 of HC595 with DPin-11 of UNO. 9. Connect Pin-11 of HC595 with DPin-9 of UNO. 10. Connect Pin-14 of C595 with DPin-12 of UNO. 11. Upload your sketch of post #1 and check that your desired LEDs have turned On.
I doubt anyone will be able to spot a wiring error from that photo.
The photo is too blurred
Even if the photo was sharp, the wiring is like spaghetti because you used Dupont wires to connect everything.
You used Uno with a breadboard, so you have to use at least some Dupont wires.
Classic Nano would be a better choice when building a breadboard circuit. It can plug into the breadboard, unlike Uno, so you can avoid using Dupont wires (which are notoriously unreliable, by the way)
Use solid-core hookup wire. Cut pieces to length and lay them flat to the breadboard. Use several different colours, but use them consistently. Use red for 5V and black for ground.
When wired correctly, your sketch works just fine with an Uno R3, as you can see. I suspect you have either a wiring error, you have something other than a 74HC595 in your circuit, or it is inserted incorrectly.
Unfortunately, as others have already noted, it is not possible to ascertain what the problem is from your photo as what's wired where is impossible to see.
I would strongly advise ditching the Dupont wires and going with 22/24AWG solid hookup wire. When used properly, it makes wiring much easier to see.
The wiring does appear to be consistent with that. What I don't see are any markings on the chip. Could be that the markings are difficult to see at certain angles, but the top of this IC seems to be completely blank?
OP, could you confirm whether there are any markings on the top of the IC, and if so, what do they say?
I have UNO R3 (elegoo) and I'm using Windows. Usually the PC would create a new COM port if I plug the board in, but in this project it just wouldn't. I've checked if my cable or board were broken but they're all alright. And yeah all other sketches were working.